From: jk7744.park Date: Sun, 1 Feb 2015 04:58:02 +0000 (+0900) Subject: tizen 2.3 release X-Git-Tag: submit/tizen_2.3/20150202.064642^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_2.3;p=framework%2Fuifw%2Fefl-theme-tizen.git tizen 2.3 release --- diff --git a/.gitignore b/.gitignore index 55b9c54..848605e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,2 @@ -/mobile/*.edj -/mobile/themes/inc/tmp-inc.edc - -/wearable/*.edj -/wearable/themes/inc/tmp-inc.edc +*.edj +themes/inc/tmp-inc.edc diff --git a/2.2/HD-inc.edc b/2.2/HD-inc.edc new file mode 100644 index 0000000..7d3c9a4 --- /dev/null +++ b/2.2/HD-inc.edc @@ -0,0 +1,801 @@ +/* + * 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. + */ + +//****************************************************************************// +// This file defines the width, height (not color!) for each widgets +// We can define different INC file by Resolution (HD, WVGA, HVGA) +// +// ************* Naming Rule ************ // +// {WIDGET}_{PART}_{STATE}_{TYPE} +// WIDGET: NAVIFRAME, LIST, DATETIME, POPUP, etc. +// PART: TEXT, ICON, BG, PADDING, DIVIDER, ICON, etc. +// STATE: LEFT, RIGHT, TOP, BOTTOM, MIN, MAX, +// TYPE: HEIGHT, WIDTH, SIZE +// e.g. LIST_PADDING_LEFT_HEIGHT +//****************************************************************************// + +#define BG_TRANSPARENT_COLOR_INC 8 8 8 0 + +#define LAYOUT_INDICATOR_HEIGHT_INC 60 + +#define NAVIFRAME_TITLE_TEXT_BG_H_INC 90 +#define NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC 82 +#define NAVIFRAME_TITLE_H_INC 96 +#define NAVIFRAME_TITLE_BOTTOM_LINE_H_INC 1 +#define NAVIFRAME_LANDSCAPE_TITLE_H_INC 91 +#define NAVIFRAME_TAB_TITLE_H_INC 165 +#define NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC 145 +#define NAVIFRAME_TAB_TITLE_H2_INC 126 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98 +#define NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC 85 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 201 96 +#define NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC 201 91 +#define NAVIFRAME_TAB_TITLE_FUNC_BTN_SIZE_INC 201 90 +#define NAVIFRAME_LANDSCAPE_TAB_TITLE_FUNC_BTN_SIZE_INC 201 70 +#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 85 98 +#define NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC 85 85 +#define NAVIFRAME_TITLE_TAB_H_INC 75 +#define NAVIFRAME_LANDSCAPE_TITLE_TAB_H_INC 70 +#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44 +#define NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC 38 +#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 90 +#define NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC 75 +#define NAVIFRAME_TITLE_FONT_SIZE_INC 50 +#define NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC 50 +#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 42 +#define NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC 38 +#define NAVIFRAME_DRAWERS_PADDING_W_INC 83 +#define NAVIFRAME_ICON_SIZE_INC 63 63 +#define NAVIFRAME_PADDING_INC 26 0 +#define NAVIFRAME_BADGE_PADDING_W_INC 83 +#define NAVIFRAME_BADGE_LEFT_PADDING_INC 8 54 +#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC 12 54 +#define NAVIFRAME_BADGE_TEXT_MIN_W_INC 30 +#define NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC 54 54 +#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 112 0 +#define NAVIFRAME_ICON_LEFT_PADDING_INC 26 0 +#define NAVIFRAME_ICON_RIGHT_PADDING_INC 16 0 +#define NAVIFRAME_TITLE_STYLE_COLOR_INC "#FAFAFA" +#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 30 +#define NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC 28 +#define NAVIFRAME_SUBTITLE_H_INC 37 +#define NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC 34 +#define NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC 2 +#define NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC 2 +#define NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC 63 96 + +#define CTXPOPUP_WIDTH_MIN_INC 386 +#define CTXPOPUP_WIDTH_MAX_INC 692 +#define CTXPOPUP_TEXT_MAX_INC 652 +#define CTXPOPUP_ICON_TEXT_ITEM_MAX_INC 656 +#define CTXPOPUP_MORE_TEXT_MAX_INC 638 +#define CTXPOPUP_MORE_ITEM_MAX_INC 638 +#define CTXPOPUP_SHADOW_LEFT_PADDING 14 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 14 +#define CTXPOPUP_SHADOW_TOP_PADDING 14 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 14 +#define CTXPOPUP_CONTENT_PADDING_WIDTH 2 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 2 +#define CTXPOPUP_ARROW_PADDING 2 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 96 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 96 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40 +#define CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC (CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC * 2) +#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32 +#define CTXPOPUP_ITEM_HEIGHT_MIN_INC 112 +#define CTXPOPUP_ITEM_HEIGHT_MAX_INC 130 +#define CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC 128 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 +#define CTXPOPUP_ICON_WIDTH_INC 45 +#define CTXPOPUP_ICON_HEIGHT_INC 45 +#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 45 +#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 45 +#define CTXPOPUP_ARROW_SIZE_INC 36 36 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 20 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 28 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 27 +#define CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 16 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC 57 +#define CTXPOPUP_ITEM_ICON_PADDING_INC 27 +#define CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC 33 +#define CTXPOPUP_MORE_WIDTH_MIN_INC 442 +#define CTXPOPUP_MORE_WIDTH_MAX_INC 720 +#define CTXPOPUP_MORE_ITEM_PADDING_INC 27 +#define CTXPOPUP_MORE_ICON_RIGHT_PADDING_INC 16 +#define CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC 130 +#define CTXPOPUP_MORE_ICON_WIDTH_INC 45 +#define CTXPOPUP_MORE_ICON_HEIGHT_INC 45 +#define CTXPOPUP_MOVE_PAD_INC 40 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 128 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 192 +#define CTXPOPUP_COPYPASTE_TEXT_SIZE_INC 26 +#define CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC (CTXPOPUP_COPYPASTE_TEXT_SIZE_INC * 2) +#define CTXPOPUP_COPYPASTE_WIDTH_MAX_INC 1252 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 126 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 45 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 45 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC 24 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 8 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 16 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 19 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178 +#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255 +#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106; +#define DISKSELECTOR_DF_FONT_SIZE_INC 48 +#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106" + +#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA" +#define LABEL_FONT_SIZE_INC 36 + +#define GENGRID_FONT_STYLE_INC "26" +#define GENGRID_FONT_STYLE_APPLICATION_INC "30" +#define GENGRID_FONT_STYLE_24_INC "24" +#define GENGRID_PART_BG_COLOR_INC 0 0 0 0 +#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#FAFAFAFF" +#define GENGRID_PART_TEXTBLOCK_STYLE_SHADOW_COLOR_INC "#00000000" +#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0 +#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 63 63 +#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 2 2 + +#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2 +#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2 +#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 + +#define GENGRID_GALLERY_LEFT_TOP_PADDING_INC 6 0 +#define GENGRID_GALLERY_RIGHT_BOTTOM_PADDING_INC 0 6 + +#define GENGRID_GRID_TEXT_SHADOW_COLOR_INC "#08080899" +#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 6 6 +#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 6 64 +#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT_TEXT_LEFT_RIGHT_PADDING_INC 6 0 + +#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 6 6 +#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 6 6 +#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT2_TEXT_LEFT_RIGHT_PADDING_INC 6 0 + +#define GENGRID_POPUP_CONTENT_TOP_PADDING 20 +#define GENGRID_POPUP_CONTENT_BOTTOM_PADDING 20 +#define GENGRID_POPUP_BG_COLOR 0 0 0 0 +#define GENGRID_POPUP_SWALLOW_ICON_SIZE_INC 108 108 +#define GENGRID_POPUP_ITEM_REAL_BG_SIZE_INC 190 150 +#define GENGRID_POPUP_TEXT_SIZE_INC 190 74 + +// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +#define GENLIST_PADDING_24_INC 24 + +// List bg color +#define GENLIST_SWEEP_BG_COLOR 28 30 40 255 + +// Group Index +#define GENLIST_GROUPINDEX_LIST_SIZE 32 + +// Genlist Text + +#define GENLIST_LIST_MAIN_TEXT_SIZE 44 +#define GENLIST_LIST_SUB_TEXT_SIZE 32 +#define GENLIST_CONTENTS_TEXT_SIZE 28 +#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255 + +#define GENLIST_APPS_INC_SIZE 30 +#define GENLIST_APPS_INC_COLOR 249 249 249 255 +#define GENLIST_APPS_RATING_SIZE 24 +#define GENLIST_APPS_RATING_COLOR 110 111 118 255 +#define GENLIST_APPS_PRICE_SIZE 24 +#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 93 131 255 255 +#define GENLIST_APPS_PRICE_SALE_COLOR 209 0 0 255 + +#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32 + +#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#FFFFFF color_class=T105" + +#define GENLIST_EMAIL_TEXT_FOCUS_COLOR 250 250 250 255 +#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE "#FAFAFAFF" + +#define GENLIST_EMAIL_MATCH_TAG_COLOR "+ color=#FFFFFF color_class=T105" + +#define GENLIST_ICON_PASSWORD_SIZE 82 + +#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" +#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" +#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" +#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC "#E89696FF" + +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 250 250 250 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 250 250 250 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 167 195 204 255 + +#define BUTTON_DATETIME_AMPM_BG_MIN_INC 160 100 +#define BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC 64 + +#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 72 72 +#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 72 72 +#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 72 72 +#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 36 +#define BUTTON_SEARCH_BUTTON_ICON_LEFT_TOP_PADDING_SIZE_INC 13 13 +#define BUTTON_SEARCH_BUTTON_ICON_RIGHT_BOTTOM_PADDING_SIZE_INC 14 14 + +#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74 +#define BUTTON_TEXT_STYLE1_BG_PADDING 1 2 +#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74 +#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74 +#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 45 45 +#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 45 45 +#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 45 45 +#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36 + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 72 72 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 +#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 + +#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 72 +#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 72 +#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110 +#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110 + +#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 96 +#define BUTTON_POPUP_PADDING_MIN_INC 12 3 +#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 45 45 +#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36 + +#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 72 72 +#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 45 45 + +#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 72 +#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 72 +#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90 +#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90 + +#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 90 41 +#define BUTTON_EXPANDABLE_NUMBER_BG_EFFECT_MIN_MAX_INC 92 45 +#define BUTTON_EXPANDABLE_NUMBER_BG_PADDING 1 2 +#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1 +#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 18 45 +#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 45 +#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28 + +#define BUTTON_CONTACT_BG_MIN_INC 18 66 +#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 12 0 +#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 12 0 +#define BUTTON_CONTACT_FONT_SIZE_INC 32 + +#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 85 98 +#define BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC 85 85 +#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 63 63 + +#define BUTTON_NAVIFRAME_TITLE_ICON_BG_W_INC 115 +#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 63 63 + +#define BUTTON_NAVIFRAME_DRAWERS_BG_W_INC 80 +#define BUTTON_NAVIFRAME_DRAWERS_LEFT_PADDING_W_INC 13 +#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_MIN_MAX_INC 54 54 + +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MIN_W_INC 94 +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MAX_W_INC 201 +#define BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 11 +#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MIN_W_INC 72 +#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MAX_W_INC 179 +#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32 +#define BUTTON_NAVIFRAME_TITLE_TEXT_MIN_FONT_SIZE_INC 32 + +#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 85 98 +#define BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC 85 85 +#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 63 63 +#define BUTTON_NAVIFRAME_MORE_BOTTOM_PADDING_INC 0 17 + +#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74 +#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 45 45 + +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 60 60 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 54 54 + +#define BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC 60 60 +#define BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 45 45 + +#define BUTTON_JUMP_STYLE_BG_MIN_INC 72 70 +#define BUTTON_JUMP_STYLE_BG_EFFECT_MIN_INC 74 74 +#define BUTTON_JUMP_STYLE_BG_PADDING 1 2 +#define BUTTON_JUMP_PADDING_MIN_INC 12 5 +#define BUTTON_JUMP_ICONONLY_ICON_MIN_INC 45 45 +#define BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 +#define BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 + +#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 38 + +#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 135 63 +#define CHECK_ONOFF_ON_FONT_SIZE_INC 24 +#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24 +#define CHECK_ONOFF_HANDLER_MIN_MAX_INC 84 63 + +#define CHECK_NAVIFRAME_TITLE_ONOFF_BG_WITH_PADDING_MIN_MAX_INC 177 63 +#define CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_LEFT_WIDTH_INC 16 +#define CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_RIGHT_WIDTH_INC 26 + +#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 45 +#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 45 + +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 72 +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 72 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100 +#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 72 72 + +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91 +#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 63 63 +#define CHECK_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC 16 7 + +#define INDEX_ITEM_MIN_WIDTH_INC 34 +#define INDEX_ITEM_MAX_WIDTH_INC 50 +#define INDEX_ITEM_HEIGHT_INC 33 +#define INDEX_POPUP_TEXT_SIZE_INC 128 +#define INDEX_DIVIDER_WIDTH_INC 1 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 3 +#define INDEX_TEXT_LEFT_PADDING_SIZE_INC 24 +#define INDEX_TEXT_RIGHT_PADDING_SIZE_INC 24 +#define INDEX_PADDING_SIZE_INC 3 +#define INDEX_ITEM_PADDING_SIZE_INC 3 +#define INDEX_SCROLL_DRAG_PART_SIZE 20 40 +#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 +#define INDEX_SCROLL_POPUP_SIZE 176 180 +#define INDEX_SCROLL_POPUP_ACTIVE_SIZE 304 180 +#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 128 180 +#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 128 180 +#define INDEX_SCROLL_POPUP_LT_PADDING 7 2 +#define INDEX_SCROLL_POPUP_RB_PADDING 7 12 + +#define INDEX_PAGECONTROL_IND_INC 30 15 +#define INDEX_PAGECONTROL_IND_MIN_INC 15 7 +#define INDEX_PAGECONTROL_SELECT_IND_MIN_INC 7 15 + +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 63 63 +#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36 +#define RADIO_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC 16 0 + +#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 65 +#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 26 +#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 26 +#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26 +#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 57 + +#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255 + +#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30 +#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 4 32 +#define SEGMENT_CONTROL_DIVIDER_LEFT_COLOR_INC 211 209 203 255 +#define SEGMENT_CONTROL_DIVIDER_RIGHT_COLOR_INC 255 255 255 255 +#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 18 0 +#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 40 40 +#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45 +#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47 +#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255; +#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26; + +#define EDITFIELD_TITLE_SIZE_INC 32 +#define EDITFIELD_TITLE_COLOR_INC 110 111 118 255 +#define EDITFIELD_GUIDE_TEXT_COLOR_INC 72 93 147 255 +#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70 +#define EDITFIELD_DEFAULT_MINH_INC 112 +#define EDITFIELD_TITLE_MINH_INC 128 +#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27 +#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56 +#define EDITFIELD_DEFAULT_TOP2_INC 8 +#define EDITFIELD_DEFAULT_LEFT1_INC 0 +#define EDITFIELD_DEFAULT_LEFT2_INC 0 +#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56 +#define EDITFIELD_DEFAULT_RIGHT2_INC 0 +#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25 +#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8 +#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12 + +#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 + +#define CONTROLBAR_LARGE_HEIGHT_INC 122 + +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 16 +#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 8 +#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 16 +#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 66 // same as button +#define MULTIBUTTONENTRY_LABEL_PAD_INC 8 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_LABEL_TEXT_SHADOW_COLOR_INC "#000000" +#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 66 // same as button +#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 66 +#define MULTIBUTTONENTRY_BUTTON_PAD_INC 12 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32 +#define MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC 250 250 250 255 // same as multibuttonentry label +#define MULTIBUTTONENTRY_NUMBER_TEXT_SHADOW_COLOR_INC 0 0 0 255 // same as multibuttonentry label +#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 64 + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 72 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 16 +#define SEARCHBAR_TOP_PADDING_INC 14 +#define SEARCHBAR_BOTTOM_PADDING_INC 13 +#define SEARCHBAR_BASE_HEIGHT_INC 99 +#define SEARCHBAR_HEIGHT_INC 72 +#define SEARCHBAR_WIDTH_INC 120 +#define SEARCHBAR_LEFT_PADDING_INC 16 +#define SEARCHBAR_RIGHT_PADDING_INC 16 +#define SEARCHBAR_H_INC 99 + +#define SELECTION_INFO_BACKGROUND_COLOR_INC 43 58 175 255 +#define SELECTION_INFO_TEXT_COLOR_INC 250 250 250 255 +#define SELECTION_INFO_MIN_VER_W_INC 720 +#define SELECTION_INFO_MIN_HORZ_W_INC 1280 +#define SELECTION_INFO_VER_PADDING_INC 48 +#define SELECTION_INFO_LEFT_PADDING_INC 16 +#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32 +#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150 +#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186 + +#define POPUP_ITEM_BG_DEFAULT_MIN_INC 684 112 +#define POPUP_ITEM_LEFT_MIN_PADDING_INC 47 0 +#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 47 0 +#define POPUP_ITEM_BG_LEFT_TOP_PAD_MIN_INC 0 0 +#define POPUP_ITEM_BG_RIGHT_BOTTOM_PAD_MIN_INC 0 0 +#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0 + +#define POPUP_ITEM_BG_LANDCAPE_MIN_INC 832 112 + +#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0 + +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 44 +#define POPUP_DOW_DEFAULT_FONT_SIZE_INC 40 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 38 + +#define POPUP_OUTSIDE_PADDING "124" //63 (top padding) + 61 (bottom padding) +#define POPUP_TITLE_AREA_HEIGHT "96" +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 684 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 684 1280 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 832 0 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 832 720 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 684 96 +#define POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC 832 96 +#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 47 0 +#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 63 63 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 684 96 +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 684 0 +#define POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC 832 0 + +#define POPUP_DESC_LEFT_PADDING 18 +#define POPUP_DESC_RIGHT_PADDING 18 +#define POPUP_DESC_TOP_PADDING 14 +#define POPUP_DESC_BOTTOM_PADDING 16 +#define POPUP_ACTION_DESC_TOP_PADDING 0 +#define POPUP_TITLE_LEFT_PADDING 47 +#define POPUP_TITLE_RIGHT_PADDING 47 +#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 0 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 32 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 47 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 47 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 32 + +#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 96 +#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 78 + +#define POPUP_BASE_VERTICAL_2BUTTON_BUTTONAREA_DEFAULT_MIN_INC 684 192 +#define POPUP_BASE_VERTICAL_3BUTTON_BUTTONAREA_DEFAULT_MIN_INC 684 288 + +#define POPUP_BUTTON2_VERTICAL_BUTTON_BG_INC 0 192 +#define POPUP_BUTTON3_VERTICAL_BUTTON_BG_INC 0 288 + +#define POPUP_BUTTON2_VERTICAL_ACTION_AREA_HEIGHT "192" +#define POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT "288" +#define POPUP_BUTTON_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 0 +#define POPUP_BUTTON_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 96 +#define POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 1 +#define POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 1 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "96" +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 684 96 +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 832 96 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 96 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 1 96 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 0 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 96 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 1 96 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 0 + +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 27 +#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 27 +#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 126 126 +#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 0 0 +#define PROCESS_XLARGE_IMAGE_HEIGHT_INC 126 +#define PROCESS_XLARGE_IMAGE_WIDTH_INC 126 +#define PROCESS_LARGE_IMAGE_HEIGHT_INC 63 +#define PROCESS_LARGE_IMAGE_WIDTH_INC 63 +#define PROCESS_MEDIUM_IMAGE_HEIGHT_INC 54 +#define PROCESS_MEDIUM_IMAGE_WIDTH_INC 54 +#define PROCESS_SMALL_IMAGE_HEIGHT_INC 36 +#define PROCESS_SMALL_IMAGE_WIDTH_INC 36 + +#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36 +#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32 +#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68 +#define NOCONTENT_BASE_SEARCH_PADDING_INC 40 +#define NOCONTENT_BOTTOM_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 150 +#define NOCONTENT_BOTTOM_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 100 +#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 160 +#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80 +#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80 +#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90 +#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16 +#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96 +#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16 +#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320 +#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320 +#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 576 +#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 416 +#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80 +#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80 + +#define ENTRY_TEXT_SIZE_INC 44 +#define ENTRY_TEXT_COLOR_INC "#FAFAFA" +#define ENTRY_GUIDE_TEXT_COLOR_INC "#6C6E78" +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 51 79 +#define ENTRY_SELECTION_EDGE_COLOR 59 115 182 255 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 4 +#define ENTRY_TOP_BOTTOM_PADDING_HEIGHT 3 +#define MAGNIFIER_HEIGHT_FIXED 164 +#define MAGNIFIER_WIDTH_FIXED 325 +#define ENTRY_EMOTICON_SIZE 86 86 +#define ENTRY_FOCUS_RECT_EDGE_INC 2 + +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 44 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 70 0 + +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 38 + +#define ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC "#000000" +#define ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC "#00000080" +#define ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC "#90A9C7" + +#define BUBBLE_LAYOUT_SELECT_PAD 10 +#define BUBBLE_LAYOUT_BOTTOM_PAD 20 + +#define ENTRY_BUBBLE_CALLERID_PAD 115 +#define ENTRY_BUBBLE_CALLERID_ICON_PAD 16 +#define ENTRY_BUBBLE_CALLERID_WIDTH 99 +#define ENTRY_BUBBLE_CALLERID_HEIGHT 99 +#define ENTRY_BUBBLE_GROUPCHAT_PAD 42 +#define ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 38 +#define ENTRY_BUBBLE_STATUS_PAD 140 +#define ENTRY_BUBBLE_READ_LEFTTOP_PAD 58 14 +#define ENTRY_BUBBLE_READ_RIGHTTOP_PAD 20 14 +#define ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD 20 14 +#define ENTRY_BUBBLE_SENT_LEFTTOP_PAD 20 14 +#define ENTRY_BUBBLE_SENT_RIGHTTOP_PAD 58 14 +#define ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD 20 14 +#define ENTRY_BUBBLE_MIDDLE_PAD 14 +#define ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD 10 14 +#define ENTRY_BUBBLE_STATUS_TIME_SIZE 100 30 +#define ENTRY_BUBBLE_ICON_TOP_PAD 12 +#define ENTRY_BUBBLE_ICON_PAD 10 +#define ENTRY_BUBBLE_TEXT_MIN 82 50 +#define ENTRY_BUBBLE_TEXT_SIZE 38 +#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000" +#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "shadow,bottom" +#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#000000" +#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "shadow,bottom" +#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 30 +#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 110 111 118 255 + +/* not used in elm/entry/base-noedit/{read,sent}message */ +#define ENTRY_BUBBLE_EX_PAD 58 +#define ENTRY_BUBBLE_IX_PAD 20 +#define ENTRY_BUBBLE_Y_PAD 15 +#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26 + +#define ENTRY_SEARCH_ICON_MIN_MAX_INC 45 45 +#define ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC 6 0 +#define ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC 16 0 +#define ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 63 0 +#define ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC 6 0 + +#define SLIDER_INDICATOR_TEXT_SIZE_INC 38 +#define SLIDER_BASE_HEIGHT_INC 27 +#define SLIDER_BASE_MIN_WIDTH_INC 100 +#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72 +#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74 +#define SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC 12 0 +#define SLIDER_INDICATOR_WIDTH_INC 72 +#define SLIDER_INDICATOR_HEIGHT_INC 72 + +#define SLIDER_INDICATOR_POPUP_HEIGHT_INC 99 +#define SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC 90 +#define SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC 35 +#define SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC 18 99 +#define SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC 10 0 +#define SLIDER_CENTER_POINT_MIN_SIZE_INC 18 36 +#define SLIDER_CENTER_POINT_MAX_SIZE_INC 18 36 +#define SLIDER_BAR_RIGHT_PADDING_SIZE_INC 22 0 +#define SLIDER_BAR_LEFT_PADDING_SIZE_INC 22 0 + +#define SLIDER_PAGECONTROL_BASE_MIN_WIDTH 272 +#define SLIDER_PAGECONTROL_BASE_HEIGHT 22 +#define SLIDER_PAGECONTROL_INDICATOR_MIN_WIDTH 82 +#define SLIDER_PAGECONTROL_INDICATOR_HEIGHT 56 + +#define DATETIME_WIDGET_HEIGHT 74 +#define DATETIME_WIDGET_PADDING_SIZE_INC 16 74 +#define DATETIME_TEXT_FONT_SIZE_INC 36 + +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 250 250 250 255 +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 250 250 250 255 + +#define DATETIME_POPUP_CONTENT_SIZE_INC 684 350 +#define DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 78 +#define DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 78 +#define DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 24 +#define DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC 28 +#define DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC 28 +#define DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 160 +#define DATETIME_POPUP_CONTENT_FIELD_HEIGHT_INC 120 +#define DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 252 + +#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 124 70 +#define SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC 124 70 +#define SPINNER_TEXT_HEIGHT_INC 120 + +#define ENTRY_DATETIME_POPUP_TEXT_SIZE_INC 64 + +#define COLORSELECTOR_MIN_W_INC 688 +#define COLORSELECTOR_MIN_H_INC 336 +#define COLORSELECTOR_MAX_W_INC 1014 +#define COLORSELECTOR_COLORBAR_HEIGHT 112 +#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122 +#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122 +#define COLORSELECTOR_BUTTON_TOP_PADDING 19 +#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120 +#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120 +#define COLORSELECTOR_ARROW_MIN_WIDTH 27 +#define COLORSELECTOR_ARROW_MIN_HEIGHT 72 +#define COLORSELECTOR_ARROW_REL1_OFFSET 0 4 +#define COLORSELECTOR_ARROW_REL2_OFFSET 0 3 +#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80 +#define COLORSELECTOR_BUTTON_LEFT_PADDING 32 +#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32 +#define COLORSELECTOR_BUTTON_WIDTH 74 +#define COLORSELECTOR_BUTTON_HEIGHT 74 +#define COLORSELECTOR_PADDING_COLOR_TOP_INC 39 40 43 255 +#define COLORSELECTOR_PADDING_COLOR_BOTTOM_INC 17 19 27 255 + +#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84 +#define COLORSELECTOR_PALETTE_COLORBG_PADDING 3 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "50" +#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20" +#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36" +#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0" +#define COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC "6" +#define COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC "12" +#define COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC 67 67 +#define COLORSELECTOR_COLORPLANE_PADDING_COLORPLANE_BG 35 0 +#define COLORSELECTOR_COLORPLANE_CONTROL_SIZE 16 16 +#define COLORPLANE_MIN_HEIGHT 144 +#define COLORSELECTOR_BOTTOM_PAD_COLORPLANE_INC 24 + +#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100 +#define TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC 100 +#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 12 +#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 12 +#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60 +#define TICKERNOTI_DEFAULT_TEXT_TOP_PADDING_INC 10 +#define TICKERNOTI_SUB_TEXT_HEIGHT_INC 36 +#define TICKERNOTI_MAIN_TEXT_HEIGHT_INC 45 +#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 66 +#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 66 +#define TICKERNOTI_DEFAULT_ICON_MIN_INC 72 72 +#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 28 +#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 38 +#define TICKERNOTI_DEFAULT_TEXT3_FONT_SIZE_INC 32 +#define TICKERNOTI_TEXTONLY_BG_MIN_HEIGHT_INC 60 + +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 9 18 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 9 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 18 9 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 9 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 6 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 40 90 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 90 40 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 40 45 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 45 40 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 6 + +#define TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 60 +#define TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 40 +#define TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 20 +#define TOOLBAR_ITEM_DIVIDER_SIZE 1 46 + +#define TABBAR_BOTTOM_LINE_H_INC 1 +#define TABBAR_DEFAULT_HEIGHT_INC 126 +#define TABBAR_ICON_TEXT_HEIGHT_INC 126 +#define TABBAR_HORIZONTAL_HEIGHT_INC 75 +#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 75 +#define TABBAR_ITEM_ICON_SIZE_INC 63 63 +#define TABBAR_BADGE_ONE_ITEM_PADDING_SIZE 10 10 +#define TABBAR_BADGE_TWO_ITEMS_PADDING_SIZE 6 10 +#define TABBAR_BADGE_THREE_ITEMS_PADDING_SIZE 4 10 +#define TABBAR_ITEM_DIVIDER_SIZE 2 + +#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0 + +#define TTS_FOCUS_BORDER 9 9 9 9 diff --git a/2.2/HD/images/Content_views/00_edit_field_clear.png b/2.2/HD/images/Content_views/00_edit_field_clear.png new file mode 100644 index 0000000..135b268 Binary files /dev/null and b/2.2/HD/images/Content_views/00_edit_field_clear.png differ diff --git a/2.2/HD/images/Content_views/00_folder_icon_folder.png b/2.2/HD/images/Content_views/00_folder_icon_folder.png new file mode 100755 index 0000000..0da8561 Binary files /dev/null and b/2.2/HD/images/Content_views/00_folder_icon_folder.png differ diff --git a/2.2/HD/images/Content_views/00_folder_icon_folder_minus.png b/2.2/HD/images/Content_views/00_folder_icon_folder_minus.png new file mode 100755 index 0000000..4e7ba28 Binary files /dev/null and b/2.2/HD/images/Content_views/00_folder_icon_folder_minus.png differ diff --git a/2.2/HD/images/Content_views/00_folder_icon_folder_plus.png b/2.2/HD/images/Content_views/00_folder_icon_folder_plus.png new file mode 100755 index 0000000..4316dab Binary files /dev/null and b/2.2/HD/images/Content_views/00_folder_icon_folder_plus.png differ diff --git a/2.2/HD/images/Content_views/00_list_bubble_bg.#.png b/2.2/HD/images/Content_views/00_list_bubble_bg.#.png new file mode 100755 index 0000000..834f3f6 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_bubble_bg.#.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_closed.png b/2.2/HD/images/Content_views/00_list_button_expand_closed.png new file mode 100755 index 0000000..f918645 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_closed.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_closed_dim_ef.png b/2.2/HD/images/Content_views/00_list_button_expand_closed_dim_ef.png new file mode 100644 index 0000000..fd916e6 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_closed_dim_ef.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_closed_ef.png b/2.2/HD/images/Content_views/00_list_button_expand_closed_ef.png new file mode 100644 index 0000000..fd916e6 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_closed_ef.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_opened.png b/2.2/HD/images/Content_views/00_list_button_expand_opened.png new file mode 100755 index 0000000..f621d32 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_opened.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_opened_dim_ef.png b/2.2/HD/images/Content_views/00_list_button_expand_opened_dim_ef.png new file mode 100644 index 0000000..ecb4624 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_opened_dim_ef.png differ diff --git a/2.2/HD/images/Content_views/00_list_button_expand_opened_ef.png b/2.2/HD/images/Content_views/00_list_button_expand_opened_ef.png new file mode 100644 index 0000000..ecb4624 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_button_expand_opened_ef.png differ diff --git a/2.2/HD/images/Content_views/00_list_circle_thumbnail_bg.png b/2.2/HD/images/Content_views/00_list_circle_thumbnail_bg.png new file mode 100755 index 0000000..96a0eb8 Binary files /dev/null and b/2.2/HD/images/Content_views/00_list_circle_thumbnail_bg.png differ diff --git a/2.2/HD/images/Content_views/00_messagebubble_bg_receive_bg.#.png b/2.2/HD/images/Content_views/00_messagebubble_bg_receive_bg.#.png new file mode 100755 index 0000000..24cce7e Binary files /dev/null and b/2.2/HD/images/Content_views/00_messagebubble_bg_receive_bg.#.png differ diff --git a/2.2/HD/images/Content_views/00_messagebubble_bg_sent_bg.#.png b/2.2/HD/images/Content_views/00_messagebubble_bg_sent_bg.#.png new file mode 100755 index 0000000..2a7b8c9 Binary files /dev/null and b/2.2/HD/images/Content_views/00_messagebubble_bg_sent_bg.#.png differ diff --git a/2.2/HD/images/Content_views/00_video_play.png b/2.2/HD/images/Content_views/00_video_play.png new file mode 100644 index 0000000..cff1c74 Binary files /dev/null and b/2.2/HD/images/Content_views/00_video_play.png differ diff --git a/2.2/HD/images/Controls/00_arrow_expand.png b/2.2/HD/images/Controls/00_arrow_expand.png new file mode 100755 index 0000000..b285b1f Binary files /dev/null and b/2.2/HD/images/Controls/00_arrow_expand.png differ diff --git a/2.2/HD/images/Controls/00_button_01_bg_dim_ef.#.png b/2.2/HD/images/Controls/00_button_01_bg_dim_ef.#.png new file mode 100755 index 0000000..531ca27 Binary files /dev/null and b/2.2/HD/images/Controls/00_button_01_bg_dim_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_button_01_bg_ef.#.png b/2.2/HD/images/Controls/00_button_01_bg_ef.#.png new file mode 100755 index 0000000..531ca27 Binary files /dev/null and b/2.2/HD/images/Controls/00_button_01_bg_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_button_01_bg_focus.#.png b/2.2/HD/images/Controls/00_button_01_bg_focus.#.png new file mode 100755 index 0000000..4f946ce Binary files /dev/null and b/2.2/HD/images/Controls/00_button_01_bg_focus.#.png differ diff --git a/2.2/HD/images/Controls/00_circle_button_bg.png b/2.2/HD/images/Controls/00_circle_button_bg.png new file mode 100644 index 0000000..2f26ab3 Binary files /dev/null and b/2.2/HD/images/Controls/00_circle_button_bg.png differ diff --git a/2.2/HD/images/Controls/00_circle_button_dim_ef.png b/2.2/HD/images/Controls/00_circle_button_dim_ef.png new file mode 100644 index 0000000..ffad721 Binary files /dev/null and b/2.2/HD/images/Controls/00_circle_button_dim_ef.png differ diff --git a/2.2/HD/images/Controls/00_circle_button_ef.png b/2.2/HD/images/Controls/00_circle_button_ef.png new file mode 100644 index 0000000..caeb4be Binary files /dev/null and b/2.2/HD/images/Controls/00_circle_button_ef.png differ diff --git a/2.2/HD/images/Controls/00_circle_button_focus.png b/2.2/HD/images/Controls/00_circle_button_focus.png new file mode 100644 index 0000000..c621797 Binary files /dev/null and b/2.2/HD/images/Controls/00_circle_button_focus.png differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_brightness.png b/2.2/HD/images/Controls/00_color_picker_brightness.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_brightness.png rename to 2.2/HD/images/Controls/00_color_picker_brightness.png diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_brightness_h.png b/2.2/HD/images/Controls/00_color_picker_brightness_h.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_brightness_h.png rename to 2.2/HD/images/Controls/00_color_picker_brightness_h.png diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_color.png b/2.2/HD/images/Controls/00_color_picker_color.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_color.png rename to 2.2/HD/images/Controls/00_color_picker_color.png diff --git a/2.2/HD/images/Controls/00_color_picker_color_box.png b/2.2/HD/images/Controls/00_color_picker_color_box.png new file mode 100755 index 0000000..7f59a80 Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_color_box.png differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_color_h.png b/2.2/HD/images/Controls/00_color_picker_color_h.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_color_h.png rename to 2.2/HD/images/Controls/00_color_picker_color_h.png diff --git a/2.2/HD/images/Controls/00_color_picker_colorchip_shadow.#.png b/2.2/HD/images/Controls/00_color_picker_colorchip_shadow.#.png new file mode 100644 index 0000000..0f0508d Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_colorchip_shadow.#.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_custom_colorchip.png b/2.2/HD/images/Controls/00_color_picker_custom_colorchip.png new file mode 100755 index 0000000..a9f2a90 Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_custom_colorchip.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_handler.png b/2.2/HD/images/Controls/00_color_picker_handler.png new file mode 100755 index 0000000..5f02ff0 Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_handler.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_handler_focus.png b/2.2/HD/images/Controls/00_color_picker_handler_focus.png new file mode 100644 index 0000000..f2f4dce Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_handler_focus.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_palette_bg_ef.#.png b/2.2/HD/images/Controls/00_color_picker_palette_bg_ef.#.png new file mode 100644 index 0000000..26a4b0b Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_palette_bg_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_palette_focus.#.png b/2.2/HD/images/Controls/00_color_picker_palette_focus.#.png new file mode 100644 index 0000000..3493cdf Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_palette_focus.#.png differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_saturation.png b/2.2/HD/images/Controls/00_color_picker_saturation.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_saturation.png rename to 2.2/HD/images/Controls/00_color_picker_saturation.png diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_saturation_h.png b/2.2/HD/images/Controls/00_color_picker_saturation_h.png old mode 100644 new mode 100755 similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_color_picker_saturation_h.png rename to 2.2/HD/images/Controls/00_color_picker_saturation_h.png diff --git a/2.2/HD/images/Controls/00_color_picker_select_box.#.png b/2.2/HD/images/Controls/00_color_picker_select_box.#.png new file mode 100644 index 0000000..b3110d8 Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_select_box.#.png differ diff --git a/2.2/HD/images/Controls/00_color_picker_select_kit.#.png b/2.2/HD/images/Controls/00_color_picker_select_kit.#.png new file mode 100644 index 0000000..d93e6f7 Binary files /dev/null and b/2.2/HD/images/Controls/00_color_picker_select_kit.#.png differ diff --git a/2.2/HD/images/Controls/00_contacts_button_bg_ef.#.png b/2.2/HD/images/Controls/00_contacts_button_bg_ef.#.png new file mode 100755 index 0000000..d4b7e28 Binary files /dev/null and b/2.2/HD/images/Controls/00_contacts_button_bg_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_contacts_button_focus.#.png b/2.2/HD/images/Controls/00_contacts_button_focus.#.png new file mode 100755 index 0000000..fd49ec8 Binary files /dev/null and b/2.2/HD/images/Controls/00_contacts_button_focus.#.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_handler_bg.#.png b/2.2/HD/images/Controls/00_fast_scroll_handler_bg.#.png new file mode 100755 index 0000000..02d0564 Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_handler_bg.#.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_handler_center.png b/2.2/HD/images/Controls/00_fast_scroll_handler_center.png new file mode 100644 index 0000000..2962272 Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_handler_center.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_handler_center_h.png b/2.2/HD/images/Controls/00_fast_scroll_handler_center_h.png new file mode 100644 index 0000000..0ac5493 Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_handler_center_h.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_popup_bg_ef.#.png b/2.2/HD/images/Controls/00_fast_scroll_popup_bg_ef.#.png new file mode 100755 index 0000000..9fec2fe Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_popup_bg_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_popup_bg_line.#.png b/2.2/HD/images/Controls/00_fast_scroll_popup_bg_line.#.png new file mode 100755 index 0000000..96088ab Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_popup_bg_line.#.png differ diff --git a/2.2/HD/images/Controls/00_fast_scroll_rollover_bg_line_focus.#.png b/2.2/HD/images/Controls/00_fast_scroll_rollover_bg_line_focus.#.png new file mode 100644 index 0000000..965bee1 Binary files /dev/null and b/2.2/HD/images/Controls/00_fast_scroll_rollover_bg_line_focus.#.png differ diff --git a/2.2/HD/images/Controls/00_icon_favorite_bg_45x45.png b/2.2/HD/images/Controls/00_icon_favorite_bg_45x45.png new file mode 100755 index 0000000..1ae50fb Binary files /dev/null and b/2.2/HD/images/Controls/00_icon_favorite_bg_45x45.png differ diff --git a/2.2/HD/images/Controls/00_icon_favorite_bg_72x72.png b/2.2/HD/images/Controls/00_icon_favorite_bg_72x72.png new file mode 100755 index 0000000..c819fd1 Binary files /dev/null and b/2.2/HD/images/Controls/00_icon_favorite_bg_72x72.png differ diff --git a/2.2/HD/images/Controls/00_icon_jump.png b/2.2/HD/images/Controls/00_icon_jump.png new file mode 100755 index 0000000..9eee4b0 Binary files /dev/null and b/2.2/HD/images/Controls/00_icon_jump.png differ diff --git a/2.2/HD/images/Controls/00_icon_jump_left.png b/2.2/HD/images/Controls/00_icon_jump_left.png new file mode 100755 index 0000000..7f68c6c Binary files /dev/null and b/2.2/HD/images/Controls/00_icon_jump_left.png differ diff --git a/2.2/HD/images/Controls/00_on_off_bg.png b/2.2/HD/images/Controls/00_on_off_bg.png new file mode 100755 index 0000000..543321a Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_bg.png differ diff --git a/2.2/HD/images/Controls/00_on_off_bg_ef.png b/2.2/HD/images/Controls/00_on_off_bg_ef.png new file mode 100755 index 0000000..3b3a832 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_bg_ef.png differ diff --git a/2.2/HD/images/Controls/00_on_off_bg_line.png b/2.2/HD/images/Controls/00_on_off_bg_line.png new file mode 100755 index 0000000..3c17776 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_bg_line.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_bg.png b/2.2/HD/images/Controls/00_on_off_handler_bg.png new file mode 100755 index 0000000..6a56305 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_bg.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_bg_ef.png b/2.2/HD/images/Controls/00_on_off_handler_bg_ef.png new file mode 100755 index 0000000..1471a0b Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_bg_ef.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_focus.png b/2.2/HD/images/Controls/00_on_off_handler_focus.png new file mode 100755 index 0000000..548347f Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_focus.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_icon_off.png b/2.2/HD/images/Controls/00_on_off_handler_icon_off.png new file mode 100755 index 0000000..5c24de6 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_icon_off.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_icon_off_ef.png b/2.2/HD/images/Controls/00_on_off_handler_icon_off_ef.png new file mode 100755 index 0000000..a1a381e Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_icon_off_ef.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_icon_on.png b/2.2/HD/images/Controls/00_on_off_handler_icon_on.png new file mode 100644 index 0000000..1b8af51 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_icon_on.png differ diff --git a/2.2/HD/images/Controls/00_on_off_handler_icon_on_ef.png b/2.2/HD/images/Controls/00_on_off_handler_icon_on_ef.png new file mode 100644 index 0000000..72385a0 Binary files /dev/null and b/2.2/HD/images/Controls/00_on_off_handler_icon_on_ef.png differ diff --git a/2.2/HD/images/Controls/00_page_indicator_01.png b/2.2/HD/images/Controls/00_page_indicator_01.png new file mode 100755 index 0000000..0d788d5 Binary files /dev/null and b/2.2/HD/images/Controls/00_page_indicator_01.png differ diff --git a/2.2/HD/images/Controls/00_page_indicator_02.png b/2.2/HD/images/Controls/00_page_indicator_02.png new file mode 100755 index 0000000..6886c61 Binary files /dev/null and b/2.2/HD/images/Controls/00_page_indicator_02.png differ diff --git a/2.2/HD/images/Controls/00_progress_bar.#.png b/2.2/HD/images/Controls/00_progress_bar.#.png new file mode 100755 index 0000000..eaf1543 Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_bar.#.png differ diff --git a/2.2/HD/images/Controls/00_progress_bg.#.png b/2.2/HD/images/Controls/00_progress_bg.#.png new file mode 100755 index 0000000..651d3bb Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_bg.#.png differ diff --git a/2.2/HD/images/Controls/00_progress_pending_bg_01.png b/2.2/HD/images/Controls/00_progress_pending_bg_01.png new file mode 100755 index 0000000..225579b Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_pending_bg_01.png differ diff --git a/2.2/HD/images/Controls/00_progress_pending_bg_01_h.png b/2.2/HD/images/Controls/00_progress_pending_bg_01_h.png new file mode 100755 index 0000000..b6fd5f3 Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_pending_bg_01_h.png differ diff --git a/2.2/HD/images/Controls/00_progress_pending_bg_02.png b/2.2/HD/images/Controls/00_progress_pending_bg_02.png new file mode 100755 index 0000000..154297e Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_pending_bg_02.png differ diff --git a/2.2/HD/images/Controls/00_progress_pending_bg_02_h.png b/2.2/HD/images/Controls/00_progress_pending_bg_02_h.png new file mode 100755 index 0000000..abe7465 Binary files /dev/null and b/2.2/HD/images/Controls/00_progress_pending_bg_02_h.png differ diff --git a/2.2/HD/images/Controls/00_scroll_bar_h.#.png b/2.2/HD/images/Controls/00_scroll_bar_h.#.png new file mode 100644 index 0000000..7d25917 Binary files /dev/null and b/2.2/HD/images/Controls/00_scroll_bar_h.#.png differ diff --git a/2.2/HD/images/Controls/00_scroll_bar_v.#.png b/2.2/HD/images/Controls/00_scroll_bar_v.#.png new file mode 100644 index 0000000..e3fd8bb Binary files /dev/null and b/2.2/HD/images/Controls/00_scroll_bar_v.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_button_brightness_01.png b/2.2/HD/images/Controls/00_slider_button_brightness_01.png new file mode 100755 index 0000000..476e721 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_button_brightness_01.png differ diff --git a/2.2/HD/images/Controls/00_slider_button_brightness_02.png b/2.2/HD/images/Controls/00_slider_button_brightness_02.png new file mode 100755 index 0000000..094ae6f Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_button_brightness_02.png differ diff --git a/2.2/HD/images/Controls/00_slider_button_volume_01.png b/2.2/HD/images/Controls/00_slider_button_volume_01.png new file mode 100755 index 0000000..5ee2a3a Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_button_volume_01.png differ diff --git a/2.2/HD/images/Controls/00_slider_button_volume_02.png b/2.2/HD/images/Controls/00_slider_button_volume_02.png new file mode 100755 index 0000000..1bb6882 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_button_volume_02.png differ diff --git a/2.2/HD/images/Controls/00_slider_center_point_bg.png b/2.2/HD/images/Controls/00_slider_center_point_bg.png new file mode 100644 index 0000000..bb2726f Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_center_point_bg.png differ diff --git a/2.2/HD/images/Controls/00_slider_handle_bg.png b/2.2/HD/images/Controls/00_slider_handle_bg.png new file mode 100755 index 0000000..1c32f36 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_handle_bg.png differ diff --git a/2.2/HD/images/Controls/00_slider_handle_bg_ef.png b/2.2/HD/images/Controls/00_slider_handle_bg_ef.png new file mode 100644 index 0000000..559d6ab Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_handle_bg_ef.png differ diff --git a/2.2/HD/images/Controls/00_slider_handle_dim_ef.png b/2.2/HD/images/Controls/00_slider_handle_dim_ef.png new file mode 100644 index 0000000..6eac827 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_handle_dim_ef.png differ diff --git a/2.2/HD/images/Controls/00_slider_handle_focus.png b/2.2/HD/images/Controls/00_slider_handle_focus.png new file mode 100644 index 0000000..98fc443 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_handle_focus.png differ diff --git a/2.2/HD/images/Controls/00_slider_handle_press_ef.png b/2.2/HD/images/Controls/00_slider_handle_press_ef.png new file mode 100644 index 0000000..0e3c855 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_handle_press_ef.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_center.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_center.#.png new file mode 100644 index 0000000..7dad5f5 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_center.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_center_ef.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_center_ef.#.png new file mode 100755 index 0000000..76dc414 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_center_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_left.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_left.#.png new file mode 100755 index 0000000..3c6b892 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_left.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_left_ef.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_left_ef.#.png new file mode 100755 index 0000000..1817d37 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_left_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_right.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_right.#.png new file mode 100755 index 0000000..0010497 Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_right.#.png differ diff --git a/2.2/HD/images/Controls/00_slider_popup_bg_right_ef.#.png b/2.2/HD/images/Controls/00_slider_popup_bg_right_ef.#.png new file mode 100755 index 0000000..8dcd39d Binary files /dev/null and b/2.2/HD/images/Controls/00_slider_popup_bg_right_ef.#.png differ diff --git a/2.2/HD/images/Controls/00_splite_handler_bg.#.png b/2.2/HD/images/Controls/00_splite_handler_bg.#.png new file mode 100644 index 0000000..7e977c8 Binary files /dev/null and b/2.2/HD/images/Controls/00_splite_handler_bg.#.png differ diff --git a/2.2/HD/images/Controls/00_splite_handler_h.png b/2.2/HD/images/Controls/00_splite_handler_h.png new file mode 100644 index 0000000..dfcc1b9 Binary files /dev/null and b/2.2/HD/images/Controls/00_splite_handler_h.png differ diff --git a/2.2/HD/images/Controls/00_splite_handler_v.png b/2.2/HD/images/Controls/00_splite_handler_v.png new file mode 100644 index 0000000..2ced25b Binary files /dev/null and b/2.2/HD/images/Controls/00_splite_handler_v.png differ diff --git a/2.2/HD/images/Controls/B08_fast_scroll_bar.png b/2.2/HD/images/Controls/B08_fast_scroll_bar.png new file mode 100755 index 0000000..61264d3 Binary files /dev/null and b/2.2/HD/images/Controls/B08_fast_scroll_bar.png differ diff --git a/2.2/HD/images/Controls/B08_fast_scroll_bg.png b/2.2/HD/images/Controls/B08_fast_scroll_bg.png new file mode 100755 index 0000000..f21acd5 Binary files /dev/null and b/2.2/HD/images/Controls/B08_fast_scroll_bg.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_add.png b/2.2/HD/images/Controls/Button/00_button_add.png new file mode 100755 index 0000000..97da27b Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_add.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_add_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_add_dim_ef.png new file mode 100644 index 0000000..e43365f Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_add_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_add_ef.png b/2.2/HD/images/Controls/Button/00_button_add_ef.png new file mode 100644 index 0000000..e43365f Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_add_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_call.png b/2.2/HD/images/Controls/Button/00_button_call.png new file mode 100755 index 0000000..87c6187 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_call.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_call_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_call_dim_ef.png new file mode 100644 index 0000000..4f400e4 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_call_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_call_ef.png b/2.2/HD/images/Controls/Button/00_button_call_ef.png new file mode 100644 index 0000000..4f400e4 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_call_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_contact.png b/2.2/HD/images/Controls/Button/00_button_contact.png new file mode 100755 index 0000000..70db13b Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_contact.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_contact_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_contact_dim_ef.png new file mode 100644 index 0000000..7ac520a Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_contact_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_contact_ef.png b/2.2/HD/images/Controls/Button/00_button_contact_ef.png new file mode 100644 index 0000000..7ac520a Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_contact_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_delete.png b/2.2/HD/images/Controls/Button/00_button_delete.png new file mode 100755 index 0000000..42d3057 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_delete.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_delete_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_delete_dim_ef.png new file mode 100644 index 0000000..93a799f Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_delete_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_delete_ef.png b/2.2/HD/images/Controls/Button/00_button_delete_ef.png new file mode 100644 index 0000000..93a799f Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_delete_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_cancel.png b/2.2/HD/images/Controls/Button/00_button_expand_cancel.png new file mode 100755 index 0000000..f21fb91 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_cancel.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_cancel_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_cancel_dim_ef.png new file mode 100644 index 0000000..f2f407d Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_cancel_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_cancel_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_cancel_ef.png new file mode 100644 index 0000000..f2f407d Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_cancel_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_closed.png b/2.2/HD/images/Controls/Button/00_button_expand_closed.png new file mode 100755 index 0000000..c65daeb Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_closed.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_closed_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_closed_dim_ef.png new file mode 100644 index 0000000..05283ca Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_closed_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_closed_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_closed_ef.png new file mode 100644 index 0000000..05283ca Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_closed_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_opened.png b/2.2/HD/images/Controls/Button/00_button_expand_opened.png new file mode 100755 index 0000000..7093a4d Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_opened.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_opened_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_opened_dim_ef.png new file mode 100644 index 0000000..c61b3c5 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_opened_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_opened_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_opened_ef.png new file mode 100644 index 0000000..c61b3c5 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_opened_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_send.png b/2.2/HD/images/Controls/Button/00_button_expand_send.png new file mode 100755 index 0000000..326a4e8 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_send.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_send_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_send_dim_ef.png new file mode 100644 index 0000000..5084976 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_send_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_expand_send_ef.png b/2.2/HD/images/Controls/Button/00_button_expand_send_ef.png new file mode 100644 index 0000000..5084976 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_expand_send_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_info.png b/2.2/HD/images/Controls/Button/00_button_info.png new file mode 100755 index 0000000..10c3d6f Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_info.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_info_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_info_dim_ef.png new file mode 100644 index 0000000..e5b6800 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_info_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_info_ef.png b/2.2/HD/images/Controls/Button/00_button_info_ef.png new file mode 100644 index 0000000..e5b6800 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_info_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_left.png b/2.2/HD/images/Controls/Button/00_button_left.png new file mode 100755 index 0000000..a154698 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_left.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_left_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_left_dim_ef.png new file mode 100644 index 0000000..c7be9b5 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_left_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_left_ef.png b/2.2/HD/images/Controls/Button/00_button_left_ef.png new file mode 100644 index 0000000..c7be9b5 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_left_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_rename.png b/2.2/HD/images/Controls/Button/00_button_rename.png new file mode 100755 index 0000000..06e854d Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_rename.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_rename_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_rename_dim_ef.png new file mode 100644 index 0000000..48b7d96 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_rename_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_rename_ef.png b/2.2/HD/images/Controls/Button/00_button_rename_ef.png new file mode 100644 index 0000000..48b7d96 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_rename_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_right.png b/2.2/HD/images/Controls/Button/00_button_right.png new file mode 100755 index 0000000..13a3df3 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_right.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_right_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_right_dim_ef.png new file mode 100644 index 0000000..f67baa0 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_right_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_right_ef.png b/2.2/HD/images/Controls/Button/00_button_right_ef.png new file mode 100644 index 0000000..f67baa0 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_right_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_warning.png b/2.2/HD/images/Controls/Button/00_button_warning.png new file mode 100755 index 0000000..026ea94 Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_warning.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_warning_dim_ef.png b/2.2/HD/images/Controls/Button/00_button_warning_dim_ef.png new file mode 100644 index 0000000..4d59c5b Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_warning_dim_ef.png differ diff --git a/2.2/HD/images/Controls/Button/00_button_warning_ef.png b/2.2/HD/images/Controls/Button/00_button_warning_ef.png new file mode 100644 index 0000000..4d59c5b Binary files /dev/null and b/2.2/HD/images/Controls/Button/00_button_warning_ef.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_activate.png b/2.2/HD/images/Controls/Check_box/00_check_activate.png new file mode 100755 index 0000000..ca4c15e Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_activate.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_activate_ef.png b/2.2/HD/images/Controls/Check_box/00_check_activate_ef.png new file mode 100755 index 0000000..5b7da07 Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_activate_ef.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_bg.png b/2.2/HD/images/Controls/Check_box/00_check_bg.png new file mode 100755 index 0000000..3b901ab Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_bg.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_bg_ef.png b/2.2/HD/images/Controls/Check_box/00_check_bg_ef.png new file mode 100755 index 0000000..cb49cdd Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_bg_ef.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_bg_line.png b/2.2/HD/images/Controls/Check_box/00_check_bg_line.png new file mode 100755 index 0000000..6cf7c07 Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_bg_line.png differ diff --git a/2.2/HD/images/Controls/Check_box/00_check_focus.png b/2.2/HD/images/Controls/Check_box/00_check_focus.png new file mode 100755 index 0000000..7f51d0f Binary files /dev/null and b/2.2/HD/images/Controls/Check_box/00_check_focus.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_activate.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_activate.png new file mode 100755 index 0000000..7c52d2a Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_activate.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_activate_ef.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_activate_ef.png new file mode 100755 index 0000000..f45c5ec Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_activate_ef.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_bg.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg.png new file mode 100755 index 0000000..e40b124 Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_ef.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_ef.png new file mode 100755 index 0000000..013e1b7 Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_ef.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_line.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_line.png new file mode 100755 index 0000000..2d09fc7 Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_bg_line.png differ diff --git a/2.2/HD/images/Controls/Radio_button/00_button_radio_focus.png b/2.2/HD/images/Controls/Radio_button/00_button_radio_focus.png new file mode 100755 index 0000000..6f52552 Binary files /dev/null and b/2.2/HD/images/Controls/Radio_button/00_button_radio_focus.png differ diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_center.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_center.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_center.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_center.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_center_reverse.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_center_reverse.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_center_reverse.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_center_reverse.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_left.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_left.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_01.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_left_01.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_01.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_left_01.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_01_reverse.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_left_01_reverse.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_01_reverse.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_left_01_reverse.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_reverse.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_left_reverse.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_left_reverse.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_left_reverse.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_right.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_right.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_01.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_right_01.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_01.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_right_01.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_01_reverse.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_right_01_reverse.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_01_reverse.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_right_01_reverse.png diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_reverse.png b/2.2/HD/images/Copy_Paste/copy&paste_Handler_right_reverse.png similarity index 100% rename from wearable/themes/images/default/temp/Copy_Paste/copy&paste_Handler_right_reverse.png rename to 2.2/HD/images/Copy_Paste/copy&paste_Handler_right_reverse.png diff --git a/2.2/HD/images/Copy_Paste/copy&paste_Magnifier.#.png b/2.2/HD/images/Copy_Paste/copy&paste_Magnifier.#.png new file mode 100755 index 0000000..b5dbfad Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_Magnifier.#.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png b/2.2/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png new file mode 100755 index 0000000..dc10a26 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_clipboard.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_clipboard.png new file mode 100755 index 0000000..d158872 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_clipboard.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_copy.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_copy.png new file mode 100755 index 0000000..c79fa99 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_copy.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_cut.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_cut.png new file mode 100755 index 0000000..f819fc6 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_cut.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_find.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_find.png new file mode 100755 index 0000000..1dd110f Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_find.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_paste.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_paste.png new file mode 100755 index 0000000..139695f Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_paste.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_select.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_select.png new file mode 100755 index 0000000..d4585d2 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_select.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_select_all.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_select_all.png new file mode 100755 index 0000000..9506c04 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_select_all.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_share.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_share.png new file mode 100755 index 0000000..299ffd6 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_share.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_translate.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_translate.png new file mode 100755 index 0000000..c5d8d75 Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_translate.png differ diff --git a/2.2/HD/images/Copy_Paste/copy&paste_icon_web_search.png b/2.2/HD/images/Copy_Paste/copy&paste_icon_web_search.png new file mode 100755 index 0000000..a1f17cc Binary files /dev/null and b/2.2/HD/images/Copy_Paste/copy&paste_icon_web_search.png differ diff --git a/2.2/HD/images/Emoticon/emo-angry-shout.png b/2.2/HD/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-angry-shout.png differ diff --git a/2.2/HD/images/Emoticon/emo-angry.png b/2.2/HD/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-angry.png differ diff --git a/2.2/HD/images/Emoticon/emo-guilty.png b/2.2/HD/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-guilty.png differ diff --git a/2.2/HD/images/Emoticon/emo-haha.png b/2.2/HD/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-haha.png differ diff --git a/2.2/HD/images/Emoticon/emo-half-smile.png b/2.2/HD/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-half-smile.png differ diff --git a/2.2/HD/images/Emoticon/emo-happy.png b/2.2/HD/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-happy.png differ diff --git a/2.2/HD/images/Emoticon/emo-kiss.png b/2.2/HD/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-kiss.png differ diff --git a/2.2/HD/images/Emoticon/emo-little-bit-sorry.png b/2.2/HD/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.2/HD/images/Emoticon/emo-love.png b/2.2/HD/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-love.png differ diff --git a/2.2/HD/images/Emoticon/emo-minimal-smile.png b/2.2/HD/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.2/HD/images/Emoticon/emo-omg.png b/2.2/HD/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-omg.png differ diff --git a/2.2/HD/images/Emoticon/emo-smile.png b/2.2/HD/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-smile.png differ diff --git a/2.2/HD/images/Emoticon/emo-sorry.png b/2.2/HD/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-sorry.png differ diff --git a/2.2/HD/images/Emoticon/emo-surprised.png b/2.2/HD/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-surprised.png differ diff --git a/2.2/HD/images/Emoticon/emo-tongue-dangling.png b/2.2/HD/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.2/HD/images/Emoticon/emo-very-sorry.png b/2.2/HD/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-very-sorry.png differ diff --git a/2.2/HD/images/Emoticon/emo-wink.png b/2.2/HD/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-wink.png differ diff --git a/2.2/HD/images/Emoticon/emo-worried.png b/2.2/HD/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.2/HD/images/Emoticon/emo-worried.png differ diff --git a/2.2/HD/images/Focus/00_focus_01.#.png b/2.2/HD/images/Focus/00_focus_01.#.png new file mode 100755 index 0000000..e9a1206 Binary files /dev/null and b/2.2/HD/images/Focus/00_focus_01.#.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_drawers_title_bg_press.#.png b/2.2/HD/images/GUI_Style_Guide/00_drawers_title_bg_press.#.png new file mode 100755 index 0000000..fa4c9d4 Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_drawers_title_bg_press.#.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_field_btn_clear.png b/2.2/HD/images/GUI_Style_Guide/00_field_btn_clear.png new file mode 100644 index 0000000..b3ee551 Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_field_btn_clear.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_icon_drawers.png b/2.2/HD/images/GUI_Style_Guide/00_icon_drawers.png new file mode 100755 index 0000000..39aa89a Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_icon_drawers.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_down.png b/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_down.png new file mode 100755 index 0000000..3c860d1 Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_down.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_up.png b/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_up.png new file mode 100755 index 0000000..8ed1673 Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_picker_arrow_up.png differ diff --git a/2.2/HD/images/GUI_Style_Guide/00_search_icon.png b/2.2/HD/images/GUI_Style_Guide/00_search_icon.png new file mode 100644 index 0000000..63f430e Binary files /dev/null and b/2.2/HD/images/GUI_Style_Guide/00_search_icon.png differ diff --git a/2.2/HD/images/Indicator/00_indicator_translucent_bg.png b/2.2/HD/images/Indicator/00_indicator_translucent_bg.png new file mode 100644 index 0000000..c27b619 Binary files /dev/null and b/2.2/HD/images/Indicator/00_indicator_translucent_bg.png differ diff --git a/mobile/themes/images/HD/light/Map/bubble.png b/2.2/HD/images/Map/bubble.png similarity index 100% rename from mobile/themes/images/HD/light/Map/bubble.png rename to 2.2/HD/images/Map/bubble.png diff --git a/mobile/themes/images/HD/light/Map/bubble_shine.png b/2.2/HD/images/Map/bubble_shine.png similarity index 100% rename from mobile/themes/images/HD/light/Map/bubble_shine.png rename to 2.2/HD/images/Map/bubble_shine.png diff --git a/mobile/themes/images/HD/light/Map/map_circle.png b/2.2/HD/images/Map/map_circle.png similarity index 100% rename from mobile/themes/images/HD/light/Map/map_circle.png rename to 2.2/HD/images/Map/map_circle.png diff --git a/mobile/themes/images/HD/light/Map/map_item.png b/2.2/HD/images/Map/map_item.png similarity index 100% rename from mobile/themes/images/HD/light/Map/map_item.png rename to 2.2/HD/images/Map/map_item.png diff --git a/mobile/themes/images/HD/light/Map/map_item_2.png b/2.2/HD/images/Map/map_item_2.png similarity index 100% rename from mobile/themes/images/HD/light/Map/map_item_2.png rename to 2.2/HD/images/Map/map_item_2.png diff --git a/mobile/themes/images/HD/light/Map/map_scale.png b/2.2/HD/images/Map/map_scale.png similarity index 100% rename from mobile/themes/images/HD/light/Map/map_scale.png rename to 2.2/HD/images/Map/map_scale.png diff --git a/2.2/HD/images/Naviframe/00_badge_bg.#.png b/2.2/HD/images/Naviframe/00_badge_bg.#.png new file mode 100755 index 0000000..bc0f058 Binary files /dev/null and b/2.2/HD/images/Naviframe/00_badge_bg.#.png differ diff --git a/2.2/HD/images/Naviframe/00_badge_bg_02.#.png b/2.2/HD/images/Naviframe/00_badge_bg_02.#.png new file mode 100755 index 0000000..bde4ca5 Binary files /dev/null and b/2.2/HD/images/Naviframe/00_badge_bg_02.#.png differ diff --git a/2.2/HD/images/Naviframe/00_effect_tab_text_dim_left.#.png b/2.2/HD/images/Naviframe/00_effect_tab_text_dim_left.#.png new file mode 100755 index 0000000..75f7dcb Binary files /dev/null and b/2.2/HD/images/Naviframe/00_effect_tab_text_dim_left.#.png differ diff --git a/2.2/HD/images/Naviframe/00_effect_tab_text_dim_right.#.png b/2.2/HD/images/Naviframe/00_effect_tab_text_dim_right.#.png new file mode 100755 index 0000000..af9337c Binary files /dev/null and b/2.2/HD/images/Naviframe/00_effect_tab_text_dim_right.#.png differ diff --git a/2.2/HD/images/Naviframe/00_effect_title_text_dim_left.#.png b/2.2/HD/images/Naviframe/00_effect_title_text_dim_left.#.png new file mode 100755 index 0000000..c11cb9f Binary files /dev/null and b/2.2/HD/images/Naviframe/00_effect_title_text_dim_left.#.png differ diff --git a/2.2/HD/images/Naviframe/00_effect_title_text_dim_right.#.png b/2.2/HD/images/Naviframe/00_effect_title_text_dim_right.#.png new file mode 100755 index 0000000..c422803 Binary files /dev/null and b/2.2/HD/images/Naviframe/00_effect_title_text_dim_right.#.png differ diff --git a/2.2/HD/images/Naviframe/00_tab_select_bar.#.png b/2.2/HD/images/Naviframe/00_tab_select_bar.#.png new file mode 100755 index 0000000..e7f0c56 Binary files /dev/null and b/2.2/HD/images/Naviframe/00_tab_select_bar.#.png differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_SIP_close.png b/2.2/HD/images/Naviframe/Icon/00_icon_SIP_close.png similarity index 100% rename from mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_SIP_close.png rename to 2.2/HD/images/Naviframe/Icon/00_icon_SIP_close.png diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_back.png b/2.2/HD/images/Naviframe/Icon/00_icon_back.png similarity index 100% rename from mobile/themes/images/HD/light/Naviframe/Icon/00_icon_back.png rename to 2.2/HD/images/Naviframe/Icon/00_icon_back.png diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_cancel.png b/2.2/HD/images/Naviframe/Icon/00_icon_cancel.png new file mode 100755 index 0000000..529f55c Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_cancel.png differ diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_delete.png b/2.2/HD/images/Naviframe/Icon/00_icon_delete.png new file mode 100755 index 0000000..f5c3ec4 Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_delete.png differ diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_done.png b/2.2/HD/images/Naviframe/Icon/00_icon_done.png new file mode 100755 index 0000000..257b9bc Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_done.png differ diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_edit.png b/2.2/HD/images/Naviframe/Icon/00_icon_edit.png new file mode 100755 index 0000000..c96d315 Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_edit.png differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_more.png b/2.2/HD/images/Naviframe/Icon/00_icon_more.png similarity index 100% rename from mobile/themes/images/HD/light/Naviframe/Icon/00_icon_more.png rename to 2.2/HD/images/Naviframe/Icon/00_icon_more.png diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_plus.png b/2.2/HD/images/Naviframe/Icon/00_icon_plus.png new file mode 100755 index 0000000..5cf32b9 Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_plus.png differ diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_search.png b/2.2/HD/images/Naviframe/Icon/00_icon_search.png new file mode 100755 index 0000000..73c0cdf Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_search.png differ diff --git a/2.2/HD/images/Naviframe/Icon/00_icon_select_all.png b/2.2/HD/images/Naviframe/Icon/00_icon_select_all.png new file mode 100755 index 0000000..4829962 Binary files /dev/null and b/2.2/HD/images/Naviframe/Icon/00_icon_select_all.png differ diff --git a/2.2/HD/images/Popup/00_popup_bg_ef.#.png b/2.2/HD/images/Popup/00_popup_bg_ef.#.png new file mode 100644 index 0000000..0e9232c Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bg_ef.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_02_bg_ef.#.png b/2.2/HD/images/Popup/00_popup_bubble_02_bg_ef.#.png new file mode 100755 index 0000000..0cc1caa Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_02_bg_ef.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_02_bg_line.#.png b/2.2/HD/images/Popup/00_popup_bubble_02_bg_line.#.png new file mode 100755 index 0000000..0aa05c9 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_02_bg_line.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_bg_ef.#.png b/2.2/HD/images/Popup/00_popup_bubble_bg_ef.#.png new file mode 100755 index 0000000..462c9db Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_bg_ef.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_bg_line.#.png b/2.2/HD/images/Popup/00_popup_bubble_bg_line.#.png new file mode 100755 index 0000000..92aee52 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_bg_line.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_bottom.png b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom.png new file mode 100755 index 0000000..2ca1593 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_ef.png b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_ef.png new file mode 100755 index 0000000..53b87fe Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_ef.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_line.png b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_line.png new file mode 100755 index 0000000..99a9c23 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_bottom_line.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_left.png b/2.2/HD/images/Popup/00_popup_bubble_tail_left.png new file mode 100755 index 0000000..fbbbec1 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_left.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_left_ef.png b/2.2/HD/images/Popup/00_popup_bubble_tail_left_ef.png new file mode 100755 index 0000000..3e722b0 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_left_ef.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_left_line.png b/2.2/HD/images/Popup/00_popup_bubble_tail_left_line.png new file mode 100755 index 0000000..74abca0 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_left_line.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_right.png b/2.2/HD/images/Popup/00_popup_bubble_tail_right.png new file mode 100755 index 0000000..d8bdf75 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_right.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_right_ef.png b/2.2/HD/images/Popup/00_popup_bubble_tail_right_ef.png new file mode 100755 index 0000000..e51a6d6 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_right_ef.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_right_line.png b/2.2/HD/images/Popup/00_popup_bubble_tail_right_line.png new file mode 100755 index 0000000..1a888e5 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_right_line.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_top.png b/2.2/HD/images/Popup/00_popup_bubble_tail_top.png new file mode 100755 index 0000000..6e635fc Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_top.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_top_ef.png b/2.2/HD/images/Popup/00_popup_bubble_tail_top_ef.png new file mode 100755 index 0000000..1ace985 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_top_ef.png differ diff --git a/2.2/HD/images/Popup/00_popup_bubble_tail_top_line.png b/2.2/HD/images/Popup/00_popup_bubble_tail_top_line.png new file mode 100755 index 0000000..3b1ad65 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_bubble_tail_top_line.png differ diff --git a/2.2/HD/images/Popup/00_popup_button_divider.png b/2.2/HD/images/Popup/00_popup_button_divider.png new file mode 100755 index 0000000..058e673 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_button_divider.png differ diff --git a/2.2/HD/images/Popup/00_popup_button_divider_02.#.png b/2.2/HD/images/Popup/00_popup_button_divider_02.#.png new file mode 100755 index 0000000..7857269 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_button_divider_02.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_button_focus.#.png b/2.2/HD/images/Popup/00_popup_button_focus.#.png new file mode 100644 index 0000000..2b0e3a8 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_button_focus.#.png differ diff --git a/2.2/HD/images/Popup/00_popup_thumbnail_bg.png b/2.2/HD/images/Popup/00_popup_thumbnail_bg.png new file mode 100644 index 0000000..5719d29 Binary files /dev/null and b/2.2/HD/images/Popup/00_popup_thumbnail_bg.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_00.png b/2.2/HD/images/Process/large/00_list_process_L_00.png new file mode 100644 index 0000000..e366c17 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_00.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_01.png b/2.2/HD/images/Process/large/00_list_process_L_01.png new file mode 100644 index 0000000..13cbbf5 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_01.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_02.png b/2.2/HD/images/Process/large/00_list_process_L_02.png new file mode 100644 index 0000000..437ce8e Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_02.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_03.png b/2.2/HD/images/Process/large/00_list_process_L_03.png new file mode 100644 index 0000000..7685535 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_03.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_04.png b/2.2/HD/images/Process/large/00_list_process_L_04.png new file mode 100644 index 0000000..29cee7f Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_04.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_05.png b/2.2/HD/images/Process/large/00_list_process_L_05.png new file mode 100644 index 0000000..5360862 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_05.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_06.png b/2.2/HD/images/Process/large/00_list_process_L_06.png new file mode 100644 index 0000000..3c960a2 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_06.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_07.png b/2.2/HD/images/Process/large/00_list_process_L_07.png new file mode 100644 index 0000000..bd42cba Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_07.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_08.png b/2.2/HD/images/Process/large/00_list_process_L_08.png new file mode 100644 index 0000000..1757695 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_08.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_09.png b/2.2/HD/images/Process/large/00_list_process_L_09.png new file mode 100644 index 0000000..3f1050d Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_09.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_10.png b/2.2/HD/images/Process/large/00_list_process_L_10.png new file mode 100644 index 0000000..a3d7de2 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_10.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_11.png b/2.2/HD/images/Process/large/00_list_process_L_11.png new file mode 100644 index 0000000..7ce53e4 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_11.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_12.png b/2.2/HD/images/Process/large/00_list_process_L_12.png new file mode 100644 index 0000000..0a9ffd0 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_12.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_13.png b/2.2/HD/images/Process/large/00_list_process_L_13.png new file mode 100644 index 0000000..0b9c502 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_13.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_14.png b/2.2/HD/images/Process/large/00_list_process_L_14.png new file mode 100644 index 0000000..aa41e1f Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_14.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_15.png b/2.2/HD/images/Process/large/00_list_process_L_15.png new file mode 100644 index 0000000..d561065 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_15.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_16.png b/2.2/HD/images/Process/large/00_list_process_L_16.png new file mode 100644 index 0000000..8267596 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_16.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_17.png b/2.2/HD/images/Process/large/00_list_process_L_17.png new file mode 100644 index 0000000..db2f34e Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_17.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_18.png b/2.2/HD/images/Process/large/00_list_process_L_18.png new file mode 100644 index 0000000..e82935a Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_18.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_19.png b/2.2/HD/images/Process/large/00_list_process_L_19.png new file mode 100644 index 0000000..c0b4ef4 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_19.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_20.png b/2.2/HD/images/Process/large/00_list_process_L_20.png new file mode 100644 index 0000000..32c963b Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_20.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_21.png b/2.2/HD/images/Process/large/00_list_process_L_21.png new file mode 100644 index 0000000..8dafeea Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_21.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_22.png b/2.2/HD/images/Process/large/00_list_process_L_22.png new file mode 100644 index 0000000..00b9bda Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_22.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_23.png b/2.2/HD/images/Process/large/00_list_process_L_23.png new file mode 100644 index 0000000..92162f2 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_23.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_24.png b/2.2/HD/images/Process/large/00_list_process_L_24.png new file mode 100644 index 0000000..60cfc22 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_24.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_25.png b/2.2/HD/images/Process/large/00_list_process_L_25.png new file mode 100644 index 0000000..f553f18 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_25.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_26.png b/2.2/HD/images/Process/large/00_list_process_L_26.png new file mode 100644 index 0000000..f547c8c Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_26.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_27.png b/2.2/HD/images/Process/large/00_list_process_L_27.png new file mode 100644 index 0000000..b4220df Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_27.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_28.png b/2.2/HD/images/Process/large/00_list_process_L_28.png new file mode 100644 index 0000000..321e02d Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_28.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_29.png b/2.2/HD/images/Process/large/00_list_process_L_29.png new file mode 100644 index 0000000..f76395d Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_29.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_30.png b/2.2/HD/images/Process/large/00_list_process_L_30.png new file mode 100644 index 0000000..8649cc9 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_30.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_31.png b/2.2/HD/images/Process/large/00_list_process_L_31.png new file mode 100644 index 0000000..53be050 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_31.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_32.png b/2.2/HD/images/Process/large/00_list_process_L_32.png new file mode 100644 index 0000000..40e5150 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_32.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_33.png b/2.2/HD/images/Process/large/00_list_process_L_33.png new file mode 100644 index 0000000..a87a1c5 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_33.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_34.png b/2.2/HD/images/Process/large/00_list_process_L_34.png new file mode 100644 index 0000000..f9769df Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_34.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_35.png b/2.2/HD/images/Process/large/00_list_process_L_35.png new file mode 100644 index 0000000..1f437b6 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_35.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_36.png b/2.2/HD/images/Process/large/00_list_process_L_36.png new file mode 100644 index 0000000..859a2ca Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_36.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_37.png b/2.2/HD/images/Process/large/00_list_process_L_37.png new file mode 100644 index 0000000..59f87e3 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_37.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_38.png b/2.2/HD/images/Process/large/00_list_process_L_38.png new file mode 100644 index 0000000..5f22edf Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_38.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_39.png b/2.2/HD/images/Process/large/00_list_process_L_39.png new file mode 100644 index 0000000..6bb0d0d Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_39.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_40.png b/2.2/HD/images/Process/large/00_list_process_L_40.png new file mode 100644 index 0000000..1d265e6 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_40.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_41.png b/2.2/HD/images/Process/large/00_list_process_L_41.png new file mode 100644 index 0000000..a7d6d17 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_41.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_42.png b/2.2/HD/images/Process/large/00_list_process_L_42.png new file mode 100644 index 0000000..2418657 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_42.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_43.png b/2.2/HD/images/Process/large/00_list_process_L_43.png new file mode 100644 index 0000000..8013a86 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_43.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_44.png b/2.2/HD/images/Process/large/00_list_process_L_44.png new file mode 100644 index 0000000..729975b Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_44.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_45.png b/2.2/HD/images/Process/large/00_list_process_L_45.png new file mode 100644 index 0000000..c50649a Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_45.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_46.png b/2.2/HD/images/Process/large/00_list_process_L_46.png new file mode 100644 index 0000000..66245fa Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_46.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_47.png b/2.2/HD/images/Process/large/00_list_process_L_47.png new file mode 100644 index 0000000..b1e61d4 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_47.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_48.png b/2.2/HD/images/Process/large/00_list_process_L_48.png new file mode 100644 index 0000000..8064e39 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_48.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_49.png b/2.2/HD/images/Process/large/00_list_process_L_49.png new file mode 100644 index 0000000..b5ed92e Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_49.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_50.png b/2.2/HD/images/Process/large/00_list_process_L_50.png new file mode 100644 index 0000000..6d21a03 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_50.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_51.png b/2.2/HD/images/Process/large/00_list_process_L_51.png new file mode 100644 index 0000000..90c09a4 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_51.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_52.png b/2.2/HD/images/Process/large/00_list_process_L_52.png new file mode 100644 index 0000000..1917f7e Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_52.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_53.png b/2.2/HD/images/Process/large/00_list_process_L_53.png new file mode 100644 index 0000000..e9982db Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_53.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_54.png b/2.2/HD/images/Process/large/00_list_process_L_54.png new file mode 100644 index 0000000..5dd5c0d Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_54.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_55.png b/2.2/HD/images/Process/large/00_list_process_L_55.png new file mode 100644 index 0000000..c502094 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_55.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_56.png b/2.2/HD/images/Process/large/00_list_process_L_56.png new file mode 100644 index 0000000..28dc926 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_56.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_57.png b/2.2/HD/images/Process/large/00_list_process_L_57.png new file mode 100644 index 0000000..85b4541 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_57.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_58.png b/2.2/HD/images/Process/large/00_list_process_L_58.png new file mode 100644 index 0000000..423e424 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_58.png differ diff --git a/2.2/HD/images/Process/large/00_list_process_L_59.png b/2.2/HD/images/Process/large/00_list_process_L_59.png new file mode 100644 index 0000000..66a1547 Binary files /dev/null and b/2.2/HD/images/Process/large/00_list_process_L_59.png differ diff --git a/2.2/HD/images/Process/medium/00_list_process_M.png b/2.2/HD/images/Process/medium/00_list_process_M.png new file mode 100644 index 0000000..855ee39 Binary files /dev/null and b/2.2/HD/images/Process/medium/00_list_process_M.png differ diff --git a/2.2/HD/images/Process/small/00_list_process_S.png b/2.2/HD/images/Process/small/00_list_process_S.png new file mode 100644 index 0000000..9c39df2 Binary files /dev/null and b/2.2/HD/images/Process/small/00_list_process_S.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_00.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_00.png new file mode 100644 index 0000000..19ba436 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_00.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_01.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_01.png new file mode 100644 index 0000000..f750d58 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_01.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_02.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_02.png new file mode 100644 index 0000000..d308d99 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_02.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_03.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_03.png new file mode 100644 index 0000000..9f55ed9 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_03.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_04.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_04.png new file mode 100644 index 0000000..17a09d3 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_04.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_05.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_05.png new file mode 100644 index 0000000..f80dbdc Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_05.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_06.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_06.png new file mode 100644 index 0000000..96b374b Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_06.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_07.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_07.png new file mode 100644 index 0000000..d6484ad Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_07.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_08.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_08.png new file mode 100644 index 0000000..825772d Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_08.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_09.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_09.png new file mode 100644 index 0000000..5737c65 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_09.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_10.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_10.png new file mode 100644 index 0000000..8b21749 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_10.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_11.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_11.png new file mode 100644 index 0000000..86307dd Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_11.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_12.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_12.png new file mode 100644 index 0000000..29ab102 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_12.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_13.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_13.png new file mode 100644 index 0000000..4f2f18a Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_13.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_14.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_14.png new file mode 100644 index 0000000..b06d8cf Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_14.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_15.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_15.png new file mode 100644 index 0000000..c88b5c8 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_15.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_16.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_16.png new file mode 100644 index 0000000..12eff69 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_16.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_17.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_17.png new file mode 100644 index 0000000..1c4e356 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_17.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_18.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_18.png new file mode 100644 index 0000000..b9b5d8e Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_18.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_19.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_19.png new file mode 100644 index 0000000..c50b39a Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_19.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_20.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_20.png new file mode 100644 index 0000000..d6ff2d9 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_20.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_21.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_21.png new file mode 100644 index 0000000..8d761e5 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_21.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_22.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_22.png new file mode 100644 index 0000000..8b475c6 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_22.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_23.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_23.png new file mode 100644 index 0000000..3bb9be7 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_23.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_24.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_24.png new file mode 100644 index 0000000..dc286e6 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_24.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_25.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_25.png new file mode 100644 index 0000000..c421d74 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_25.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_26.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_26.png new file mode 100644 index 0000000..efff2a7 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_26.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_27.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_27.png new file mode 100644 index 0000000..8098b52 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_27.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_28.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_28.png new file mode 100644 index 0000000..7f22346 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_28.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_29.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_29.png new file mode 100644 index 0000000..d21b2c3 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_29.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_30.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_30.png new file mode 100644 index 0000000..4fa6ed7 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_30.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_31.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_31.png new file mode 100644 index 0000000..974de8b Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_31.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_32.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_32.png new file mode 100644 index 0000000..879856d Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_32.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_33.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_33.png new file mode 100644 index 0000000..046abb7 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_33.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_34.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_34.png new file mode 100644 index 0000000..810fffd Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_34.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_35.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_35.png new file mode 100644 index 0000000..2ae0dff Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_35.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_36.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_36.png new file mode 100644 index 0000000..aed5626 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_36.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_37.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_37.png new file mode 100644 index 0000000..b201928 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_37.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_38.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_38.png new file mode 100644 index 0000000..ca04d1f Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_38.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_39.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_39.png new file mode 100644 index 0000000..1e6483c Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_39.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_40.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_40.png new file mode 100644 index 0000000..8300468 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_40.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_41.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_41.png new file mode 100644 index 0000000..0fae7d6 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_41.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_42.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_42.png new file mode 100644 index 0000000..d4e9b7a Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_42.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_43.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_43.png new file mode 100644 index 0000000..eccf13c Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_43.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_44.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_44.png new file mode 100644 index 0000000..d028230 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_44.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_45.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_45.png new file mode 100644 index 0000000..7afd4d2 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_45.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_46.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_46.png new file mode 100644 index 0000000..5269f22 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_46.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_47.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_47.png new file mode 100644 index 0000000..4fa82a1 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_47.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_48.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_48.png new file mode 100644 index 0000000..c9d5319 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_48.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_49.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_49.png new file mode 100644 index 0000000..cdf7573 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_49.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_50.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_50.png new file mode 100644 index 0000000..82779d4 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_50.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_51.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_51.png new file mode 100644 index 0000000..ff83e72 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_51.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_52.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_52.png new file mode 100644 index 0000000..1f61df0 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_52.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_53.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_53.png new file mode 100644 index 0000000..be8e36e Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_53.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_54.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_54.png new file mode 100644 index 0000000..fdd5854 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_54.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_55.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_55.png new file mode 100644 index 0000000..352e569 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_55.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_56.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_56.png new file mode 100644 index 0000000..3ce468d Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_56.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_57.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_57.png new file mode 100644 index 0000000..6581b35 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_57.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_58.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_58.png new file mode 100644 index 0000000..0c5f332 Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_58.png differ diff --git a/2.2/HD/images/Process/xlarge/00_list_process_XL_59.png b/2.2/HD/images/Process/xlarge/00_list_process_XL_59.png new file mode 100644 index 0000000..32a78aa Binary files /dev/null and b/2.2/HD/images/Process/xlarge/00_list_process_XL_59.png differ diff --git a/2.2/HD/images/Screen_Reader/B16-8_TTS_focus.png b/2.2/HD/images/Screen_Reader/B16-8_TTS_focus.png new file mode 100644 index 0000000..c03deba Binary files /dev/null and b/2.2/HD/images/Screen_Reader/B16-8_TTS_focus.png differ diff --git a/2.2/HD/sounds/End_of_List.wav b/2.2/HD/sounds/End_of_List.wav new file mode 100755 index 0000000..3ea5f12 Binary files /dev/null and b/2.2/HD/sounds/End_of_List.wav differ diff --git a/2.2/HD/sounds/Focus.wav b/2.2/HD/sounds/Focus.wav new file mode 100755 index 0000000..a92dee2 Binary files /dev/null and b/2.2/HD/sounds/Focus.wav differ diff --git a/wearable/themes/sounds/List_reorder.wav b/2.2/HD/sounds/List_reorder.wav similarity index 100% rename from wearable/themes/sounds/List_reorder.wav rename to 2.2/HD/sounds/List_reorder.wav diff --git a/2.2/HD/sounds/List_scroll.wav b/2.2/HD/sounds/List_scroll.wav new file mode 100755 index 0000000..41a19bc Binary files /dev/null and b/2.2/HD/sounds/List_scroll.wav differ diff --git a/wearable/themes/sounds/Slider_sweep.wav b/2.2/HD/sounds/Slider_sweep.wav similarity index 100% rename from wearable/themes/sounds/Slider_sweep.wav rename to 2.2/HD/sounds/Slider_sweep.wav diff --git a/mobile/themes/sounds/Tizen_Touch.wav b/2.2/HD/sounds/Tizen_Touch.wav similarity index 100% rename from mobile/themes/sounds/Tizen_Touch.wav rename to 2.2/HD/sounds/Tizen_Touch.wav diff --git a/2.2/Makefile b/2.2/Makefile new file mode 100644 index 0000000..4f831b9 --- /dev/null +++ b/2.2/Makefile @@ -0,0 +1,56 @@ +prefix ?= /usr +INSTALL=install -c +THEME_DIR=$(DESTDIR)/$(prefix)/share/elementary/themes +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +SRC=tizen +SIZE=HD + +all: + for s in $(SIZE); do \ + cp $(SRC).edc $(SRC)-$(TARGET)-$$s.edc; \ + perl -pi -e "s/TIZEN_TMP_INC/\"$$s-inc.edc\"/g" $(SRC)-$(TARGET)-$$s.edc; \ + edje_cc $(EDJE_FLAGS_$(V))\ + -id ./$$s/images/\ + -id ./$$s/images/Content_views\ + -id ./$$s/images/Content_views/Gengrid\ + -id ./$$s/images/Controls\ + -id ./$$s/images/Controls/00_Progress_circle_bg\ + -id ./$$s/images/Controls/Button\ + -id ./$$s/images/Controls/Check_box\ + -id ./$$s/images/Controls/Radio_button\ + -id ./$$s/images/Copy_Paste\ + -id ./$$s/images/Emoticon\ + -id ./$$s/images/Focus\ + -id ./$$s/images/GUI_Style_Guide\ + -id ./$$s/images/Indicator\ + -id ./$$s/images/Map\ + -id ./$$s/images/Naviframe\ + -id ./$$s/images/Naviframe/Icon\ + -id ./$$s/images/Popup\ + -id ./$$s/images/Process\ + -id ./$$s/images/Process/xlarge\ + -id ./$$s/images/Process/large\ + -id ./$$s/images/Process/medium\ + -id ./$$s/images/Process/small\ + -id ./$$s/images/Screen_Reader\ + -sd ./$$s/sounds -fd ../objects \ + $(SRC)-$(TARGET)-$$s.edc $(SRC)-$(TARGET)-$$s.edj; \ + done + +clean: + for s in $(SIZE); do \ + rm -rf $(SRC)-$(TARGET)-$$s.*; \ + done + +install: + mkdir -p $(THEME_DIR) + for s in $(SIZE); do \ + $(INSTALL) $(SRC)-$(TARGET)-$$s.edj $(THEME_DIR); \ + done + +uninstall: + rm -rf $(THEME_DIR)/ + +distclean: clean diff --git a/2.2/tizen.edc b/2.2/tizen.edc new file mode 100644 index 0000000..0af3148 --- /dev/null +++ b/2.2/tizen.edc @@ -0,0 +1,226 @@ +/* + * 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. + */ + +// 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!!!! +// This file can be shared and used for different resolution. (HD, WVGA) +//****************************************************************************************// +// Include INC (e.g. HD-inc.edc, HVGA-inc.edc for each resolution) file + +#include TIZEN_TMP_INC + +#define INDICATOR_H 27 +#define CONTROLBAR_LARGE_H 78 +#define CONTROLBAR_SMALL_H 65 +#define CONTROLBAR_W 78 +#define SOFTKEY_H 72 +#define SEGMENT_H 50 +#define PART_RECT(NAME, REFER_PART, COLOR) \ + part { name: NAME; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: REFER_PART; \ + rel2.to: REFER_PART; \ + color: COLOR; \ + } \ + } + +externals { + external: "elm"; + external: "feedback"; +} + +collections { + plugins { + plugin { + name: "touch_sound"; + source: "feedback"; + param: "1 0"; // 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, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + plugin { + name: "touch_haptic"; + source: "feedback"; + param: "2 19"; + } + } + sounds { + sample { + name: "sweep_sound" RAW; + source: "Slider_sweep.wav"; + } + sample { + name: "reorder_sound" RAW; + source: "List_reorder.wav"; + } + sample { + name: "access_focus_sound" RAW; + source: "Focus.wav"; + } + sample { + name: "access_scroll_sound" RAW; + source: "List_scroll.wav"; + } + sample { + name: "access_end_sound" RAW; + source: "End_of_List.wav"; + } + } +#include "widgets/access.edc" +#include "widgets/badge.edc" +#include "widgets/bg.edc" +#include "widgets/bubble.edc" +#include "widgets/button.edc" +#include "widgets/check.edc" +#include "widgets/colorselector.edc" +#include "widgets/conformant.edc" +#include "widgets/copypaste.edc" +#include "widgets/ctxpopup.edc" +#include "widgets/datetime.edc" +#include "widgets/diskselector.edc" +#include "widgets/entry.edc" +#include "widgets/gengrid.edc" +#include "widgets/scroller.edc" +#include "widgets/genlist/genlist.edc" // include scroller first +#include "widgets/index.edc" +#include "widgets/label.edc" +#include "widgets/layout.edc" +#include "widgets/map.edc" +#include "widgets/multibuttonentry.edc" +#include "widgets/naviframe.edc" +#include "widgets/notify.edc" +#include "widgets/panel.edc" +#include "widgets/panes.edc" +#include "widgets/photocam.edc" +#include "widgets/popup.edc" +#include "widgets/progressbar.edc" +#include "widgets/radio.edc" +#include "widgets/segmentedcontrol.edc" +#include "widgets/selectioninfo.edc" +#include "widgets/slider.edc" +#include "widgets/tickernoti.edc" +#include "widgets/toolbar.edc" + + color_classes { + color_class { + name: "transparent"; + color: 0 0 0 0; + } + } + + group { name: "elm/focus_highlight/top/default"; + images { + image: "00_focus_01.#.png" COMP; + } + data { + item: "animate" "off"; + } + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + visible: 0; + } + } + part { name: "shine"; + type: IMAGE; + mouse_events: 0; + repeat_events: 1; + ignore_flags: ON_HOLD; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.offset: -4 -4; + rel2.offset: 4 4; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } + } +} + diff --git a/2.2/widgets/access.edc b/2.2/widgets/access.edc new file mode 100644 index 0000000..80f23f6 --- /dev/null +++ b/2.2/widgets/access.edc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// +// +// access +// +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/access/base/default"; + images { + image: "B16-8_TTS_focus.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "B16-8_TTS_focus.png"; + border: TTS_FOCUS_BORDER; + border_scale: 1; + } + } + } + } + programs { + program { name: "access_focus_sound"; + signal: "elm,action,focus,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_focus_sound" 1.0; + } + program { name: "access_scroll_sound"; + signal: "elm,action,scroll,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_scroll_sound" 1.0; + } + program { name: "access_end_sound"; + signal: "elm,action,end,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_end_sound" 1.0; + } + } + } diff --git a/2.2/widgets/badge.edc b/2.2/widgets/badge.edc new file mode 100644 index 0000000..4cb6b08 --- /dev/null +++ b/2.2/widgets/badge.edc @@ -0,0 +1,129 @@ +/* + * 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. + */ + +group +{ + name: "elm/icon_badge/base/default"; + + images { + image : "00_badge_bg.#.png" COMP; + } + + parts { + part { name: "elm.image.badge"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 54 54; + fixed: 1 1; + rel1 { + to: "left.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 1.0 1.0; + } + color_class: "B0517"; + image.normal: "00_badge_bg.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left.padding.text"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 13 54; + rel1 { + to: "elm.text.badge"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.text.badge"; + relative: 0.0 1.0; + } + align: 1.0 1.0; + } + } + part { name: "right.padding.text"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 8 54; + rel1 { + to: "elm.image.badge"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.image.badge"; + relative: 1.0 0.0; + } + align: 1.0 1.0; + } + } + part { name: "elm.text.badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "right.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 0.0 1.0; + } + min: 25 0; + fixed: 1 0; + align: 1.0 0.5; + color: 10 100 208 255; + text { + font: "Tizen:style=Bold"; + size: 26; + min: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } +} + diff --git a/2.2/widgets/bg.edc b/2.2/widgets/bg.edc new file mode 100644 index 0000000..01f40ca --- /dev/null +++ b/2.2/widgets/bg.edc @@ -0,0 +1,188 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/default"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/list"; + alias: "elm/bg/base/group_list"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/edit_mode"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/transparent"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: BG_TRANSPARENT_COLOR_INC; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/indicator/default"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B031"; + } + } + } + } + group { name: "elm/bg/base/indicator/headerbg"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color_class: "B0511"; + } + } + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B032"; + } + } + } + } + group { name: "elm/bg/base/indicator/transparent"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC; + } + } + } + } + + group { name: "elm/bg/base/indicator/translucent"; + images { + image: "00_indicator_translucent_bg.png" COMP; + } + parts { + part { name: "base"; + type: IMAGE; + description { state: "default" 0.0; + image { + normal: "00_indicator_translucent_bg.png"; + } + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.2/widgets/bubble.edc b/2.2/widgets/bubble.edc new file mode 100644 index 0000000..b0ee800 --- /dev/null +++ b/2.2/widgets/bubble.edc @@ -0,0 +1,283 @@ +/* + * 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. + */ + +#define BUBBLE_WIDTH 380 + +#define BUBBLE_DATE_PAD 15 +#define BUBBLE_DATE_HEIGHT 30 + +#define BUBBLE_TOP_PAD 10 +#define BUBBLE_RIGHT_PAD 15 +#define BUBBLE_ICON_PAD 6 + +images { + image: "00_messagebubble_bg_receive_bg.#.png" COMP; + image: "00_messagebubble_bg_sent_bg.#.png" COMP; +} + + group { name: "elm/layout/bubble/readmessage/default"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.select_icon.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: BUBBLE_LAYOUT_SELECT_PAD 0; + fixed: 1 1; + } + } + part { name: "elm.swallow.select_icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.select_icon.pad"; + to_y: "elm.icon"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.select_icon.pad"; + to_y: "elm.icon"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "selectview" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2 { + to: "elm.bottom.pad"; + relative: 1.0 0.0; + } + align: 0.0 0.0; + fixed: 1 0; + } + description { state: "selectview" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.select_icon"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + align: 0.5 1.0; + min: 0 BUBBLE_LAYOUT_BOTTOM_PAD; + fixed: 0 1; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0551"; + } + } + } + programs { + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_defaultview"; + signal: "elm,state,select,disable"; + source: "elm"; + action: STATE_SET "default" 0.0; + //transition: DECELERATE 0.7; + target: "elm.swallow.select_icon"; + target: "elm.icon"; + } + program { name: "go_selectview"; + signal: "elm,state,select,enable"; + source: "elm"; + action: STATE_SET "selectview" 0.0; + transition: DECELERATE 0.7; + target: "elm.swallow.select_icon"; + target: "elm.icon"; + } + } + } + + group { name: "elm/layout/bubble/sentmessage/default"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.select_icon.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: BUBBLE_LAYOUT_SELECT_PAD 0; + fixed: 1 1; + } + } + part { name: "elm.swallow.select_icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.select_icon.pad"; + to_y: "elm.icon"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.select_icon.pad"; + to_y: "elm.icon"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "selectview" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2 { + to: "elm.bottom.pad"; + relative: 1.0 0.0; + } + align: 0.0 0.0; + fixed: 1 0; + } + description { state: "selectview" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.select_icon"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + align: 0.5 1.0; + min: 0 BUBBLE_LAYOUT_BOTTOM_PAD; + fixed: 0 1; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0541"; + } + } + } + programs { + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_defaultview"; + signal: "elm,state,select,disable"; + source: "elm"; + action: STATE_SET "default" 0.0; + //transition: DECELERATE 0.7; + target: "elm.swallow.select_icon"; + target: "elm.icon"; + } + program { name: "go_selectview"; + signal: "elm,state,select,enable"; + source: "elm"; + action: STATE_SET "selectview" 0.0; + transition: DECELERATE 0.7; + target: "elm.swallow.select_icon"; + target: "elm.icon"; + } + } + } + + group { name: "elm/layout/bubble/seperator/default"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: 0 GENLIST_PADDING_24_INC; + color: 0 0 0 0; + } + } + } + } + diff --git a/2.2/widgets/button.edc b/2.2/widgets/button.edc new file mode 100644 index 0000000..a25b978 --- /dev/null +++ b/2.2/widgets/button.edc @@ -0,0 +1,7288 @@ +/* + * 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. + */ + +#define BUTTON_STATE_ENABLED 0 +#define BUTTON_STATE_DISABLED 1 +#define BUTTON_LANDSCAPE_DISABLED 0 +#define BUTTON_LANDSCAPE_ENABLED 1 + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/style1"; + alias: "elm/button/base/default"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_button_01_bg_dim_ef.#.png" COMP; + image: "00_button_01_bg_ef.#.png" COMP; + image: "00_button_01_bg_focus.#.png" COMP; + } + styles{ + style { name: "btn_base_style1"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051 ellipsis=1.0 wrap=none text_class=T051"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051P ellipsis=1.0 wrap=none text_class=T051P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051D ellipsis=1.0 wrap=none text_class=T051D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051S ellipsis=1.0 wrap=none text_class=T051S"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + script { + public button_state = BUTTON_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_TEXT_STYLE1_BG_PADDING; + max: BUTTON_TEXT_STYLE1_BG_PADDING; + align: 0.0 0.0; + fixed: 1 1; + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_TEXT_STYLE1_BG_PADDING; + max: BUTTON_TEXT_STYLE1_BG_PADDING; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left_top_padding"; + rel1.relative: 1.0 1.0; + rel2.to: "right_bottom_padding"; + rel2.relative: 0.0 0.0; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "button_effect_image"; + scale: 1; + description { state: "default" 0.0; + image { + normal: "00_button_01_bg_ef.#.png"; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_01_bg_dim_ef.#.png"; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_button_01_bg_focus.#.png"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W161"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_TEXT_STYLE1_BG_MIN_INC; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_after_icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "icon_rect"; + } + rel2.to: "icon_rect"; + fixed: 1 0; + min: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_before_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clipper"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 0; + min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "padding_before_text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "padding_before_text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "F031L1"; + } + description { state: "pressed" 0.0; + color_class: "F031L1P"; + } + description { state: "disabled" 0.0; + color_class: "F031L1D"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_style1"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_focus"; + } + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "icon_clipper"; + after: "text_press"; + } + program { name: "text_press"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + if (strcmp(st, "icononly")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + { + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"button_effect_image", "default", 0.0); + } + set_state(PART:"icon_clipper", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + set_state(PART:"bg", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + set_state(PART:"bg", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "padding_after_icon"; + target: "icon_rect"; + target: "bg"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "disabler"; + target: "icon_clipper"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, BUTTON_STATE_DISABLED); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "icon_clipper"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, BUTTON_STATE_ENABLED); + } + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"button_effect_image", "pressed", 0.0); + set_state(PART:"icon_clipper", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"button_effect_image", "default", 0.0); + set_state(PART:"icon_clipper", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +////////////////////////////////////////////////////////////// + group { name: "elm/button/base/style1/auto_expand"; + inherit: "elm/button/base/style1"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 0; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_style1"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_focus"; + } + } + } + } + } + +////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/datetime/ampm"; + alias: "elm/button/base/datetime_ampm"; + inherit: "elm/button/base/style1/auto_expand"; + styles{ + style { name: "btn_base_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T1232 ellipsis=1.0 wrap=none text_class=T1232"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_ampm_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T1232P ellipsis=1.0 wrap=none text_class=T1232"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T1232D ellipsis=1.0 wrap=none text_class=T1232"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_ampm_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T1232F ellipsis=1.0 wrap=none text_class=T1232"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DATETIME_AMPM_BG_MIN_INC; + max: BUTTON_DATETIME_AMPM_BG_MIN_INC; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "button_effect_image"; + scale: 1; + description { state: "default" 0.0; + image { + normal: "00_button_01_bg_ef.#.png"; + } + min: BUTTON_DATETIME_AMPM_BG_MIN_INC; + max: BUTTON_DATETIME_AMPM_BG_MIN_INC; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_01_bg_dim_ef.#.png"; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_button_01_bg_focus.#.png"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W161"; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_DATETIME_AMPM_BG_MIN_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + text { + style: "btn_base_ampm"; + min: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_ampm_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_ampm_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_ampm_focus"; + } + } + } + } +} + +////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/sweep"; + inherit: "elm/button/base/style1"; + styles{ + style { name: "btn_base_sweep"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051 ellipsis=1.0 wrap=none text_class=T051"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051P ellipsis=1.0 wrap=none text_class=T051P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051D ellipsis=1.0 wrap=none text_class=T051D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T051S ellipsis=1.0 wrap=none text_class=T051S"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_sweep"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_focus"; + } + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/style1/delete"; + inherit: "elm/button/base/style1"; + styles{ + style { name: "btn_base_style1_delete"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_delete_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_delete_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_style1_delete_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_style1_delete"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_delete_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_delete_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_style1_delete_focus"; + } + } + } + } + } + +////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/sweep/delete"; + inherit: "elm/button/base/style1/delete"; + styles{ + style { name: "btn_base_sweep_delete"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_delete_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_delete_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_sweep_delete_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_sweep_delete"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_delete_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_delete_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_sweep_delete_focus"; + } + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/search_button"; + alias: "elm/button/base/searchbar/default"; + data { + item: "focus_highlight" "on"; + } + styles{ + style { name: "btn_base_search"; + base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T107 wrap=none text_class=T107"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_search_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T107P wrap=none text_class=T107P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_search_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T107D wrap=none text_class=T107D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + //FIXME: Focused color code not provided in v0.5.Change once provided + style { name: "btn_base_search_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T107 ellipsis=1.0 wrap=none text_class=T107"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + images { + image: "00_button_01_bg_focus.#.png" COMP; + } + script { + public button_state = BUTTON_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0215P"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_button_01_bg_focus.#.png"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W161"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_SEARCH_BUTTON_BG_MIN_INC; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "icon_padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_SEARCH_BUTTON_ICON_LEFT_TOP_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "icon_padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_SEARCH_BUTTON_ICON_RIGHT_BOTTOM_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_after_icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "icon_rect"; + } + rel2.to: "icon_rect"; + fixed: 1 0; + min: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_before_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clipper"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "icon_padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "icon_padding_left_top"; + to_y: "icon_padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 0; + min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "padding_before_text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "padding_before_text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; + max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; + rel1 { + relative: 1.0 1.0; + to: "icon_padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "icon_padding_right_bottom"; + } + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "F043i"; + } + description { state: "pressed" 0.0; + color_class: "F043iP"; + } + description { state: "disabled" 0.0; + color_class: "F043iD"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 0 0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_search"; + min: 0 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_search_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_search_dim"; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_search_focus"; + } + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "icon_clipper"; + after: "text_press"; + } + program { name: "text_press"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + if (strcmp(st, "icononly")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + { + set_state(PART:"button_image", "default", 0.0); + } + set_state(PART:"icon_clipper", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + set_state(PART:"bg", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + set_state(PART:"bg", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "padding_after_icon"; + target: "icon_rect"; + target: "bg"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + target: "icon_clipper"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, BUTTON_STATE_DISABLED); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "icon_clipper"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, BUTTON_STATE_ENABLED); + } + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"icon_clipper", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"icon_clipper", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/popup"; + alias: "elm/button/base/popup_button/default"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_popup_button_focus.#.png" COMP; + } + styles{ + style { name: "btn_base_popup_button"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T124 ellipsis=1.0 wrap=none text_class=T124"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_popup_button_pressed"; + base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T124P ellipsis=1.0 wrap=none text_class=T124P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_popup_button_dim"; + base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T124D ellipsis=1.0 wrap=none text_class=T124D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_popup_button_focus"; + base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T124 ellipsis=1.0 wrap=none text_class=T124"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + script { + public button_state = BUTTON_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_POPUP_BG_NORMAL_MIN_INC; + color_class: "B065L4"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B065L4P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_popup_button_focus.#.png"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W161"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_POPUP_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 1.0; + min: BUTTON_POPUP_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "padding_icon_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2.to: "elm.swallow.content"; + fixed: 1 0; + min: 0 0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + min: BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clipper"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + min: BUTTON_POPUP_ICON_ICONONLY_MIN_INC; + visible: 1; + align: 0.5 0.5; + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "F031L1"; + } + description { state: "pressed" 0.0; + color_class: "F031L1P"; + } + description { state: "disabled" 0.0; + color_class: "F031L1D"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "padding_icon_text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "btn_base_popup_button"; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_popup_button_pressed"; + min: 0 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_popup_button_dim"; + min: 0 0; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_popup_button_focus"; + min: 0 0; + } + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "icon_clipper"; + after: "text_press"; + } + program { name: "text_press"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (strcmp(st, "icononly")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"icon_clipper", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"icon_clipper", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"icon_clipper", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "padding_icon_text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "icon_clipper"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, BUTTON_STATE_DISABLED); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "icon_clipper"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, BUTTON_STATE_ENABLED); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// +#define BUTTON_CIRCLE_STYLES(style_name, image_normal, image_effect, image_dim_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: image_dim_effect COMP; \ + image: 00_circle_button_focus.png COMP; \ + image: 00_circle_button_bg.png COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_bg"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + image.normal: "00_circle_button_bg.png"; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + visible: 0 ; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 1 ; \ + color_class: "B042"; \ + } \ + } \ + part { name: "left_top_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "right_bottom_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 1.0 1.0; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "button_image"; \ + } \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "button_center_part"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + image.normal: image_normal; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "left_top_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to: "right_bottom_padding"; \ + } \ + color_class: "F032L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F031L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_center_part"; \ + rel2.to: "button_center_part"; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: image_dim_effect; \ + color_class: F032L4; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_circle_button_focus.png"; \ + } \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color_class: "W161";\ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg" ; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg" ; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg" ; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg" ; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +#define BUTTON_CIRCLE_STYLES1(style_name, image_normal, image_effect, image_dim_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: image_dim_effect COMP; \ + image: 00_circle_button_focus.png COMP; \ + image: 00_circle_button_bg.png COMP ; \ + image: 00_circle_button_ef.png COMP ; \ + image: 00_circle_button_dim_ef.png COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_bg"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + image.normal: "00_circle_button_bg.png"; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + color_class: "W011"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B042"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W011D"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W161"; \ + } \ + } \ + part { name: "button_ef"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + image.normal: "00_circle_button_ef.png"; \ + rel1.to: "button_bg"; \ + rel2.to: "button_bg"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_circle_button_dim_ef.png"; \ + } \ + } \ + part { name: "left_top_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "right_bottom_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 1.0 1.0; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "button_image"; \ + } \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "button_center_part"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + image.normal: image_normal; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "left_top_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to: "right_bottom_padding"; \ + } \ + color_class: "F031L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F031L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F031L1D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_center_part"; \ + rel2.to: "button_center_part"; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: image_dim_effect; \ + color_class: F032L4; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_circle_button_focus.png"; \ + } \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color_class: "W161";\ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "button_bg"; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_ef"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_ef"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "button_bg"; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES1("reveal","00_button_right.png", "00_button_right_ef.png", "00_button_right_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES1("reveal/extended", "00_button_right.png", "00_button_right_ef.png", "00_button_right_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("expand/closed", "00_button_expand_closed.png", "00_button_expand_closed_ef.png", "00_button_expand_closed_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("expand/closed/extended", "00_button_expand_closed.png", "00_button_expand_closed_ef.png", "00_button_expand_closed_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("expand/opened", "00_button_expand_opened.png", "00_button_expand_opened_ef.png", "00_button_expand_opened_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("expand/opened/extended", "00_button_expand_opened.png", "00_button_expand_opened_ef.png", "00_button_expand_opened_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("info", "00_button_info.png", "00_button_info_ef.png", "00_button_info_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("info/extended", "00_button_info.png", "00_button_info_ef.png", "00_button_info_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("rename", "00_button_rename.png", "00_button_rename_ef.png", "00_button_rename_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("rename/extended", "00_button_rename.png", "00_button_rename_ef.png", "00_button_rename_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("call", "00_button_call.png", "00_button_call_ef.png", "00_button_call_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("call/extended", "00_button_call.png", "00_button_call_ef.png", "00_button_call_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("send", "00_button_expand_send.png", "00_button_expand_send_ef.png", "00_button_expand_send_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("send/extended", "00_button_expand_send.png", "00_button_expand_send_ef.png", "00_button_expand_send_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("contact", "00_button_contact.png", "00_button_contact_ef.png", "00_button_contact_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define BUTTON_CIRCLE_STYLES_PLUS(style_name, image_normal, image_effect, image_dim_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: image_dim_effect COMP; \ + image: 00_circle_button_focus.png COMP; \ + image: 00_circle_button_bg.png COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_bg"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + image.normal: "00_circle_button_bg.png"; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + visible: 0 ; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 1 ; \ + color_class: "B042"; \ + } \ + } \ + part { name: "left_top_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "right_bottom_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 1.0 1.0; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "button_image"; \ + } \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "button_center_part"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + image.normal: image_normal; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "left_top_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to: "right_bottom_padding"; \ + } \ + color_class: "F032L2"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L2P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L2D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_center_part"; \ + rel2.to: "button_center_part"; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: image_dim_effect; \ + color_class: F032L4; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_circle_button_focus.png"; \ + } \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color_class: "W161";\ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_PLUS("plus", "00_button_add.png", "00_button_add_ef.png", "00_button_add_dim_ef.png",BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_PLUS("plus/extended", "00_button_add.png", "00_button_add_ef.png", "00_button_add_dim_ef.png",BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define BUTTON_CIRCLE_STYLES_MINUS(style_name, image_normal, image_effect, image_dim_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: image_dim_effect COMP; \ + image: 00_circle_button_focus.png COMP; \ + image: 00_circle_button_bg.png COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_bg"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + image.normal: "00_circle_button_bg.png"; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + visible: 0 ; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 1 ; \ + color_class: "B042"; \ + } \ + } \ + part { name: "left_top_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "right_bottom_padding"; \ + scale: 1; \ + type: SPACER; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ + fixed: 1 1; \ + align: 1.0 1.0; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "button_image"; \ + } \ + rel2.to: "button_image"; \ + } \ + } \ + part { name: "button_center_part"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ + image.normal: image_normal; \ + rel1 { \ + relative: 1.0 1.0; \ + to: "left_top_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to: "right_bottom_padding"; \ + } \ + color_class: "F032L21"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L21P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L21D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_center_part"; \ + rel2.to: "button_center_part"; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: image_dim_effect; \ + color_class: F032L4; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_circle_button_focus.png"; \ + } \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color_class: "W161";\ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_bg"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_MINUS("minus", "00_button_delete.png", "00_button_delete_ef.png", "00_button_delete_dim_ef.png",BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_MINUS("minus/extended", "00_button_delete.png", "00_button_delete_ef.png", "00_button_delete_dim_ef.png",BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_MINUS("warning", "00_button_warning.png", "00_button_warning_ef.png", "00_button_warning_dim_ef.png",BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES_MINUS("warning/extended", "00_button_warning.png", "00_button_warning_ef.png", "00_button_warning_dim_ef.png",BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("cancel", "00_button_expand_cancel.png", "00_button_expand_cancel_ef.png", "00_button_expand_cancel_dim_ef.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_CIRCLE_STYLES("cancel/extended", "00_button_expand_cancel.png", "00_button_expand_cancel_ef.png", "00_button_expand_cancel_dim_ef.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + + + group { name: "elm/button/base/circle/empty"; + data { + item: "focus_highlight" "on"; + } + images { + image: 00_circle_button_focus.png COMP; + image: 00_circle_button_bg.png COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_bg"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + image.normal: "00_circle_button_bg.png"; + rel1.to: "button_image"; + rel2.to: "button_image"; + visible: 0 ; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1 ; + color_class: "B042"; + } + } + part { name: "left_top_padding"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + } + } + part { name: "right_bottom_padding"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + to: "button_image"; + } + rel2.to: "button_image"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clipper"; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + } + } + part { name: "icon_clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F032L1"; + } + description { state: "pressed" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + color_class: "F032L1D"; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_circle_button_focus.png"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W161"; + } + } + part { name: "over1"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over1"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_bg"; + target: "icon_clipper"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_bg"; + target: "icon_clipper"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_bg"; + target: "icon_clipper"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over1"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over2"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_bg"; + target: "icon_clipper"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "icon_clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "icon_clipper"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// +#define BUTTON_EDIT_STYLES(style_name, image_normal, image_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: 00_circle_button_focus.png COMP;\ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_center_part"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_normal; \ + color_class: "F032L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_effect; \ + color_class: "F032L3"; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image.normal: "00_circle_button_focus.png"; \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_STYLES("icon_expand/extended", "00_button_expand_closed.png", "00_button_expand_closed_ef.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_STYLES("icon_expand_closed", "00_button_expand_closed.png", "00_button_expand_closed_ef.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_STYLES("icon_expand_opened", "00_button_expand_opened.png", "00_button_expand_opened_ef.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define BUTTON_EDIT_MINUS_STYLES(style_name, image_normal, image_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + inherit: "elm/button/base/icon_expand_closed"; \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: 00_circle_button_focus.png COMP;\ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_center_part"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_normal; \ + color_class: "F032L21"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F031L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L21D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image.normal: "00_circle_button_focus.png"; \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_MINUS_STYLES("icon_minus", "00_button_delete.png", "00_button_delete_ef.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_MINUS_STYLES("icon_minus/extended", "00_button_delete.png", "00_button_delete_ef.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define BUTTON_EDIT_PLUS_STYLES(style_name, image_normal, image_effect, min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + inherit: "elm/button/base/icon_expand_closed"; \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: 00_circle_button_focus.png COMP;\ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "button_center_part"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_normal; \ + color_class: "F032L2"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F031L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L2D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image.normal: "00_circle_button_focus.png"; \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: min_width min_height; \ + } \ + } \ + } \ + } +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_PLUS_STYLES("icon_plus", "00_button_add.png", "00_button_add_ef.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_EDIT_PLUS_STYLES("icon_plus/extended", "00_button_add.png", "00_button_add_ef.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define BUTTON_SCROLL_JUMPTO(style_name, image_normal)\ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: "00_button_01_bg_ef.#.png" COMP; \ + image: "00_button_01_bg_dim_ef.#.png" COMP; \ + image: "00_button_01_bg_focus.#.png" COMP; \ + }\ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "left_top_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_STYLE_BG_PADDING; \ + max: BUTTON_JUMP_STYLE_BG_PADDING; \ + align: 0.0 0.0; \ + fixed: 1 1; \ + } \ + } \ + part { name: "right_bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_STYLE_BG_PADDING; \ + max: BUTTON_JUMP_STYLE_BG_PADDING; \ + align: 1.0 1.0; \ + fixed: 1 1; \ + } \ + } \ + part { name: "button_image";\ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_STYLE_BG_MIN_INC; \ + rel1.to: "left_top_padding"; \ + rel1.relative: 1.0 1.0; \ + rel2.to: "right_bottom_padding"; \ + rel2.relative: 0.0 0.0; \ + color_class: "W011"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B042"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W011D"; \ + } \ + } \ + part { name: "button_effect_image";\ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_STYLE_BG_EFFECT_MIN_INC; \ + image { \ + normal: "00_button_01_bg_ef.#.png"; \ + } \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_button_01_bg_dim_ef.#.png"; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_button_01_bg_focus.#.png"; \ + } \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "padding_left_top"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.0 0.0; \ + rel2.relative: 0.0 0.0; \ + min: BUTTON_JUMP_PADDING_MIN_INC; \ + fixed: 1 1; \ + } \ + } \ + part { name: "padding_right_bottom"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 1.0; \ + rel1.relative: 1.0 1.0; \ + min: BUTTON_JUMP_PADDING_MIN_INC; \ + fixed: 1 1; \ + } \ + } \ + part { name: "jump_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_ICONONLY_ICON_MIN_INC; \ + max: BUTTON_JUMP_ICONONLY_ICON_MIN_INC; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "padding_left_top"; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + to_x: "padding_right_bottom"; \ + } \ + image.normal: image_normal; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + color_class: "F032L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1D"; \ + } \ + } \ + part { name: "jump_effect_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_JUMP_ICONONLY_ICON_MIN_INC; \ + max: BUTTON_JUMP_ICONONLY_ICON_MIN_INC; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "padding_left_top"; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + to_x: "padding_right_bottom"; \ + } \ + image.normal: image_normal; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "button_image"; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "button_image"; \ + target: "button_effect_image"; \ + target: "jump_image"; \ + target: "jump_effect_image"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +//////////////////////////////////////////////////////////////////////// +BUTTON_SCROLL_JUMPTO("jumpto_top", "00_icon_jump.png") +//////////////////////////////////////////////////////////////////////// +BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png") + +/////////////////////////////////////////////////////////////////////////////////////// +#define BUTTON_COLORSELECTOR_STYLES(style_name, image_normal, image_effect, image_dim_effect) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + image: image_effect COMP; \ + image: image_dim_effect COMP; \ + image: "00_button_01_bg_focus.#.png" COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ + max: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ + } \ + description { \ + state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color_class: "B042"; \ + } \ + description { \ + state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { \ + state: "focused" 0.0; \ + inherit: "default" 0.0; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ + max: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ + visible: 0; \ + rel1.to : "button_image"; \ + rel2.to : "button_image"; \ + image { \ + normal: "00_button_01_bg_focus.#.png"; \ + } \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "button_center_part"; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \ + max: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \ + image.normal: image_normal; \ + color_class: "F032L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1D"; \ + } \ + } \ + part { name: "button_center_part_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ + image.normal: image_effect; \ + color_class: F032L3; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: image_dim_effect; \ + color_class: F032L4; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"play_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_image"; \ + target: "button_center_part"; \ + target: "button_center_part_effect"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_COLORSELECTOR_STYLES("colorselector/left/default", "00_button_left.png", "00_button_left_ef.png", "00_button_left_dim_ef.png") +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_COLORSELECTOR_STYLES("colorselector/right/default", "00_button_right.png", "00_button_right_ef.png", "00_button_right_dim_ef.png") +/////////////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/button/base/multibuttonentry"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_contacts_button_bg_ef.#.png" COMP; + image: "00_contacts_button_focus.#.png" COMP; + } + styles{ + style { name: "btn_base_multibuttonentry"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T058 ellipsis=1.0 wrap=none text_class=T058"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_multibuttonentry_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T058P ellipsis=1.0 wrap=none text_class=T058P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_multibuttonentry_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T058D ellipsis=1.0 wrap=none text_class=T056D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_multibuttonentry_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T058 ellipsis=1.0 wrap=none text_class=T058"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + script { + public button_state = BUTTON_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding.left"; + to_y: "elm.text"; + } + rel2 { + to_x: "padding.right"; + to_y: "elm.text"; + } + min: BUTTON_CONTACT_BG_MIN_INC; + color_class: "W0711"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W0711P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "button_effect_image"; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding.left"; + to_y: "elm.text"; + } + rel2 { + to_x: "padding.right"; + to_y: "elm.text"; + } + min: BUTTON_CONTACT_BG_MIN_INC; + image { + normal: "00_contacts_button_bg_ef.#.png"; + } + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_contacts_button_focus.#.png"; + } + color_class: "W161"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTACT_LEFT_PADDING_MIN_INC; + fixed: 1 0; + rel2 { + relative: 0.0 1.0; + to_x: "elm.text"; + } + align: 1.0 0.0; + } + } + part { name: "padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTACT_RIGHT_PADDING_MIN_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.text"; + } + align: 0.0 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + text { + style: "btn_base_multibuttonentry"; + min: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 1 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_multibuttonentry_pressed"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_multibuttonentry_dim"; + min: 1 1; + } + } + description { state: "focused" 0.0; + inherit: "visible" 0.0; + text { + style: "btn_base_multibuttonentry_focus"; + min: 1 1; + } + } + } + part { name: "over1"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed") || !strcmp(st, "focused")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"button_image", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, BUTTON_STATE_DISABLED); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, BUTTON_STATE_ENABLED); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/naviframe/back_btn/default"; + alias: "elm/button/base/naviframe/prev_btn/default"; + alias: "elm/button/base/naviframe/end_btn/default"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_icon_back.png" COMP; + image: "00_icon_SIP_close.png" COMP; + image: "00_focus_01.#.png" COMP; + } + parts { + part { name: "button_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC; + } + description { state: "landscape" 0.0; + min: BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "back_button"; + scale: 1; + mouse_events: 0; + clip_to: "back_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC; + fixed: 1 1; + rel1.to: "button_image"; + rel2.to: "button_image"; + image.normal: "00_icon_back.png"; + } + description { state: "compress" 0.0; + inherit: "default" 0.0; + image.normal: "00_icon_SIP_close.png"; + } + } + part { name: "back_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC; + } + description { state: "pressed" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC; + } + description { state: "disabled" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + script { + set_state(PART:"back_button.clipper", "pressed", 0.0); + } + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "back_button.clipper"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_button.clipper"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unpress_anim"; + } + program { name: "button_unpress_anim"; + script { + set_state(PART:"back_button.clipper", "default", 0.0); + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + action: RUN_PLUGIN "touch_sound"; + after: "button_click2"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"back_button.clipper", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"back_button.clipper", "default", 0.0); + } + } + program { name: "change_to_landscape"; + action: STATE_SET "landscape" 0.0; + target: "button_image"; + } + program { name: "change_to_portrait"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { name: "display_compress_mode"; + signal: "elm,state,display,compress"; + source: "elm"; + action: STATE_SET "compress" 0.0; + target: "back_button"; + } + program { name: "display_default_mode"; + signal: "elm,state,display,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_button"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + } + } + +//////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/naviframe/title_icon"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_focus_01.#.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_ICON_BG_W_INC 0; + max: BUTTON_NAVIFRAME_TITLE_ICON_BG_W_INC -1; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0511P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + color_class: "W161"; + image.normal: "00_focus_01.#.png"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.swallow.content_clip"; + description { state: "default" 0.0; + visible: 0; + max: BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content_clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color_class: "B052L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L1D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + script { + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"elm.swallow.content_clip", "pressed", 0.0); + } + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "elm.swallow.content_clip"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.swallow.content_clip"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"elm.swallow.content_clip", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + set_state(PART:"button_image", "disabled", 0.0); + set_state(PART:"elm.swallow.content_clip", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"elm.swallow.content_clip", "default", 0.0); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +//////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/naviframe/drawers"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_focus_01.#.png" COMP; + image: "00_icon_drawers.png" COMP; + image: "00_drawers_title_bg_press.#.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_DRAWERS_BG_W_INC 0; + max: -1 -1; + } + } + part { name: "button_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0511P"; + image.normal: "00_drawers_title_bg_press.#.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + color_class: "W161"; + image.normal: "00_focus_01.#.png"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_DRAWERS_LEFT_PADDING_W_INC 0; + max: BUTTON_NAVIFRAME_DRAWERS_LEFT_PADDING_W_INC -1; + align: 0.0 0.5; + fixed: 1 0; + rel1 { relative: 0.0 0.0; to: "button_bg"; } + rel2 { relative: 0.0 1.0; to: "button_bg"; } + } + } + part { name: "drawer_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_DRAWERS_IMAGE_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_DRAWERS_IMAGE_MIN_MAX_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "button_bg"; } + rel2 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "button_bg"; } + color_class: "B052L1"; + image.normal: "00_icon_drawers.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L1D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + script { + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"drawer_image", "pressed", 0.0); + } + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "drawer_image"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "drawer_image"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"drawer_image", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + set_state(PART:"button_image", "disabled", 0.0); + set_state(PART:"drawer_image", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"drawer_image", "default", 0.0); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } +//////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/naviframe/title_text"; + styles{ + style { name: "naviframe_btn_style"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0205 ellipsis=1.0 wrap=none text_class=T0205"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "naviframe_btn_style_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0205P ellipsis=1.0 wrap=none text_class=T0205P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "naviframe_btn_style_disabled"; + base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0205D ellipsis=1.0 wrap=none text_class=T0205D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + data { + item: "focus_highlight" "on"; + } + images { + image: "00_focus_01.#.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_TEXT_BG_MIN_W_INC 0; + max: BUTTON_NAVIFRAME_TITLE_TEXT_BG_MAX_W_INC -1; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0511P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { to: "button_bg"; } + rel2 { to: "button_bg"; } + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 0; + max: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC -1; + align: 0.0 0.5; + fixed: 1 0; + rel1 { relative: 0.0 0.0; to: "button_bg"; } + rel2 { relative: 0.0 1.0; to: "button_bg"; } + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 0; + max: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC -1; + align: 1.0 0.5; + fixed: 1 0; + rel1 { relative: 1.0 0.0; to: "button_bg"; } + rel2 { relative: 1.0 1.0; to: "button_bg"; } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MIN_W_INC 0; + max: BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MAX_W_INC -1; + rel1 { relative: 1.0 0.0; to: "left_padding"; } + rel2 { relative: 0.0 1.0; to: "right_padding"; } + text { + style: "naviframe_btn_style"; + min: 1 0; + max: 0 1; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "naviframe_btn_style_pressed"; + min: 1 0; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "naviframe_btn_style_disabled"; + min: 1 0; + max: 0 1; + } + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "button_image"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "button_image"; + target: "elm.text"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +///////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/naviframe/more/default"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_icon_more.png" COMP; + image: "00_focus_01.#.png" COMP; + } + parts { + part { name: "button_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC; + } + description { state: "landscape" 0.0; + min: BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "more_image"; + scale: 1; + mouse_events: 0; + clip_to: "more_image.clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC; + max: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC; + fixed: 1 1; + rel1.to: "button_image"; + rel2.to: "button_image"; + image.normal: "00_icon_more.png"; + } + } + part { name: "more_image.clipper"; + type: RECT; + description { state: "default" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC; + } + description { state: "pressed" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC; + } + description { state: "disabled" 0.0; + color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + script { + set_state(PART:"more_image.clipper", "pressed", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unpress_anim"; + } + program { name: "button_unpress_anim"; + script { + set_state(PART:"more_image.clipper", "default", 0.0); + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + action: RUN_PLUGIN "touch_sound"; + after: "button_click2"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + set_state(PART:"more_image.clipper", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + set_state(PART:"more_image.clipper", "default", 0.0); + } + } + program { name: "change_to_landscape"; + action: STATE_SET "landscape" 0.0; + target: "button_image"; + } + program { name: "change_to_portrait"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/expandable_number"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_button_01_bg_ef.#.png" COMP; + image: "00_button_01_bg_dim_ef.#.png" COMP; + image: "00_arrow_expand.png" COMP; + image: "00_button_01_bg_focus.#.png" COMP; + } + styles{ + style { name: "btn_base_exapandable_number"; + base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0511 ellipsis=1.0 wrap=none text_class=T0511"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_exapandable_number_pressed"; + base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0511P ellipsis=1.0 wrap=none text_class=T0511P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_exapandable_number_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0511D ellipsis=1.0 wrap=none text_class=T0511D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "btn_base_exapandable_number_focus"; + base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color=#FFFFFF color_class=T0511S ellipsis=1.0 wrap=none text_class=T0511S"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + script { + public button_state = BUTTON_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_BG_PADDING; + max: BUTTON_EXPANDABLE_NUMBER_BG_PADDING; + align: 0.0 0.0; + fixed: 1 1; + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_BG_PADDING; + max: BUTTON_EXPANDABLE_NUMBER_BG_PADDING; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; + rel1.to: "left_top_padding"; + rel1.relative: 1.0 1.0; + rel2.to: "right_bottom_padding"; + rel2.relative: 0.0 0.0; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "button_effect_image"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_BG_EFFECT_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_BG_EFFECT_MIN_MAX_INC; + image { + normal: "00_button_01_bg_ef.#.png"; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_01_bg_dim_ef.#.png"; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; + visible: 0; + rel1.to : "button_image"; + rel2.to : "button_image"; + image { + normal: "00_button_01_bg_focus.#.png"; + } + color_class: "W161"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; + fixed: 1 0; + rel1 { + relative: 0.0 1.0; + to_x: "padding_right_bottom"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + align: 1.0 0.5; + } + } + part { name: "arrow_expand"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; + fixed: 0 0; + rel1.to: "icon_rect"; + rel2.to: "icon_rect"; + image.normal:"00_arrow_expand.png"; + color_class: "F031L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F031L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F031L1D"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC; + max: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC; + fixed:1 0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 1.0; + to_x:"padding_left_top"; + to_y:"padding_right_bottom"; + } + align: 0.0 0.5; + text { + style: "btn_base_exapandable_number"; + min: 0 0; + fit: 1 1; + size_range: 28 32; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "btn_base_exapandable_number_pressed"; + min: 0 0; + fit: 1 1; + size_range: 28 32; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + text { + style: "btn_base_exapandable_number_dim"; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "btn_base_exapandable_number_focus"; + } + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "arrow_expand"; + after: "text_press"; + } + program { name: "text_press"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + if (get_int(button_state) != BUTTON_STATE_DISABLED) + { + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"button_effect_image", "default", 0.0); + set_state(PART:"arrow_expand", "default", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + } + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + set_state(PART:"button_effect_image", "pressed", 0.0); + set_state(PART:"arrow_expand", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + set_state(PART:"button_effect_image", "default", 0.0); + set_state(PART:"arrow_expand", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + if (get_int(button_state) != BUTTON_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "arrow_expand"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, BUTTON_STATE_DISABLED); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "button_effect_image"; + target: "arrow_expand"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, BUTTON_STATE_ENABLED); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/editfield_clear"; + images { + image: "00_edit_field_clear.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "clear_button"; + scale: 1; + mouse_events: 0; + clip_to: "clear_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + image.normal: "00_edit_field_clear.png"; + } + } + part { name: "clear_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "F053"; + } + description { state: "pressed" 0.0; + color_class: "F053P"; + } + description { state: "disabled" 0.0; + color_class: "F053D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +#define BUTTON_DEFAULT_FOCUS_STYLES(style_name, image_normal) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + image.normal: image_normal; \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over3"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over2"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + emit("elm,action,press", ""); \ + } \ + } \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over3"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + emit("elm,action,unpress", ""); \ + } \ + } \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over2"; \ + script { \ + if (get_int(multi_down) == 0) { \ + emit("elm,action,click", ""); \ + } \ + } \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } \ + +BUTTON_DEFAULT_FOCUS_STYLES("focus", "00_focus_01.#.png") +BUTTON_DEFAULT_FOCUS_STYLES("focus_top", "00_focus_01.#.png") +BUTTON_DEFAULT_FOCUS_STYLES("focus_center", "00_focus_01.#.png") +BUTTON_DEFAULT_FOCUS_STYLES("focus_bottom", "00_focus_01.#.png") + +/////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/transparent"; + data { + item: "focus_highlight" "on"; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } +/////////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/button/base/search_clear"; + inherit: "elm/button/base/editfield_clear"; + images { + image: "00_field_btn_clear.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC; + max: BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC; + } + } + part { name: "clear_button"; + scale: 1; + mouse_events: 0; + clip_to: "clear_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + max: BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + image.normal: "00_field_btn_clear.png"; + } + } + part { name: "clear_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "F042i"; + } + description { state: "pressed" 0.0; + color_class: "F042iP"; + } + description { state: "disabled" 0.0; + color_class: "F042iD"; + } + } + } + } + +/******************* SPINNER BUTTONS STYLES **********************/ + + group { name: "elm/button/base/spinner/inc_button"; + data.item: "focus_highlight" "on"; + images { + image: "00_picker_arrow_up.png" COMP; + image: "00_button_01_bg_focus.#.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "arrow.image.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "00_picker_arrow_up.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + part { name: "focus_image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + image.normal: "00_button_01_bg_focus.#.png"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W161"; + visible: 1; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over"; + script { + if ((get_int(multi_down) == 0) && + (get_int(mouse_down) == 0)) { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "longpress_sound"; + signal: "elm,action,longpress"; + source: "elm"; + action: RUN_PLUGIN "touch_haptic"; + } + program { name: "action_unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "button_unpress_anim"; + } + program { name: "action_pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "button_press_anim"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "access_pressed"; + signal: "elm,action,anim,activate"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + after: "access_pressed_anim"; + } + program { name: "access_pressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.1; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/spinner/dec_button"; + inherit: "elm/button/base/spinner/inc_button"; + images { + image: "00_picker_arrow_down.png" COMP; + } + parts { + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "00_picker_arrow_down.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + } + } + + group { name: "elm/button/base/spinner/default"; + alias: "elm/button/base/spinner/vertical"; + data.item: "focus_highlight" "on"; + images { + image: "00_button_01_bg_focus.#.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T1232"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + text { + min: 0 0; + max: 1 0; + text_class: "T1232"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0 0 ; + } + } + part { name: "focus_image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "00_button_01_bg_focus.#.png"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W161"; + visible: 1; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "elm.text"; + } + } + } +/***********************SPINNER BUTTONS STYLES******************************/ + +#undef BUTTON_STATE_ENABLED +#undef BUTTON_STATE_DISABLED +#undef BUTTON_LANDSCAPE_DISABLED +#undef BUTTON_LANDSCAPE_ENABLED diff --git a/2.2/widgets/check.edc b/2.2/widgets/check.edc new file mode 100644 index 0000000..aa3d36e --- /dev/null +++ b/2.2/widgets/check.edc @@ -0,0 +1,2674 @@ +/* + * 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. + */ + +#define CHECK_STATE_DEFAULT 0 +#define CHECK_STATE_VISIBLE 1 +#define CHECK_STATE_DISABLED_VISIBLE 2 +#define CHECK_STATE_DISABLED 3 + +#define CHECK_HIDE 0 +#define CHECK_SHOW 1 + + styles { + style { name: "check_label_textblock_style"; + base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0551 wrap=mixed ellipsis=1.0 text_class=T0551"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "check_label_textblock_style_disable"; + base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0551D wrap=mixed ellipsis=1.0 text_class=T0551D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "check_label_textblock_mixed_wrap_style"; + base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0551 wrap=mixed ellipsis=1.0 text_class=T0551"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "check_label_textblock_mixed_wrap_style_disable"; + base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0551D wrap=mixed ellipsis=1.0 text_class=T0551D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } + +//////////////////////////////////////////////////////////////////////////////// +#define CHECK_STYLE_DEFAULT(style_name, min_width, min_height, access_highlight) \ + group { name: "elm/check/base/"style_name; \ + data { \ + item: "access_highlight" access_highlight; \ + } \ + images { \ + image: "00_check_activate.png" COMP; \ + image: "00_check_activate_ef.png" COMP; \ + image: "00_check_bg.png" COMP; \ + image: "00_check_bg_ef.png" COMP; \ + image: "00_check_focus.png" COMP; \ + image: "00_check_bg_line.png" COMP; \ + image: "B16-8_TTS_focus.png" COMP; \ + } \ + script { \ + public check_state = CHECK_STATE_DEFAULT; \ + public check_visible = CHECK_HIDE; \ + } \ + parts { \ + part { name: "back_bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel2.relative: 0.0 1.0; \ + align: 0 0.5; \ + min: min_width min_height; \ + fixed: 1 0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "bg"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_check_bg.png"; \ + fill.smooth : 0; \ + color_class: "W013L1"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L1D"; \ + } \ + } \ + part { name: "bg_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_check_bg_ef.png"; \ + fill.smooth : 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "bg_line"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_check_bg_line.png"; \ + fill.smooth : 0; \ + color_class: "W013L2"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L2P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L2D"; \ + } \ + } \ + part { name: "check"; \ + clip_to: "sequence_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image.normal: "00_check_activate.png"; \ + color_class: "W013L3"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "active_disable" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W013L3D"; \ + } \ + description { state: "active_pressed" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W013L3P"; \ + } \ + } \ + part { name: "check_effect"; \ + clip_to: "sequence_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image.normal: "00_check_activate_ef.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "check"; \ + rel2.to: "check"; \ + image.normal: "00_check_focus.png"; \ + visible: 0; \ + color_class: "W161"; \ + } \ + description { state: "focused_on" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "sequence_clip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2 { \ + relative: 0.0 1.0; \ + to: "bg"; \ + } \ + color: 255 255 255 255; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + rel2 { \ + relative: 1.0 1.0; \ + to: "bg"; \ + } \ + } \ + } \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "bg"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "bg"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + } \ + } \ + part { name: "padding_before_text"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.0 0.5; \ + min: 0 0; \ + fixed: 1 1; \ + rel1 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + max: CHECK_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + fixed: 1 1; \ + } \ + } \ + part { name: "elm.text"; \ + type: TEXTBLOCK; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 1; \ + rel1 { \ + relative: 1.0 0.5; \ + to_x: "padding_before_text"; \ + } \ + rel2 { \ + relative: 1.0 0.5; \ + } \ + align: 0.0 0.5; \ + text { \ + style: "check_label_textblock_style"; \ + min: 0 0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text.min: 1 1; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text { \ + style: "check_label_textblock_style_disable"; \ + min: 1 1; \ + } \ + } \ + } \ + part { name: "events1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "events2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "access_image"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image { \ + normal: "B16-8_TTS_focus.png"; \ + border: TTS_FOCUS_BORDER; \ + border_scale: 1; \ + } \ + } \ + description { state: "highlighted" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "show"; \ + signal: "show"; \ + script { \ + set_int(check_visible, CHECK_SHOW); \ + } \ + } \ + program { name: "hide"; \ + signal: "hide"; \ + script { \ + set_int(check_visible, CHECK_HIDE); \ + } \ + } \ + program { name: "click"; \ + signal: "mouse,clicked,1"; \ + source: "events1"; \ + action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ + after: "touch_sound"; \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "bg_normal"; \ + signal: "mouse,up,1"; \ + source: "events2"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "pressed"; \ + signal: "mouse,down,1"; \ + source: "events2"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + set_state(PART:"check", "active_pressed", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "mouse,out"; \ + signal: "mouse,out"; \ + source: "events2"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"check_effect", "visible", 0.0); \ + set_state(PART:"sequence_clip", "visible", 0.0); \ + } \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "check_on"; \ + signal: "elm,state,check,on"; \ + source: "elm"; \ + script { \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + if (get_int(check_visible) == CHECK_SHOW) \ + { \ + run_program(PROGRAM:"check_show_effect"); \ + run_program(PROGRAM:"check_draw_effect"); \ + } \ + else \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"sequence_clip", "visible", 0.0); \ + } \ + set_state(PART:"check_effect", "visible", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "check_off"; \ + signal: "elm,state,check,off"; \ + source: "elm"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + set_state(PART:"check", "default", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + set_state(PART:"sequence_clip", "default", 0.0); \ + } \ + } \ + } \ + program { name: "check_show_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.233; \ + target: "check"; \ + } \ + program { name: "check_draw_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.267; \ + target: "sequence_clip"; \ + after: "check_on_signal"; \ + } \ + program { name: "check_on_signal"; \ + action: SIGNAL_EMIT "elm,action,show,finished" "elm"; \ + } \ + program { name: "text_show"; \ + signal: "elm,state,text,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "text_hide"; \ + signal: "elm,state,text,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "icon_show"; \ + signal: "elm,state,icon,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "icon_hide"; \ + signal: "elm,state,icon,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + set_state(PART:"check", "active_pressed", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"sequence_clip", "visible", 0.0); \ + } \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused_on" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.text", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.text", "disabled", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "disabled", 0.0); \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + { \ + set_state(PART:"check", "active_disable", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ + } \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.text", "visible", 0.0); \ + else \ + set_state(PART:"elm.text", "default", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "default", 0.0); \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "active_disable")) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"check_effect", "visible", 0.0); \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + } \ + else \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + } \ + } \ + } \ + program { name: "action_highlight"; \ + signal: "elm,action,access_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "highlighted" 0.0; \ + target: "access_image"; \ + } \ + program { name: "action_no_highlight"; \ + signal: "elm,action,access_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "access_image"; \ + } \ + } \ + } +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_DEFAULT("default", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC, "off") +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC, "off") +//////////////////////////////////////////////////////////////////////////////// + +#define CHECK_STYLE_DEFAULT_GENLIST(style_name, min_width, min_height) \ + group { name: "elm/check/base/"style_name; \ + images { \ + image: "00_check_activate.png" COMP; \ + image: "00_check_activate_ef.png" COMP; \ + image: "00_check_bg.png" COMP; \ + image: "00_check_bg_ef.png" COMP; \ + image: "00_check_focus.png" COMP; \ + image: "00_check_bg_line.png" COMP; \ + } \ + script { \ + public check_state = CHECK_STATE_DEFAULT; \ + public check_visible = CHECK_HIDE; \ + } \ + parts { \ + part { name: "bg"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + align: 0.0 0.5; \ + fixed: 1 1; \ + image.normal: "00_check_bg.png"; \ + fill.smooth : 0; \ + color_class: "W013L1"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L1D"; \ + } \ + } \ + part { name: "bg_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + align: 0.0 0.5; \ + fixed: 1 1; \ + image.normal: "00_check_bg_ef.png"; \ + fill.smooth : 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "bg_line"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + align: 0.0 0.5; \ + fixed: 1 1; \ + image.normal: "00_check_bg_line.png"; \ + fill.smooth : 0; \ + color_class: "W013L2"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L2P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L2D"; \ + } \ + } \ + part { name: "check"; \ + clip_to: "sequence_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image.normal: "00_check_activate.png"; \ + color_class: "W013L3"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "active_disable" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W013L3D"; \ + } \ + description { state: "active_pressed" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W013L3P"; \ + } \ + } \ + part { name: "check_effect"; \ + clip_to: "sequence_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + image.normal: "00_check_activate_ef.png"; \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "sequence_clip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2 { \ + relative: 0.0 1.0; \ + to: "bg"; \ + } \ + color: 255 255 255 255; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + rel2 { \ + relative: 1.0 1.0; \ + to: "bg"; \ + } \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "check"; \ + rel2.to: "check"; \ + image.normal: "00_check_focus.png"; \ + visible: 0; \ + color_class: "W161"; \ + } \ + description { state: "focused_on" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "show"; \ + signal: "show"; \ + script { \ + set_int(check_visible, CHECK_SHOW); \ + } \ + } \ + program { name: "hide"; \ + signal: "hide"; \ + script { \ + set_int(check_visible, CHECK_HIDE); \ + } \ + } \ + program { name: "bg_normal"; \ + signal: "elm,state,mouse,up"; \ + source: "elm"; \ + script { \ + if (CHECK_STATE_VISIBLE == get_int(check_state)) \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "pressed"; \ + signal: "elm,state,mouse,down"; \ + source: "elm"; \ + script { \ + if (CHECK_STATE_VISIBLE == get_int(check_state)) \ + set_state(PART:"check", "active_pressed", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "mouse,out"; \ + signal: "mouse,out"; \ + source: "events2"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"sequence_clip", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "check_on"; \ + signal: "elm,state,check,on"; \ + source: "elm"; \ + script { \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + if (get_int(check_visible) == CHECK_SHOW) \ + { \ + run_program(PROGRAM:"check_show_effect"); \ + run_program(PROGRAM:"check_draw_effect"); \ + } \ + else \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"sequence_clip", "visible", 0.0); \ + } \ + set_state(PART:"check_effect", "visible", 0.0); \ + } \ + } \ + program { name: "check_off"; \ + signal: "elm,state,check,off"; \ + source: "elm"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + set_state(PART:"check", "default", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + set_state(PART:"sequence_clip", "default", 0.0); \ + } \ + } \ + } \ + program { name: "check_show_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.233; \ + target: "check"; \ + } \ + program { name: "check_draw_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.267; \ + target: "sequence_clip"; \ + after: "check_on_signal"; \ + } \ + program { name: "check_on_signal"; \ + action: SIGNAL_EMIT "elm,action,show,finished" "elm"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused_on" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + { \ + set_state(PART:"check", "active_disable", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ + } \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "active_disable")) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"check_effect", "visible", 0.0); \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + } \ + else \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + } \ + } \ + } \ + } \ + } +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_DEFAULT_GENLIST("default/genlist_editmode", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) +CHECK_STYLE_DEFAULT_GENLIST("default/genlist", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) +//////////////////////////////////////////////////////////////////////////////// + +#define CHECK_STYLE_FOR_GENLIST(style_name, min_width, min_height) \ + group { name: "elm/check/base/"style_name; \ + images { \ + image: "00_check_activate.png" COMP; \ + image: "00_check_activate_ef.png" COMP; \ + image: "00_check_bg.png" COMP; \ + image: "00_check_bg_ef.png" COMP; \ + image: "00_check_focus.png" COMP; \ + image: "00_check_bg_line.png" COMP; \ + } \ + script { \ + public check_state = CHECK_STATE_DEFAULT; \ + } \ + parts { \ + part { name: "bg"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + image.normal: "00_check_bg.png"; \ + fill.smooth : 0; \ + color_class: "W013L1"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L1D"; \ + } \ + } \ + part { name: "bg_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + image.normal: "00_check_bg_ef.png"; \ + fill.smooth : 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "bg_line"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ + fixed: 1 1; \ + image.normal: "00_check_bg_line.png"; \ + fill.smooth : 0; \ + color_class: "W013L2"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W013L2D"; \ + } \ + } \ + part { name: "check"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image.normal: "00_check_activate.png"; \ + color_class: "W013L3"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "active_disable" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W013L3D"; \ + } \ + } \ + part { name: "check_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image.normal: "00_check_activate_ef.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "check"; \ + rel2.to: "check"; \ + image.normal: "00_check_focus.png"; \ + visible: 0; \ + color_class: "W161"; \ + } \ + description { state: "focused_on" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "events1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "events2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "click"; \ + signal: "mouse,clicked,1"; \ + source: "events1"; \ + action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ + after: "touch_sound"; \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "check_on"; \ + signal: "elm,state,check,on"; \ + source: "elm"; \ + script { \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"check_effect", "visible", 0.0); \ + } \ + } \ + program { name: "check_off"; \ + signal: "elm,state,check,off"; \ + source: "elm"; \ + script { \ + if (get_int(check_state) == CHECK_STATE_VISIBLE) \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + set_state(PART:"check", "default", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + } \ + } \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused_on" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + { \ + set_state(PART:"check", "active_disable", 0.0); \ + set_state(PART:"check_effect", "default", 0.0); \ + set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ + } \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "bg"; \ + target: "bg_line"; \ + target: "bg_effect"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "active_disable")) \ + { \ + set_state(PART:"check", "visible", 0.0); \ + set_state(PART:"check_effect", "visible", 0.0); \ + set_int(check_state, CHECK_STATE_VISIBLE); \ + } \ + else \ + { \ + set_int(check_state, CHECK_STATE_DEFAULT); \ + } \ + } \ + } \ + } \ + } +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_FOR_GENLIST("default/genlist_edit", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) +//////////////////////////////////////////////////////////////////////////////// + group { name: "elm/check/base/on&off"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_on_off_bg.png" COMP; + image: "00_on_off_bg_ef.png" COMP; + image: "00_on_off_bg_line.png" COMP; + image: "00_on_off_handler_bg.png" COMP; + image: "00_on_off_handler_bg_ef.png" COMP; + image: "00_on_off_handler_focus.png" COMP; + image: "00_on_off_handler_icon_off.png" COMP; + image: "00_on_off_handler_icon_off_ef.png" COMP; + image: "00_on_off_handler_icon_on.png" COMP; + image: "00_on_off_handler_icon_on_ef.png" COMP; + } + script { + public is_rtl = 0; + public is_drag = 0; + public was_drag = 0; + public check_on = 0; + public check_disable = 0; + public is_changed = 0; + } + parts { + part { name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC; + max: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC; + rel2.relative: 0.0 1.0; + fixed: 1 1; + align: 0.0 0.5; + visible: 0; + } + } + part { name: "padding_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1{ relative: 0.0 0.0; to: "bg"; } + rel2{ relative: 0.0 1.0; to: "bg"; } + min: 0 0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "padding_right"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + min: 0 0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "padding_top"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "bg"; + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + min: 0 0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "padding_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + min: 0 0; + fixed: 0 1; + color: 0 0 0 0; + } + } + part { name: "bg_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "bg"; + to_y: "padding_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "bg"; + to_y: "padding_bottom"; + } + image.normal: "00_on_off_bg.png"; + color_class: "W012L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L1D"; + } + } + part { name: "bg_effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg_image"; + rel2.to: "bg_image"; + image.normal: "00_on_off_bg_ef.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible:0 ; + } + } + part { name: "bg_outline"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg_effect"; + rel2.to: "bg_effect"; + image.normal: "00_on_off_bg_line.png"; + color_class: "W012L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L2D"; + } + } + part { name: "drag_container"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "padding_left"; + to_y: "bg_outline"; + } + rel2 { + relative: 0.0 1.0; + to_x: "padding_right"; + to_y: "bg_outline"; + } + color: 0 0 0 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 255 255 255 255; + } + } + part { name: "clipper_inner"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg_image"; + rel2.to: "bg_image"; + color: 255 255 255 255; + } + } + part { name: "button"; + scale: 1; + clip_to: "clipper"; + mouse_events: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_container"; + } + description { state: "default" 0.0; + min: CHECK_ONOFF_HANDLER_MIN_MAX_INC; + max: CHECK_ONOFF_HANDLER_MIN_MAX_INC; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + fixed: 1 1; + image.normal: "00_on_off_handler_bg.png"; + color_class: "W012L4"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W012L3"; + } + description { state: "on_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L3D"; + } + description { state: "off_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L4D"; + } + } + part { name: "button_effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "button"; + rel2.to: "button"; + image.normal: "00_on_off_handler_bg_ef.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible:0 ; + } + } + part { name: "button_handler"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_ONOFF_HANDLER_MIN_MAX_INC; + max: CHECK_ONOFF_HANDLER_MIN_MAX_INC; + rel1.to: "button"; + rel2.to: "button"; + fixed: 1 1; + image.normal: "00_on_off_handler_icon_off.png"; + color_class: "W012L4i"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + image.normal: "00_on_off_handler_icon_on.png"; + color_class: "W012L3i"; + } + description { state: "on_disabled" 0.0; + inherit: "on" 0.0; + color_class: "W012L3iD"; + } + description { state: "off_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L4iD"; + } + } + part { name: "button_handler_effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "button_handler"; + rel2.to: "button_handler"; + image.normal: "00_on_off_handler_icon_off_ef.png"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + image.normal: "00_on_off_handler_icon_on_ef.png"; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to : "button"; + rel2.to : "button"; + image.normal: "00_on_off_handler_focus.png"; + color_class: "W161"; + } + description { state: "focused_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "onrect"; + type: RECT; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: -1.0 0.0; + to: "button"; + } + rel2 { + relative: 0.0 1.0; + to: "button"; + } + align: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "offrect"; + type: RECT; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "button"; + } + rel2 { + relative: 2.0 1.0; + to: "button"; + } + color: 0 0 0 0; + } + } + part { name: "elm.offtext"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "clipper_inner"; + description { state: "default" 0.0; + rel1.to: "offrect"; + rel2.to: "offrect"; + color: 255 255 255 255; + text { + font: "Tizen:style=Medium"; + size: 20; + min: 0 1; + text_class: "tizen"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "elm.ontext"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "clipper_inner"; + description { state: "default" 0.0; + rel1.to: "onrect"; + rel2.to: "onrect"; + color: 255 255 255 255; + text { + font: "Tizen:style=Medium"; + size: 20; + min: 0 1; + text_class: "tizen"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1 { + to_x: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + rel1 { + relative: 1.0 0.5; + offset: 0 1; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -2; + } + align: 0.0 0.5; + text { + style: "check_label_textblock_style"; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text { + style: "check_label_textblock_style_disable"; + min: 1 1; + } + } + } + part { name: "bg_events"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + repeat_events: 1; + dragable { + events: "button"; + } + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel2.to_x: "bg"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "bg_down"; + signal: "mouse,down,1"; + source: "bg_events"; + script { + set_int(is_changed, 0); + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "bg_events"; + script { + if (!get_int(is_changed)) { + if (get_int(check_on)) { + emit("elm,action,check,off", ""); + emit("elm,action,touch,sound", ""); + } else { + emit("elm,action,check,on", ""); + emit("elm,action,touch,sound", ""); + } + } + } + } + program { name: "touch_sound"; + signal: "elm,action,touch,sound"; + source: ""; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "drag_start"; + signal: "drag"; + source: "button"; + script { + if (!get_int(is_drag)) emit("elm,action,check,drag,start", ""); + set_int(is_drag, 1); + } + } + program { name: "button_down"; + signal: "mouse,down,1"; + source: "button"; + script { + set_int(was_drag, 0); + set_int(is_drag, 0); + } + } + program { name: "drag_end"; + signal: "mouse,up,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (get_int(is_drag)) { + if (dx > 0.5) + set_drag(PART:"button", 1.0, 0.0); + else + set_drag(PART:"button", 0.0, 0.0); + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + if (!get_int(check_on)) { + emit("elm,action,check,on", ""); + emit("elm,action,touch,sound", ""); + set_int(is_changed, 1); + } + } + else { + if (get_int(check_on)) { + emit("elm,action,check,off", ""); + emit("elm,action,touch,sound", ""); + set_int(is_changed, 1); + } + } + set_int(was_drag, get_int(is_drag)); + set_int(is_drag, 0); + emit("elm,action,check,drag,stop", ""); + } + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } + else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); + if (get_int(check_disable) == 0) { + set_state(PART:"bg_image", "default", 0.0); + set_state(PART:"bg_outline", "default", 0.0); + set_state(PART:"button", "on", 0.0); + set_state(PART:"button_handler", "on", 0.0); + set_state(PART:"button_effect", "default", 0.0); + set_state(PART:"bg_effect", "default", 0.0); + } else { + set_state(PART:"bg_image", "disabled", 0.0); + set_state(PART:"bg_outline", "disabled", 0.0); + set_state(PART:"button", "on_disabled", 0.0); + set_state(PART:"button_handler", "on_disabled", 0.0); + set_state(PART:"button_effect", "disabled", 0.0); + set_state(PART:"bg_effect", "disabled", 0.0); + } + set_state(PART:"button_handler_effect", "on", 0.0); + set_int(check_on, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } + else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); + if (get_int(check_disable) == 0) { + set_state(PART:"bg_image", "default", 0.0); + set_state(PART:"bg_outline", "default", 0.0); + set_state(PART:"button", "default", 0.0); + set_state(PART:"button_handler", "default", 0.0); + set_state(PART:"button_effect", "default", 0.0); + set_state(PART:"bg_effect", "default", 0.0); + } + else { + set_state(PART:"bg_image", "disabled", 0.0); + set_state(PART:"bg_outline", "disabled", 0.0); + set_state(PART:"button", "off_disabled", 0.0); + set_state(PART:"button_handler", "off_disabled", 0.0); + set_state(PART:"button_effect", "disabled", 0.0); + set_state(PART:"bg_effect", "disabled", 0.0); + } + set_state(PART:"button_handler_effect", "default", 0.0); + set_int(check_on, 0); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.offtext"; + target: "elm.ontext"; + target: "onrect"; + target: "offrect"; + target: "disabler"; + target: "bg_effect"; + target: "bg_image"; + target: "bg_outline"; + target: "button_effect"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + if (get_int(check_disable) == 1) return; + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + get_state(PART:"button", st, 30, vl); + if (!strcmp(st, "on")) { + set_state(PART:"button", "on_disabled", 0.0); + set_state(PART:"button_handler", "on_disabled", 0.0); + set_state(PART:"button_handler_effect", "on", 0.0); + } else { + set_state(PART:"button", "off_disabled", 0.0); + set_state(PART:"button_handler", "off_disabled", 0.0); + set_state(PART:"button_handler_effect", "default", 0.0); + } + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + set_int(check_disable, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "onrect"; + target: "offrect"; + target: "bg_effect"; + target: "bg_image"; + target: "bg_outline"; + target: "button_effect"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + if (get_int(check_disable) == 0 ) return; + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + get_state(PART:"button", st, 30, vl); + if (!strcmp(st, "on_disabled")) { + set_state(PART:"button", "on", 0.0); + set_state(PART:"button_handler", "on", 0.0); + set_state(PART:"button_handler_effect", "on", 0.0); + } else { + set_state(PART:"button", "default", 0.0); + set_state(PART:"button_handler", "default", 0.0); + set_state(PART:"button_handler_effect", "default", 0.0); + } + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_int(check_disable, 0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(is_rtl, 0); + } + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused_on" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + } + } + +//////////////////////////////////////////////////////////////////////////////// + group { name: "elm/check/base/naviframe/title_on&off"; + inherit: "elm/check/base/on&off"; + parts { + part { name: "bg_with_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_NAVIFRAME_TITLE_ONOFF_BG_WITH_PADDING_MIN_MAX_INC; + max: CHECK_NAVIFRAME_TITLE_ONOFF_BG_WITH_PADDING_MIN_MAX_INC; + } + } + part { name: "bg_padding_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_LEFT_WIDTH_INC 0; + max: CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_LEFT_WIDTH_INC -1; + rel1 { relative: 0.0 0.0; to: "bg_with_padding"; } + rel2 { relative: 0.0 1.0; to: "bg_with_padding"; } + fixed: 1 0; + align: 0.0 0.5; + } + } + part { name: "bg_padding_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_RIGHT_WIDTH_INC 0; + max: CHECK_NAVIFRAME_TITLE_ONOFF_BG_PADDING_RIGHT_WIDTH_INC -1; + rel1 { relative: 1.0 0.0; to: "bg_with_padding"; } + rel2 { relative: 1.0 1.0; to: "bg_with_padding"; } + fixed: 1 0; + align: 1.0 0.5; + } + } + part { name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bg_padding_left"; } + rel2 { relative: 0.0 1.0; to: "bg_padding_right"; } + visible: 0; + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + +#define CHECK_STYLE_FAVORITE(style_name, normal_image, min_width, min_height, access_highlight) \ + group { name: "elm/check/base/"style_name; \ + data { \ + item: "access_highlight" access_highlight; \ + } \ + script { \ + public check_state = CHECK_STATE_DEFAULT; \ + } \ + images { \ + image: normal_image COMP; \ + } \ + parts { \ + part { name: "back_bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel2.relative: 0.0 1.0; \ + align: 0 0.5; \ + min: min_width min_height; \ + fixed: 1 0; \ + } \ + } \ + part { name: "bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + min: min_width min_height; \ + max: min_width min_height; \ + fixed: 1 1; \ + } \ + } \ + part { name: "check"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + image.normal: normal_image; \ + color_class: "F022L1i"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F022L2i"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F022L2iP"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F022L1iD"; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F022L2iD"; \ + } \ + } \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "bg"; \ + relative: 1.0 0.0; \ + offset: 1 1; \ + } \ + rel2 { \ + to_x: "bg"; \ + relative: 1.0 1.0; \ + offset: 2 -2; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + } \ + } \ + part { name: "elm.text"; \ + type: TEXTBLOCK; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 0 1; \ + rel1 { \ + relative: 1.0 0.5; \ + offset: 1 1; \ + to_x: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: 1.0 0.5; \ + offset: -2 -2; \ + } \ + align: 0.0 0.5; \ + text { \ + style: "check_label_textblock_style"; \ + min: 0 0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text.min: 1 1; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text { \ + style: "check_label_textblock_style_disable"; \ + min: 1 1; \ + } \ + } \ + } \ + part { name: "events"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "access_image"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + visible: 0; \ + image { \ + normal: "B16-8_TTS_focus.png"; \ + border: TTS_FOCUS_BORDER; \ + border_scale: 1; \ + } \ + } \ + description { state: "highlighted" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "click"; \ + signal: "mouse,clicked,1"; \ + source: "events"; \ + action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ + after: "touch_sound"; \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "check_on"; \ + signal: "elm,state,check,on"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "check"; \ + } \ + program { name: "check_off"; \ + signal: "elm,state,check,off"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "check"; \ + } \ + program { name: "text_show"; \ + signal: "elm,state,text,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "elm.text"; \ + } \ + program { name: "text_hide"; \ + signal: "elm,state,text,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text"; \ + } \ + program { name: "icon_show"; \ + signal: "elm,state,icon,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "icon_hide"; \ + signal: "elm,state,icon,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.text", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.text", "disabled", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "disabled", 0.0); \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"check", "disabled_visible", 0.0); \ + else \ + set_state(PART:"check", "disabled", 0.0); \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.text", "visible", 0.0); \ + else \ + set_state(PART:"elm.text", "default", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "default", 0.0); \ + get_state(PART:"check", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"check", "visible", 0.0); \ + else \ + set_state(PART:"check", "default", 0.0); \ + } \ + } \ + program { name: "action_highlight"; \ + signal: "elm,action,access_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "highlighted" 0.0; \ + target: "access_image"; \ + } \ + program { name: "action_no_highlight"; \ + signal: "elm,action,access_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "access_image"; \ + } \ + } \ + } +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_FAVORITE("favorite", "00_icon_favorite_bg_72x72.png", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC, "on") +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_FAVORITE("favorite_small", "00_icon_favorite_bg_45x45.png", CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC, "on") +//////////////////////////////////////////////////////////////////////////////// +CHECK_STYLE_FAVORITE("favorite/extended", "00_icon_favorite_bg_72x72.png", CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC, "on") +//////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/check/base/grid"; + images { + image: "00_check_activate.png" COMP; + image: "00_check_activate_ef.png" COMP; + image: "00_check_bg.png" COMP; + image: "00_check_bg_ef.png" COMP; + image: "00_check_focus.png" COMP; + image: "00_check_bg_line.png" COMP; + } + script { + public check_state = CHECK_STATE_DEFAULT; + public check_visible = CHECK_HIDE; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "top_left_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "bg2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_EDIT_MODE_CHECK_SIZE_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + rel2 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + image.normal: "00_check_bg.png"; + color_class: "W013L1"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + color_class: "W013L1P"; + } + description { state: "disabled" 0.0; + inherit: "visible" 0.0; + color_class: "W013L1D"; + } + } + part { name: "bg2_effect"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_EDIT_MODE_CHECK_SIZE_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + rel2 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + image.normal: "00_check_bg_ef.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bg2_line"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_EDIT_MODE_CHECK_SIZE_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + rel2 { + relative: 1.0 1.0; + to: "top_left_padding"; + } + image.normal: "00_check_bg_line.png"; + color_class: "W013L2"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + color_class: "W013L2P"; + } + description { state: "disabled" 0.0; + inherit: "visible" 0.0; + color_class: "W013L2D"; + } + } + part { name: "check"; + clip_to: "sequence_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg2"; + rel2.to: "bg2"; + visible: 0; + image.normal: "00_check_activate.png"; + color_class: "W013L3"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "active_disable" 0.0; + inherit: "visible" 0.0; + color_class: "W013L3D"; + } + description { state: "active_pressed" 0.0; + inherit: "visible" 0.0; + color_class: "W013L3P"; + } + } + part { name: "check_effect"; + clip_to: "sequence_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg2"; + rel2.to: "bg2"; + image.normal: "00_check_activate_ef.png"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sequence_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg2"; + rel2.to: "bg2"; + rel2.relative: 0.0 1.0; + color: 255 255 255 255; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "events1"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "events2"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, CHECK_SHOW); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, CHECK_HIDE); + } + } + program { name: "bg_normal"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (CHECK_STATE_VISIBLE == get_int(check_state)) + set_state(PART:"check", "visible", 0.0); + set_state(PART:"bg2", "default", 0.0); + set_state(PART:"bg2_line", "default", 0.0); + } + } + program { name: "pressed"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + if (CHECK_STATE_VISIBLE == get_int(check_state)) + set_state(PART:"check", "active_pressed", 0.0); + set_state(PART:"bg2", "pressed", 0.0); + set_state(PART:"bg2_line", "pressed", 0.0); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "events2"; + script { + if (get_int(check_state) == CHECK_STATE_VISIBLE) + { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"check_effect", "visible", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + else + { + set_state(PART:"sequence_clip", "default", 0.0); + } + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + set_int(check_state, CHECK_STATE_VISIBLE); + if (get_int(check_visible) == CHECK_SHOW) + { + run_program(PROGRAM:"check_show_effect"); + run_program(PROGRAM:"check_draw_effect"); + } + else + { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + set_state(PART:"check_effect", "visible", 0.0); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_state) == CHECK_STATE_VISIBLE) + { + set_int(check_state, CHECK_STATE_DEFAULT); + set_state(PART:"check", "default", 0.0); + set_state(PART:"check_effect", "default", 0.0); + set_state(PART:"sequence_clip", "default", 0.0); + } + set_state(PART:"bg2", "visible", 0.0); + set_state(PART:"bg2_line", "visible", 0.0); + } + } + program { name: "check_show_effect"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.233; + target: "check"; + } + program { name: "check_draw_effect"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.267; + target: "sequence_clip"; + after: "check_on_signal"; + } + program { name: "check_on_signal"; + action: SIGNAL_EMIT "elm,action,show,finished" "elm"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "bg2"; + target: "bg2_effect"; + target: "bg2_line"; + after: "disable_check"; + } + program { name: "disable_check"; + script { + new st[31]; + new Float:vl; + get_state(PART:"check", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"check", "active_disable", 0.0); + set_state(PART:"check_effect", "default", 0.0); + set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); + } + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "bg2"; + target: "bg2_effect"; + target: "bg2_line"; + after: "enable_check"; + } + program { name: "enable_check"; + script { + new st[31]; + new Float:vl; + get_state(PART:"check", st, 30, vl); + if (!strcmp(st, "active_disable")) + { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"check_effect", "visible", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + set_int(check_state, CHECK_STATE_VISIBLE); + } + else + { + set_int(check_state, CHECK_STATE_DEFAULT); + } + } + } + } + } + + group { name: "elm/check/base/multiline"; + inherit: "elm/check/base/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "padding_before_text"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + } + text { + style: "check_label_textblock_mixed_wrap_style"; + align: 0.0 0.5; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text { + style: "check_label_textblock_mixed_wrap_style_disable"; + align: 0.0 0.5; + min: 0 0; + } + } + } + } + } + +#undef CHECK_STATE_DEFAULT +#undef CHECK_STATE_VISIBLE +#undef CHECK_STATE_DISABLED_VISIBLE +#undef CHECK_STATE_DISABLED + +#undef CHECK_HIDE +#undef CHECK_SHOW diff --git a/2.2/widgets/colorselector.edc b/2.2/widgets/colorselector.edc new file mode 100644 index 0000000..de08e0e --- /dev/null +++ b/2.2/widgets/colorselector.edc @@ -0,0 +1,1478 @@ +/* + * 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. + */ + +group { + name: "elm/colorselector/palette/default"; + data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_INC; + data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_INC; + parts { + part { name: "base"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "palette"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + to: "base"; + } + } + } + part{ name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 20; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to: "palette"; + rel2.to: "palette"; + align: 0.0 0.0; + } + } + part { name: "plane"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1.to: "bottom_padding"; + rel2 { + relative: 1.0 0.0; + to: "bottom_padding"; + } + } + } + part { name: "selector"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "plane"; + } + rel2.to: "base"; + } + } + } +} + +group { + name: "elm/colorselector/palette/colorplane"; + data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC; + data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC; + parts { + part { name: "base"; + type: SPACER; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 0 302; + } + } + part { name: "palette"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + to: "base"; + } + } + } + part{ name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 COLORSELECTOR_BOTTOM_PAD_COLORPLANE_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "palette"; + } + rel2.to: "palette"; + align: 0.0 0.0; + } + } + part { name: "plane"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to_y: "bottom_padding"; + } + rel2.to_y: "bottom_padding"; + } + } + } +} + +group { + name: "elm/colorselector/palette/landscape"; + data.item: "horizontal_pad" COLORSELECTOR_LANDSCAPE_HOR_PAD_INC; + data.item: "vertical_pad" COLORSELECTOR_LANDSCAPE_VER_PAD_INC; + parts { + part { name: "base"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "palette"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + to: "base"; + } + } + } + part{ name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 20; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to: "palette"; + rel2.to: "palette"; + align: 0.0 0.0; + } + } + part { name: "plane"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1.to: "bottom_padding"; + rel2 { + relative: 1.0 0.0; + to: "bottom_padding"; + } + } + } + part { name: "selector"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "plane"; + } + rel2.to: "base"; + } + } + } +} + +group{ + name: "elm/colorselector/bg/default"; + parts{ + part{ + name: "bg_rect"; + type: RECT; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_MIN_W_INC COLORSELECTOR_MIN_H_INC; + color: 0 0 0 0; + } + } + part{ name: "top_padding1"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_TOP_INC; + rel2.relative: 1.0 0.0; + rel1.to: "bg_rect"; + rel2.to: "bg_rect"; + align: 0.0 0.0; + } + } + part{ name: "top_padding2"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "top_padding1"; + rel2.to_y: "top_padding1"; + align: 0.0 0.0; + } + } + part{ + name: "elm.colorbar_0"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: 1 COLORSELECTOR_COLORBAR_HEIGHT; + max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to_y: "top_padding2"; + rel2.to_y: "top_padding2"; + align: 0.5 0.0; + } + } + part{ + name: "bottom_padding1"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_TOP_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.colorbar_0"; + rel2.to_y: "elm.colorbar_0"; + align: 0.0 0.0; + } + } + part{ + name: "bottom_padding2"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "bottom_padding1"; + rel2.to_y: "bottom_padding1"; + align: 0.0 0.0; + } + } + part{ + name: "elm.colorbar_1"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: 1 COLORSELECTOR_COLORBAR_HEIGHT; + max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to_y: "bottom_padding2"; + rel2.to_y: "bottom_padding2"; + align: 0.5 0.0; + } + } + part { + name: "bottom_padding3"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_TOP_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.colorbar_1"; + rel2.to_y: "elm.colorbar_1"; + align: 0.0 0.0; + } + } + part { + name: "bottom_padding4"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "bottom_padding3"; + rel2.to_y: "bottom_padding3"; + align: 0.0 0.0; + } + } + part{ + name: "elm.colorbar_2"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: 1 COLORSELECTOR_COLORBAR_HEIGHT; + max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to_y: "bottom_padding4"; + rel2.to_y: "bottom_padding4"; + align: 0.5 0.0; + } + } + part { + name: "bottom_padding5"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_TOP_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.colorbar_2"; + rel2.to_y: "elm.colorbar_2"; + align: 0.0 0.0; + } + } + part { + name: "bottom_padding6"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 1; + min: 1 1; + fixed: 1 1; + color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; + rel1.relative: 0.0 1.0; + rel1.to_y: "bottom_padding5"; + rel2.to_y: "bg_rect"; + align: 0.0 0.0; + } + } + } +} + +group{ + name: "elm/colorselector/base/default"; + images{ + image: "00_color_picker_handler.png" COMP; + image: "00_color_picker_handler_focus.png" COMP; + } + parts{ + part{ + name: "bg_rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description{ + state: "default" 0.0; + color: 0 0 0 0; + } + } + part{ + name: "bar_bg_padding_rect_l"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_COLORBAR_LEFT_PADDING 0; + fixed: 1 0; + rel1.relative: 0.0 0.5; + rel2.relative: 0.0 0.5; + align: 0.0 0.5; + } + } + part{ + name: "bar_bg_padding_rect_r"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_COLORBAR_RIGHT_PADDING 0; + fixed: 1 0; + rel1.relative: 1.0 0.5; + rel2.relative: 1.0 0.5; + align: 1.0 0.5; + } + } + part { + name: "button_top_padding"; + type: SPACER; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 0 COLORSELECTOR_BUTTON_TOP_PADDING; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0; + } + } + part{ + name: "elm.bar_bg"; + type: SWALLOW; + mouse_events: 1; + description{ + state: "default" 0.0; + rel1 {relative: 1.0 (16/70); to_x: "bar_bg_padding_rect_l";} + rel2 {relative: 0.0 (54/70); to_x: "bar_bg_padding_rect_r";} + } + } + part{ + name: "elm.bar"; + type: SWALLOW; + mouse_events: 1; + description{ + state: "default" 0.0; + rel1.to: "elm.bar_bg"; + rel2.to: "elm.bar_bg"; + } + } + part{ + name: "arrow_bg_padding_rect_l"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_ARROW_BG_LEFT_PADDING 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part{ + name: "arrow_bg_padding_rect_r"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_ARROW_BG_RIGHT_PADDING 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part{ + name: "elm.arrow_bg"; + type: SWALLOW; + mouse_events: 1; + description{ + state: "default" 0.0; + rel1 {relative: 1.0 (10/70); to_x: "arrow_bg_padding_rect_l";} + rel2 {relative: 0.0 (60/70); to_x: "arrow_bg_padding_rect_r";} + } + } + part { name: "elm.arrow_bg_access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "bg_rect"; + rel2.to: "bg_rect"; + color: 0 0 0 0; + } + } + part{ + name: "elm.arrow"; + type: SPACER; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_ARROW_MIN_WIDTH COLORSELECTOR_ARROW_MIN_HEIGHT; + fixed: 1 1; + align: 0 0.5; + rel1 {relative: 0.0 0.0; to_y: "elm.arrow_bg";} + rel2 {relative: 0.0 1.0; to_y: "elm.arrow_bg";} + } + dragable{ + confine: "elm.arrow_bg"; + x: 1 1 0; + y: 0 0 0; + } + } + part { + name: "elm.arrow_image"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + image.normal: "00_color_picker_handler.png"; + rel1 { + to: "elm.arrow"; + offset: COLORSELECTOR_ARROW_REL1_OFFSET; + } + rel2 { + to: "elm.arrow"; + offset: COLORSELECTOR_ARROW_REL2_OFFSET; + } + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + image.normal: "00_color_picker_handler_focus.png"; + color_class: "W161"; + } + } + part{ + name: "event"; + type: RECT; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_DRAGGABLE_EVENT_AREA; + fixed: 1 1; + rel1.to: "elm.arrow_image"; + rel2.to: "elm.arrow_image"; + color: 0 0 0 0; + } + dragable{ + events: "elm.arrow"; + } + } + part{ + name: "l_button_padding_rect"; + type: SPACER; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_BUTTON_LEFT_PADDING 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part{ + name: "r_button_padding_rect"; + type: SPACER; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_BUTTON_RIGHT_PADDING 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part{ + name: "elm.l_button"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT; + fixed: 1 1; + rel1 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";} + rel2 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";} + align: 0.0 0.0; + } + } + part{ + name: "elm.r_button"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT; + fixed: 1 1; + rel1 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";} + rel2 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";} + align: 1.0 0.0; + } + } + } + programs { + program { name: "focused"; + signal: "elm,state,focused"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.arrow_image"; + } + program { name: "unfocused"; + signal: "elm,state,unfocused"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.arrow_image"; + } + } +} + +group{ + name: "elm/colorselector/image/colorbar_0/default"; + images{ + image: "00_color_picker_color.png" COMP; + image: "00_color_picker_color_h.png" COMP; + } + parts{ + part{ + name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part{ + name: "colorbar_0_image"; + type: IMAGE; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 1; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "00_color_picker_color.png"; + } + description { + state: "landscape" 0.0; + inherit: "default" 0.0; + image.normal: "00_color_picker_color_h.png"; + } + } + } + programs { + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_0_image"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_0_image"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + action: STATE_SET "default" 0.0; + target: "colorbar_0_image"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + action: STATE_SET "default" 0.0; + target: "colorbar_0_image"; + } + } +} + +group{ + name: "elm/colorselector/image/colorbar_1/default"; + images{ + image: "00_color_picker_saturation.png" COMP; + image: "00_color_picker_saturation_h.png" COMP; + } + parts{ + part{ + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description{ + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part{ + name: "colorbar_1_image"; + type: IMAGE; + mouse_events: 1; + description{ + state: "default" 0.0; + visible: 1; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "00_color_picker_saturation.png"; + } + description { + state: "landscape" 0.0; + inherit: "default" 0.0; + image.normal: "00_color_picker_saturation_h.png"; + } + } + } + programs { + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_1_image"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_1_image"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + action: STATE_SET "default" 0.0; + target: "colorbar_1_image"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + action: STATE_SET "default" 0.0; + target: "colorbar_1_image"; + } + } +} + +group{ + name: "elm/colorselector/image/colorbar_2/default"; + images{ + image: "00_color_picker_brightness.png" COMP; + image: "00_color_picker_brightness_h.png" COMP; + } + parts{ + part{ + name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part{ + name: "colorbar_2_image"; + type: IMAGE; + mouse_events: 1; + description{ + state: "default" 0.0; + visible: 1; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "00_color_picker_brightness.png"; + } + description { + state: "landscape" 0.0; + inherit: "default" 0.0; + image.normal: "00_color_picker_brightness_h.png"; + } + } + } + programs { + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_2_image"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + action: STATE_SET "landscape" 0.0; + target: "colorbar_2_image"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + action: STATE_SET "default" 0.0; + target: "colorbar_2_image"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + action: STATE_SET "default" 0.0; + target: "colorbar_2_image"; + } + } +} + +group { + name: "elm/colorselector/item/default"; + images { + image: "00_color_picker_palette_focus.#.png" COMP; + image: "00_focus_01.#.png" COMP; + } + parts { + part { + name: "color_bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC; + } + } + part { name: "color_obj"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + } + part { + name: "focus_image"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC; + image.normal: "00_color_picker_palette_focus.#.png"; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "over1"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + color: 0 0 0 0; + } + } + part { name: "highlight"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_select"; + source: "elm"; + signal: "elm,state,selected"; + script { + set_state(PART:"focus_image", "focused", 0.0); + emit("elm,state,up", ""); + } + } + program { name: "item_unselect"; + source: "elm"; + signal: "elm,state,unselected"; + script { + set_state(PART:"focus_image", "default", 0.0); + } + } + program { name: "item_down"; + signal: "mouse,down,1"; + source: "over1"; + script { + emit("elm,state,down", ""); + } + } + program { name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "over1"; + script { + set_state(PART:"focus_image", "focused", 0.0); + emit("elm,state,up", ""); + } + } + program { name: "item_unfocus_all"; + source: "elm"; + signal: "elm,state,unhighlight"; + script { + set_state(PART:"focus_image", "default", 0.0); + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "over1"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "highlighted" 0.0; + target: "highlight"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + } +} + +group { + name: "elm/colorselector/item/color/default"; + images { + image: "00_color_picker_palette_bg_ef.#.png" COMP; + } + parts { + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_PALETTE_COLORBG_PADDING COLORSELECTOR_PALETTE_COLORBG_PADDING; + max: COLORSELECTOR_PALETTE_COLORBG_PADDING COLORSELECTOR_PALETTE_COLORBG_PADDING; + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description{ + state: "default" 0.0; + min: COLORSELECTOR_PALETTE_COLORBG_PADDING COLORSELECTOR_PALETTE_COLORBG_PADDING; + max: COLORSELECTOR_PALETTE_COLORBG_PADDING COLORSELECTOR_PALETTE_COLORBG_PADDING; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "color_rect"; + type: RECT; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + rel1.to: "left_top_padding"; + rel1.relative: 1.0 1.0; + rel2.to: "right_bottom_padding"; + rel2.relative: 0.0 0.0; + } + } + part { + name: "color_rect_effect"; + type: IMAGE; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + image.normal: "00_color_picker_palette_bg_ef.#.png"; + } + } + } +} + +group { + name: "elm/colorselector/item/colorplane"; + images { + image: "00_color_picker_select_box.#.png" COMP; + image: "00_color_picker_colorchip_shadow.#.png" COMP; + image: "00_color_picker_custom_colorchip.png" COMP; + } + parts { + part { + name: "color_bg"; + type: SPACER; + mouse_events:1; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC; + } + } + part { name: "color_obj"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + } + part { + name: "color_shadow"; + type: IMAGE; + mouse_events: 0; + description{ + state: "default" 0.0; + image.normal: "00_color_picker_colorchip_shadow.#.png"; + rel1.to: "color_obj"; + rel2.to: "color_obj"; + } + } + part { + name: "focus_image"; + description { + state: "default" 0.0; + visible: 0; + image.normal: "00_color_picker_select_box.#.png"; + rel1 { + to: "color_bg"; + offset: -4 -4; + } + rel2 { + to: "color_bg"; + offset: 3 3; + } + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "over1"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + color: 0 0 0 0; + } + } + part { + name: "color_custom_image"; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 0; + image.normal: "00_color_picker_custom_colorchip.png"; + image.border_scale: 1; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "color_custom_image"; + rel2.to: "color_custom_image"; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "highlight"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_select"; + source: "elm"; + signal: "elm,state,selected"; + script { + set_state(PART:"focus_image", "focused", 0.0); + emit("elm,state,up", ""); + set_state(PART:"color_custom_image", "default", 0.0); + set_state(PART:"over2", "default", 0.0); + } + } + program { name: "item_unselect"; + source: "elm"; + signal: "elm,state,unselected"; + script { + set_state(PART:"focus_image", "default", 0.0); + } + } + program { name: "item_down"; + signal: "mouse,down,1"; + source: "over1"; + script { + emit("elm,state,down", ""); + } + } + program { name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "over1"; + script { + set_state(PART:"focus_image", "focused", 0.0); + emit("elm,state,up", ""); + } + } + program { name: "custom_clicked"; + signal: "mouse,clicked,1"; + source: "color_custom_image"; + script { + emit("elm,state,image,clicked", ""); + } + } + program { name: "item_unfocus_all"; + source: "elm"; + signal: "elm,state,unhighlight"; + script { + set_state(PART:"focus_image", "default", 0.0); + } + } + program { name: "custom_image_show"; + source: ""; + signal: "elm,state,custom,show"; + action: STATE_SET "visible" 0.0; + target: "color_custom_image"; + target: "over2"; + } + program { name: "custom_image_hide"; + source: ""; + signal: "elm,state,custom,hide"; + action: STATE_SET "default" 0.0; + target: "color_custom_image"; + target: "over2"; + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "highlighted" 0.0; + target: "highlight"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "over1"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "touch_snd2"; + signal: "mouse,clicked,1"; + source: "over2"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "item_down2"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + set_state(PART:"focus_image", "focused", 0.0); + emit("elm,state,up", ""); + set_state(PART:"color_custom_image", "default", 0.0); + set_state(PART:"over2", "default", 0.0); + } + } + } +} + +group { + name: "elm/colorselector/item/color/colorplane"; + alias: "elm/colorselector/item/color/colorplane_landscape"; + parts { + part { + name: "color_rect"; + type: RECT; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + } + } + } +} + +group { + name: "elm/colorselector/colorplane/default"; + images { + image: "00_color_picker_color_box.png" COMP; + image: "00_color_picker_select_kit.#.png" COMP; + } + parts{ + part { + name: "base"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 COLORPLANE_MIN_HEIGHT; + } + } + part { + name: "colorplane_bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + aspect_preference: SOURCE; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "00_color_picker_color_box.png"; + } + } + part { + name: "padding_content_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_COLORPLANE_PADDING_COLORPLANE_BG; + align: 1.0 1.0; + fixed: 1 1; + rel1.to: "colorplane_bg"; + rel2 { + to: "colorplane_bg"; + relative: 0.0 0.0; + } + } + } + part { + name: "padding_content_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_COLORPLANE_PADDING_COLORPLANE_BG; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + to: "colorplane_bg"; + relative: 1.0 1.0; + } + rel2.to: "colorplane_bg"; + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "colorplane_bg"; + rel2.to: "colorplane_bg"; + color: 0 0 0 0; + } + } + part{ + name: "elm.touch"; + type: SPACER; + mouse_events: 0; + scale: 1; + description{ + state: "default" 0.0; + min: 1 1; + fixed: 1 1; + } + dragable { + confine: "colorplane_bg"; + x: 1 1 1; + y: 1 1 1; + } + } + part { + name: "elm.touch.image"; + type: IMAGE; + clip_to: "disclip"; + scale: 1; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_COLORPLANE_CONTROL_SIZE; + fixed: 1 1; + visible: 0; + rel1.to: "elm.touch"; + rel2.to: "elm.touch"; + image.normal: "00_color_picker_select_kit.#.png"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible:1; + } + } + part { + name: "access"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { state: "default" 0.0; + } + } + } //end parts + script { + public mouse_down_done = 0; + } + programs { + program { name: "touch_snd"; + signal: "mouse,up,1"; + source: "events"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "mouse_down"; + signal: "mouse,down,1"; + source: "events"; + script { + new x1, y1; + new x2, y2, w, h; + get_mouse(x1, y1); + get_geometry(PART:"colorplane_bg", x2, y2, w, h); + if ( w == 0) w = 1; + if ( h == 0) h = 1; + new x_offset = x1 - x2; + new y_offset = y1 - y2; + new Float:d_x = (1.0 *(x_offset)) / (w - 1); + new Float:d_y = (1.0 * (y_offset)) / (h - 1) ; + set_drag(PART:"elm.touch", d_x, d_y); + set_int(mouse_down_done, 1); + set_state(PART:"elm.touch.image", "visible", 0.0); + emit("changed", ""); + } + } + program { + name: "mouse_up"; + signal: "mouse,up,1"; + source: "events"; + script { + set_int(mouse_down_done, 0); + } + } + program { + name: "show"; + signal: "show"; + source: "elm"; + script { + set_state(PART:"elm.touch.image", "visible", 0.0); + } + } + program { + name: "hide"; + signal: "hide"; + source: "elm"; + script { + set_state(PART:"elm.touch.image", "default", 0.0); + } + } + program { + name: "mouse_move"; + signal: "mouse,move"; + source: "events"; + script { + new x1, y1; + new x2, y2, w, h; + if (get_int(mouse_down_done)) { + get_mouse(x1, y1); + get_geometry(PART:"colorplane_bg", x2, y2, w, h); + if ( w == 0) w = 1; + if ( h == 0) h = 1; + if (x1 < x2) x1 = x2; + if (x1 > (x2 + w - 1)) x1 = x2 + w - 1; + if (y1 < y2) y1 = y2; + if (y1 > (y2 + h - 1)) y1 = y2 + h -1; + new x_offset = x1 - x2; + new y_offset = y1 - y2; + new Float:d_x = (1.0 *(x_offset)) / (w - 1); + new Float:d_y = (1.0 * (y_offset)) / (h - 1) ; + set_drag(PART:"elm.touch", d_x, d_y); + emit("changed", ""); + } + } + } + } //end programs +} //end group diff --git a/2.2/widgets/conformant.edc b/2.2/widgets/conformant.edc new file mode 100755 index 0000000..a782ff2 --- /dev/null +++ b/2.2/widgets/conformant.edc @@ -0,0 +1,584 @@ +/* + * 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. + */ + +///////////////////////////////////////////////////////////////////////////// + group { name: "elm/conformant/base/default"; + script { + public indicator_effect = 0; //Indicator need effect + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + public indicator_overlap = 0; //check indicator overlap/nooverlap + public clipboard_disable = 0; //check clipboard enable/disable + public keypad_disable = 0; //check virtualkeypad enable/disable + public landscape = 0; //Landscape mode status + public portrait_overlap = 0; //save portrait_overlap mode + public portrait_opacity = 0; //save portrait_opacity + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "indicator_base"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "indicator_overlap_base"; + type: RECT; + description { state: "default" 0.0; //nooverlap + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 0; + } + description { state: "overlap" 0.0; //content start (0,0) + inherit: "default" 0.0; + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; //sip: enable + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.ug"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.dim"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "indicator_event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } + color: 0 0 0 0; + visible: 1; + } + } + part { name: "indicator_clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 -1.0; to: "indicator_base"; } + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "indicator_bg"; + type: RECT; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + color_class: "B031"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + } + part { name: "sip_area"; + type: RECT; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 0; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.swallow.virtualkeypad"; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.swallow.virtualkeypad"; + visible: 0; + } + description { state: "clipboard_on" 0.0; + inherit: "default" 0.0; + rel1.to_y: "elm.swallow.clipboard"; + rel2.to_y: "elm.swallow.clipboard"; + } + } + part { name: "clipboard_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.clipboard"; + rel2.to: "elm.swallow.clipboard"; + color: 0 0 0 255; + } + } + part { name: "elm.swallow.clipboard"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "virtualkeypad_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.virtualkeypad"; + rel2.to: "elm.swallow.virtualkeypad"; + color: 0 0 0 255; + } + } + part { name: "elm.swallow.virtualkeypad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "show_indicator"; //show indicator using effect + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"indicator_base", "default", 0.0); + //it is possible app call show after opacity call + /////Portrait + if (get_int(landscape) == 0) { + if (get_int(indicator_opacity) == 0) + run_program(PROGRAM:"opaque_state"); + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + } + /////Landscape + else + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"indicator_base", "hide", 0.0); + } + } + program { + name: "show_indicator_transition"; //show indicator using effect + action: STATE_SET "default" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "hide_indicator_transition"; //show indicator using effect + action: STATE_SET "hide" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "show_indicator_effect"; //show indicator using effect + signal: "indicator,show,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"show_indicator_transition"); + } + } + program { + name: "hide_indicator_effect"; //show indicator using effect + signal: "indicator,hide,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"hide_indicator_transition"); + } + } + program { + name: "opaque_state"; + script { + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + set_state(PART:"indicator_clipper", "default", 0.0); + if (get_int(indicator_overlap) == 0) + { + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + else + { + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + } + program { + name: "transparent_state"; + script { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + set_state(PART:"indicator_clipper", "hide", 0.0); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + } + } + + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if ((get_int(indicator_visible) == 1) && (get_int(landscape) == 0)) + run_program(PROGRAM:"opaque_state"); + } + } + program { + name: "transparent_indicator"; + signal: "elm,state,indicator,transparent"; + source: "elm"; + script { + set_int(indicator_opacity, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "overlap_indicator"; + signal: "elm,state,indicator,overlap"; + source: "elm"; + script { + set_int(indicator_overlap, 1); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + program { + name: "nooverlap_indicator"; + signal: "elm,state,indicator,nooverlap"; + source: "elm"; + script { + //Only portrait state get nooverlap mode + set_int(indicator_overlap, 0); + if (get_int(indicator_visible) == 1) + if (get_int(indicator_opacity) == 0) { //only opaque can be nooverlap + if (get_int(landscape) == 0) { //landscape should be overlap + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + } + } + } + program { name: "enable_clipboard"; + signal: "elm,state,clipboard,enable"; + source: ""; + script { + set_int(clipboard_disable, 0); + //set content state + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_clipboard"; + signal: "elm,state,clipboard,disable"; + source: ""; + script { + set_int(clipboard_disable, 1); + set_state(PART:"sip_area", "default", 0.0); + if (get_int(keypad_disable) == 1) + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "enable_virtualkeypad"; + signal: "elm,state,virtualkeypad,enable"; + source: ""; + script { + set_int(keypad_disable, 0); + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_virtualkeypad"; + signal: "elm,state,virtualkeypad,disable"; + source: ""; + script { + set_int(keypad_disable, 1); + if (get_int(clipboard_disable) == 1) + { + set_state(PART:"sip_area", "clipboard_on", 0.0); + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + } + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { + name: "change_to_landscape"; + script { + if (get_int(landscape) == 0) { + set_int(landscape, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape) == 1) { //content start (0, indicator height) + set_int(landscape, 0); + if (get_int(indicator_visible) == 1) { + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + else + run_program(PROGRAM:"opaque_state"); + } + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { + name: "clipboard_on"; + signal: "elm,state,clipboard,on"; + source: "elm"; + action: STATE_SET "clipboard_on" 0.0; + target: "sip_area"; + } + program { + name: "clipboard_off"; + signal: "elm,state,clipboard,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sip_area"; + } + program { name: "indicator_event_down"; + signal: "mouse,down,1"; + source: "indicator_event"; + action: SIGNAL_EMIT "elm,action,press" ""; + } + } + } + + group { name: "elm/conformant/base/without_resize"; + script { + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.indicator_area"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "elm.swallow.indicator_area"; + } + } + part { name: "indicator_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + color_class: "B031"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + } + programs { + program { + name: "show_indicator"; + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"elm.swallow.indicator", "default", 0.0); + if (get_int(indicator_opacity) == 0) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"elm.swallow.indicator", "hide", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + } + } + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if (get_int(indicator_visible) == 1) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + } + } diff --git a/2.2/widgets/copypaste.edc b/2.2/widgets/copypaste.edc new file mode 100644 index 0000000..4276782 --- /dev/null +++ b/2.2/widgets/copypaste.edc @@ -0,0 +1,55 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////// +#define IMAGE_GROUP(GROUP_NAME, IMAGE_NAME) \ + group { name: GROUP_NAME; \ + images.image: IMAGE_NAME COMP; \ + parts { \ + part { name: "image"; \ + description { \ + state: "default" 0.0; \ + visible: 1; \ + image.normal: IMAGE_NAME; \ + aspect: 1 1; \ + aspect_preference: BOTH; \ + } \ + } \ + } \ + } +/////////////////////////////////////////////////////////////////////////////// + +IMAGE_GROUP("elm/copypaste/clipboard/default", "copy&paste_icon_clipboard.png"); +IMAGE_GROUP("elm/copypaste/copy/default", "copy&paste_icon_copy.png"); +IMAGE_GROUP("elm/copypaste/cut/default", "copy&paste_icon_cut.png"); +IMAGE_GROUP("elm/copypaste/find/default", "copy&paste_icon_find.png"); +IMAGE_GROUP("elm/copypaste/paste/default", "copy&paste_icon_paste.png"); +IMAGE_GROUP("elm/copypaste/search/default", "copy&paste_icon_web_search.png"); +IMAGE_GROUP("elm/copypaste/select/default", "copy&paste_icon_select.png"); +IMAGE_GROUP("elm/copypaste/select_all/default", "copy&paste_icon_select_all.png"); +IMAGE_GROUP("elm/copypaste/share/default", "copy&paste_icon_share.png"); +IMAGE_GROUP("elm/copypaste/translate/default", "copy&paste_icon_translate.png"); + diff --git a/2.2/widgets/ctxpopup.edc b/2.2/widgets/ctxpopup.edc new file mode 100644 index 0000000..90319ae --- /dev/null +++ b/2.2/widgets/ctxpopup.edc @@ -0,0 +1,4097 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// +// +// ctxpopup +// +/////////////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/default"; + alias: "elm/ctxpopup/layout/copypaste"; + + data.item: "visible_maxw" (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7.2)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*7)+2); + + parts { + part { + name:"top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { + state: "show_up" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_down" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_MOVE_PAD_INC 0; + fixed: 1 0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { + state: "show_left" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_MOVE_PAD_INC 0; + fixed: 1 0; + align: 1 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_right" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} + rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} + align: 0.5 0.0; + } + description { + state: "show_down" 0.0; + rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} + rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} + align: 0.5 1.0; + } + description { + state: "show_left" 0.0; + rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} + rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} + align: 0.0 0.5; + } + description { + state: "show_right" 0.0; + rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} + rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} + align: 1.0 0.5; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + rel1 {to: "swallow"; relative: -0.2 -0.2; } + rel2 {to: "swallow"; relative: 1.2 1.2;} + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + set_state(PART:"top_padding", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "showdown"; + signal: "elm,state,show,down"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_down")) { + set_state(PART:"swallow", "show_down", 0.0); + set_state(PART:"bottom_padding", "show_down", 0.0); + } + } + after: "showdownend"; + } + program { + name: "showleft"; + signal: "elm,state,show,left"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_left")) { + set_state(PART:"swallow", "show_left", 0.0); + set_state(PART:"left_padding", "show_left", 0.0); + } + } + after: "showleftend"; + } + program { + name: "showright"; + signal: "elm,state,show,right"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_right")) { + set_state(PART:"swallow", "show_right", 0.0); + set_state(PART:"right_padding", "show_right", 0.0); + } + } + after: "showrightend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 0.5; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "top_padding"; + } + program { + name: "showdownend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "bottom_padding"; + } + program { + name: "showleftend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "left_padding"; + } + program { + name: "showrightend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "right_padding"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + target: "top_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hidedown"; + signal: "elm,state,hide,down"; + source: "elm"; + action: STATE_SET "show_down" 0.0; + target: "swallow"; + target: "bottom_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hideleft"; + signal: "elm,state,hide,left"; + source: "elm"; + action: STATE_SET "show_left" 0.0; + target: "swallow"; + target: "left_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hideright"; + signal: "elm,state,hide,right"; + source: "elm"; + action: STATE_SET "show_right" 0.0; + target: "swallow"; + target: "right_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; + transition: SIN_FAC 0.13 0.5; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + target: "top_padding"; + target: "bottom_padding"; + target: "left_padding"; + target: "right_padding"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/default"; + inherit: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5.2)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*5)+2); +} + +group { + name: "elm/ctxpopup/layout/landscape/copypaste"; + inherit: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" (CTXPOPUP_COPYPASTE_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC*2); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/more/default"; + + data.item: "visible_maxw" CTXPOPUP_MORE_WIDTH_MAX_INC; + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7.2)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*7)+1); + + parts { + part { + name:"top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { + state: "show_up" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1 {to_y: "top_padding"; relative: 0.0 1.0;} + align: 0.5 0.0; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + rel1 {to: "swallow"; relative: -0.2 -0.2; } + rel2 {to: "swallow"; relative: 1.2 1.2;} + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + set_state(PART:"top_padding", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; +// transition: SIN_FAC 0.25 0.5; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; +// transition: SIN_FAC 0.25 1.7; + target: "top_padding"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + target: "top_padding"; +// transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; +// transition: SIN_FAC 0.13 0.5; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + target: "top_padding"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/more/default"; + inherit: "elm/ctxpopup/layout/more/default"; + + data.item: "visible_maxw" CTXPOPUP_MORE_WIDTH_MAX_INC; + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5.2)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*4)+1); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/default"; + script { + public event_grab = 0; + } + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 0; + min: 1280 1280; + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "event_checker"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "mouse_down"; + signal: "mouse,down,1"; + source: "event_checker"; + script { + set_int(event_grab, 1); + } + } + program { + name: "mouse_drag"; + signal: "drag"; + source: "event_checker"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event_checker", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) { + set_int(event_grab, 0); + } + } + } + program { + name: "mouse_up"; + signal: "mouse,up,1"; + source: "event_checker"; + script { + if (get_int(event_grab)) + emit("elm,action,click", ""); + set_drag(PART:"event_checker", 0.0, 0.0); + } + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/copypaste"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 0; + min: 1280 1280; + align: 0.0 0.0; + visible: 1; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/default"; + alias: "elm/ctxpopup/base/copypaste"; + images { + image: "00_popup_bubble_bg_line.#.png" COMP; + image: "00_popup_bubble_bg_ef.#.png" COMP; + } + parts { + part { + name:"frame_shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + rel2 { relative: 0 0; } + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + rel1{relative: 1 1;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 0; + color_class: "B061L41"; + } + } + part { + name: "frame_line_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to: "frame_shadow_left_top_padding"; relative: 0.0 0.0;} + rel2 {to: "frame_shadow_right_bottom_padding"; relative: 1.0 1.0;} + image.normal: "00_popup_bubble_bg_line.#.png"; + color_class: "B061L42"; + } + } + part { + name: "frame_effect_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "frame_line_bg"; + rel2.to: "frame_line_bg"; + image.normal: "00_popup_bubble_bg_ef.#.png"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { name: "arrow_area_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 1 0.5; + rel1 { + relative: 1 1; + to_x:"arrow_left_top_padding"; + to_y: "ctxpopup_frame_left_top"; + } + rel2 { + relative: 1 0; + to_x:"arrow_left_top_padding"; + to_y:"ctxpopup_frame_right_bottom"; + } + } + } + part { name: "arrow_area_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0 0.5; + rel1 { + relative: 0 1; + to_x:"arrow_right_bottom_padding"; + to_y:"ctxpopup_frame_left_top"; + } + rel2 { + relative: 0 0; + to_x:"arrow_right_bottom_padding"; + to_y: "ctxpopup_frame_right_bottom"; + } + } + } + part { name: "arrow_area_up"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1; + rel1 { + relative: 1 1; + to_x: "ctxpopup_frame_left_top"; + to_y: "arrow_left_top_padding"; + } + rel2 { + relative: 0 1; + to_x:"ctxpopup_frame_right_bottom"; + to_y: "arrow_left_top_padding"; + } + } + } + part { name: "arrow_area_down"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 1 0; + to_x:"ctxpopup_frame_left_top"; + to_y:"arrow_right_bottom_padding"; + } + rel2 { + relative: 0 0; + to_x: "ctxpopup_frame_right_bottom"; + to_y:"arrow_right_bottom_padding"; + } + } + } + part { name: "elm.swallow.arrow_up"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_up"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_down"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_down"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_left"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_left"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_right"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_right"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { + name: "ctxpopup_frame_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";} + } + } + part { + name: "ctxpopup_frame_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";} + } + } + part { + name:"content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name:"content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "arrow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + } + } + part { + name: "arrow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/default"; + images { + image: "00_popup_bubble_tail_left.png" COMP; + image: "00_popup_bubble_tail_left_line.png" COMP; + image: "00_popup_bubble_tail_left_ef.png" COMP; + image: "00_popup_bubble_tail_right.png" COMP; + image: "00_popup_bubble_tail_right_line.png" COMP; + image: "00_popup_bubble_tail_right_ef.png" COMP; + image: "00_popup_bubble_tail_top.png" COMP; + image: "00_popup_bubble_tail_top_line.png" COMP; + image: "00_popup_bubble_tail_top_ef.png" COMP; + image: "00_popup_bubble_tail_bottom.png" COMP; + image: "00_popup_bubble_tail_bottom_line.png" COMP; + image: "00_popup_bubble_tail_bottom_ef.png" COMP; + } + parts { + part { + name: "ctxpopup_arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + image.normal: "00_popup_bubble_tail_left.png"; + color_class: "B061L41"; + } + description { + state: "right" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "00_popup_bubble_tail_right.png"; + color_class: "B061L41"; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + image.normal: "00_popup_bubble_tail_top.png"; + color_class: "B061L41"; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + image.normal: "00_popup_bubble_tail_bottom.png"; + color_class: "B061L41"; + } + } + part { + name: "ctxpopup_arrow_effect"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + image.normal: "00_popup_bubble_tail_left_ef.png"; + } + description { + state: "right" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "00_popup_bubble_tail_right_ef.png"; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + image.normal: "00_popup_bubble_tail_top_ef.png"; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + image.normal: "00_popup_bubble_tail_bottom_ef.png"; + } + } + part { + name: "ctxpopup_arrow_line"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + image.normal: "00_popup_bubble_tail_left_line.png"; + color_class: "B061L42"; + } + description { + state: "right" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "00_popup_bubble_tail_right_line.png"; + color_class: "B061L42"; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + image.normal: "00_popup_bubble_tail_top_line.png"; + color_class: "B061L42"; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + image.normal: "00_popup_bubble_tail_bottom_line.png"; + color_class: "B061L42"; + } + } + } + programs { + program { + name: "enable_left_arrow"; + signal: "elm,state,left"; + source: "elm"; + action: STATE_SET "left" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_line"; + target: "ctxpopup_arrow_effect"; + } + program { + name: "enable_right_arrow"; + signal: "elm,state,right"; + source: "elm"; + action: STATE_SET "right" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_line"; + target: "ctxpopup_arrow_effect"; + } + program { + name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_line"; + target: "ctxpopup_arrow_effect"; + } + program { + name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_line"; + target: "ctxpopup_arrow_effect"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/arrow/more/default"; } +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 1; + max: CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 CTXPOPUP_ITEM_HEIGHT_MAX_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: -1 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + rel2 {to: "separator"; relative: 0.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: CTXPOPUP_TEXT_MAX_INC (CTXPOPUP_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T122"; + text { + text_class: "T122"; + size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "elipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item_horizontal/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); + align: 0.5 0.5; + rel1 {relative: 1.0 0.0; to: "left_padding";} + rel2 {relative: 0.0 1.0; to: "right_padding";} + text { + text_class: "T126"; + size_range: CTXPOPUP_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0.5 0.5; + min: 1 1; + } + color_class: "T126"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T126P"; + color_class: "T126P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T126D"; + color_class: "T126D"; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + fixed: 1 1; + align: 1 1; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + scale: 1; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC); + max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel1 { relative: 1 0; to_x: "left_padding"; } + rel2 { relative: 0 1; to_x: "right_padding"; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B063L1"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B063L1P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + align: 1 1; + fixed: 1 1; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + target: "icon_clip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "icon_clip"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_ICON_TEXT_ITEM_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_WIDTH_MIN_INC 1; + max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_left_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + align: 0 0; + aspect: 1.0 1.0; + rel1 { to:"icon_left_padding"; relative: 1 1; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B063L1"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B063L1P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "icon_right_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + rel1 { to_x:"elm.swallow.icon"; to_y:"separator"; relative: 1 1; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) (CTXPOPUP_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "icon_right_top_padding";} + rel2 {relative: 0.0 0.0; to: "text_right_bottom_padding";} + color_class: "T122"; + text { + text_class: "T122"; + size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + } + part { + name: "text_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 0; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/copypaste"; + alias: "elm/ctxpopup/text_style_item_horizontal/copypaste"; + alias: "elm/ctxpopup/text_style_item/copypaste"; + alias: "elm/ctxpopup/icon_style_item/copypaste"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC-1) CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "icon_top_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC; + max: 1 CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC; + max: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC; + align: 0.5 0.0; + aspect: 1.0 1.0; + rel1 { relative: 0.0 1.0; to_y:"icon_top_padding"; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B063L1"; + } + description { + state: "clicked" 0.0; + inherit: "clicked" 0.0; + color_class: "B063L1D"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "icon_bottom_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC; + max: 1 CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC; + align: 0.5 0.0; + fixed: 1 1; + rel1 { relative: 0.0 1.0; to_y:"elm.swallow.icon"; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC*2) (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC-CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC-CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.0; + rel1 {relative: 1.0 1.0; to_x: "text_left_padding"; to_y: "icon_bottom_padding";} + rel2 {relative: 0.0 0.0; to_x: "text_right_padding"; to_y:"text_bottom_padding";} + color_class: "T1221"; + text { + size_range: CTXPOPUP_COPYPASTE_TEXT_SIZE_INC CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC; + align: 0.5 0.5; + min: 1 1; + text_class: "T1221"; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text { + min: 0 1; + text_class: "T1221P"; + } + color_class: "T1221P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "T1221D"; + text.text_class: "T1221D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC*2) (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC-CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC-CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC); + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T1221P"; + color_class: "T1221P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + color_class: "T1221D"; + text.text_class: "T1221D"; + } + } + part { + name: "text_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + max: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + fixed: 1 0; + align: 0.0 0.5; + } + } + part { + name: "text_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + max: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + fixed: 1 0; + align: 1.0 0.5; + } + } + part { + name: "text_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC; + max: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 0.5 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/more/default"; + images { + image: "00_popup_bubble_02_bg_line.#.png" COMP; + image: "00_popup_bubble_02_bg_ef.#.png" COMP; + } + parts { + part { + name:"frame_shadow_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING 0; + max: CTXPOPUP_SHADOW_LEFT_PADDING 0; + rel2 { relative: 0 0; } + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING 0; + max: CTXPOPUP_SHADOW_RIGHT_PADDING 0; + rel1{relative: 1 1;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to:"frame_shadow_left_padding"; relative: 1.0 1.0;} + rel2 {to:"frame_shadow_right_padding"; relative: 0.0 0.0;} + min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING) 0; + color_class: "B061L41"; + } + } + part { + name: "frame_line_effect"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to: "frame_shadow_left_padding"; relative: 0.0 0.0;} + rel2 {to: "frame_shadow_right_padding"; relative: 1.0 1.0;} + image.normal: "00_popup_bubble_02_bg_line.#.png"; + color_class: "B061L42"; + } + } + part { + name: "frame_bg_effect"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "frame_line_effect"; + rel2.to: "frame_line_effect"; + image.normal: "00_popup_bubble_02_bg_ef.#.png"; + } + } + part { name: "access.outline"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name:"content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel1 {to:"frame_shadow_left_padding"; relative: 1.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name:"content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH 0; + max: CTXPOPUP_CONTENT_PADDING_WIDTH 0; + rel2 {to:"frame_shadow_right_padding"; relative: 0.0 0.0;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/more/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_MORE_ITEM_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1; + max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: CTXPOPUP_MORE_TEXT_MAX_INC (CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "text_right_bottom_padding";} + color_class: "T122"; + text { + text_class: "T122"; + size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + } + part { + name: "text_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 0; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/transparent/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_ICON_TEXT_ITEM_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_WIDTH_MIN_INC 1; + max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_left_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) 1; + max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) 1; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + align: 0 0.5; + aspect: 1.0 1.0; + rel1 { to:"icon_left_padding"; relative: 1 0; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color: 255 255 255 255; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B063L1P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "icon_right_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + rel1 { to_x:"elm.swallow.icon"; to_y:"separator"; relative: 1 1; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) (CTXPOPUP_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "icon_right_top_padding";} + rel2 {relative: 0.0 0.0; to: "text_right_bottom_padding";} + color_class: "T122"; + text { + text_class: "T122"; + size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + } + part { + name: "text_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 0; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpoup/icon_style_item/transparent/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + scale: 1; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC); + max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel1 { relative: 1 0; to_x: "left_padding"; } + rel2 { relative: 0 1; to_x: "right_padding"; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color: 255 255 255 255; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B063L1P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) 1; + align: 1 1; + fixed: 1 1; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + target: "icon_clip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "icon_clip"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/transparent/more"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_MORE_ITEM_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1; + max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; + rel1 {to: "separator"; relative: 0.0 1.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) 1; + max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) 1; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0623L2"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC; + max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC; + align: 0 0.5; + aspect: 1.0 1.0; + rel1 { to:"icon_left_padding"; relative: 1 0; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color: 255 255 255 255; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B063L1P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B063L1D"; + } + } + part { + name: "icon_right_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + rel1 { to_x:"elm.swallow.icon"; to_y:"separator"; relative: 1 1; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: CTXPOPUP_MORE_TEXT_MAX_INC (CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "icon_right_top_padding";} + rel2 {relative: 0.0 0.0; to: "text_right_bottom_padding";} + color_class: "T122"; + text { + text_class: "T122"; + size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122P"; + color_class: "T122P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T122D"; + color_class: "T122D"; + } + } + part { + name: "text_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 0; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} diff --git a/2.2/widgets/datetime.edc b/2.2/widgets/datetime.edc new file mode 100644 index 0000000..137d8cf --- /dev/null +++ b/2.2/widgets/datetime.edc @@ -0,0 +1,633 @@ +/* + * 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. + */ +/////////////////////////////////////////////////////////////////////////////// +// datetime +/////////////////////////////////////////////////////////////////////////////// + +group { name: "elm/datetime/base/default"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 0 DATETIME_WIDGET_HEIGHT; + max: -1 DATETIME_WIDGET_HEIGHT; + } + } + part { + name: "date.btn"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { + state: "default" 0.0; + min: 0 0; + align: 0.0 0.5; + fixed: 1 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + } + } + part { + name: "center.padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { + state: "default" 0.0; + min: DATETIME_WIDGET_PADDING_SIZE_INC; + align: 0.0 0.5; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "date.btn"; + } + rel2 { + relative: 1.0 1.0; + to: "date.btn"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "time.btn"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { + state: "default" 0.0; + min: 0 0; + align: 0.0 0.5; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "center.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "center.padding"; + } + } + } + part { + name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 102; + } + } + part { + name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + script { + public center_padding_hidden = 0; //center padding shown/hidden status + } + programs { + program { + name: "disble_datetime"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "enable_datetime"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "date_hide"; + signal: "datepicker,hide"; + source: "elm"; + script { + set_int(center_padding_hidden, 0); + set_state(PART:"center.padding", "hidden", 0.0); + } + } + program { + name: "time_hide"; + signal: "timepicker,hide"; + source: "elm"; + script { + set_int(center_padding_hidden, 0); + set_state(PART:"center.padding", "hidden", 0.0); + } + } + program { + name: "date_show"; + signal: "datepicker,show"; + source: "elm"; + script { + set_int(center_padding_hidden, (get_int(center_padding_hidden) + 1)); + if (get_int(center_padding_hidden) == 2) + set_state(PART:"center.padding", "default", 0.0); + } + } + program { + name: "time_show"; + signal: "timepicker,show"; + source: "elm"; + script { + set_int(center_padding_hidden, (get_int(center_padding_hidden) + 1)); + if (get_int(center_padding_hidden) == 2) + set_state(PART:"center.padding", "default", 0.0); + } + } + } +} + +group { name: "elm/datetime/base/pickerstyle"; + parts { + part { + name: "date.btn"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + } + } + part { + name: "time.btn"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/spinner/base/default"; + alias: "elm/spinner/base/vertical"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} + +group { name: "elm/layout/datetime_popup/date_layout"; + + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_POPUP_CONTENT_SIZE_INC; + max: DATETIME_POPUP_CONTENT_SIZE_INC; + } + } + part { name: "top.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC; + max: -1 DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC; + fixed: 0 1; + rel1.to: "bg"; + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC; + max: -1 DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + align: 0.5 1.0; + } + } + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0; + max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 0.0 1.0; + to_x: "bg"; + to_y: "top.padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "bg"; + to_y: "bottom.padding"; + } + align: 0.0 0.5; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0; + max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel2.to: "bg"; + rel1 { + relative: 1.0 1.0; + to_x: "bg"; + to_y: "top.padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "bg"; + to_y: "bottom.padding"; + } + align: 1.0 0.5; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + } + part { name: "center.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "field0"; + } + rel2.to: "field0"; + align: 0.0 0.5; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "center.padding1"; + } + rel2 { + relative: 0.0 1.0; + to_x: "center.padding2"; + to_y: "center.padding1"; + } + } + } + part { name: "center.padding2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1.to: "field2"; + rel2 { + relative: 0.0 1.0; + to: "field2"; + } + align: 1.0 0.5; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; + rel1.to: "right.padding"; + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + align: 1.0 0.5; + } + } + part { + name: "event_area"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/layout/datetime_popup/time_layout"; + inherit: "elm/layout/datetime_popup/date_layout"; + + parts { + part { name: "hour.minute.color"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "center.padding1"; + rel2.to: "center.padding1"; + color_class: "T1233"; + text { + min: 0 0; + text_class: "T1233"; + text: ":"; + } + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; + max: -1 DATETIME_POPUP_CONTENT_FIELD_HEIGHT_INC; + rel1.to: "right.padding"; + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + align: 1.0 0.5; + } + } + } +} + +group { name: "elm/layout/datetime_popup/time_layout_24hr"; + inherit: "elm/layout/datetime_popup/date_layout"; + + parts { + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + } + part { name: "hour.minute.color"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "center.padding1"; + rel2.to: "center.padding1"; + color_class: "T1233"; + text { + min: 0 0; + text_class: "T1233"; + text: ":"; + } + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "center.padding1"; + } + rel2 { + relative: 0.0 1.0; + to: "center.padding2"; + } + } + } + part { name: "center.padding2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + rel1.to: "right.padding"; + rel2.to: "right.padding"; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + visible: 0; + rel1.to: "right.padding"; + rel2.to: "right.padding"; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } +} diff --git a/2.2/widgets/diskselector.edc b/2.2/widgets/diskselector.edc new file mode 100644 index 0000000..abbdd51 --- /dev/null +++ b/2.2/widgets/diskselector.edc @@ -0,0 +1,190 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// +// +// diskselector +// +/////////////////////////////////////////////////////////////////////////////////////// +group { name: "elm/diskselector/base/default"; + alias: "elm/diskselector/base/datetime/default"; + alias: "elm/diskselector/base/timepicker"; + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } +} + +group { name: "elm/diskselector/item/default"; + alias: "elm/diskselector/item/datetime/default"; + alias: "elm/diskselector/item/timepicker"; + + data { + item: "len_threshold" "14"; + item: "min_height" DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC; + } + + parts { + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC; + fixed: 1 1; + align: 0 0; + color: DISKSELECTOR_DF_FONT_COLOR_INC; + visible: 1; + text { + font: "Tizen:style=Medium"; + size: DISKSELECTOR_DF_FONT_SIZE_INC; + min: 1 1; + text_class: "tizen"; + } + } + description { + state: "selected" 0.0; + min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC; + fixed: 1 1; + align: 0 0; + color: 255 255 255 255; + visible: 1; + text { + font: "Tizen:style=Medium"; + size: DISKSELECTOR_DF_FONT_SIZE_INC; + min: 1 1; + text_class: "tizen"; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_small" 0.0; + inherit: "default" 0.0; + visible: 1; + text.size: 10; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "right_side" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "mouse_down" 0.0; + inherit: "default" 0.0; + color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC; + visible: 1; + } + description { state: "selected_mouse_down" 0.0; + inherit: "default" 0.0; + color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC; + visible: 1; + } + } + + part { + name: "over1"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + + programs { + program { + name: "elm,state,selected"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + } + program { + name: "elm,state,default"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "item_mouse_down"; + signal: "mouse,down,1"; + source: "over1"; + script { + new st[30]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl) + if (!strncmp(st, "selected", 8)) { + set_state(PART:"elm.text", "selected_mouse_down", 0.0); + } else { + set_state(PART:"elm.text", "mouse_down", 0.0); + } + } + } + program { + name: "item_mouse_up"; + signal: "mouse,up,1"; + source: "over1"; + script { + new st[30]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl) + if (!strncmp(st, "mouse_down", 10)) { + set_state(PART:"elm.text", "default", 0.0); + } else if (!strncmp(st, "selected_mouse_down", 19)) { + set_state(PART:"elm.text", "selected", 0.0); + } + } + } + } +} diff --git a/2.2/widgets/entry.edc b/2.2/widgets/entry.edc new file mode 100644 index 0000000..7d985f5 --- /dev/null +++ b/2.2/widgets/entry.edc @@ -0,0 +1,10236 @@ +/* + * 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. + */ + +#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" +#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" +#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" +#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" +#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" + +#define ENTRY_EDITFIELD_FOCUS_DATA \ + data.item: "focus_highlight" "on"; + +#define ENTRY_TOP_BOTTOM_PADDING( SIZE ) \ + part { name: "top_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: 0 SIZE; \ + align: 0.5 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 0.0; \ + } \ + } \ + part { name: "bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: 0 SIZE; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } + +#define ENTRY_TOP_BOTTOM_REL \ + rel1 { \ + to_y: "top_padding"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to_y: "bottom_padding"; \ + relative: 1.0 0.0; \ + } + +#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \ + rel1 { \ + to_x: "focus_left_padding"; \ + to_y: "top_padding";\ + relative: 1.0 1.0; \ + } \ + rel2 { \ + to_x: "clear_padding"; \ + to_y: "bottom_padding"; \ + relative: 0.0 0.0; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \ + script { \ + public scroll_enabled; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PARTS \ + part { name: "clear_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; \ + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; \ + } \ + } \ + part { name: "elm.swallow.clear"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 1; \ + rel1 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 1.0; \ + } \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PARTS \ + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) \ + part { name: "focus_bg"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 1; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + color_class: "F054"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F056"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F058"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_left_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 10 0; \ + max: 10 0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "focus_bg"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_bg"; \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_right_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 10 0; \ + max: 10 0; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + to_x: "focus_bg"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_rect_top"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; \ + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; \ + align: 0.0 0.0; \ + rel1 { \ + to: "focus_bg"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "F055"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_left"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: ENTRY_FOCUS_RECT_EDGE_INC 0; \ + max: ENTRY_FOCUS_RECT_EDGE_INC -1; \ + align: 0.0 0.0; \ + rel1 { \ + to: "focus_rect_top"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "F055"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_right"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: ENTRY_FOCUS_RECT_EDGE_INC 0; \ + max: ENTRY_FOCUS_RECT_EDGE_INC -1; \ + align: 1.0 0.0; \ + rel1 { \ + to: "focus_rect_top"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "F055"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_bottom"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; \ + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; \ + align: 0.0 1.0; \ + rel1 { \ + to: "focus_rect_left"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "focus_rect_right"; \ + relative: 0.0 1.0; \ + } \ + color_class: "F055"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART \ + part { name: "event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "event_rect"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PART \ + part { name: "scroller_event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "scroller_event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "scroller_event_rect"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \ + program { name: "scroll_enabled"; \ + signal: "elm,state,scroll,enabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 1); \ + set_state(PART:"focus_bg", "hidden", 0.0); \ + set_state(PART:"focus_rect_top", "hidden", 0.0); \ + set_state(PART:"focus_rect_left", "hidden", 0.0); \ + set_state(PART:"focus_rect_right", "hidden", 0.0); \ + set_state(PART:"focus_rect_bottom", "hidden", 0.0); \ + set_state(PART:"focus_left_padding", "hidden", 0.0); \ + set_state(PART:"focus_right_padding", "hidden", 0.0); \ + } \ + } \ + program { name: "scroll_disabled"; \ + signal: "elm,state,scroll,disabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 0); \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + set_state(PART:"focus_left_padding", "default", 0.0); \ + set_state(PART:"focus_right_padding", "default", 0.0); \ + } \ + } \ + program { name: "clear_show"; \ + signal: "elm,state,clear,visible"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "visible", 0.0); \ + set_state(PART:"clear_padding", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "clear_hide"; \ + signal: "elm,state,clear,hidden"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "default", 0.0); \ + set_state(PART:"clear_padding", "default", 0.0); \ + } \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PROGRAMS \ + program { name: "action_focus"; \ + signal: "elm,state,focus,on"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "focused", 0.0); \ + set_state(PART:"focus_rect_top", "focused", 0.0); \ + set_state(PART:"focus_rect_left", "focused", 0.0); \ + set_state(PART:"focus_rect_right", "focused", 0.0); \ + set_state(PART:"focus_rect_bottom", "focused", 0.0); \ + } \ + set_state(PART:"elm.text", "focused", 0.0); \ + } \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,state,focus,off"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + } \ + set_state(PART:"elm.text", "default", 0.0); \ + } \ + } \ + program { name: "enable_focus_bg"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + } \ + } \ + } \ + program { name: "disable_focus_bg"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "disabled", 0.0); \ + set_state(PART:"focus_rect_top", "disabled", 0.0); \ + set_state(PART:"focus_rect_left", "disabled", 0.0); \ + set_state(PART:"focus_rect_right", "disabled", 0.0); \ + set_state(PART:"focus_rect_bottom", "disabled", 0.0); \ + } \ + } \ + } + +#define ENTRY_SOUND_PROGRAM \ + program { name: "touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "elm.text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (strcmp(st, "disabled")) \ + run_program(PROGRAM:"play_sound"); \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +group { name: "elm/entry/emoticon/angry/default"; images.image: + "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-worried.png"; } } } } + +group { name: "elm/entry/base/default"; + alias: "elm/entry/base-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data.item: "focus_highlight" "on"; + styles { + style { name: "entry_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin=1 right_margin=2 wrap=mixed text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin=1 right_margin=2 wrap=mixed text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 left_margin=1 right_margin=2 wrap=mixed text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin=1 right_margin=2 wrap=mixed text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-charwrap/default"; + alias: "elm/entry/base/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin=1 right_margin=2 text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=char left_margin=1 right_margin=2 text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-nowrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base/editfield"; + alias: "elm/entry/base-mixedwrap/editfield"; + alias: "elm/entry/base/editfield/default"; + alias: "elm/entry/base/editfield/lighting"; + alias: "elm/entry/base/editfield/multiline"; + alias: "elm/entry/base/editfield/multiline/default"; + alias: "elm/entry/base/editfield/multiline/lighting"; + alias: "elm/entry/base/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=mixed left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=mixed left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=mixed left_margin=1 right_margin=2 text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin=1 right_margin=2 ellipsis=1.0 text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_style"; + min: 0 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_focused_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_disabled_style"; + min: 0 1; + max: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield"; + alias: "elm/entry/base-noedit-mixedwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/default"; + alias: "elm/entry/base-noedit/editfield/lighting"; + alias: "elm/entry/base-noedit/editfield/multiline"; + alias: "elm/entry/base-noedit/editfield/multiline/default"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting"; + inherit: "elm/entry/base/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base/editfield/fixed_size"; + alias: "elm/entry/base-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/multiline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=mixed left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=mixed left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=mixed left_margin=1 right_margin=2 text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin=1 right_margin=2 ellipsis=1.0 text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield/fixed_size"; + alias: "elm/entry/base-noedit-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/fixed_size"; + inherit: "elm/entry/base/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield"; + alias: "elm/entry/base/editfield/char_wrap"; + alias: "elm/entry/base/editfield/default/char_wrap"; + alias: "elm/entry/base/editfield/lighting/char_wrap"; + alias: "elm/entry/base/editfield/multiline/char_wrap"; + alias: "elm/entry/base/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base/editfield/multiline/lighting/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin=1 right_margin=2 text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin=1 right_margin=2 ellipsis=1.0 text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/char_wrap"; + alias: "elm/entry/base-noedit/editfield/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/lighting/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting/char_wrap"; + inherit: "elm/entry/base-charwrap/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base/editfield/multiline/char_wrap/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin=1 right_margin=2 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin=1 right_margin=2 text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin=1 right_margin=2 ellipsis=1.0 text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap/fixed_size"; + inherit: "elm/entry/base-charwrap/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield"; + alias: "elm/entry/base-single/editfield/default"; + alias: "elm/entry/base-single/editfield/lighting"; + alias: "elm/entry/base-single/editfield/singleline"; + alias: "elm/entry/base-single/editfield/singleline/default"; + alias: "elm/entry/base-single/editfield/singleline/lighting"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield"; + alias: "elm/entry/base-single-noedit/editfield/default"; + alias: "elm/entry/base-single-noedit/editfield/lighting"; + alias: "elm/entry/base-single-noedit/editfield/singleline"; + alias: "elm/entry/base-single-noedit/editfield/singleline/default"; + alias: "elm/entry/base-single-noedit/editfield/singleline/lighting"; + inherit: "elm/entry/base-single/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/fixed_size"; + alias: "elm/entry/base-single/editfield/singleline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/singleline/fixed_size"; + inherit: "elm/entry/base-single/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1064 wrap=none left_margin=1 right_margin=3 text_class=T1064"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1063 wrap=none left_margin=1 right_margin=3 text_class=T1063"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1065 wrap=none left_margin=1 right_margin=3 text_class=T1065"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1061 wrap=none left_margin=1 right_margin=3 text_class=T1061 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1062 wrap=none left_margin=1 right_margin=3 text_class=T1062 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/default"; + inherit: "elm/entry/base-single/editfield/searchbar/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single/editfield/popup"; + alias: "elm/entry/base-single/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1064 wrap=none left_margin=1 right_margin=3 text_class=T1064"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1063 wrap=none left_margin=1 right_margin=3 text_class=T1063"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1065 wrap=none left_margin=1 right_margin=3 text_class=T1065"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1061 wrap=none left_margin=1 right_margin=3 text_class=T1061 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1062 wrap=none left_margin=1 right_margin=3 text_class=T1062 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/popup"; + alias: "elm/entry/base-single-noedit/editfield/password/popup"; + inherit: "elm/entry/base-single/editfield/searchbar/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + + group { name: "elm/entry/base-noedit-charwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-noedit-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-nowrap-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-password/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } + } + + group { name: "elm/entry/base-password/list"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "entry_single_textblock_list_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 align=center wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_list_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 align=center wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_list_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 align=center wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_list_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; + color_class: "F054"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F056"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F058"; + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 1; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_list_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_list_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } + } + + group { name: "elm/entry/base-single/list"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; + color_class: "F054"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F056"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F058"; + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 1; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_list_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_list_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } + } + + group { name: "elm/entry/base-single-noedit/list"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; + color_class: "F054"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F056"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F058"; + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 1; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_list_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_list_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_list_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } + } + + group { name: "elm/entry/base-password/editfield"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-password/editfield/popup"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-password/editfield/fixed_size"; + inherit: "elm/entry/base-password/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_single_textblock_fixed_size_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_disabled_style"; + } + } + } + } + } + +group { name: "elm/entry/base-password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles + { + style { name: "entry_single_textblock_popup_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1231 align=center wrap=mixed ellipsis=1.0 text_class=T1231"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_focused_popup_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1231P align=center wrap=mixed ellipsis=1.0 text_class=T1231P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_disabled_popup_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1231D align=center wrap=mixed ellipsis=1.0 text_class=T1231D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_popup_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1231 align=center wrap=mixed ellipsis=1.0 text_class=T1231"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_popup_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "entry_single_textblock_popup_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_popup_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_popup_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + + group { name: "elm/entry/cursor/default"; + parts { + part { name: "clip2"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clip"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.offset: -10 0; + rel2.offset: 9 9; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: 4 0; + align: 0.5 1.0; + color: 0 0 0 0; + } + } + + part { name: "glow"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + min: 4 0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 0 -2; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -2; + } + color_class: "F052"; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "show"; + action: STATE_SET "hidden" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show"; + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "clip2"; + after: "show4"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + after: "stop_glow"; + } + program { name: "stop_glow"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + } + program { name: "show_cursor"; + signal: "elm,action,show,cursor"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + after: "show_cursor1"; + } + program { name: "show_cursor1"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "show"; + } + } + } + + + group { name: "elm/entry/selection/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "F060"; + } + } + } + } + + group { name: "elm/entry/selection/block_handle_left"; + data.item: "height" "79"; + data.item: "gap" "32"; + images { + image: "copy&paste_Handler_left.png" COMP; + image: "copy&paste_Handler_left_01.png" COMP; + image: "copy&paste_Handler_left_reverse.png" COMP; + image: "copy&paste_Handler_left_01_reverse.png" COMP; + } + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + image { + normal: "copy&paste_Handler_left_01.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 1; + image { + normal: "copy&paste_Handler_left.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 0; + image { + normal: "copy&paste_Handler_left_01_reverse.png"; + } + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 1; + image { + normal: "copy&paste_Handler_left_reverse.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public handler_disabled; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 1); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 0); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "disabled"; + signal: "app,selection,handler,disable"; + source: "app"; + script { + set_int(handler_disabled, 1); + } + } + program { name: "enabled"; + signal: "app,selection,handler,enable"; + source: "app"; + script { + set_int(handler_disabled, 0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_right"; + data.item: "height" "79"; + data.item: "gap" "32"; + images { + image: "copy&paste_Handler_right.png" COMP; + image: "copy&paste_Handler_right_01.png" COMP; + image: "copy&paste_Handler_right_reverse.png" COMP; + image: "copy&paste_Handler_right_01_reverse.png" COMP; + } + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + image { + normal: "copy&paste_Handler_right.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 1; + image { + normal: "copy&paste_Handler_right_01.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 0; + image { + normal: "copy&paste_Handler_right_reverse.png"; + } + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 1; + image { + normal: "copy&paste_Handler_right_01_reverse.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public handler_disabled; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 1); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 0); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "disabled"; + signal: "app,selection,handler,disable"; + source: "app"; + script { + set_int(handler_disabled, 1); + } + } + program { name: "enabled"; + signal: "app,selection,handler,enable"; + source: "app"; + script { + set_int(handler_disabled, 0); + } + } + } + } + + group { name: "elm/entry/cursor_handle/default"; + images { + image: "copy&paste_Handler_center.png" COMP; + image: "copy&paste_Handler_center_reverse.png" COMP; + } + parts { + part { name: "sens"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1 { relative: -0.25 0.0; to: "handle";} + rel2 { relative: 1.25 1.0; to: "handle";} + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "handle"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + max: 59 86; + min: 59 86; + align: 0 0; + visible: 0; + align: 0.5 0; + image { + normal: "copy&paste_Handler_center.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + image { + normal: "copy&paste_Handler_center_reverse.png"; + border: 0 0 0 0; + } + } + } + } + script { + public on_top; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + new on_top_val = get_int(on_top); + if (on_top_val) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "show", 0.0); + } + set_state(PART:"sens", "show", 0.0); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"sens", "default", 0.0); + } + } + program { name: "show"; + signal: "edje,cursor,handle,show"; + source: "edje"; + script { + set_int(on_top, 0); + set_state(PART:"handle", "show", 0.0); + set_state(PART:"sens", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,cursor,handle,hide"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"sens", "default", 0.0); + } + } + program { name: "top"; + signal: "edje,cursor,handle,top"; + source: "edje"; + script { + set_int(on_top, 1); + set_state(PART:"handle", "top", 0.0); + set_state(PART:"sens", "show", 0.0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_edge_left"; + parts { + part { name: "align"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0 0; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 0; + color: ENTRY_SELECTION_EDGE_COLOR; + min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; + max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; + rel2 { relative: 0 1; to_x: "align"; } + align: 0 0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_state(PART:"bg", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"bg", "default", 0.0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_edge_right"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: ENTRY_SELECTION_EDGE_COLOR; + min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; + max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_state(PART:"bg", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"bg", "default", 0.0); + } + } + } + } + + group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: SPACER; + description { state: "default" 0.0; + } + } + } + } + + group { name: "elm/entry/preedit/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 128 128 255; + } + } + } + } + + +#define MAGNIFIER_SCALE 1.5 + + group { name: "elm/entry/magnifier/fixed-size"; + data.item: "height" MAGNIFIER_HEIGHT_FIXED; + data.item: "scale" MAGNIFIER_SCALE; + data.item: "arrow" 30; + images { + image: "copy&paste_Magnifier.#.png" COMP; + image: "copy&paste_Magnifier_mask.#.png" COMP; + } + parts { + part { name: "bg_mask"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "copy&paste_Magnifier_mask.#.png"; + color_class: "B011"; + } + description { state: "custom_cc" 0.0; + inherit: "default" 0.0; + color_class: "mgf_custom_cc"; + } + } + part { name: "bg"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED; + image.normal: "copy&paste_Magnifier.#.png"; + align: 0.0 0.0; + } + } + part { name: "left_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 11 11; + max: 11 11; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + align: 0.0 0.0; + } + } + part { name: "right_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 11 30; + max: 11 30; + rel1 { + to: "bg"; + relative: 1.0 1.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 1.0 1.0; + } + } + part { name: "swallow"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "left_offset"; + relative: 1.0 1.0; + } + rel2 { + to: "right_offset"; + relative: 0.0 0.0; + } + } + } + } + script { + public message(Msg_Type:type, id, ...) { + if (type == MSG_INT_SET) { + new r, g, b, a; + + r = getarg(2); + g = getarg(3); + b = getarg(4); + a = getarg(5); + + set_state(PART:"bg_mask", "custom_cc", 0.0); + set_color_class("mgf_custom_cc", r, g, b, a); + } + } + } + } + + group { name: "elm/entry/matchlist/default"; + data.item: "max_height" "230"; + parts { + part { name: "base"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 20; + } + rel2 { + relative: 1.0 1.0; + offset: 0 20; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + } + } + +/* Entry's bubble style */ + +styles { + style { + name: "entry_bubble_date_area_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=2 right_margin=2 wrap=mixed text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { + name: "entry_bubble_sent_textblock_style"; + base: "font=Tizen:style=Regular style="ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_SENT_TEXT_COLOR" color_class=T0218 left_margin=1 right_margin=2 wrap=mixed text_class=T0218"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { + name: "entry_bubble_receive_textblock_style"; + base: "font=Tizen:style=Regular style="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_RECEV_TEXT_COLOR" color_class=T0217 left_margin=1 right_margin=2 wrap=mixed text_class=T0217"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } +} + + group { name: "elm/entry/base/readmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "bubble_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T0221 left_margin=1 right_margin=2 wrap=mixed text_class=T0221"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "bubble_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 left_margin=1 right_margin=2 wrap=mixed text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + } + parts { + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_EX_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 0.0 1.0; + } + } + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_IX_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2.to: "elm.text"; + } + } + part { + name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.bottom.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 1.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + rel2.to_x: "elm.rect.right.pad"; + image { + normal: "00_messagebubble_bg_receive_bg.#.png"; + } + color_class: "W055"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0551"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection +// source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } + rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } + text { + style: "bubble_textblock_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "bubble_textblock_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + } + } + + group { name: "elm/entry/base-noedit/readmessage"; + parts { + part { + name: "elm.bubble.callerid.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { + state: "callerid_on" 0.0; + inherit: "default" 0.0; + min: ENTRY_BUBBLE_CALLERID_PAD 0; + } + } + part { + name: "elm.callerid.icon.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; + fixed: 1 1; + } + } + part { + name: "elm.swallow.callerid"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; + max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.callerid.icon.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.callerid.icon.pad"; + relative: 1.0 0.0; + } + visible: 0; + } + description { state: "callerid_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.callerid.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "callerid_on" 0.0; + rel1 { + to: "elm.swallow.callerid"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.callerid"; + relative: 0.0 1.0; + } + align: 0.0 0.0; + min: 0 0; + } + } + part { + name: "elm.bubble.groupchat.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.bubble.callerid.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.bubble.callerid.pad"; + relative: 1.0 0.0; + } + align: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { + state: "groupchat_on"; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; + } + } + part { + name: "elm.groupchat.text.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.bubble.groupchat.pad"; + rel2 { + to: "elm.bubble.groupchat.pad"; + relative: 0.0 1.0; + } + align: 0.0 0.5; + min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; + fixed: 1 0; + } + } + part { + name: "elm.text.groupchat"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + text { + font: "Tizen:style=Regular"; + size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; + align: 0.0 0.0; + text_class: "tizen"; + min: 1 1; + } + rel1 { + to: "elm.groupchat.text.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.groupchat.text.pad"; + relative: 1.0 0.0; + } + color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; + visible: 0; + } + description { state: "groupchat_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.bubble.status.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + min: ENTRY_BUBBLE_STATUS_PAD 0; + fixed: 1 0; + } + } + part { + name: "elm.bubble.lefttop.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.bubble.callerid.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 1.0 1.0; + } + rel2 { + to_x: "elm.bubble.callerid.pad"; + to_y: "elm.bubble.groupchat.pad"; + } + align: 0.0 0.0; + min: ENTRY_BUBBLE_READ_LEFTTOP_PAD; + fixed: 1 1; + } + } + part { + name: "elm.bubble.righttop.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.bubble.status.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.bubble.status.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + min: ENTRY_BUBBLE_READ_RIGHTTOP_PAD; + fixed: 1 1; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.bubble.lefttop.pad"; + rel2.to: "elm.bubble.rightbottom.pad"; + image { + normal: "00_messagebubble_bg_receive_bg.#.png"; + } + color_class: "W055"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0551"; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { + state: "default" 0.0; + align: 0.0 0.0; + min: ENTRY_BUBBLE_TEXT_MIN; + rel1 { + to: "elm.bubble.lefttop.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.bubble.righttop.pad"; + relative: 0.0 1.0; + } + text { + style: "entry_bubble_receive_textblock_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.rect.middle.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2.to: "elm.text"; + align: 0.5 0.0; + min: 0 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_MIDDLE_PAD; + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.rect.middle.pad"; + relative: 0.0 1.0; + } + rel2.to: "elm.rect.middle.pad"; + align: 0.0 0.0; + } + } + part { + name: "elm.bubble.rightbottom.pad"; + type: SPACER; + scale: 1; + description { + rel1 { + to: "elm.swallow.end"; + relative: 1.0 1.0; + } + rel2.to: "elm.swallow.end"; + align: 0.0 0.0; + min: ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD; + fixed: 1 1; + } + } + part { + name: "elm.icon.top.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.bubble.rightbottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.bubble.rightbottom.pad"; + relative: 0.0 1.0; + } + min: 0 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; + } + } + part { + name: "elm.swallow.icon1"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.text"; + to_y: "elm.icon.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.text"; + to_y: "elm.icon.top.pad"; + relative: 0.0 1.0; + } + min: 0 0; + align: 0.0 0.0; + visible: 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.icon.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.icon1"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.icon1"; + relative: 1.0 1.0; + } + min: ENTRY_BUBBLE_ICON_PAD 0; + align: 0.0 0.5; + } + } + part { + name: "elm.swallow.icon2"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.icon.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.icon.pad"; + relative: 1.0 1.0; + } + min: 0 0; + align: 0.0 0.5; + visible: 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.bottom.pad"; + type: SPACER; + scale: 1; + description { + rel1 { + to_y: "elm.swallow.icon1"; + relative: 0.0 1.0; + } + min: 0 0; + } + } + part { + name: "elm.status.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.bubble.rightbottom.pad"; + relative: 1.0 1.0; + } + rel2.to: "elm.bubble.rightbottom.pad"; + min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "elm.text.time"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color_class: "T0220"; + text { + text_class: "T0220"; + min: 1 1; + align: 0.0 1.0; + } + rel1 { + to: "elm.status.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.status.pad"; + relative: 1.0 0.0; + } + align: 0.0 1.0; + min: ENTRY_BUBBLE_STATUS_TIME_SIZE; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.status"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color_class: "T0220"; + text { + text_class: "T0220"; + min: 0 1; + align: 0.0 1.0; + } + rel1.to: "elm.text.time"; + rel2 { + to: "elm.text.time"; + relative: 1.0 0.0; + } + align: 0.0 1.0; + min: ENTRY_BUBBLE_STATUS_TIME_SIZE; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.swallow.status"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.status.pad"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.status.pad"; + relative: 1.0 0.0; + } + align: 0.0 1.0; + fixed: 1 1; + visible: 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + program { name: "go_callerid_on"; + signal: "elm,state,callerid,enabled"; + source: "elm"; + action: STATE_SET "callerid_on" 0.0; + target: "elm.bubble.callerid.pad"; + target: "elm.swallow.callerid"; + target: "elm.callerid.bottom.pad"; + } + program { name: "go_callerid_off"; + signal: "elm,state,callerid,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bubble.callerid.pad"; + target: "elm.swallow.callerid"; + target: "elm.callerid.bottom.pad"; + } + program { name: "go_groupchat_on"; + signal: "elm,state,groupchat,enabled"; + source: "elm"; + action: STATE_SET "groupchat_on" 0.0; + target: "elm.bubble.groupchat.pad"; + target: "elm.text.groupchat"; + } + program { name: "go_groupchat_off"; + signal: "elm,state,groupchat,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bubble.groupchat.pad"; + target: "elm.text.groupchat"; + } + program { name: "go_textstatus_on"; + signal: "elm,state,text,status,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.time"; + target: "elm.text.status"; + after: "go_contentstatus_off"; + } + program { name: "go_textstatus_off"; + signal: "elm,state,text,status,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text.time"; + target: "elm.text.status"; + } + program { name: "go_contentstatus_on"; + signal: "elm,state,content,status,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "elm.swallow.status"; + after: "go_textstatus_off"; + } + program { name: "go_contentstatus_off"; + signal: "elm,state,content,status,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.status"; + } + program { name: "show_middle_pad"; + signal: "elm,state,middle,pad,enabled"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "elm.rect.middle.pad"; + } + program { name: "hide_middle_pad"; + signal: "elm,state,middle,pad,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.rect.middle.pad"; + } + program { name: "go_contents_on"; + signal: "elm,state,contents,enabled"; + source: "elm"; + action: STATE_SET "contents_on" 0.0; + target: "elm.icon.top.pad"; + target: "elm.swallow.icon1"; + target: "elm.swallow.icon2"; + } + program { name: "go_contents_off"; + signal: "elm,state,contents,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.top.pad"; + target: "elm.swallow.icon1"; + target: "elm.swallow.icon2"; + } + } + } + + group { name: "elm/entry/base-noedit-charwrap/readmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_EX_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 0.0 1.0; + } + } + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_IX_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to_x: "elm.text"; } + rel2.to_x: "elm.text"; + } + } + part { + name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.bottom.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 1.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel2.to_x: "elm.rect.right.pad"; + image { + normal: "00_messagebubble_bg_receive_bg.#.png"; + } + color_class: "W055"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0551"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } + rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + } + } + + group { name: "elm/entry/base/sentmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_EX_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_IX_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; to: "elm.text"; } + rel2 { relative: 0.0 1.0; to: "elm.text"; } + } + } + part { + name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.bottom.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 1.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to_x: "elm.rect.left.pad"; + image { + normal: "00_messagebubble_bg_sent_bg.#.png"; + } + color_class: "W054"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0541"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under +// source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} + rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } + text { + style: "bubble_textblock_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "bubble_textblock_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + } + } + + group { name: "elm/entry/base-noedit/sentmessage"; + parts { + part { + name: "elm.bubble.callerid.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { state: "callerid_on"; + inherit: "default" 0.0; + min: ENTRY_BUBBLE_CALLERID_PAD 0; + } + } + part { + name: "elm.callerid.icon.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; + fixed: 1 1; + } + } + part { + name: "elm.swallow.callerid"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; + max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1.to: "elm.callerid.icon.pad"; + rel2 { + to: "elm.callerid.icon.pad"; + relative: 0.0 0.0; + } + visible: 0; + } + description { state: "callerid_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.callerid.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "callerid_on" 0.0; + rel1 { + to: "elm.swallow.callerid"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.callerid"; + relative: 0.0 1.0; + } + align: 0.0 0.0; + min: 0 0; + } + } + part { + name: "elm.bubble.groupchat.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.bubble.callerid.pad"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.bubble.callerid.pad"; + relative: 0.0 0.0; + } + align: 1.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { + state: "groupchat_on"; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; + } + } + part { + name: "elm.groupchat.text.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.bubble.groupchat.pad"; + relative: 1.0 0.0; + } + rel2.to: "elm.bubble.groupchat.pad"; + align: 1.0 0.5; + min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; + fixed: 1 0; + } + } + part { + name: "elm.text.groupchat"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + text { + font: "Tizen:style=Regular"; + size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; + align: 1.0 0.0; + text_class: "tizen"; + min: 1 1; + } + rel1.to: "elm.groupchat.text.pad"; + rel2 { + to: "elm.groupchat.text.pad"; + relative: 0.0 0.0; + } + color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; + visible: 0; + } + description { state: "groupchat_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.bubble.status.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: ENTRY_BUBBLE_STATUS_PAD 0; + fixed: 1 0; + } + } + part { + name: "elm.bubble.lefttop.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.bubble.status.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 1.0 1.0; + } + rel2 { + to_x: "elm.bubble.status.pad"; + to_y: "elm.bubble.groupchat.pad"; + } + align: 0.0 0.0; + min: ENTRY_BUBBLE_SENT_LEFTTOP_PAD; + fixed: 1 1; + } + } + part { + name: "elm.bubble.righttop.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.bubble.callerid.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.bubble.callerid.pad"; + to_y: "elm.bubble.groupchat.pad"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + min: ENTRY_BUBBLE_SENT_RIGHTTOP_PAD; + fixed: 1 1; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.bubble.leftbottom.pad"; + to_y: "elm.bubble.lefttop.pad"; + } + rel2 { + to_x: "elm.bubble.righttop.pad"; + to_y: "elm.bubble.leftbottom.pad"; + } + image { + normal: "00_messagebubble_bg_sent_bg.#.png"; + } + color_class: "W054"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0541"; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { + state: "default" 0.0; + align: 1.0 0.0; + min: ENTRY_BUBBLE_TEXT_MIN; + rel1 { + to: "elm.bubble.lefttop.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.bubble.righttop.pad"; + relative: 0.0 1.0; + } + text { + style: "entry_bubble_sent_textblock_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.rect.middle.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2.to: "elm.text"; + align: 0.5 0.0; + min: 0 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_MIDDLE_PAD; + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.rect.middle.pad"; + relative: 0.0 1.0; + } + rel2.to: "elm.rect.middle.pad"; + align: 1.0 0.0; + } + } + part { + name: "elm.bubble.leftbottom.pad"; + type: SPACER; + scale: 1; + description { + rel1 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + min: ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD; + fixed: 1 1; + } + } + part { + name: "elm.icon.top.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.bubble.leftbottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.bubble.leftbottom.pad"; + relative: 0.0 1.0; + } + min: 0 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; + } + } + part { + name: "elm.swallow.icon1"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.text"; + to_y: "elm.icon.top.pad"; + relative: 1.0 1.0; + } + rel2 { + to_x: "elm.text"; + to_y: "elm.icon.top.pad"; + } + min: 0 0; + align: 1.0 0.0; + visible: 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.icon.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.icon1"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.icon1"; + relative: 0.0 1.0; + } + min: ENTRY_BUBBLE_ICON_PAD 0; + align: 1.0 0.5; + } + } + part { + name: "elm.swallow.icon2"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.icon.pad"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.icon.pad"; + relative: 0.0 1.0; + } + min: 0 0; + align: 1.0 0.5; + visible: 0; + } + description { + state: "contents_on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.bottom.pad"; + type: SPACER; + scale: 1; + description { + rel1 { + to_y: "elm.swallow.icon1"; + relative: 0.0 1.0; + } + min: 0 0; + } + } + part { + name: "elm.status.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.bubble.leftbottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.bubble.leftbottom.pad"; + relative: 0.0 1.0; + }; + min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { name: "elm.text.time"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color_class: "T0220"; + text { + text_class: "T0220"; + min: 1 1; + align: 1.0 1.0; + } + rel1.to: "elm.status.pad"; + rel2 { + to: "elm.status.pad"; + relative: 0.0 0.0; + } + align: 1.0 1.0; + min: ENTRY_BUBBLE_STATUS_TIME_SIZE; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.status"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color_class: "T0220"; + text { + text_class: "T0220"; + min: 0 1; + align: 1.0 1.0; + } + rel1.to: "elm.text.time"; + rel2 { + to: "elm.text.time"; + relative: 1.0 0.0; + } + align: 1.0 1.0; + min: ENTRY_BUBBLE_STATUS_TIME_SIZE; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.swallow.status"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.status.pad"; + rel2 { + to: "elm.status.pad"; + relative: 0.0 0.0; + } + align: 1.0 1.0; + fixed: 1 1; + visible: 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + program { name: "go_callerid_on"; + signal: "elm,state,callerid,enabled"; + source: "elm"; + action: STATE_SET "callerid_on" 0.0; + target: "elm.bubble.callerid.pad"; + target: "elm.swallow.callerid"; + target: "elm.callerid.bottom.pad"; + } + program { name: "go_callerid_off"; + signal: "elm,state,callerid,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bubble.callerid.pad"; + target: "elm.swallow.callerid"; + target: "elm.callerid.bottom.pad"; + } + program { name: "go_groupchat_on"; + signal: "elm,state,groupchat,enabled"; + source: "elm"; + action: STATE_SET "groupchat_on" 0.0; + target: "elm.bubble.groupchat.pad"; + target: "elm.text.groupchat"; + } + program { name: "go_groupchat_off"; + signal: "elm,state,groupchat,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bubble.groupchat.pad"; + target: "elm.text.groupchat"; + } + program { name: "go_textstatus_on"; + signal: "elm,state,text,status,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.time"; + target: "elm.text.status"; + after: "go_contentstatus_off"; + } + program { name: "go_textstatus_off"; + signal: "elm,state,text,status,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text.time"; + target: "elm.text.status"; + } + program { name: "go_contentstatus_on"; + signal: "elm,state,content,status,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "elm.swallow.status"; + after: "go_textstatus_off"; + } + program { name: "go_contentstatus_off"; + signal: "elm,state,content,status,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.status"; + } + program { name: "show_middle_pad"; + signal: "elm,state,middle,pad,enabled"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "elm.rect.middle.pad"; + } + program { name: "hide_middle_pad"; + signal: "elm,state,middle,pad,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.rect.middle.pad"; + } + program { name: "go_contents_on"; + signal: "elm,state,contents,enabled"; + source: "elm"; + action: STATE_SET "contents_on" 0.0; + target: "elm.icon.top.pad"; + target: "elm.swallow.icon1"; + target: "elm.swallow.icon2"; + } + program { name: "go_contents_off"; + signal: "elm,state,contents,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.top.pad"; + target: "elm.swallow.icon1"; + target: "elm.swallow.icon2"; + } + } + } + + group { name: "elm/entry/base-noedit-charwrap/sentmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_EX_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: ENTRY_BUBBLE_IX_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; to: "elm.text"; } + rel2 { relative: 0.0 1.0; to: "elm.text"; } + } + } + part { + name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.bottom.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 ENTRY_BUBBLE_Y_PAD; + fixed: 0 1; + align: 0.0 1.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to_x: "elm.rect.left.pad"; + image { + normal: "00_messagebubble_bg_sent_bg.#.png"; + } + color_class: "W054"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0541"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} + rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + max: 1 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + part { name: "event.rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.image.bg"; + rel2.to: "elm.image.bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "event.rect"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "event.rect"; + action: STATE_SET "pressed" 0.0; + target: "elm.image.bg"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "event.rect"; + action: STATE_SET "default" 0.0; + target: "elm.image.bg"; + } + } + } + +group { name: "elm/entry/base-single/multibuttonentry"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "multibuttonentry_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "multibuttonentry_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "multibuttonentry_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "multibuttonentry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "multibuttonentry_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "multibuttonentry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} +group { name: "elm/entry/base/font_color_black"; + alias: "elm/entry/base-mixedwrap/font_color_black"; + alias: "elm/entry/base/font_color_black/default"; + alias: "elm/entry/base/font_color_black/lighting"; + alias: "elm/entry/base/font_color_black/multiline"; + alias: "elm/entry/base/font_color_black/multiline/default"; + alias: "elm/entry/base/font_color_black/multiline/lighting"; + alias: "elm/entry/base/editfield/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-charwrap/font_color_black"; + alias: "elm/entry/base/font_color_black/char_wrap"; + alias: "elm/entry/base/font_color_black/default/char_wrap"; + alias: "elm/entry/base/font_color_black/lighting/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; + alias: "elm/entry/base-charwrap/editfield/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_char_wrap_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single/font_color_black"; + alias: "elm/entry/base-single/font_color_black/default"; + alias: "elm/entry/base-single/font_color_black/lighting"; + alias: "elm/entry/base-single/font_color_black/singleline"; + alias: "elm/entry/base-single/font_color_black/singleline/default"; + alias: "elm/entry/base-single/font_color_black/singleline/lighting"; + alias: "elm/entry/base-single/editfield/font_color_black"; + alias: "elm/entry/base-single/editfield/searchbar/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} +group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; + inherit: "elm/entry/base-single/font_color_black"; + styles { + style { name: "tizen_text_class_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "tizen_text_class_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; + } + style { name: "tizen_text_class_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "tizen_text_class_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + text { + style: "tizen_text_class_single_textblock_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "tizen_text_class_single_textblock_disabled_style"; + } + } + } + } +} +group { name: "elm/entry/base-password/font_color_black"; + alias: "elm/entry/base-password/editfield/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/scroller/entry/default"; + data { + item: "focus_highlight" "off"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + parts { + part { name: "focus_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PART + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "contentclipper"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "icon_padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.clear"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + clip_to: "contentclipper"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to_y: "elm.swallow.content"; + to_x: "clear_padding"; + } + rel2 { + relative: 0.0 0.0; + to_y: "sb_hbar"; + to_x: "clear_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + type: RECT; + scale: 1; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + color_class: "B071"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.swallow.content"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + to_x: "sb_vbar"; + to_y: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.hbar"; + type: RECT; + scale: 1; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + color_class: "B071"; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PROGRAM + } + } +group { name: "elm/scroller/entry/editfield"; + inherit: "elm/scroller/entry/default"; + alias: "elm/scroller/entry/editfield/fixed_size"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "F054"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F056"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F058"; + } + } + part { name: "focus_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 0.0 1.0; + } + } + } + part { name: "focus_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to: "focus_bg"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 1; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + color_class: "F055"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,state,focus,on"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "action_unfocus"; + signal: "elm,state,focus,off"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + } +} +group { name: "elm/scroller/entry/editfield/searchbar/default"; + inherit: "elm/scroller/entry/default"; + alias: "elm/scroller/entry/editfield/searchbar/fixed_size"; + alias: "elm/scroller/entry/editfield/popup"; + alias: "elm/scroller/entry/editfield/password/popup"; + data { + item: "focus_highlight" "on"; + } + images { + image: "00_search_icon.png" COMP; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "W031L1"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F056"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F058"; + } + } + part { name: "focus_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 0.0 1.0; + } + } + } + part { name: "focus_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to: "focus_bg"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "F055"; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0.0 0.0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W031L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "F055"; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0.0 0.0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W031L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "F055"; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1.0 0.0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W031L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "F055"; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0.0 1.0; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W031L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "search_icon_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_left_padding"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "search_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + repeat_events: 1; + clip_to: "search_icon.clipper"; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_MIN_MAX_INC; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "00_search_icon.png"; + rel1 { + to_x: "search_icon_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_left_padding"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "search_icon_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "search_icon"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "search_icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "F041i"; + } + description { state: "focused" 0.0; + color_class: "F041iP"; + } + description { state: "disabled" 0.0; + color_class: "F041iD"; + } + } + part { name: "search_icon_over"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { + to_x: "search_icon_left_padding"; + relative: 0.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + relative: 1.0 1.0; + } + color: 0 0 0 0; + } + } + part { name: "search_icon_disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "search_icon"; + rel2.to: "search_icon"; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "icon_padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + max: ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_y: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC 0; + max: ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC 0; + } + } + } + programs { + program { name: "search_icon_show"; + signal: "elm,action,show,search_icon"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "search_icon_left_padding"; + target: "search_icon_right_padding"; + target: "search_icon"; + } + program { name: "search_icon_hide"; + signal: "elm,action,hide,search_icon"; + source: "*"; + action: STATE_SET "hide" 0.0; + target: "search_icon_left_padding"; + target: "search_icon_right_padding"; + target: "search_icon"; + } + program { name: "action_focus"; + signal: "elm,state,focus,on"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "action_unfocus"; + signal: "elm,state,focus,off"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + target: "search_icon.clipper"; + } + program { name: "search_icon_touch_snd"; + signal: "mouse,clicked,1"; + source: "search_icon_over"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "search_icon_disabler"; + target: "search_icon.clipper"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "search_icon_disabler"; + target: "search_icon.clipper"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + } +} + + group { name: "elm/entry/selection/block_handle_left/datetime"; + data.item: "height" "79"; + data.item: "gap" "32"; + images { + image: "copy&paste_Handler_left.png" COMP; + image: "copy&paste_Handler_left_01.png" COMP; + image: "copy&paste_Handler_left_reverse.png" COMP; + image: "copy&paste_Handler_left_01_reverse.png" COMP; + } + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + image { + normal: "copy&paste_Handler_left_01.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 1; + image { + normal: "copy&paste_Handler_left.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 0; + image { + normal: "copy&paste_Handler_left_01_reverse.png"; + } + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 1; + image { + normal: "copy&paste_Handler_left_reverse.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public double_clicked; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + set_int(double_clicked, 0); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + set_int(double_clicked, 0); + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused; + focused = get_int(handler_focused); + set_int(handler_ontop, 1); + if (focused) + { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused; + focused = get_int(handler_focused); + set_int(handler_ontop, 0); + if (focused) + { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "double_clicked"; + signal: "edje,entry,double,clicked"; + source: "edje"; + script { + set_int(double_clicked, 1); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_right/datetime"; + data.item: "height" "79"; + data.item: "gap" "32"; + images { + image: "copy&paste_Handler_right.png" COMP; + image: "copy&paste_Handler_right_01.png" COMP; + image: "copy&paste_Handler_right_reverse.png" COMP; + image: "copy&paste_Handler_right_01_reverse.png" COMP; + } + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; + image { + normal: "copy&paste_Handler_right.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0 1; + image { + normal: "copy&paste_Handler_right_01.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 0; + image { + normal: "copy&paste_Handler_right_reverse.png"; + } + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1 1; + image { + normal: "copy&paste_Handler_right_01_reverse.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public double_clicked; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + set_int(double_clicked, 0); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + set_int(double_clicked, 0); + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused; + focused = get_int(handler_focused); + set_int(handler_ontop, 1); + if (focused) + { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused; + focused = get_int(handler_focused); + set_int(handler_ontop, 0); + if (focused) + { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new dc; + dc = get_int(double_clicked); + if (dc) + { + set_state(PART:"handle", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + } + } + } + program { name: "double_clicked"; + signal: "edje,entry,double,clicked"; + source: "edje"; + script { + set_int(double_clicked, 1); + } + } + } + } + +group { name: "elm/entry/base-single/datetime_popup"; + inherit: "elm/entry/base-single/default"; + alias: "elm/entry/base-single/datetime_popup/year"; + alias: "elm/entry/base-single/datetime_popup/month"; + alias: "elm/entry/base-single/datetime_popup/date"; + alias: "elm/entry/base-single/datetime_popup/hour"; + alias: "elm/entry/base-single/datetime_popup/minute"; + data.item: "default_font_size" "64"; + styles { + style { name: "entry_datetime_popup_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color=#FFFFFF align=center wrap=none left_margin=1 right_margin=3 color_class=T1233 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: "elm/entry/selection/block_handle_left/datetime"; // start selection handler + source8: "elm/entry/selection/block_handle_right/datetime"; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_datetime_popup_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } +} diff --git a/2.2/widgets/gengrid.edc b/2.2/widgets/gengrid.edc new file mode 100644 index 0000000..248d6bf --- /dev/null +++ b/2.2/widgets/gengrid.edc @@ -0,0 +1,1581 @@ +/* + * 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. + */ + + styles { + style { name: "gengrid_myfile_in_text_style"; + base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="GENGRID_GRID_TEXT_SHADOW_COLOR_INC" font_size="GENGRID_FONT_STYLE_INC" color=#FFFFFF color_class=T060E align=center wrap=mixed ellipsis=1.0 text_class=T060E"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + styles { + style { name: "gengrid_myfile_out_text_style"; + base: "font=Tizen:style=Bold font_size="GENGRID_FONT_STYLE_INC" color=#FFFFFF color_class=T060 align=center wrap=mixed ellipsis=1.0 text_class=T060"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + styles { + style { name: "gengrid_videotext_style"; + base: "font=Tizen:style=Regular style=far_shadow,top shadow_color="GENGRID_PART_TEXTBLOCK_STYLE_SHADOW_COLOR_INC" font_size="GENGRID_FONT_STYLE_24_INC" color="GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC" align=left wrap=mixed ellipsis=1.0 text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + styles { + style { name: "gengrid_applicaton_name_style"; + base: "font=Tizen:style=Regular font_size="GENGRID_FONT_STYLE_APPLICATION_INC" color=#ffffff color_class=T0601 text_class=T0601 align=center wrap=mixed ellipsis=1.0 linegap=-3"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + styles { + style { name: "gengrid_applicaton_name_focus_style"; + base: "font=Tizen:style=Regular font_size="GENGRID_FONT_STYLE_APPLICATION_INC" color=#ffffff color_class=T0601 text_class=T0601 align=center wrap=mixed ellipsis=1.0 linegap=-3"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + + #define GENGRID_ITEM_SELECT_VI_EFFECT \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + map { \ + on: 1; \ + perspective: "persp1"; \ + smooth: 0; \ + } \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + map { \ + on: 1; \ + perspective: "persp"; \ + smooth: 1; \ + } + + #define GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( TARGET ) \ + program { name: "vi_pressed"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + after: "vi_zoom_in"; \ + } \ + program { name: "vi_zoom_in"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + transition: SIN_FAC 0.167 1.1; \ + } \ + program { name: "vi_zoom_out"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + transition: SIN_FAC 0.167 1.1; \ + after: "vi_default"; \ + } \ + program { name: "vi_default"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define GENGRID_PROGRAM_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_bg"; \ + TARGET \ + } \ + + + group { name: "elm/gengrid/item/default/default"; + alias: "elm/gengrid/item/default_grid/default"; + data.item: "contents" "elm.swallow.icon elm.swallow.end elm.swallow.video"; + data.item: "focus_highlight" "on"; + images { + image : "00_focus_01.#.png" COMP; + } + script { + public selected = 0; + } + parts { + part { name: "select_clip"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "selected" 0.0; + visible: 0; + } + } + part { name: "persp"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.5; + color: 0 0 0 0; + visible: 1; + perspective { + zplane: -70; + focal: 1000; + } + } + } + part { name: "persp1"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.5; + color: 0 0 0 0; + visible: 1; + perspective { + zplane: 0; + focal: 1000; + } + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_PART_BACKGROUND_COLOR_INC; + } + } + part { name: "left_top_padding"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_LEFT_TOP_PADDING_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { name: "item_bg"; + type: RECT; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + color: 0 0 0 0; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "item_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_bg"; + } + } + } + part { name: "item_bg_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "item_bg"; + } + rel2.to: "item_bg"; + } + } + part { name: "item_real_bg"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "item_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "item_bg_right_bottom_padding"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_real_bg_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "item_real_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_real_bg"; + } + } + } + part { name: "item_real_bg_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + rel2.to: "item_real_bg"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "item_real_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "item_real_bg_right_bottom_padding"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "video_text_bg"; + type: SPACER; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + } + } + part { name: "elm.video_text.padding.left"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + rel1 { + relative: 0 0; + to: "video_text_bg"; + } + rel2 { + relative: 0 1; + to: "video_text_bg"; + } + } + } + part { name: "elm.swallow.video"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "reorder_bg"; + type: RECT; + repeat_events: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + color: 0 0 0 0; + } + } + part { name: "focus_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.icon"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.icon"; + } + image.normal: "00_focus_01.#.png"; + color_class: "W061"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + script { + if (!get_int(selected)) { + set_int(selected, 1); + run_program(PROGRAM:"vi_pressed"); + } + } + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + script { + if (get_int(selected)) { + set_int(selected, 0); + run_program(PROGRAM:"vi_zoom_out"); + } + } + } + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + ) + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "item_bg"; + script { + new st[31]; + new Float:vl; + get_state(PART:"item_bg", st, 30, vl); + if (!strcmp(st, "selected") || + !strcmp(st, "pressed")) + run_program(PROGRAM:"play_sound"); + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + ) + } + } + + group { name: "elm/gengrid/item/default_video/default"; + inherit: "elm/gengrid/item/default/default"; + data.item: "texts" "elm.text.video"; + parts { + part { name: "video_text_bg"; + type: SPACER; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + min: 0 41; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.video_text.padding.left"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + rel1 { + relative: 0 0; + to: "video_text_bg"; + } + rel2 { + relative: 0 1; + to: "video_text_bg"; + } + min: 12 0; + max: 12 -1; + fixed: 1 0; + } + } + part { name: "elm.text.video"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1{ + relative: 1.0 0.0; + to_x: "elm.video_text.padding.left"; + to_y: "video_text_bg"; + } + rel2.to: "video_text_bg"; + text { + style: "gengrid_videotext_style"; + min: 0 1; + align: 0.0 0.5; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.swallow.video"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2{ + relative: 1.0 0.0; + to: "video_text_bg"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + } + } + + group { name: "elm/gengrid/item/gallery/default"; + inherit: "elm/gengrid/item/default/default"; + alias: "elm/gengrid/item/gallery_grid/default"; + parts { + part { name: "left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GALLERY_LEFT_TOP_PADDING_INC; + } + } + part { name: "right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GALLERY_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_bg"; + description { state: "default" 0.0; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_left_1pxl_inner_padding"; + type: RECT; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 0.0 0.5; + fixed: 1 0; + rel1.to: "item_bg"; + rel2 { + relative: 0.0 1.0; + to: "item_bg"; + } + color: 64 64 64 255; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_top_1pxl_inner_padding"; + type: RECT; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 0.5 0.0; + fixed: 0 1; + rel1 { + relative: 1.0 0.0; + to_x: "item_bg_left_1pxl_inner_padding"; + to_y: "item_bg"; + } + rel2 { + relative: 0.0 0.0; + to_x: "item_bg_right_1pxl_inner_padding"; + to_y: "item_bg"; + } + color: 64 64 64 255; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_right_1pxl_inner_padding"; + type: RECT; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "item_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_bg"; + } + color: 64 64 64 255; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_bottom_1pxl_inner_padding"; + type: RECT; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "item_bg_left_1pxl_inner_padding"; + to_y: "item_bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "item_bg_right_1pxl_inner_padding"; + to_y: "item_bg"; + } + color: 64 64 64 255; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_real_bg"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "item_bg_left_1pxl_inner_padding"; + to_y: "item_bg_top_1pxl_inner_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "item_bg_right_1pxl_inner_padding"; + to_y: "item_bg_bottom_1pxl_inner_padding"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "item_bg_top_1pxl_inner_padding"; + target: "item_bg_left_1pxl_inner_padding"; + target: "item_bg_right_1pxl_inner_padding"; + target: "item_bg_bottom_1pxl_inner_padding"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "item_bg_top_1pxl_inner_padding"; + target: "item_bg_left_1pxl_inner_padding"; + target: "item_bg_right_1pxl_inner_padding"; + target: "item_bg_bottom_1pxl_inner_padding"; + ) + } + } + + group { name: "elm/gengrid/item/myfile/default"; + inherit: "elm/gengrid/item/default/default"; + alias: "elm/gengrid/item/myfile_grid/default"; + alias: "elm/gengrid/item/myfile_girdtext2/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.video elm.swallow.end"; + parts { + part { name: "left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC; + } + } + part { name: "right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_bg"; + description { state: "default" 0.0; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC; + } + } + part { name: "item_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_real_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "item_real_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_TEXT_LEFT_RIGHT_PADDING_INC; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "item_bg"; + } + rel2 { + relative: 0.0 1.0; + to: "item_bg"; + } + } + } + part { name: "text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_TEXT_LEFT_RIGHT_PADDING_INC; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "item_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_bg"; + } + } + } + part { name: "text_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 10; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.icon"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.icon"; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 26; + align: 0.5 1.0; + rel1 { + relative: 1.0 0.0; + to_x: "text_left_padding"; + to_y: "text_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "text_right_padding"; + to_y: "text_bottom_padding"; + } + text { + style: "gengrid_myfile_in_text_style"; + min: 0 1; + align: 0.5 1.0; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.swallow.block"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to : "elm.text"; + rel2.to : "elm.text"; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "elm.swallow.block"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "elm.swallow.block"; + ) + } + } + + group { name: "elm/gengrid/item/myfile_video/default"; + inherit: "elm/gengrid/item/myfile/default"; + data.item: "texts" "elm.text.video"; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "video_text_bg"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + min: 0 41; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + color_class: "W155"; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.video_text.padding.left"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + rel1 { + relative: 0 0; + to: "video_text_bg"; + } + rel2 { + relative: 0 1; + to: "video_text_bg"; + } + min: 12 0; + max: 12 -1; + fixed: 1 0; + } + } + part { name: "elm.text.video"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1{ + relative: 1.0 0.0; + to_x: "elm.video_text.padding.left"; + to_y: "video_text_bg"; + } + rel2.to: "video_text_bg"; + text { + style: "gengrid_videotext_style"; + min: 0 1; + align: 0.0 0.5; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.swallow.video"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2{ + relative: 1.0 0.0; + to: "video_text_bg"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + } + } + + group { name: "elm/gengrid/item/myfile/text/default"; + inherit: "elm/gengrid/item/default/default"; + alias: "elm/gengrid/item/myfile_gridtext/default"; + alias: "elm/gengrid/item/default_gridtext/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end elm.swallow.video"; + parts { + part { name: "left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC; + } + } + part { name: "right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_bg"; + description { state: "default" 0.0; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "item_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC; + } + } + part { name: "item_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_real_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "item_real_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_TEXT_LEFT_RIGHT_PADDING_INC; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "item_bg"; + to_y: "bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "item_bg"; + to_y: "bg"; + } + } + } + part { name: "text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_TEXT_LEFT_RIGHT_PADDING_INC; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "item_bg"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "item_bg"; + to_y: "bg"; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "text_left_padding"; + to_y: "right_bottom_padding"; + } + rel2 { + relative: 0.0 1.0; + to_x: "text_right_padding"; + to_y: "right_bottom_padding"; + } + text { + style: "gengrid_myfile_out_text_style"; + min: 0 1; + align: 0.5 0.0; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.swallow.block"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to : "elm.text"; + rel2.to : "elm.text"; + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + ) + } + } + + group { name: "elm/gengrid/item/myfile_video/text/default"; + inherit: "elm/gengrid/item/myfile/text/default"; + data.item: "texts" "elm.text elm.text.video"; + parts { + part { name: "video_text_bg"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + min: 0 41; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + color_class: "W155"; + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.video_text.padding.left"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + rel1 { + relative: 0 0; + to: "video_text_bg"; + } + rel2 { + relative: 0 1; + to: "video_text_bg"; + } + min: 12 0; + max: 12 -1; + fixed: 1 0; + } + } + part { name: "elm.text.video"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1{ + relative: 1.0 0.0; + to_x: "elm.video_text.padding.left"; + to_y: "video_text_bg"; + } + rel2.to: "video_text_bg"; + text { + style: "gengrid_videotext_style"; + min: 0 1; + align: 0.0 0.5; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + part { name: "elm.swallow.video"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2{ + relative: 1.0 0.0; + to: "video_text_bg"; + } + GENGRID_ITEM_SELECT_VI_EFFECT + } + } + } + programs { + GENGRID_PROGRAM_ITEM_SELECT_VI_EFFECT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + GENGRID_PROGRAM_DEFAULT( + target: "item_bg"; + target: "item_real_bg"; + target: "elm.swallow.icon"; + target: "video_text_bg"; + target: "elm.text.video"; + target: "elm.swallow.video"; + target: "elm.swallow.end"; + ) + } + } + + group { name: "elm/gengrid/item/block/default"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + } + +#define GROUPINDEX_PADDING_SIZE_LEFT 26 +#define GROUPINDEX_PADDING_SIZE_RIGHT 26 + + group { name: "elm/gengrid/item/group_index/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "focus_highlight" "on"; + + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 0 0 0 0; + } + } + part { name: "bg_image"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "B011"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "B041P"; + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.padding.left"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + rel1 { + relative: 1 0; + to_x: "elm.swallow.pad"; + to_y: "base"; + } + rel2 { + relative: 1 1; + to_x: "elm.swallow.pad"; + to_y: "base"; + } + min: GROUPINDEX_PADDING_SIZE_LEFT 0; + max: GROUPINDEX_PADDING_SIZE_LEFT -1; + fixed: 1 0; + } + description { state: "decorate" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "elm.padding.right"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: GROUPINDEX_PADDING_SIZE_RIGHT 0; + max: GROUPINDEX_PADDING_SIZE_RIGHT -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 1 0; + } + description { state: "decorate" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "elm.padding.top"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 0 20; + max: -1 20; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + } + } + part { name: "elm.padding.bottom"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: 0 14; + max: -1 14; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 0.0 1.0; + align: 0.5 1.0; + } + } + part { name: "elm.text"; + scale: 1; + mouse_events: 0; + type: TEXT; + description { state: "default" 0.0; + align: 0.5 0; + rel1 { + relative: 1 1; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0 1; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + color_class: "T027"; + text { + align: 0 0.5; + min: 0 1; + text_class: "T027"; + } + min: 0 38; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "T027P"; + } + } + part { name: "index_line"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1 { + relative: 0 1; + to_x: "base"; + to_y: "elm.text"; + } + rel2 { + relative: 1 0; + to_x: "base"; + to_y: "elm.padding.bottom"; + } + color_class: "W021L2"; + min: 0 4; + max: -1 4; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "W021L2P"; + } + } + part { name: "focus_bg"; + type: IMAGE; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + to: "bg_image"; + } + rel2 { + relative: 1.0 1.0; + to: "bg_image"; + } + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text"; + target: "index_line"; + } + program { name: "disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg_image"; + target: "elm.text"; + target: "index_line"; + } + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + target: "elm.text"; + target: "index_line"; + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text"; + target: "index_line"; + transition: LINEAR 0.1; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + GENGRID_PROGRAM_DEFAULT( + target: "bg_image"; + target: "elm.text"; + target: "index_line"; + ) + } + } + + group { name: "elm/gengrid/item/default/popup"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end"; + data.item: "focus_highlight" "on"; + images { + image : "00_focus_01.#.png" COMP; + } + parts { + part { name: "select_clip"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "selected" 0.0; + visible: 1; + color: 255 255 255 153; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_POPUP_BG_COLOR; + //color_class: "B061L1"; + } + } + part { name: "selected_bg"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + color_class: "B0411"; + rel1.to: "item_real_bg"; + rel2.to: "elm.text"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "item_real_bg"; + type: SPACER; + description { state: "default" 0.0; + align: 0.5 0.0; + min: GENGRID_POPUP_ITEM_REAL_BG_SIZE_INC; + max: GENGRID_POPUP_ITEM_REAL_BG_SIZE_INC; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + min: GENGRID_POPUP_SWALLOW_ICON_SIZE_INC; + max: GENGRID_POPUP_SWALLOW_ICON_SIZE_INC; + align: 0.5 0.5; + rel1.to: "item_real_bg"; + rel2.to: "item_real_bg"; + } + clip_to: "select_clip"; + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_POPUP_TEXT_SIZE_INC; + max: GENGRID_POPUP_TEXT_SIZE_INC; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "item_real_bg"; + to_y: "bg"; + } + text { + style: "gengrid_applicaton_name_style"; + align: 0.5 0.0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + text { + style: "gengrid_applicaton_name_focus_style"; + } + } + } + part { name: "reorder_bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: GENGRID_PART_BG_COLOR_INC; + rel1.to: "selected_bg"; + rel2.to: "selected_bg"; + } + } + part { name: "outline_bg"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_real_bg"; + rel2.to: "elm.text"; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "focus_bg"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_real_bg"; + rel2.to: "elm.text"; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs + { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "reorder_bg"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + script { + set_state(PART:"selected_bg", "default", 0.0); + set_state(PART:"outline_bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"select_clip", "selected", 0.0); + } + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "select_clip"; + } + program { name: "select_enabled"; + signal: "elm,select,enabled"; + source: ""; + action: STATE_SET "enabled" 0.0; + target: "selected_bg"; + target: "outline_bg"; + target: "elm.text"; + } + program { name: "select_disabled"; + signal: "elm,select,disabled"; + source: ""; + action: STATE_SET "default" 0.0; + target: "selected_bg"; + target: "outline_bg"; + target: "elm.text"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + GENGRID_PROGRAM_DEFAULT( + target: "selected_bg"; + target: "outline_bg"; + target: "elm.text"; + target: "select_clip"; + ) + } + } + diff --git a/2.2/widgets/genlist/genlist.edc b/2.2/widgets/genlist/genlist.edc new file mode 100644 index 0000000..f7b16d3 --- /dev/null +++ b/2.2/widgets/genlist/genlist.edc @@ -0,0 +1,38 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ + +#include "genlist_macro.edc" +#include "genlist_textblock_style.edc" +#include "genlist_normal.edc" +#include "genlist_sweep.edc" +#include "genlist_groupindex.edc" +#include "genlist_expandable.edc" +#include "genlist_decorate.edc" +#include "genlist_email.edc" diff --git a/2.2/widgets/genlist/genlist_custom.edc b/2.2/widgets/genlist/genlist_custom.edc new file mode 100644 index 0000000..9f0c722 --- /dev/null +++ b/2.2/widgets/genlist/genlist_custom.edc @@ -0,0 +1,63 @@ +/* + * 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. + */ +/* + * Build: + * edje_cc -id ../../images/tizen-hd/ -sd ../../sounds/ genlist_custom.edc + */ +collections { + #include "../../inc/tizen-hd-inc.edc" + #include "genlist_macro.edc" + #include "genlist_normal.edc" // if u want group inherting from normal styles. + #include "genlist_textblock_style.edc" + group { GENLIST_NAME("custom_test/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON("elm.icon", + DESC_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom", + fixed: 1 0; + min: 50 50; + ) + ) + GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, + "elm.icon", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_FLIP + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + } +} diff --git a/2.2/widgets/genlist/genlist_decorate.edc b/2.2/widgets/genlist/genlist_decorate.edc new file mode 100644 index 0000000..8aa7b1c --- /dev/null +++ b/2.2/widgets/genlist/genlist_decorate.edc @@ -0,0 +1,347 @@ +/* + * 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. + */ + +/* + * vim:ts=3 + */ + +// 2.2.7.1 edit mode select all style + group { GENLIST_NAME("select_all/default") + alias: "elm/layout/select_all/default"; + + PROLOG_LIST + + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color_class: "B0216"; + } + } + GENLIST_PART_BASE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 1, 1 // (82-80)/2 + ) + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_("elm.text", 80, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_FOCUS + } + programs { + program { name: "play_sound"; + signal: "mouse,clicked,1"; + source: "bg"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (strcmp(st, "disabled")) + run_program(PROGRAM:"toucn_sound"); + } + } + program { name: "toucn_sound"; + action: RUN_PLUGIN "touch_sound"; + } + GENLIST_PROGRAM_DISABLED( target: "elm.icon"; target: "elm.text"; ) + GENLIST_PROGRAM_FOCUS + } + } + +// 2.2.7. Genlist Edit mode (rename) +// Should be used as decorate all item style + group { GENLIST_NAME("edit_default/default") + + PROLOG_LIST_NORMAL + + data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2"; + + script { + public enabling; + public disabling; + } + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART(SWALLOW, "elm.swallow.pad", + mouse_events: 0; + DESC_FROM_L( ; ) + ) + PART(SPACER, "elm.padding.left", + DESC_L("elm.swallow.pad", + min: GENLIST_PADDING_SIZE_LEFT 0; + max: GENLIST_PADDING_SIZE_LEFT -1; + fixed: 1 0; + ) + description { state: "reorder" 0.0; + inherit: "default" 0.0; + min: DIALOGUE_PADDING_SIZE_LEFT 0; + max: DIALOGUE_PADDING_SIZE_LEFT -1; + } + ) + PART(SPACER, "elm.padding.right", + description { state: "default" 0.0; + min: GENLIST_PADDING_SIZE_RIGHT 0; + max: GENLIST_PADDING_SIZE_RIGHT -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "base"; + relative: 1 0; + } + rel2.to: "base"; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + min: DIALOGUE_PADDING_SIZE_RIGHT 0; + max: DIALOGUE_PADDING_SIZE_RIGHT -1; + } + ) + PART(SPACER, "elm.padding.top", + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 0.5 0.0; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 1 0; + } + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + } + ) + PART(SPACER, "elm.padding.bottom", + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 0.5 1.0; + rel1 { + to: "base"; + relative: 0 1; + } + rel2.to: "base"; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + } + ) + GENLIST_PART_ICON("elm.edit.icon.1", + DESC_R("elm.padding.left", + GENLIST_PARAM_ICON_CHECK_RADIO + ) + description { state: "decorate" 0.0; + GENLIST_PARAM_ICON_CHECK_RADIO + align: 0 0.5; + rel1 { + to: "elm.padding.left"; + relative: 1 0; + } + rel2.to: "elm.padding.left"; + } + description { state: "flipped" 0.0; + inherit: "default" 0.0; + } + description { state: "decorate_flipped" 0.0; + inherit: "flipped" 0.0; + } + ) + GENLIST_PART_PADDING_L("elm.edit.icon1.right", "elm.edit.icon.1") + GENLIST_PART_ICON("elm.swallow.decorate.content", + DESC_LRTB("elm.edit.icon1.right", "elm.edit.icon.2", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART_LIST_BOTTOMLINE + GENLIST_PART_ICON("elm.edit.icon.2", + DESC_R("elm.padding.right", + align: 0 0.5; + max: 48 48; + ) + description { state: "decorate" 0.0; + inherit: "default" 0.0; + align: 1 0.5; + } + description { state: "flipped" 0.0; + inherit: "default" 0.0; + rel1.relative: 1 0; + rel2.relative: 1 1; + align: 0 0.5; + } + description { state: "decorate_flipped" 0.0; + inherit: "flipped" 0.0; + } + ) + GENLIST_PART_FOCUS_NORMAL + part { name: "block_events_on_animation"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + description { state: "block" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + GENLIST_PROGRAM_DISABLED( + target: "bg"; + target: "bg_reorder"; + target: "bottom_line"; + ) + GENLIST_PROGRAM_SELECT( + target: "bg"; + target: "bg_reorder"; + ) + GENLIST_PROGRAM_BOTTOMLINE + PROGRAM_LIST_SOUND + GENLIST_PROGRAM_REORDER( + target: "bg_clip"; + target: "bg_reorder_clip"; + target: "bottom_line_clip"; + target: "elm.padding.left"; + target: "elm.padding.right"; + ) + GENLIST_PROGRAMS_DECORATE_EFFECT( + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + ) + program { name: "flip_flipped"; + action: STATE_SET "flipped" 0.0; + transition: DECELERATE 0.5; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + after: "disable_required"; + } + program { name: "disable_required"; + script { + if ((get_int(enabling) == 1) && (get_int(disabling) == 1)) { + set_int(enabling, 0); + emit("elm,state,flip,disabled", "elm"); + } else { + run_program(PROGRAM:"disable_events_block"); + set_int(enabling, 0); + } + } + } + program { name: "disable_events_block"; + action: STATE_SET "default" 0.0; + target: "block_events_on_animation"; + } + program { name: "flip_decorate_flipped"; + action: STATE_SET "decorate_flipped" 0.0; + transition: DECELERATE 0.5; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + after: "disable_required"; + } + program { name: "unflip_default"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + after: "disable_events_block"; + } + program { name: "unflip_decorated"; + action: STATE_SET "decorate" 0.0; + transition: DECELERATE 0.5; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + after: "disable_events_block"; + } + program { name: "flip_enabled_effect"; + signal: "elm,state,flip,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.edit.icon.1", st, 30, vl); + set_state(PART:"block_events_on_animation", "block", 0.0); + if (!strcmp(st, "decorate")) { + run_program(PROGRAM:"flip_decorate_flipped"); + } else { + run_program(PROGRAM:"flip_flipped"); + } + set_int(enabling, 1); + } + } + program { name: "flip_disabled_effect"; + signal: "elm,state,flip,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(disabling, 1); + if (get_int(enabling) == 0) { + set_int(disabling, 0); + get_state(PART:"elm.edit.icon.1", st, 30, vl); + set_state(PART:"block_events_on_animation", "block", 0.0); + if (!strcmp(st, "decorate_flipped")) { + run_program(PROGRAM:"unflip_decorated"); + } else { + run_program(PROGRAM:"unflip_default"); + } + } + } + } + program { name: "flip_enabled"; + signal: "elm,state,flip,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg_reorder_clip", st, 30, vl); + if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) { + set_state(PART:"bg_reorder_clip", "reorder_flip", 0.0); + } + } + } + program { name: "flip_disabled"; + signal: "elm,state,flip,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg_reorder_clip", st, 30, vl); + if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) { + set_state(PART:"bg_reorder_clip", "reorder", 0.0); + } + } + } + GENLIST_PROGRAM_FOCUS_NORMAL + } + } diff --git a/2.2/widgets/genlist/genlist_email.edc b/2.2/widgets/genlist/genlist_email.edc new file mode 100755 index 0000000..fa6e7ca --- /dev/null +++ b/2.2/widgets/genlist/genlist_email.edc @@ -0,0 +1,1071 @@ +/* + * 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. + */ + +// ------------------------------------------------------------------- +// Email Style ------------------------------------------------------- +// ------------------------------------------------------------------- +// For Handling checkbox srolling issue we have increased the size of check box +// background to 64*64 though the check image is 45*45 as per GUI. These leaves +// 9 pixel extra space before the check image and 10 pixel after the check image. +// So to adjust this extra space the padding is reduced from 19 to 10. +// This means padding will be 10 pixel and extra space before the checkbox will be 9 +// So it will again get to 19 pixel as gap before the checkbox as per GUI + + +#define GENLIST_EMAIL_PADDING_SIZE_LEFT 10 +#define GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE 8 +#define GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE 8 +#define GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM 3 +#define GENLIST_EMAIL_PADDING_SIZE_DEFAULT 10 + +#define GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE 45 + +#define GENLIST_EMAIL_MAIN_TEXT_SIZE 38 +#define GENLIST_EMAIL_SUB_TEXT_SIZE 30 +#define GENLIST_EMAIL_COUNT_TEXT_SIZE 28 +#define GENLIST_EMAIL_CONTENTS_TEXT_SIZE 26 +#define GENLIST_EMAIL_DATE_TEXT_SIZE 24 + +#define STYLE_TAG \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH_EMAIL \ + tag: "match" GENLIST_EMAIL_MATCH_TAG_COLOR; + +#define STYLE_TAG_MATCH_EMAIL_FOCUS \ + tag: "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE; + + + styles { + style { name: "email_style_main"; + base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color=#ffffff color_class=T028 text_class=T028 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_main_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color=#ffffff color_class=T028D text_class=T028D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_main_read"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color=#ffffff color_class=T028R text_class=T028R ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_main_read_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color=#ffffff color_class=T028RD text_class=T028RD ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + //todo.. text_focus_color_style add.... + style { name: "email_style_main_press"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color=#ffffff color_class=T028D text_class=T028D text_class=list_item ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL_FOCUS + } + style { name: "email_style_sub_dim"; + base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color=#ffffff color_class=T029D text_class=T029D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_sub"; + base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color=#ffffff color_class=T029 text_class=T029 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_date"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_DATE_TEXT_SIZE" color=#ffffff color_class=T0211 text_class=T0211 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: "email_style_date_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_DATE_TIME_TEXT_SIZE" color=#ffffff color_class=T0211D text_class=T0211D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: " email_style_contents"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color=#ffffff color_class=T030 text_class=T030 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + style { name: " email_style_contents_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color=#ffffff color_class=T030D text_class=T030D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH_EMAIL + } + } + +// email main text +#define PARAM_EMAIL_MAIN \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + style: "email_style_main"; \ + } + +#define DESCRIPTION_EMAIL_MAIN_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "email_style_main_dim"; \ + } \ + description { state: "read" 0.0; \ + inherit: "default" 0.0; \ + text.style: "email_style_main_read"; \ + } \ + description { state: "read,disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "email_style_main_read_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "email_style_main_press"; \ + } + +// email sub text +#define PARAM_EMAIL_SUB \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + style: "email_style_sub"; \ + } + +#define DESCRIPTION_EMAIL_SUB_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + text.style: "email_style_sub_dim"; \ + } \ + +// email contents text +#define PARAM_EMAIL_CONTENTS \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + style: " email_style_contents"; \ + } + +#define DESCRIPTION_EMAIL_CONTENTS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: " email_style_contents_dim"; \ + } \ + +#define PARAM_EMAIL_COUNT \ + color_class: "T0210"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T0210"; \ + } + +//todo..email_text sellected color update. +#define DESCRIPTION_EMAIL_COUNT_OTHERS \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T0210D"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T0210D"; \ + } \ + } + +#define PARAM_EMAIL_DATE \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Regular"; \ + style: "email_style_datae"; \ + } + +#define DESCRIPTION_EMAIL_DATE_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "email_style_date_dim"; \ + } \ + +#define GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( NAME, SIZE ) \ + PART(SPACER, NAME, \ + DESC_LRT("elm.icon.2", "elm.text.5", "elm.text.2", \ + min: 0 SIZE; \ + fixed: 0 1; \ + ) \ + ) + +#define GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( NAME, SIZE ) \ + PART(SPACER, NAME, \ + DESC_LRT("elm.icon.2", "elm.icon.5", "elm.text.2", \ + min: 0 SIZE; \ + fixed: 0 1; \ + ) \ + ) + +#define GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \ + min: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; \ + max: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; + +#define GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \ + fixed: 1 1; \ + ) \ + ) + +#define HEIGHT_EMAIL_MAIN 54 +#define HEIGHT_EMAIL_SUB 42 +#define HEIGHT_EMAIL_CONTENTS 38 + + +#define GENLIST_PROGRAMS_EMAIL( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DEFAULT( TARGET \ + target: "bg"; \ + target: "bg_clip"; \ + target: "bottom_line"; \ + target: "bottom_line_clip"; \ + target: "bg_reorder"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "focus_part"; \ + target: "focus_part_reorder"; \ + ) \ + GENLIST_PROGRAM_DISABLED( TARGET \ + target: "bg"; \ + target: "bottom_line"; \ + target: "bg_reorder"; \ + ) \ + GENLIST_PROGRAM_BOTTOMLINE \ + GENLIST_PROGRAM_FOCUS_NORMAL \ + GENLIST_PROGRAM_SELECT( TARGET \ + target: "bg"; \ + target: "bg_reorder"; \ + ) \ + PROGRAM_LIST_SOUND \ + GENLIST_PROGRAM_DECORATE_REORDER( "normal", \ + target: "bg_clip"; \ + target: "bg_reorder_clip"; \ + target: "bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + program { name: "unselected_target"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "unselected_read"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + if (get_int(readed) == 1) \ + run_program(PROGRAM:"go_read_target"); \ + else \ + run_program(PROGRAM:"unselected_target"); \ + } \ + } \ + program { name: "go_read"; \ + signal: "elm,state,read"; \ + source: "*"; \ + script { \ + set_int(readed, 1); \ + run_program(PROGRAM:"go_read_target"); \ + } \ + } \ + program { name: "go_unread"; \ + signal: "elm,state,unread"; \ + source: "*"; \ + script { \ + set_int(readed, 0); \ + run_program(PROGRAM:"go_unread_target"); \ + } \ + } \ + program { name: "go_read_target"; \ + action: STATE_SET "read" 0.0; \ + target: "bg"; \ + TARGET \ + } \ + program { name: "go_unread_target"; \ + action: STATE_SET "unread" 0.0; \ + target: "bg"; \ + TARGET \ + } \ + } + + +#define GENLIST_PART_BG_EMAIL_NORMAL \ + PART(RECT, "bg_clip", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bg_reorder_clip", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder_flip" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bg", \ + clip_to: "bg_clip"; \ + description { state: "default" 0.0; \ + color_class: "B011"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B011"; \ + } \ + description { state: "read" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B0218"; \ + } \ + description { state: "unread" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B011"; \ + } \ + ) \ + PART(SPACER, "bg_reorder_left", \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 0 0.5; \ + rel2.relative: 0 1; \ + } \ + ) \ + PART(SPACER, "bg_reorder_right", \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + } \ + ) \ + PART(SPACER, "bg_reorder_top", \ + description { state: "default" 0.0; \ + min: 0 2; \ + max: -1 2; \ + fixed: 0 1; \ + align: 0.5 0; \ + rel2.relative: 1 0; \ + } \ + ) \ + PART(SPACER, "bg_reorder_bottom", \ + description { state: "default" 0.0; \ + min: 0 2; \ + max: -1 2; \ + fixed: 0 1; \ + align: 0.5 1.0; \ + rel1.relative: 0 1; \ + } \ + ) \ + PART(RECT, "bg_reorder", \ + clip_to: "bg_reorder_clip"; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 1; \ + to_x: "bg_reorder_left"; \ + to_y: "bg_reorder_top"; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: "bg_reorder_right"; \ + to_y: "bg_reorder_bottom"; \ + } \ + color_class: "B0217L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default"; \ + color_class: "B041P"; \ + } \ + description { state: "flipped" 0.0; \ + inherit: "default"; \ + visible: 0; \ + } \ + ) + +// 2.2.3.5 (Email Style) + group { GENLIST_NAME("email.list/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5"; + data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch"; + + script { + public readed = 0; + } + parts { + GENLIST_PART_BG_EMAIL_NORMAL + GENLIST_PART_BASE + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_EMAIL_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE, GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + +// For Handling checkbox srolling issue we have increased the size of check box +// background to 64*64 though the check image is 45*45 as per GUI. These leaves +// 9 pixel extra space before the check image and 10 pixel after the check image. +// So to adjust this extra space the padding is reduced from 16 to 6. +// This means padding will be 6 pixel and extra space before the checkbox will be 10 +// So it will again get to 16 pixel as gap after the checkbox as per GUI + PART(SPACER, "elm.padding.icon1.right", + description { state: "default" 0.0; + fixed: 1 0; + min: 6 0; + max: 6 -1; + align: 0 0.5; + rel1 { + relative: 1 0; + to_x: "elm.icon.1"; + } + rel2 { + relative: 1 1; + to_x: "elm.icon.1"; + } + } + ) + + PART(TEXTBLOCK, "elm.text.1", + DESC_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", + PARAM_EMAIL_MAIN + min: 0 HEIGHT_EMAIL_MAIN; + fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. + ) + DESCRIPTION_EMAIL_MAIN_OTHERS + ) + + // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited + PART(TEXT, "elm.text.4", + DESC_LTB("elm.text.1", "elm.padding.top", "elm.text.2", + PARAM_EMAIL_COUNT + min: 45 HEIGHT_EMAIL_MAIN; + max: 45 HEIGHT_EMAIL_MAIN; + text.min: 1 0; + text.align: 0.5 0.65; + fixed: 1 1; + visible: 0; + ) + ) + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.icon.3", + min: 0 0; + max: 0 0; + fixed: 1 0; + ) + ) + GENLIST_PART_ICON("elm.icon.3", + DESC_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", + fixed: 1 0; + ) + ) + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) + GENLIST_PART_ICON("elm.icon.4", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", + min: 45 45; + max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; + fixed: 1 0; + ) + ) + GENLIST_PART_ICON("elm.icon.4.touch", + DESC_TO("elm.icon.4", + rel1.offset: -4 -7; + rel2.offset: 26 8; + ) + ) + GENLIST_PART_ICON("elm.icon.2", + DESC_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", + fixed: 1 0; + ) + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRT("elm.icon.2", "elm.text.5", "elm.text.1", + PARAM_EMAIL_SUB + min: 0 HEIGHT_EMAIL_SUB; + fixed: 0 1; + ) + DESCRIPTION_EMAIL_SUB_OTHERS + ) + PART(TEXTBLOCK, "elm.text.5", + DESC_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom", + PARAM_EMAIL_DATE + GENLIST_PARAM_TEXT_LIMIT_RT + min: 0 HEIGHT_EMAIL_SUB; + fixed: 1 0; + ) + DESCRIPTION_EMAIL_DATE_OTHERS + ) + + GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) + + PART(TEXTBLOCK, "elm.text.3", + DESC_LRTB("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom", + PARAM_EMAIL_CONTENTS + min: 0 HEIGHT_EMAIL_CONTENTS; + ) + DESCRIPTION_EMAIL_CONTENTS + ) + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; + target: "elm.text.2"; target: "elm.text.3"; + target: "elm.text.4"; target: "elm.text.5"; + target: "elm.swallow.colorbar"; + target: "elm.icon.1"; + target: "elm.icon.2"; target: "elm.icon.3"; + target: "elm.icon.4"; target: "elm.icon.4.touch"; + ) + } + +// email list with conversation text + group { GENLIST_NAME("email.list.conversation/default") + inherit: "elm/genlist/item/email.list/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5"; + parts { + PART(TEXT, "elm.text.4", + DESC_LTB("elm.text.1", "elm.padding.top", "elm.text.2", + visible: 1; + ) + DESCRIPTION_EMAIL_COUNT_OTHERS + ) + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.icon.3", + min: 45 HEIGHT_EMAIL_MAIN; + max: 45 HEIGHT_EMAIL_MAIN; + ) + ) + } + } + + // 2.2.3.13 + // email outbox style + group { GENLIST_NAME("email.outbox/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5"; + + script { + public readed = 0; + } + parts { + GENLIST_PART_BG_EMAIL_NORMAL + GENLIST_PART_BASE + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_EMAIL_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE, GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE + ) + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + +// For Handling checkbox srolling issue we have increased the size of check box +// background to 64*64 though the check image is 45*45 as per GUI. These leaves +// 9 pixel extra space before the check image and 10 pixel after the check image. +// So to adjust this extra space the padding is reduced from 16 to 6. +// This means padding will be 6 pixel and extra space before the checkbox will be 10 +// So it will again get to 16 pixel as gap after the checkbox as per GUI + PART(SPACER, "elm.padding.icon1.right", + description { state: "default" 0.0; + fixed: 1 0; + min: 6 0; + max: 6 -1; + align: 0 0.5; + rel1 { + relative: 1 0; + to_x: "elm.icon.1"; + } + rel2 { + relative: 1 1; + to_x: "elm.icon.1"; + } + } + ) + + PART(TEXTBLOCK, "elm.text.1", + DESC_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", + PARAM_EMAIL_MAIN + min: 0 HEIGHT_EMAIL_MAIN; + fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. + ) + DESCRIPTION_EMAIL_MAIN_OTHERS + ) + // FIXME: because script cannot be inherited, text.4 is defined here and can be inherited + PART(TEXT, "elm.text.4", + DESC_LTB("elm.text.1", "elm.padding.top", "elm.text.2", + PARAM_EMAIL_COUNT + min: 0 HEIGHT_EMAIL_MAIN; + max: 0 HEIGHT_EMAIL_MAIN; + text.min: 1 0; + text.align: 0.5 0.65; + fixed: 1 0; + visible: 0; + ) + ) + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.icon.3", + min: 0 0; + max: 0 0; + fixed: 1 0; + ) + ) + GENLIST_PART_ICON("elm.icon.3", + DESC_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", + fixed: 1 0; + ) + ) + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) + GENLIST_PART_ICON("elm.icon.4", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", + min: 45 45; + max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; + fixed: 1 0; + ) + ) + GENLIST_PART_ICON("elm.icon.4.touch", + DESC_TO("elm.icon.4", + rel1.offset: -4 -7; + rel2.offset: 26 8; + ) + ) + + GENLIST_PART_ICON("elm.icon.2", + DESC_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", + fixed: 1 1; + ) + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1", + PARAM_EMAIL_SUB + min: 0 HEIGHT_EMAIL_SUB; + fixed: 0 1; + ) + DESCRIPTION_EMAIL_SUB_OTHERS + ) + + GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) + + PART(TEXTBLOCK, "elm.text.3", + DESC_LRTB("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.padding.text2.bottom", "elm.padding.bottom", + PARAM_EMAIL_CONTENTS + min: 0 HEIGHT_EMAIL_CONTENTS; + ) + DESCRIPTION_EMAIL_CONTENTS + ) + GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5") + GENLIST_PART_ICON("elm.icon.5", + DESC_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom", + min: 180 74; + max: 180 74; + fixed: 1 1; + ) + ) + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.text.4"; + target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; + target: "elm.icon.4"; target: "elm.icon.5"; + ) + } + +// email outbox style with conversation + group { GENLIST_NAME("email.outbox.conversation/default") + inherit: "elm/genlist/item/email.outbox/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + + parts { + PART(TEXT, "elm.text.4", + DESC_LTB("elm.text.1", "elm.padding.top", "elm.icon.5", + min: 45 HEIGHT_EMAIL_MAIN; + max: 45 HEIGHT_EMAIL_MAIN; + visible: 1; + ) + DESCRIPTION_EMAIL_COUNT_OTHERS + ) + PART(SPACER, "elm.text.limit", + DESC_R("elm.icon.3", + min: 45 HEIGHT_EMAIL_MAIN; + max: 45 HEIGHT_EMAIL_MAIN; + ) + ) + } + } + +// FIXME: This is temporary style for test purpose +// This style has all widgets by itself + group { GENLIST_NAME("email.list.test/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5"; + data.item: "contents" "elm.swallow.colorbar elm.check.touch elm.icon.4.touch"; + + images { + image: "00_check_activate.png" COMP; + image: "00_check_activate_ef.png" COMP; + image: "00_check_bg.png" COMP; + image: "00_check_bg_ef.png" COMP; + image: "00_check_bg_line.png" COMP; + } + + script { + public readed = 0; + } + parts { + PART_LIST_BG_NORMAL + GENLIST_PART_BASE + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_EMAIL_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE, GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE + ) + + PART(IMAGE, "elm.check.bg", + mouse_events: 0; + DESC_L("elm.padding.left", + image.normal: "00_check_bg.png"; + fill.smooth : 0; + ) + description { state: "default" 0.0; + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_check_bg.png"; + fill.smooth : 0; + color_class: "W013L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W013L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L1D"; + } + ) + PART(IMAGE, "elm.check.bg.effect", + mouse_events: 0; + DESC_L("elm.padding.left", + image.normal: "00_check_bg_ef.png"; + fill.smooth : 0; + ) + description { state: "default" 0.0; + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_check_bg_ef.png"; + fill.smooth : 0; + } + ) + PART(IMAGE, "elm.check.bg.line", + mouse_events: 0; + DESC_L("elm.padding.left", + image.normal: "00_check_bg_line.png"; + fill.smooth : 0; + ) + description { state: "default" 0.0; + min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_check_bg_line.png"; + fill.smooth : 0; + color_class: "W013L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W013L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L2D"; + } + ) + PART(IMAGE, "elm.check", + mouse_events: 0; + DESC_TO("elm.check.bg", + visible: 0; + image.normal: "00_check_activate.png"; + color_class: "W013L3"; + ) + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W013L3"; + } + description { state: "dim" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W013L3D"; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + color_class: "W013L3P"; + } + ) + PART(IMAGE, "elm.check.effect", + mouse_events: 0; + DESC_TO("elm.check.bg", + visible: 1; + image.normal: "00_check_activate_ef.png"; + ) + ) + + +// For Handling checkbox srolling issue we have increased the size of check box +// background to 64*64 though the check image is 45*45 as per GUI. These leaves +// 9 pixel extra space before the check image and 10 pixel after the check image. +// So to adjust this extra space the padding is reduced from 16 to 6. +// This means padding will be 6 pixel and extra space before the checkbox will be 10 +// So it will again get to 16 pixel as gap after the checkbox as per GUI + PART(SPACER, "elm.padding.icon1.right", + description { state: "default" 0.0; + fixed: 1 0; + min: 6 0; + max: 6 -1; + align: 0 0.5; + rel1 { + relative: 1 0; + to_x: "elm.check"; + } + rel2 { + relative: 1 1; + to_x: "elm.check"; + } + } + ) + + PART(TEXTBLOCK, "elm.text.1", + DESC_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", + PARAM_EMAIL_MAIN + min: 0 HEIGHT_EMAIL_MAIN; + fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. + ) + DESCRIPTION_EMAIL_MAIN_OTHERS + ) + + // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited + PART(TEXT, "elm.text.4", + DESC_LTB("elm.text.1", "elm.padding.top", "elm.text.2", + PARAM_EMAIL_COUNT + min: 45 HEIGHT_EMAIL_MAIN; + max: 45 HEIGHT_EMAIL_MAIN; + text.min: 1 0; + text.align: 0.5 0.65; + fixed: 1 1; + visible: 0; + ) + ) + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.icon.3", + min: 0 0; + max: 0 0; + fixed: 1 0; + ) + ) + PART(IMAGE, "elm.icon.3", + DESC_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", + fixed: 1 0; + min: 0 0; + max: 0 0; + image.normal: "00_icon_favorite_bg_45x45.png"; + color_class: "F022L2i"; + visible: 0; + ) + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 45 45; + visible: 1; + } + ) + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) + PART(IMAGE, "elm.icon.4", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", + max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; + min: 0 0; + max: 0 0; + fixed: 1 0; + image.normal: "00_icon_favorite_bg_45x45.png"; + color_class: "F022L1i"; + visible: 0; + ) + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 45 45; + visible: 1; + } + description { state: "enable" 0.0; + inherit: "default" 0.0; + image.normal: "00_icon_favorite_bg_45x45.png"; + color_class: "F022L2i"; + min: 45 45; + visible: 1; + } + ) + GENLIST_PART_ICON("elm.icon.4.touch", + DESC_TO("elm.icon.4", + rel1.offset: -4 -7; + rel2.offset: 26 8; + ) + ) + PART(IMAGE, "elm.icon.2", + DESC_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", + min: 0 0; + max: 0 0; + fixed: 1 0; + image.normal: "00_icon_favorite_bg_45x45.png"; + color_class: "F022L1i"; + visible: 0; + ) + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 45 45; + visible: 1; + } + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRT("elm.icon.2", "elm.text.5", "elm.text.1", + PARAM_EMAIL_SUB + min: 0 HEIGHT_EMAIL_SUB; + fixed: 0 1; + ) + DESCRIPTION_EMAIL_SUB_OTHERS + ) + PART(TEXTBLOCK, "elm.text.5", + DESC_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom", + PARAM_EMAIL_DATE + GENLIST_PARAM_TEXT_LIMIT_RT + min: 0 HEIGHT_EMAIL_SUB; + fixed: 1 0; + ) + DESCRIPTION_EMAIL_DATE_OTHERS + ) + + GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) + + PART(TEXTBLOCK, "elm.text.3", + DESC_LRTB("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom", + PARAM_EMAIL_CONTENTS + min: 0 HEIGHT_EMAIL_CONTENTS; + ) + DESCRIPTION_EMAIL_CONTENTS + ) + GENLIST_PART_ICON("elm.check.touch", + DESC_TO("elm.check", + ) + ) + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; + target: "elm.text.2"; target: "elm.text.3"; + target: "elm.text.4"; target: "elm.text.5"; + target: "elm.swallow.colorbar"; + target: "elm.icon.4.touch"; + target: "elm.check.touch"; + ) + program { name: "check_show"; + signal: "elm,state,check,show"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.check"; + } + program { name: "check_hide"; + signal: "elm,state,check,hide"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.check"; + } + program { name: "icon2_show"; + signal: "elm,state,icon2,show"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.icon.2"; + } + program { name: "icon3_show"; + signal: "elm,state,icon3,show"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.icon.3"; + } + program { name: "icon4_show"; + signal: "elm,state,icon4,show"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.icon.4"; + } + program { name: "icon4_enable"; + signal: "elm,state,icon4,enable"; + source: "*"; + action: STATE_SET "enable" 0.0; + target: "elm.icon.4"; + } + program { name: "icon4_disable"; + signal: "elm,state,icon4,disable"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.icon.4"; + } + } diff --git a/2.2/widgets/genlist/genlist_expandable.edc b/2.2/widgets/genlist/genlist_expandable.edc new file mode 100644 index 0000000..9ec4061 --- /dev/null +++ b/2.2/widgets/genlist/genlist_expandable.edc @@ -0,0 +1,405 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ + +// 2.5.1.1 + group { GENLIST_NAME("dialogue/2text/expandable/default") + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.arrow.left", + "elm.padding.top", "elm.text.2", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom", + fixed: 0 1; + min: 0 GENLIST_HEIGHT_2LINE_SUB; + GENLIST_PARAM_SUBITEM_DEFAULT + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.2 + group { GENLIST_NAME("dialogue/2text.2/expandable/default") + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRT("elm.padding.left", "elm.padding.arrow.left", + "elm.padding.top", + fixed: 1 1; + min: 0 GENLIST_HEIGHT_2LINE_SUB; + GENLIST_PARAM_SUBITEM_DEFAULT + ) + ) + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.arrow.left", + "elm.text.2", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.3 Deprecated + group { GENLIST_NAME("dialogue/2text.3/expandable/default") + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.arrow.left", + "elm.padding.top", "elm.text.2", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_SUB; + fixed: 1 1; + GENLIST_PARAM_SUBITEM_DEFAULT + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.4 + group { GENLIST_NAME("dialogue/2text.1icon/expandable/default") + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + images { + image: "00_list_button_expand_closed.png" COMP; + image: "00_list_button_expand_opened.png" COMP; + } + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON("elm.icon", + DESC_L("elm.padding.left", + GENLIST_PARAM_ICON_CHECK_RADIO) + ) + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRTB("elm.padding.icon.right", "elm.padding.arrow.left", + "elm.padding.top", "elm.text.2", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_SUB; + fixed: 1 1; + GENLIST_PARAM_SUBITEM_DEFAULT + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.5 + group { GENLIST_NAME("dialogue/3text.1icon/expandable/default") + PROLOG_LIST_DIALOGUE + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.swallow.colorbar elm.icon"; + + images { + image: "00_list_button_expand_closed.png" COMP; + image: "00_list_button_expand_opened.png" COMP; + } + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRTB("elm.padding.icon.right", "elm.text.3", + "elm.padding.top", "elm.text.2", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.arrow.left", "elm.padding.top", "elm.text.2" + ) + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_SUB; + fixed: 1 1; + GENLIST_PARAM_SUBITEM_DEFAULT + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; + target: "elm.text.2"; target: "elm.text.3"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.5 + group { GENLIST_NAME("dialogue/3text.1icon/expandable.tb/default") + PROLOG_LIST_DIALOGUE + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.swallow.colorbar elm.icon"; + + images { + image: "00_list_button_expand_closed.png" COMP; + image: "00_list_button_expand_opened.png" COMP; + } + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_TB("elm.text.1", + DESC_LRTB("elm.padding.icon.right", "elm.text.3", + "elm.padding.top", "elm.text.2", + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM_TB + ) + ) + GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.arrow.left", "elm.padding.top", "elm.text.2" + ) + GENLIST_PART_SUBITEM_TB("elm.text.2", + DESC_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_SUB; + fixed: 1 1; + GENLIST_PARAM_SUBITEM_DEFAULT_TB + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; + target: "elm.text.2"; target: "elm.text.3"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + +// 2.5.1.6 + group { GENLIST_NAME("dialogue/1text/expandable/default") + + // FIXME: deprecated, only for backward compatibility + alias: "elm/genlist/tree/dialogue/1text/expandable2/default"; + alias: "elm/genlist/tree_odd/dialogue/1text/expandable2/default"; + alias: "elm/genlist/tree_compress/dialogue/1text/expandable2/default"; + alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable2/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text"; + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM("elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.arrow.left", + "elm.padding.top", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_1LINE; + GENLIST_PARAM_LISTITEM + ) + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } + + +// 2.5.1.7 + group { GENLIST_NAME("dialogue/multiline/2text/expandable/default") + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + GENLIST_IMAGES_EXPANDABLE_BTN + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.arrow.left", + "elm.padding.top", + fixed: 0 1; + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + GENLIST_PARAM_LISTITEM + ) + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.arrow.left", + "elm.text.1", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_MULTILINE_SUB; + GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP + ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP + ) + GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") + GENLIST_PART_EXPANDABLE_ARROW + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + programs { + GENLIST_PROGRAM_SELECT_ARROW + GENLIST_PROGRAM_DEFAULT_ARROW( target: "arrow"; target: "arrow_ef"; ) + GENLIST_PROGRAM_DISABLED_ARROW + GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; target: "arrow_ef"; ) + } + } diff --git a/2.2/widgets/genlist/genlist_groupindex.edc b/2.2/widgets/genlist/genlist_groupindex.edc new file mode 100644 index 0000000..f8f9b75 --- /dev/null +++ b/2.2/widgets/genlist/genlist_groupindex.edc @@ -0,0 +1,341 @@ +/* + * 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. + */ +/* + * vim:ts=3:expandtab +*/ + +#define GROUPINDEX_PADDING_SIZE_LEFT 26 +#define GROUPINDEX_PADDING_SIZE_RIGHT 26 +#define GROUPINDEX_PADDING_SIZE_TOP 18 +#define GROUPINDEX_PADDING_SIZE_BOTTOM 0 +#define GROUPINDEX_TEXT_HEIGHT 46 +#define GROUPINDEX_ICON_SIZE 64 + + +#define GENLIST_PART_INDEX_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "pressed" 0.0; \ + color_class: "W021L1P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + ) + + // group index +#define GENLIST_DESCRIPTION_INDEX_LIST \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T027P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T027D"; \ + } + + #define GENLIST_DESCRIPTION_INDEX_LIST_TB \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_groupindex_text_press"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_groupindex_text_dim"; \ + } + +#define GENLIST_PART_INDEX_LINE(BOTTOM) \ + PART(RECT, "index_line", \ + description { state: "default" 0.0; \ + align: 0.5 1.0; \ + rel2 { \ + relative: 1 1; \ + to_y: BOTTOM; \ + } \ + color_class: "W021L2"; \ + min: 0 4; \ + max: -1 4; \ + fixed: 0 1; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W021L2P"; \ + } \ + ) + +#define GENLIST_PART_INDEX_LINE_ICON(LEFT, BOTTOM) \ + PART(RECT, "index_line_icon", \ + DESC_LB(LEFT, BOTTOM, \ + color_class: "W021L2"; \ + min: 0 4; \ + max: -1 4; \ + fixed: 1 1; \ + rel2.to_x: "base"; \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W021L2P"; \ + } \ + ) + +// Group Index +#define GENLIST_PARAM_INDEX_LIST \ + color_class: "T027"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T027"; \ + } + +// Group Index +#define GENLIST_PARAM_INDEX_LIST_TB \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + style: "genlist_style_groupindex_text"; \ + } + +#define SLIDING_PER_FPS 1 +#define SLIDING_FPS 60.0 +// 2.1.1 + group { GENLIST_NAME("groupindex/default") + alias: "elm/genlist/item/grouptitle/default"; + alias: "elm/genlist/item_odd/grouptitle/default"; + alias: "elm/genlist/item_compress/grouptitle/default"; + alias: "elm/genlist/item_compress_odd/grouptitle/default"; + alias: "elm/genlist/tree/grouptitle/default"; + alias: "elm/genlist/tree_odd/grouptitle/default"; + alias: "elm/genlist/tree_compress/grouptitle/default"; + alias: "elm/genlist/tree_compress_odd/grouptitle/default"; + PROLOG_LIST + + data.item: "texts" "elm.text"; + + script { + public sliding_timer; + public end_timer; + public text_w; + public org_text_w; + + public get_width() { + new x, y, w, h; + get_geometry(PART:"elm.text", x, y, w, h); + set_int(org_text_w, w); + + set_state(PART:"elm.text", "sliding", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(text_w, w); + } + public ender(val) { + if (get_int(sliding_timer)) cancel_timer(get_int(sliding_timer)); + set_int(sliding_timer, 0); + if (get_int(end_timer)) cancel_timer(get_int(end_timer)); + set_int(end_timer, 0); + set_state(PART:"elm.text", "default", 0.0); + } + public sliding(val) { + if (val == 0) { + get_width(); + if (get_int(text_w) < get_int(org_text_w)) { + ender(1); + return; + } + } + custom_state(PART:"elm.text", "sliding", 0.0); + set_state_val(PART:"elm.text", STATE_REL1_OFFSET, val, 0); + set_state_val(PART:"elm.text", STATE_REL2_OFFSET, val, -1); + set_state(PART:"elm.text", "custom", 0.0); + val -= SLIDING_PER_FPS; + + if (val <= -get_int(text_w) + get_int(org_text_w)) { + set_int(end_timer, timer(0.5, "ender", 1)); + } else + set_int(sliding_timer, timer(1.0/SLIDING_FPS, "sliding", val)); + } + } + + parts { + GENLIST_PART_BASE + GENLIST_PART_INDEX_BG + PART(SWALLOW, "elm.swallow.pad", + mouse_events: 0; + DESC_FROM_L( ; ) + ) + PART(SPACER, "elm.padding.left", + DESC_L("elm.swallow.pad" , + min: GROUPINDEX_PADDING_SIZE_LEFT 0; + max: GROUPINDEX_PADDING_SIZE_LEFT -1; + ) + DESC_LIST_PADDINGS + ) + PART(SPACER, "elm.padding.right", + DESC_FROM_R( + min: GROUPINDEX_PADDING_SIZE_RIGHT 0; + max: GROUPINDEX_PADDING_SIZE_RIGHT -1; + ) + DESC_LIST_PADDINGS + ) + PART(SPACER, "elm.padding.top", + DESC_FROM_T( + min: 0 GROUPINDEX_PADDING_SIZE_TOP; + max: -1 GROUPINDEX_PADDING_SIZE_TOP; + ) + DESC_LIST_PADDINGS + ) + PART(SPACER, "elm.padding.bottom", + DESC_FROM_B( + min: 0 GROUPINDEX_PADDING_SIZE_BOTTOM; + max: -1 GROUPINDEX_PADDING_SIZE_BOTTOM; + ) + DESC_LIST_PADDINGS + ) + + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.line.top", + GENLIST_PARAM_INDEX_LIST_TB + min: 0 GROUPINDEX_TEXT_HEIGHT; + fixed: 1 0; + ) + description { state: "sliding" 0.0; + inherit: "default"; + text.min: 1 1; + align: 0 0.5; + } + GENLIST_DESCRIPTION_INDEX_LIST_TB + ) + + GENLIST_PART_PADDING_B_SIZE("elm.padding.line.top", "index_line", 8); + GENLIST_PART_INDEX_LINE("elm.padding.bottom") + GENLIST_PART_FOCUS + } + program { name: "default"; + signal: "elm,state,default"; + source: "elm"; + script { + ender(1); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"index_line", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + programs { + GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line"; ) + program { name: "pressed"; + signal: "elm,state,selected"; + source: "elm"; + script { + if (!get_int(sliding_timer) && !get_int(end_timer)) { + set_state(PART:"elm.text", "pressed", 0.0); + set_state(PART:"index_line", "pressed", 0.0); + set_state(PART:"bg", "pressed", 0.0); + } + } + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + script { + if (!get_int(sliding_timer) && !get_int(end_timer)) { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"index_line", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + } + program { name: "slide_start"; + signal: "elm,state,slide,start"; + source: ""; + script { + set_state(PART:"index_line", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + if (!get_int(sliding_timer) && !get_int(end_timer)) { + set_int(sliding_timer, timer(0.01, "sliding", 0)); + } + } + } + program { name: "slide_stop"; + signal: "elm,state,slide,stop"; + source: "elm"; + script { + if (get_int(sliding_timer) && get_int(end_timer)) { + ender(0); + } + } + } + GENLIST_PROGRAM_FOCUS + } + } + +//2.1.3 + group { GENLIST_NAME("groupindex.icon/default") + alias: "elm/genlist/item/grouptitle.icon/default"; + alias: "elm/genlist/item_odd/grouptitle.icon/default"; + alias: "elm/genlist/item_compress/grouptitle.icon/default"; + alias: "elm/genlist/item_compress_odd/grouptitle.icon/default"; + alias: "elm/genlist/tree/grouptitle.icon/default"; + alias: "elm/genlist/tree_odd/grouptitle.icon/default"; + alias: "elm/genlist/tree_compress/grouptitle.icon/default"; + alias: "elm/genlist/tree_compress_odd/grouptitle.icon/default"; + PROLOG_LIST + + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_INDEX_BG + PART_LIST_PADDINGS( + GROUPINDEX_PADDING_SIZE_LEFT, GROUPINDEX_PADDING_SIZE_RIGHT, + 18, 0 + ) + GENLIST_PART_ICON("elm.icon", + DESC_LTB("elm.padding.left", + "elm.padding.top", "elm.padding.bottom", + min: GROUPINDEX_ICON_SIZE GROUPINDEX_ICON_SIZE; + max: GROUPINDEX_ICON_SIZE GROUPINDEX_ICON_SIZE; + fixed: 1 0; + ) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon.right", "elm.icon", 16) + PART(TEXT, "elm.text", + DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.line.top", + GENLIST_PARAM_INDEX_LIST + min: 0 GROUPINDEX_TEXT_HEIGHT; + ) + GENLIST_DESCRIPTION_INDEX_LIST + ) + GENLIST_PART_PADDING_B_SIZE("elm.padding.line.top", "elm.padding.bottom", 8); + GENLIST_PART_INDEX_LINE_ICON("elm.padding.icon.right", "elm.padding.bottom") + GENLIST_PART_FOCUS + } + programs { + GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line_icon"; ) + GENLIST_PROGRAM_SELECT( target: "elm.text"; target: "index_line_icon"; target: "bg"; ) + GENLIST_PROGRAM_FOCUS + } + } diff --git a/2.2/widgets/genlist/genlist_macro.edc b/2.2/widgets/genlist/genlist_macro.edc new file mode 100755 index 0000000..e7dfb36 --- /dev/null +++ b/2.2/widgets/genlist/genlist_macro.edc @@ -0,0 +1,3185 @@ +/* + * 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. + */ + +//****************************************************************************// +// ******************************* Default size macro **********************// +//**************************************************************************// +// if size is different for each theme, split it into each theme inc. + +#define GENLIST_HEIGHT_1LINE 102 // (112 - top/bottom padding) +#define GENLIST_HEIGHT_2LINE_MAIN 57 +#define GENLIST_HEIGHT_2LINE_SUB 45 +#define GENLIST_HEIGHT_MULTILINE_SUB 38 +#define GENLIST_PART_LIST_LINE_HEIGHT 1 +#define GENLIST_HEIGHT_GROUPTITLE 46 + +#define GENLIST_PADDING_SIZE_DEFAULT 16 +#define GENLIST_PADDING_SIZE_LEFT 26 +#define GENLIST_PADDING_SIZE_RIGHT 26 +// Dialogue group image has bottom padding (2piexl), Giant font can overlapped bottom line of image. +#define GENLIST_PADDING_SIZE_TOP 5 +#define GENLIST_PADDING_SIZE_BOTTOM 5 +// ----------------------------------------------------- +#define GENLIST_PADDING_SIZE_TOP_2LINE 19 +#define GENLIST_PADDING_SIZE_BOTTOM_2LINE 19 +#define GENLIST_PADDING_SIZE_TOP_3LINE 17 +#define GENLIST_PADDING_SIZE_BOTTOM_3LINE 17 +#define GENLIST_PADDING_SIZE_NDEPTH 26 + +#define GENLIST_EDITFIELD_PADDING_SIZE_TOP 19 +#define GENLIST_EDITFIELD_PADDING_SIZE_BOTTOM 19 +#define GENLIST_EDITFIELD_1LINE_HEIGHT 74 + + +#define DIALOGUE_PADDING_SIZE_LEFT 16+20 +#define DIALOGUE_PADDING_SIZE_RIGHT 16+20 +#define DIALOGUE_EDITFIELD_PADDING_SIZE_LEFT 16+10 +#define DIALOGUE_EDITFIELD_PADDING_SIZE_RIGHT 16+10 + +#define GENLIST_POPUP_PADDING_SIZE_LEFT 47 +#define GENLIST_POPUP_PADDING_SIZE_RIGHT 47 + +#define GENLIST_ICON_SMALL_SIZE 45 +#define GENLIST_ICON_STAR_SIZE 45 +#define GENLIST_ICON_MEDIUM_SIZE 81 +#define GENLIST_ICON_LARGE_SIZE 99 +#define GENLIST_ICON_THUMBNAIL_SIZE 99 + +#define GENLIST_BTN_01_HEIGHT 74 +#define GENLIST_BTN_02_SIZE 72 +#define GENLIST_ICON_ONOFF_WIDTH 135 +#define GENLIST_ICON_ONOFF_HEIGHT 63 +#define GENLIST_ICON_CHECK_RADIO_SIZE 64 +#define GENLIST_ICON_COLORBAR_SIZE 7 +#define GENLIST_ICON_PASSWORD_SIZE 82 +// 26(left padding)+2*74(Button Min width)+16(centre padding)+26(right padding) +#define GENLIST_MIN_SLIDE2_BASE_WIDTH 216 +// 26(left padding)+3*74(Button Min width)+2*16(centre padding)+26(right padding) +#define GENLIST_MIN_SLIDE3_BASE_WIDTH 306 +// 26(left padding)+4*74(Button Min width)+3*16(centre padding)+26(right padding) +#define GENLIST_MIN_SLIDE4_BASE_WIDTH 396 + +#define GENLIST_ICON_ENTRY_SIZE 54 + +#define GENLIST_TREESIZE_DEFAULT 26 + +//#define GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT 40 + +//****************************************************************************// +// ***************** EDJE description have 24 patterns **********************// + //**************************************************************************// +//****************************************************************************// +// ***************** EDJE description have 24 patterns **********************// + //**************************************************************************// +// ------------------ +// | --> HERE +// ------------------ + #define DESC_FROM_L( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM\ + } + +// ------------------ +// HERE <-- | +// ------------------ + #define DESC_FROM_R( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DESC_FROM_T( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DESC_FROM_B( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM\ + } + +// ------------------ +// | PART == HERE | +// ------------------ + #define DESC_TO( PART, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 0 0; \ + to: PART; \ + }\ + rel2 {\ + relative: 1 1;\ + to: PART; \ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// --------------------- +// LEFT |--> HERE +// --------------------- +#define DESC_L( LEFT, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + }\ + rel2 { \ + relative: 1 1;\ + to_x: LEFT; \ + }\ + PARAM\ + } + +// --------------------- +// HERE <--| RIGHT +// --------------------- +#define DESC_R( RIGHT, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT; \ + }\ + PARAM\ + } + +// -------------------------- +// LEFT |--> HERE <--| RIGHT +// -------------------------- +#define DESC_LR( LEFT, RIGHT, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + }\ + PARAM\ + } + +// | TOP | +// ----------------- +// | HERE <--| RIGHT +// ----------------- +// | BOTTOM | +#define DESC_RTB( RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0.5;\ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_LRB( LEFT, RIGHT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 1;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +#define DESC_LRT( LEFT, RIGHT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | --> HERE | +#define DESC_LT( LEFT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 1;\ + to_x: LEFT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// LEFT | --> HERE | +// --------------------- +// | BOTTOM | +#define DESC_LB( LEFT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 1;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: LEFT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT |--> HERE | +// --------------------- +// | BOTTOM | +#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0.5;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: LEFT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// | HERE <--| RIGHT +#define DESC_RT( RIGHT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0;\ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// | HERE <-- | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_RB( RIGHT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 1;\ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DESC_TB( TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0.5;\ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 0;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +#define DESC_T( TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0.0;\ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 1;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DESC_B( BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 1.0;\ + rel1 { \ + relative: 0 0; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 1 0;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +//****************************************************************************// +//******************************* Part Macros ********************************// +//****************************************************************************// +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +//****************************************************************************// +//**************************** Genlist Macros ********************************// +//****************************************************************************// +#define PROLOG_LIST \ + data.item: "treesize" 0; \ + data.item: "flips" "elm.flip.icon elm.flip.content"; \ + data.item: "focus_highlight" "on"; + + //data.item: "selectraise" "on"; \ + +#define PROLOG_LIST_NORMAL \ + PROLOG_LIST \ + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + +#define PROLOG_LIST_DIALOGUE \ + PROLOG_LIST \ + +// | Top Padding | +// --------------------------------------------- +// Left Padding | Content | Right Padding +// --------------------------------------------- +// | Bottom Padding | +// ---------------------------------------------- +// | Bottom Line | + +// When decorate/Reorder is on, BG of decorate or reorder is used instead. +// So, hide Normal BG. +#define PART_LIST_BG_NORMAL \ + PART(RECT, "bg_clip", \ + description { state: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bg", \ + clip_to: "bg_clip"; \ + description { state: "default" 0.0; \ + color_class: "B011"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + ) \ + PART(RECT, "bg_reorder_clip", \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder_flip" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(SPACER, "bg_reorder_left", \ + DESC_FROM_L( \ + min: 16 0; \ + max: 16 -1; \ + ) \ + ) \ + PART(SPACER, "bg_reorder_right", \ + DESC_FROM_R( \ + min: 16 0; \ + max: 16 -1; \ + ) \ + ) \ + PART(SPACER, "bg_reorder_top", \ + DESC_FROM_T( \ + min: 0 2; \ + max: -1 2; \ + ) \ + ) \ + PART(SPACER, "bg_reorder_bottom", \ + DESC_FROM_B( \ + min: 0 2; \ + max: -1 2; \ + ) \ + ) \ + PART(RECT, "bg_reorder", \ + clip_to: "bg_reorder_clip"; \ + DESC_LRTB("bg_reorder_left", "bg_reorder_right", \ + "bg_reorder_top", "bg_reorder_bottom", \ + color_class: "B0217L1"; \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default"; \ + color_class: "B041P"; \ + } \ + description { state: "flipped" 0.0; \ + inherit: "default"; \ + visible: 0; \ + } \ + ) + +#define PART_LIST_BG_NORMAL_OFF \ + PART(RECT, "bg_clip", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bg_reorder_clip", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder_flip" 0.0; \ + visible: 0; \ + } \ + ) + +#define PART_LIST_BOTTOMLINE \ + PART(RECT, "bottom_line_clip", \ + description { state: "default" 0.0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bottom_line", \ + mouse_events: 0; \ + clip_to: "bottom_line_clip"; \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color_class: "B0223"; \ + rel1.offset: -1 -1; \ + } \ + description { state: "flipped" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) + // FIXME: which one should be used? hide or hidden? + +#define PART_LIST_BOTTOMLINE_OFF \ + PART(RECT, "bottom_line_clip", \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + PART(RECT, "bottom_line", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + ) + +#define DESC_LIST_PADDINGS \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 32 0; \ + max: 32 -1; \ + } + +#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ + PART(SWALLOW, "elm.swallow.pad", \ + mouse_events: 0; \ + DESC_FROM_L( ; ) \ + ) \ + PART(SWALLOW, "elm.swallow.colorbar", \ + mouse_events: 0; \ + DESC_L("elm.swallow.pad", ) \ + ) \ + PART(SPACER, "elm.padding.left", \ + DESC_L("elm.swallow.pad", \ + min: LEFT_SIZE 0; \ + max: LEFT_SIZE -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(SPACER, "elm.padding.right", \ + DESC_FROM_R( \ + min: RIGHT_SIZE 0; \ + max: RIGHT_SIZE -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(SPACER, "elm.padding.top", \ + DESC_FROM_T( \ + min: 0 TOP_SIZE; \ + max: -1 TOP_SIZE; \ + ) \ + ) \ + PART(SPACER, "elm.padding.bottom", \ + DESC_FROM_B( \ + min: 0 BOTTOM_SIZE; \ + max: -1 BOTTOM_SIZE; \ + ) \ + ) + + + +//=========================================================================================== + +#define GENLIST_NAME(NAME) \ + name: "elm/genlist/item/"NAME; + +/*****************************************************************************/ +/******************************* Dialogue group ******************************/ +/*****************************************************************************/ +#define GENLIST_DIALOGUE_INHERIT_BODY( _PARTS ) \ + data.item: "treesize" 0; \ + parts { \ + PART_LIST_BG_NORMAL_OFF \ + PART_LIST_BOTTOMLINE_OFF \ + GENLIST_PART_BG_DIALOGUE \ + PART(SPACER, "elm.padding.left", \ + DESC_L("elm.swallow.pad", \ + min: DIALOGUE_PADDING_SIZE_LEFT 0; \ + max: DIALOGUE_PADDING_SIZE_LEFT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(SPACER, "elm.padding.right", \ + DESC_FROM_R( \ + min: DIALOGUE_PADDING_SIZE_RIGHT 0; \ + max: DIALOGUE_PADDING_SIZE_RIGHT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + _PARTS \ + GENLIST_PART_FLIP \ + GENLIST_PART_FOCUS_DIALOGUE \ + } + +#define GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( _PARTS ) \ + data.item: "treesize" 0; \ + parts { \ + PART_LIST_BG_NORMAL_OFF \ + PART_LIST_BOTTOMLINE_OFF \ + GENLIST_PART_BG_DIALOGUE \ + PART(SPACER, "elm.padding.left", \ + DESC_FROM_L( \ + min: DIALOGUE_EDITFIELD_PADDING_SIZE_LEFT 0; \ + max: DIALOGUE_EDITFIELD_PADDING_SIZE_LEFT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(SPACER, "elm.padding.right", \ + DESC_FROM_R( \ + min: DIALOGUE_EDITFIELD_PADDING_SIZE_RIGHT 0; \ + max: DIALOGUE_EDITFIELD_PADDING_SIZE_RIGHT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + _PARTS \ + GENLIST_PART_FLIP \ + GENLIST_PART_FOCUS_DIALOGUE \ + } + + +#define GENLIST_INHERIT_THUMB_CIRCLE(SIZE, PARENT) \ + images { \ + image: "Content_views/00_list_circle_thumbnail_bg.png" COMP; \ + } \ + parts { \ + PART(RECT, "elm.thumb.clip", \ + description { state: "default"; \ + } \ + description { state: "flipped"; \ + color: 0 0 0 0; \ + } \ + ) \ + PART(IMAGE, "elm.thumb", \ + insert_before: "focus_part"; \ + clip_to: "elm.thumb.clip"; \ + mouse_events: 0; \ + DESC_TO(PARENT, \ + image.normal: "Content_views/00_list_circle_thumbnail_bg.png"; \ + min: SIZE SIZE; \ + max: SIZE SIZE; \ + fixed:1 1; \ + color_class: "B011"; \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B0217L1"; \ + } \ + description { state: "reorder_selected" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "reorder" 0.0; \ + } \ + ) \ + } + +#define GENLIST_INHERIT_THUMB_SQUARE(SIZE, NAME) \ + parts { \ + part { name: NAME; \ + description { state: "default" 0.0; \ + min: SIZE SIZE; \ + max: SIZE SIZE; \ + } \ + } \ + } + +#define GENLIST_INHERIT_THUMB_POPUP(SIZE, PARENT) \ + images { \ + image: "Popup/00_popup_thumbnail_bg.png" COMP; \ + } \ + parts { \ + PART(RECT, "elm.thumb.clip", \ + description { state: "default"; \ + } \ + description { state: "flipped"; \ + color: 0 0 0 0; \ + } \ + ) \ + PART(IMAGE, "elm.thumb", \ + insert_before: "focus_part"; \ + clip_to: "elm.thumb.clip"; \ + mouse_events: 0; \ + DESC_TO(PARENT, \ + image.normal: "Popup/00_popup_thumbnail_bg.png"; \ + color_class : "B061L1"; \ + min: SIZE SIZE; \ + max: SIZE SIZE; \ + fixed:1 1; \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class : "B061L1P"; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + color_class : "B061L1"; \ + } \ + description { state: "reorder_selected" 0.0; \ + inherit: "default" 0.0; \ + color_class : "B061L1P"; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "reorder" 0.0; \ + } \ + ) \ + } + +//****************************************************************************// +// ****************************** BG Image **********************************// +//****************************************************************************// +#define GENLIST_PART_BG_DIALOGUE \ + PART(SPACER, "bg_dialogue_left", \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 0 0.5; \ + rel2.relative: 0 1; \ + } \ + ) \ + PART(SPACER, "bg_dialogue_right", \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + } \ + ) \ + PART(RECT, "bg_dialogue_bottom_line_clip", \ + description { state: "default" 0.0;\ + visible: 0; \ + }\ + description { state: "show" 0.0;\ + visible: 1; \ + }\ + ) \ + PART(RECT, "bg_dialogue_bottom_line", \ + clip_to: "bg_dialogue_bottom_line_clip"; \ + mouse_events: 0; \ + insert_after: "bg_dialogue"; \ + DESC_LR("bg_dialogue_left", "bg_dialogue_right", \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color_class: "B0217L2"; \ + ) \ + description { state: "2depth" 0.0;\ + inherit: "default" 0.0; \ + color_class: "B0223"; \ + }\ + ) \ + PART(RECT, "bg_dialogue", \ + insert_after: "base"; \ + DESC_LR("bg_dialogue_left", "bg_dialogue_right", \ + color_class: "B0217L1"; \ + ) \ + description { state: "pressed" 0.0;\ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + }\ + description { state: "2depth" 0.0;\ + inherit: "default" 0.0; \ + color_class: "B0214L1"; \ + }\ + description { state: "2depth_pressed" 0.0;\ + inherit: "default" 0.0; \ + color_class: "B041P"; \ + }\ + ) + +//****************************************************************************// +// ****************************** BASE ********************************// +//****************************************************************************// +#define GENLIST_PART_BASE_SIZE(HEIGHT) \ + part { name: "base"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 0 HEIGHT; \ + } \ + } \ + part { name: "state"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default"; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default"; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default"; \ + } \ + } + +#define GENLIST_PART_BASE \ + GENLIST_PART_BASE_SIZE(0) + +#define GENLIST_PART_FOCUS \ + PART(IMAGE, "focus_part", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + image { \ + normal: "00_focus_01.#.png"; \ + } \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) \ + +#define GENLIST_PART_FOCUS_REORDER \ + PART(IMAGE, "focus_part_reorder", \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 1; \ + to_x: "bg_reorder_left"; \ + to_y: "bg_reorder_top"; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: "bg_reorder_right"; \ + to_y: "bg_reorder_bottom"; \ + } \ + visible: 0; \ + image { \ + normal: "00_focus_01.#.png"; \ + } \ + color_class: "W161"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) + +#define GENLIST_PART_FOCUS_NORMAL \ + GENLIST_PART_FOCUS \ + GENLIST_PART_FOCUS_REORDER + + +#define GENLIST_PART_FOCUS_DIALOGUE \ + PART(IMAGE, "focus_part_dialogue", \ + mouse_events: 0; \ + DESC_LR("bg_dialogue_left", "bg_dialogue_right", \ + visible: 0; \ + image { \ + normal: "00_focus_01.#.png"; \ + } \ + color_class: "W161"; \ + ) \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) \ + +//****************************************************************************// +// ****************************** LINE ********************************// +//****************************************************************************// + +#define GENLIST_PART_DIVIDER_PADDING \ + PART(SPACER, "elm.padding.divider.top", \ + description { state: "default" 0.0; \ + align: 0.5 0; \ + min: 0 30; \ + max: -1 30; \ + fixed: 0 1; \ + rel2.relative: 1 0; \ + } \ + ) \ + PART(SPACER, "elm.padding.divider.bottom", \ + description { state: "default" 0.0; \ + align: 0.5 1; \ + min: 0 30; \ + max: -1 30; \ + fixed: 0 1; \ + rel1.relative: 0 1; \ + } \ + ) + +#define GENLIST_PART_DIVIDER_L(LEFT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) + +#define GENLIST_PART_DIVIDER_R(RIGHT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) + +#define GENLIST_PART_MULTILINE_DIVIDER_L(LEFT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) + +#define GENLIST_PART_MULTILINE_DIVIDER_R(RIGHT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) + +#define GENLIST_PART_DIALOGUE_GROUP_DIVIDER_L(LEFT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + align: 0 0.5; \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel2.offset: 0 0; \ + color_class: "B0221L2"; \ + ) \ + ) + +#define GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R(RIGHT) \ + GENLIST_PART_DIVIDER_PADDING \ + PART(RECT, "elm.divider1", \ + mouse_events: 0; \ + DESC_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) \ + PART(RECT, "elm.divider2", \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + rel1.offset: -1 0;\ + color_class: "B0221L2"; \ + ) \ + ) +#define GENLIST_PART_CENTER_LINE_LRT(LEFT, RIGHT, TOP) \ + PART(RECT, "center_line", \ + mouse_events: 0; \ + DESC_LRT(LEFT, RIGHT, TOP, \ + min: 0 1; \ + max: -1 1; \ + fixed: 0 1; \ + color_class: "B0221L2"; \ + rel2.relative: 1 1; \ + ) \ + ) \ + PART(RECT, "center_line2", \ + DESC_LRT(LEFT, RIGHT, "center_line", \ + min: 0 1; \ + max: -1 1; \ + fixed: 0 1; \ + color_class: "B0221L2"; \ + rel2.relative: 1 1; \ + ) \ + ) + +#define GENLIST_PART_COLORBAR \ + PART(SPACER, "elm.padding.colorbar.top", \ + DESC_TO("base", \ + align: 0.5 0; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel2.relative: 1 0; \ + ) \ + ) \ + PART(SPACER, "elm.padding.colorbar.bottom", \ + DESC_TO("base", \ + align: 0.5 1; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel1.relative: 0 1; \ + ) \ + ) \ + GENLIST_PART_ICON("elm.swallow.colorbar", \ + DESC_TB("elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \ + min: GENLIST_ICON_COLORBAR_SIZE 0; \ + max: GENLIST_ICON_COLORBAR_SIZE -1; \ + fixed: 1 0; \ + align: 0 0.5; \ + rel1.relative: 0 1; \ + rel2.relative: 0 0; \ + ) \ + ) + +#define GENLIST_PART_COLORBAR_DIALOGUE \ + PART(SPACER, "elm.padding.colorbar.top", \ + DESC_TO("base", \ + align: 0.5 0; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel2.relative: 1 0; \ + ) \ + ) \ + PART(SPACER, "elm.padding.colorbar.bottom", \ + DESC_TO("base", \ + align: 0.5 1; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel1.relative: 0 1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.colorbar.left", \ + description{ state: "default" 0.0; \ + min: 19 0; \ + max: 19 -1; \ + fixed: 1 0; \ + align: 0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 0 1; \ + } \ + ) \ + GENLIST_PART_ICON("elm.swallow.colorbar", \ + DESC_LTB("elm.padding.colorbar.left","elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \ + min: GENLIST_ICON_COLORBAR_SIZE 0; \ + max: GENLIST_ICON_COLORBAR_SIZE -1; \ + fixed: 1 0; \ + ) \ + ) + +//****************************************************************************// +//********************************* PADDING **********************************// +//****************************************************************************// +#define GENLIST_PART_PADDING( NAME, SIZE, REL1, REL2 ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + align: 0.5 0.5; \ + rel1 { \ + relative: REL1; \ + to: "base"; \ + } \ + rel2 { \ + relative: REL2; \ + to: "base"; \ + } \ + } \ + ) + + +#define GENLIST_PART_PADDING_R( NAME, RIGHT ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + max: GENLIST_PADDING_SIZE_DEFAULT -1; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_R_SIZE( NAME, RIGHT, SIZE ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: SIZE 0; \ + max: SIZE -1; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_L( NAME, LEFT ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + max: GENLIST_PADDING_SIZE_DEFAULT -1; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_L_SIZE( NAME, LEFT, SIZE ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: SIZE 0; \ + max: SIZE -1; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + ) + + +#define GENLIST_PART_PADDING_T_SIZE( NAME, TOP, SIZE ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + align: 0.5 0; \ + rel1 { \ + relative: 0 1; \ + to: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to: TOP; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_B_SIZE( NAME, BOTTOM, SIZE ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + align: 0.5 1; \ + rel1 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + rel2 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + } \ + ) + +#define GENLIST_PROGRAM_EXPAND_ROOT( TARGET ) \ + program { \ + name: "go_expanded"; \ + signal: "elm,state,expanded"; \ + source: "elm"; \ + action: STATE_SET "expand_opened" 0.0; \ + TARGET \ + } \ + program { \ + name: "go_contracted"; \ + signal: "elm,state,contracted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +// 2.2.7 Genlist_Edit mode (Rename) +// FIXME: padding is not needed when swallow content is NULL. +// But how can edje know existence of swallow content? +#define GENLIST_PART_FLIP \ + PART(RECT, "elm.flip.bg", \ + mouse_events: 0; \ + description { state: "default" 0.0;\ + rel2.offset: 0 -3; \ + color_class: "B011"; \ + visible: 0; \ + } \ + description { state: "flipped" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + }\ + ) \ + PART(SPACER, "elm.flip.padding.right", \ + description { state: "default" 0.0; \ + min: 26 0; \ + max: 26 -1; \ + fixed: 1 0; \ + align: 1 0.5; \ + rel1.relative: 1 0; \ + } \ + ) \ + GENLIST_PART_ICON("elm.flip.content", \ + DESC_LRTB("elm.padding.left", "elm.flip.padding.icon.left", \ + "elm.padding.top", "elm.padding.bottom", \ + visible: 1; /* FIXME: object(entry) should be visible when focused. if not, it will be unfocused immediately */ \ + min: 0 GENLIST_EDITFIELD_1LINE_HEIGHT; \ + ) \ + description { state: "flipped" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) \ + GENLIST_PART_PADDING_R("elm.flip.padding.icon.left", "elm.flip.icon") \ + GENLIST_PART_ICON( "elm.flip.icon", \ + DESC_RTB("elm.flip.padding.right", \ + "elm.padding.top", "elm.padding.bottom", \ + visible: 0; \ + aspect: 1 1; \ + align: 1 0.5; \ + max: 158 74; \ + ) \ + description { state: "flipped" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) + +//****************************************************************************// +// ******************************* Programs ********************************// +//**************************************************************************// +// signal: elm,state,%s,active +// a "check" item named %s went active +// signal: elm,state,%s,passive +// a "check" item named %s went passive +// default is passive +#define GENLIST_PROGRAM_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +#define GENLIST_PROGRAM_DEFAULT_ARROW( TARGET ) \ + program { name: "default_arrow"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +#define GENLIST_PROGRAM_DISABLED( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define GENLIST_PROGRAM_BOTTOMLINE \ + program { name : "hide_bottomline"; \ + signal: "elm,state,bottomline,hide"; \ + source: ""; \ + action: STATE_SET "hidden" 0.0; \ + target: "bottom_line"; \ + } \ + program { name : "show_bottomline"; \ + signal: "elm,state,bottomline,show"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "bottom_line"; \ + } + +#define GENLIST_PROGRAM_FOCUS \ + program { name: "focused"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_part"; \ + } \ + program { name: "unfocused"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_part"; \ + } + +#define GENLIST_PROGRAM_FOCUS_NORMAL \ + program { name: "focused"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_reorder_clip", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) \ + set_state(PART:"focus_part_reorder", "focused", 0.0); \ + else \ + set_state(PART:"focus_part", "focused", 0.0); \ + } \ + } \ + program { name: "unfocused"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_part_reorder"; \ + target: "focus_part"; \ + } + +#define GENLIST_PROGRAM_FOCUS_DIALOGUE \ + program { name: "focused"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + script { \ + set_state(PART:"focus_part_dialogue", "focused", 0.0); \ + } \ + } \ + program { name: "unfocused"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_part_dialogue"; \ + } + +#define PROGRAM_LIST_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define GENLIST_PROGRAM_SELECT( TARGET ) \ + program { name: "pressed"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define GENLIST_PROGRAM_BG_DIALOGUE \ + program { name: "bg_top"; \ + signal: "elm,state,top"; \ + source: "*"; \ + script { \ + set_state(PART:"bg_dialogue_bottom_line_clip", "show", 0.0); \ + } \ + } \ + program { name: "bg_center"; \ + signal: "elm,state,center"; \ + source: "*"; \ + script { \ + set_state(PART:"bg_dialogue_bottom_line_clip", "show", 0.0); \ + } \ + } \ + program { name: "bg_bottom"; \ + signal: "elm,state,bottom"; \ + source: "*"; \ + script { \ + set_state(PART:"bg_dialogue_bottom_line_clip", "default", 0.0); \ + } \ + } \ + program { name: "bg_normal"; \ + signal: "elm,state,normal"; \ + source: "*"; \ + script { \ + set_state(PART:"bg_dialogue_bottom_line_clip", "default", 0.0); \ + } \ + } + +#define GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ + program { name: "pressed"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_dialogue", st, 30, vl); \ + if (!strcmp(st, "2depth")) \ + set_state(PART:"bg_dialogue", "2depth_pressed", 0.0); \ + else \ + set_state(PART:"bg_dialogue", "pressed", 0.0); \ + run_program(PROGRAM:"target_selected"); \ + } \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_dialogue", st, 30, vl); \ + if (!strcmp(st, "2depth_pressed")) \ + set_state(PART:"bg_dialogue", "2depth", 0.0); \ + else if (!strcmp(st, "pressed")) \ + set_state(PART:"bg_dialogue", "default", 0.0); \ + run_program(PROGRAM:"target_unselected"); \ + } \ + } \ + program { name: "target_selected"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + }\ + program { name: "target_unselected"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + GENLIST_PROGRAM_BG_DIALOGUE + + +#define GENLIST_PROGRAM_SELECT_ARROW \ + program { name: "selected_arrow"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"arrow", st, 30, vl); \ + if (!strcmp(st, "default")) { \ + set_state(PART:"arrow", "default_press", 0.0); \ + set_state(PART:"arrow_ef", "default_press", 0.0); \ + } \ + else if (!strcmp(st, "expand_opened")) { \ + set_state(PART:"arrow", "expand_opened_press", 0.0); \ + set_state(PART:"arrow_ef", "expand_opened_press", 0.0); \ + } \ + } \ + } \ + program { name: "unselected_arrow"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"arrow", st, 30, vl); \ + if (!strcmp(st, "default_press")) { \ + set_state(PART:"arrow", "default", 0.0); \ + set_state(PART:"arrow_ef", "default", 0.0); \ + } \ + else if (!strcmp(st, "expand_opened_press")) { \ + set_state(PART:"arrow", "expand_opened", 0.0); \ + set_state(PART:"arrow_ef", "expand_opened", 0.0); \ + } \ + } \ + } + +#define GENLIST_PROGRAM_DISABLED_ARROW \ + program { name: "enabled_arrow"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"arrow", st, 30, vl); \ + if ((!strcmp(st, "default")) || \ + (!strcmp(st, "default_press")) || \ + (!strcmp(st, "default_dim"))) { \ + set_state(PART:"arrow", "default", 0.0); \ + set_state(PART:"arrow_ef", "default", 0.0); \ + } \ + else if ((!strcmp(st, "expand_opened")) || \ + (!strcmp(st, "expand_opened_press")) || \ + (!strcmp(st, "expand_opened_dim"))) { \ + set_state(PART:"arrow", "expand_opened", 0.0); \ + set_state(PART:"arrow_ef", "expand_opened", 0.0); \ + } \ + } \ + } \ + program { name: "disabled_arrow"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"arrow", st, 30, vl); \ + if (!strcmp(st, "default")) { \ + set_state(PART:"arrow", "default_dim", 0.0); \ + set_state(PART:"arrow_ef", "default_dim", 0.0); \ + } \ + else if (!strcmp(st, "expand_opened")) { \ + set_state(PART:"arrow", "expand_opened_dim", 0.0); \ + set_state(PART:"arrow_ef", "expand_opened_dim", 0.0); \ + } \ + } \ + } + +#define GENLIST_PROGRAM_REORDER( TARGET ) \ + program { name: "reorder_enabled"; \ + signal: "elm,state,reorder,mode_set"; \ + source: "elm"; \ + action: STATE_SET "reorder" 0.0; \ + TARGET \ + } \ + program { name: "reorder_disabled"; \ + signal: "elm,state,reorder,mode_unset"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define GENLIST_PROGRAM_DECORATE_REORDER( NAME, TARGET ) \ + program { name: "reorder_enabled"NAME; \ + signal: "elm,state,reorder,mode_set"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "decorate") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"decorate_reorder_set"NAME); \ + } else { \ + run_program(PROGRAM:"reorder_set"NAME); \ + } \ + } \ + } \ + program { name: "reorder_disabled"NAME; \ + signal: "elm,state,reorder,mode_unset"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "decorate") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"decorate_set"NAME); \ + } else { \ + run_program(PROGRAM:"default_set"NAME); \ + } \ + } \ + } \ + program { name: "decorate_enabled_effect"NAME; \ + signal: "elm,state,decorate,enabled,effect";\ + source: "elm";\ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"decorate_reorder_set"NAME); \ + } else { \ + run_program(PROGRAM:"decorate_set"NAME); \ + } \ + } \ + }\ + program { name: "decorate_disabled_effect"NAME;\ + signal: "elm,state,decorate,disabled,effect";\ + source: "elm";\ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"reorder_set"NAME); \ + } else { \ + run_program(PROGRAM:"default_set"NAME); \ + } \ + } \ + }\ + program { name: "decorate_enabled"NAME;\ + signal: "elm,state,decorate,enabled";\ + source: "elm";\ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"decorate_reorder_set"NAME); \ + } else { \ + run_program(PROGRAM:"decorate_set"NAME); \ + } \ + } \ + }\ + program { name: "decorate_disabled"NAME;\ + signal: "elm,state,decorate,disabled";\ + source: "elm";\ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"state", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ + run_program(PROGRAM:"reorder_set"NAME); \ + } else { \ + run_program(PROGRAM:"default_set"NAME); \ + } \ + } \ + } \ + program { name: "default_set"NAME; \ + action: STATE_SET "default" 0.0;\ + target: "state"; \ + TARGET \ + } \ + program { name: "decorate_set"NAME; \ + action: STATE_SET "decorate" 0.0;\ + target: "state"; \ + TARGET \ + } \ + program { name: "reorder_set"NAME; \ + action: STATE_SET "reorder" 0.0;\ + target: "state"; \ + TARGET \ + } \ + program { name: "decorate_reorder_set"NAME; \ + action: STATE_SET "decorate_reorder" 0.0;\ + target: "state"; \ + TARGET \ + } + +#define GENLIST_PROGRAM_FLIP \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + transition: DECELERATE 0.5; \ + action: STATE_SET "flipped" 0.0; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + transition: DECELERATE 0.5; \ + action: STATE_SET "default" 0.0; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_enabled_bg"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flipped" 0.0; \ + target: "elm.flip.bg"; \ + } \ + program { name: "flip_disabled_bg"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.flip.bg"; \ + } + +#define GENLIST_PROGRAM_FLIP_TARGET( TARGET ) \ + program { name: "flip_enabled_target"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flipped" 0.0; \ + TARGET \ + } \ + program { name: "flip_disabled_target"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + + +/***************************************************************************/ +/***************************************************************************/ + +#define GENLIST_PROGRAMS_NORMAL( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DEFAULT( TARGET \ + target: "bg"; \ + target: "bg_clip"; \ + target: "bottom_line"; \ + target: "bottom_line_clip"; \ + target: "bg_reorder"; \ + target: "bg_reorder_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "elm.padding.top"; \ + target: "elm.padding.bottom"; \ + target: "focus_part"; \ + target: "focus_part_reorder"; \ + ) \ + GENLIST_PROGRAM_DISABLED( TARGET \ + target: "bg"; \ + target: "bg_reorder"; \ + ) \ + GENLIST_PROGRAM_BOTTOMLINE \ + GENLIST_PROGRAM_FOCUS_NORMAL \ + GENLIST_PROGRAM_SELECT( TARGET \ + target: "bg"; \ + target: "bg_reorder"; \ + ) \ + PROGRAM_LIST_SOUND \ + GENLIST_PROGRAM_DECORATE_REORDER("normal", TARGET \ + target: "bg_clip"; \ + target: "bg_reorder_clip"; \ + target: "bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "elm.padding.top"; \ + target: "elm.padding.bottom"; \ + ) \ + GENLIST_PROGRAM_FLIP \ + } + +#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DEFAULT( TARGET \ + target: "bg_dialogue"; \ + target: "bg_dialogue_bottom_line"; \ + target: "bg_dialogue_bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "bg_dialogue_right"; \ + target: "focus_part_dialogue"; \ + ) \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + GENLIST_PROGRAM_FOCUS_DIALOGUE \ + GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ + program { name: "bg_color_change"; \ + signal: "bg_color_change"; \ + source: "elm"; \ + action: STATE_SET "2depth" 0.0; \ + target: "bg_dialogue"; \ + target: "bg_dialogue_bottom_line"; \ + } \ + PROGRAM_LIST_SOUND \ + GENLIST_PROGRAM_DECORATE_REORDER( "normal", TARGET \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + GENLIST_PROGRAM_FLIP \ + } + +#define GENLIST_PROGRAMS_DECORATE_EFFECT( TARGET ) \ + program { name: "decorate_enabled_effect_ef"; \ + signal: "elm,state,decorate,enabled,effect";\ + source: "elm";\ + transition: DECELERATE 0.5;\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_effect_ef";\ + signal: "elm,state,decorate,disabled,effect";\ + source: "elm";\ + transition: ACCELERATE 0.5;\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } \ + program { name: "decorate_enabled_ef";\ + signal: "elm,state,decorate,enabled";\ + source: "elm";\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_ef";\ + signal: "elm,state,decorate,disabled";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } + +#define GENLIST_PROGRAMS_ENTRY( TARGET ) \ + GENLIST_PROGRAM_DEFAULT( TARGET \ + target: "bg"; \ + target: "bg_clip"; \ + target: "bottom_line"; \ + target: "bottom_line_clip"; \ + target: "bg_reorder"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "focus_part"; \ + target: "focus_part_reorder"; \ + ) \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + GENLIST_PROGRAM_BOTTOMLINE \ + GENLIST_PROGRAM_FOCUS_NORMAL \ + GENLIST_PROGRAM_DECORATE_REORDER("editfield", TARGET \ + target: "bg_clip"; \ + target: "bg_reorder_clip"; \ + target: "bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + target: "focus_part_reorder"; \ + target: "focus_part"; \ + ) + +#define GENLIST_PROGRAMS_DIALOGUE_ENTRY( TARGET ) \ + GENLIST_PROGRAM_DEFAULT( TARGET \ + target: "bg_dialogue"; \ + target: "bg_dialogue_bottom_line"; \ + target: "bg_dialogue_bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + GENLIST_PROGRAM_FOCUS_DIALOGUE \ + program { name: "bg_color_change"; \ + signal: "bg_color_change"; \ + source: "elm"; \ + action: STATE_SET "2depth" 0.0; \ + target: "bg_dialogue"; \ + target: "bg_dialogue_bottom_line"; \ + } \ + GENLIST_PROGRAM_BG_DIALOGUE \ + GENLIST_PROGRAM_DECORATE_REORDER( "normal", TARGET \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + GENLIST_PROGRAM_FLIP + +#define GENLIST_PROGRAMS_THUMB \ + GENLIST_PROGRAM_DECORATE_REORDER( "thumb", target: "elm.thumb"; ) \ + GENLIST_PROGRAM_FLIP_TARGET( target: "elm.thumb.clip"; ) \ + program { name: "enabled_thumb"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.thumb"; \ + } \ + program { name: "disabled_thumb"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "elm.thumb"; \ + } \ + program { name: "selected_thumb"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.thumb", st, 30, vl); \ + if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) \ + set_state(PART:"elm.thumb", "reorder_selected", 0.0); \ + else \ + set_state(PART:"elm.thumb", "pressed", 0.0); \ + } \ + } \ + program { name: "unselected_thumb"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.thumb", st, 30, vl); \ + if (!strcmp(st, "reorder_selected")) \ + set_state(PART:"elm.thumb", "reorder", 0.0); \ + else \ + set_state(PART:"elm.thumb", "default", 0.0); \ + } \ + } + +//****************************************************************************// +// ******************************* Icon Part ******************************// +//***************************************************************************// +#define GENLIST_PART_ICON(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: SWALLOW; \ + DESCRIPION \ + } + +#define GENLIST_PARAM_ICON_LARGE \ + min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; \ + max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + +#define GENLIST_PARAM_ICON_MEDIUM \ + min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \ + max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; + +#define GENLIST_PARAM_ICON_SMALL \ + min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; \ + max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; + +#define GENLIST_PARAM_ICON_BTN_01 \ + min: 0 GENLIST_BTN_01_HEIGHT; \ + max: -1 GENLIST_BTN_01_HEIGHT; + +#define GENLIST_PARAM_ICON_BTN_02 \ + min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ + max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; + +#define GENLIST_PARAM_ICON_ONOFF_WIDTH \ + min: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; \ + max: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; + +#define GENLIST_PARAM_ICON_CHECK_RADIO \ + min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; \ + max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + +#define GENLIST_PARAM_ICON_STAR \ + min: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ + max: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ + +#define GENLIST_PART_ICON_LARGE_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_LARGE \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_LARGE_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_LARGE \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_MEDIUM_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_MEDIUM \ + ) \ + ) + +#define GENLIST_PART_ICON_MEDIUM_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_MEDIUM \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_SMALL \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_LB(NAME, LEFT, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_LB(LEFT, BOTTOM, \ + GENLIST_PARAM_ICON_SMALL \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_LTB(NAME, LEFT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_SMALL \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_RT(NAME, RIGHT, TOP) \ + GENLIST_PART_ICON(NAME, \ + DESC_RT(RIGHT, TOP, \ + GENLIST_PARAM_ICON_SMALL \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_SMALL \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_01_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, TOP, BOTTOM,\ + GENLIST_PARAM_ICON_BTN_01 \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_02_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, TOP, BOTTOM,\ + GENLIST_PARAM_ICON_BTN_02 \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_ONOFF_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_ONOFF_WIDTH \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_ONOFF_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_ONOFF_WIDTH \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_CHECK_RADIO_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + GENLIST_PARAM_ICON_CHECK_RADIO \ + fixed: 1 1; \ + ) \ + ) + +#define GENLIST_PART_ICON_STAR_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_STAR \ + fixed: 1 1; \ + ) \ + ) + +/*****************************************************************************/ +/******************************* Genlist IMAGE ********************************/ +/*****************************************************************************/ + +#define GENLIST_PARAM_PASSWORD_IMAGE \ + min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \ + +/*****************************************************************************/ +/******************************* Genlist Proxy ********************************/ +/*****************************************************************************/ +#define GENLIST_PART_PROXY(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: PROXY; \ + DESCRIPION \ + } + +/*****************************************************************************/ +/******************************* Genlist Bubble ********************************/ +/*****************************************************************************/ +#define GENLIST_IMAGES_EXPANDABLE_BTN \ + images { \ + image: "00_list_button_expand_closed.png" COMP; \ + image: "00_list_button_expand_closed_ef.png" COMP; \ + image: "00_list_button_expand_closed_dim_ef.png" COMP; \ + image: "00_list_button_expand_opened.png" COMP; \ + image: "00_list_button_expand_opened_ef.png" COMP; \ + image: "00_list_button_expand_opened_dim_ef.png" COMP; \ + } + +#define GENLIST_PART_EXPANDABLE_ARROW \ + GENLIST_PART_ICON("touch_arrow", \ + ignore_flags: ON_HOLD; \ + DESC_TO("arrow", ) \ + ) \ + PART(IMAGE ,"arrow", \ + ignore_flags: ON_HOLD; \ + mouse_events: 0; \ + DESC_R("elm.padding.right", \ + fixed: 1 1; \ + min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ + max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ + image.normal: "00_list_button_expand_closed.png"; \ + color_class: "F032L1"; \ + ) \ + description { state: "default_press" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1P"; \ + } \ + description { state: "default_dim" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F032L1D"; \ + } \ + description { state: "expand_opened" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_list_button_expand_opened.png"; \ + } \ + description { state: "expand_opened_press" 0.0; \ + inherit: "expand_opened" 0.0; \ + color_class: "F032L1P"; \ + } \ + description { state: "expand_opened_dim" 0.0; \ + inherit: "expand_opened" 0.0; \ + color_class: "F032L1D"; \ + } \ + ) \ + PART(IMAGE, "arrow_ef", \ + ignore_flags: "ON_HOLD"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + rel1.to: "arrow"; \ + rel2.to: "arrow"; \ + image.normal: "00_list_button_expand_closed_ef.png"; \ + color_class: "F032L3"; \ + } \ + description { state: "default_press" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "default_dim" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_list_button_expand_closed_dim_ef.png"; \ + color_class: "F032L4"; \ + } \ + description { state: "expand_opened" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_list_button_expand_opened_ef.png"; \ + } \ + description { state: "expand_opened_press" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "expand_opened_dim" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_list_button_expand_opened_dim_ef.png"; \ + color_class: "F032L4"; \ + } \ + ) + +/*************************** parameters **********************************/ +#define GENLIST_PARAM_TEXT_LIMIT_RB \ + rel1.to_x: "base"; /* This limits text growing. */\ + rel1.relative: 0.5 0; /* This limits text growing. */\ + text.max: 1 0; /* This limits text growing. */ + +#define GENLIST_PARAM_TEXT_LIMIT_RT \ + rel1.to_x: "base"; /* This limits text growing. */\ + rel1.relative: 0.5 1; /* This limits text growing. */\ + text.max: 1 0; /* This limits text growing. */ + +#define GENLIST_PARAM_TEXT_LIMIT_RT_( LIMIT ) \ + rel1.to_x: "base"; /* This limits text growing. */\ + rel1.relative: LIMIT 1; /* This limits text growing. */\ + text.max: 1 0; /* This limits text growing. */ + +// Group Title +#define GENLIST_PARAM_DIALOGUE_GROUP_TITLE \ + color_class: "T027"; \ + text { \ + align: 0.0 0.5; \ + text_class: "T027"; \ + min: 0 1; \ + } + +// Password style +#define GENLIST_PARAM_PASSWORD_TITLE \ + color_class: "T0213"; \ + text { \ + text_class: "T0213"; \ + min: 0 1; \ + align: 0 0.5; \ + } + +// Progress main text +#define GENLIST_PARAM_PROGRESS_MAIN \ + color_class: "T0212"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T0212"; \ + } + +// list main text +#define GENLIST_PARAM_LISTITEM \ + color_class: "T023"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T023"; \ + } + +#define GENLIST_PARAM_LISTITEM_TB \ + text { \ + min: 0 1; \ + style: "genlist_style_list_main_text"; \ + } + +#define GENLIST_PARAM_LISTITEM_TB_WRAP \ + text { \ + min: 0 1; \ + style: "genlist_style_list_main_text_wrap"; \ + } + +// list subtext +#define GENLIST_PARAM_SUBITEM_DEFAULT \ + color_class: "T024"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T024"; \ + } + +#define GENLIST_PARAM_SUBITEM_ENTRY \ + color_class: "T02413"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T02413"; \ + } + +#define GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text_default"; \ + } + +#define GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text_default_wrap"; \ + } + +// list subtext 02 +#define GENLIST_PARAM_SUBITEM_02 \ + color_class: "T0242"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T0242"; \ + } + +// Dialogue group - Apps (deprecated) +#define GENLIST_PARAM_APPS_NAME\ + color_class: "T024"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T024"; \ + } +//del.. +#define GENLIST_PARAM_APPS_INC\ + color: GENLIST_APPS_INC_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Bold"; \ + size: GENLIST_APPS_INC_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_RATING\ + color: GENLIST_APPS_RATING_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Bold"; \ + size: GENLIST_APPS_RATING_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_PRICE\ + color: GENLIST_APPS_PRICE_ORIGINAL_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Bold"; \ + size: GENLIST_APPS_PRICE_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_PRICE_SALE\ + color: GENLIST_APPS_PRICE_SALE_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Bold"; \ + size: GENLIST_APPS_PRICE_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_CONTENTS_TEXT \ + color: GENLIST_CONTENTS_TEXT_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "Tizen:style=Regular"; \ + size: GENLIST_CONTENTS_TEXT_SIZE; \ + text_class: "tizen"; \ + } +//del end +/*************************** Descriptions **********************************/ +// list main text +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T023D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T023P"; \ + } + +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_press"; \ + } + +// list sub text +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T024D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T024P"; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_ENTRY_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_entry_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_entry_press"; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_press"; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_dim_wrap"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_press_wrap"; \ + } + +// list main text multiline +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_dim_wrap"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_press_wrap"; \ + } + +// help text +#define GENLIST_DESCRIPTION_HELP_TEXT_DIM \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_dialogue_group_help_text_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_dialogue_group_help_text_press"; \ + } + +// progress main text +#define GENLIST_DESCRIPTION_PROGRESS_MAIN_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T0212D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T0212P"; \ + } + +/*************************** Parts **********************************/ +#define GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT(NAME, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, TOP, BOTTOM, \ + text { \ + min: 0 1; \ + style: "genlist_style_dialogue_group_help_text"; \ + } \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_HELP_TEXT_DIM \ + ) + +#define GENLIST_PART_LISTITEM(NAME, DESCRIPTION) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESCRIPTION \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_TB(NAME, DESCRIPTION) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESCRIPTION \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + fixed: 0 1; \ + GENLIST_PARAM_LISTITEM \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_LRT_TB(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + fixed: 0 1; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: 0 HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM(NAME, DESCRIPTION) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESCRIPTION \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_TB(NAME, DESCRIPTION) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESCRIPTION \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_R(NAME, HEIGHT, RIGHT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: 0 HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_R_TB(NAME, HEIGHT, RIGHT) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: 0 HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_RB(NAME, HEIGHT, RIGHT, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RB(RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RB_TB(NAME, HEIGHT, RIGHT, BOTTOM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RB(RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_R_FIXED(NAME, WIDTH, HEIGHT, RIGHT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: WIDTH HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_R_FIXED_TB(NAME, WIDTH, HEIGHT, RIGHT) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_R(RIGHT, \ + min: WIDTH HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_L_FIXED(NAME, WIDTH, HEIGHT, LEFT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ + min: WIDTH HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRTB(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LB(NAME, HEIGHT, LEFT, RIGHT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LB(LEFT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + fixed: 0 1; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + fixed: 0 1; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + fixed: 0 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_ENTRY_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + fixed: 0 1; \ + GENLIST_PARAM_SUBITEM_ENTRY \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_ENTRY_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LTB(NAME, HEIGHT, LEFT, TOP, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_LTB(LEFT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RTB_LIMIT(NAME, HEIGHT, RIGHT, TOP, BOTTOM, LIMIT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT_(LIMIT) \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + fixed: 1 0; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RTB_LIMIT_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM, LIMIT) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT_(LIMIT) \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + fixed: 1 0; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + fixed: 1 0; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RTB_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + fixed: 1 0; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_RTB2_LIMIT(NAME, HEIGHT, RIGHT, TOP, BOTTOM, LIMIT) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT_(LIMIT) \ + color_class: "T02411"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T02411"; \ + } \ + fixed: 1 0; \ + ) \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T02411D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T02411P"; \ + } \ + ) + +#define GENLIST_PART_SUBITEM_RTB2_LIMIT_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM, LIMIT) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT_(LIMIT) \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text2"; \ + } \ + fixed: 1 0; \ + ) \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text2_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text2_press"; \ + } \ + ) + +#define GENLIST_PART_SUBITEM_RTB2(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + color_class: "T02411"; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + text_class: "T02411"; \ + } \ + fixed: 1 0; \ + ) \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T02411D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T02411P"; \ + } \ + ) + +#define GENLIST_PART_SUBITEM_RTB2_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(TEXTBLOCK, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text2"; \ + } \ + fixed: 1 0; \ + ) \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text2_dim"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text2_press"; \ + } \ + ) + +#define GENLIST_PART_SUBITEM_02_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(TEXT, NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_SUBITEM_02 \ + fixed: 1 0; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PARAM_LIST_BUBBLE_TEXT \ + color_class: "T025"; \ + text { \ + align: 1 0.5; \ + min: 0 1; \ + text_class: "T025"; \ + } + +// FIXME: Need to find why rel2.offset: 9 -1 will not fix the alignment of bubble text ? +#define GENLIST_PART_LIST_BUBBLE_TEXT_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + PART(IMAGE, "elm.bubble", \ + mouse_events: 0; \ + DESC_TO(NAME, \ + image { \ + normal: "00_list_bubble_bg.#.png"; \ + } \ + color_class: "B0219"; \ + rel1.offset: -10 0; \ + rel2.offset: 8 -1; \ + min: 48 38; \ + max: -1 38; \ + fixed: 0 1; \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B0219P"; \ + } \ + ) \ + PART(TEXT, NAME, \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + rel2.offset: -10 -1; /* This maintain the text alignment with bubble text. */\ + GENLIST_PARAM_LIST_BUBBLE_TEXT \ + ) \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T025P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "T025D"; \ + } \ + ) + +#define GENLIST_POPUP_STYLE(NAME) \ + group { GENLIST_NAME(NAME"/popup/default") \ + inherit: "elm/genlist/item/"NAME"/default"; \ + parts { \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color_class: "B061L1"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B061L1"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B061L41P"; \ + } \ + ) \ + PART(SPACER, "elm.padding.left", \ + DESC_L("elm.swallow.pad", \ + min: GENLIST_POPUP_PADDING_SIZE_LEFT 0; \ + max: GENLIST_POPUP_PADDING_SIZE_LEFT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(SPACER, "elm.padding.right", \ + DESC_FROM_R( \ + min: GENLIST_POPUP_PADDING_SIZE_RIGHT 0; \ + max: GENLIST_POPUP_PADDING_SIZE_RIGHT -1; \ + ) \ + DESC_LIST_PADDINGS \ + ) \ + PART(RECT, "bottom_line", \ + description { state: "default" 0.0; \ + color_class: "B0621L2"; \ + rel1.to_x: "bg"; \ + rel2.to_x: "bg"; \ + rel1.offset: 1 0; \ + rel2.offset: -2 -1; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + ) \ + } \ + } diff --git a/2.2/widgets/genlist/genlist_normal.edc b/2.2/widgets/genlist/genlist_normal.edc new file mode 100644 index 0000000..16f6aa7 --- /dev/null +++ b/2.2/widgets/genlist/genlist_normal.edc @@ -0,0 +1,4657 @@ +/* + * 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. + */ +/* + * vim:ts=3 +*/ + + group { GENLIST_NAME("default/default") + alias: "elm/list/item/default"; + alias: "elm/list/item_odd/default"; + alias: "elm/list/item_compress/default"; + alias: "elm/list/item_compress_odd/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON("elm.swallow.icon", + DESC_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom", + fixed: 1 0; + ) + ) + GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, + "elm.swallow.icon", "elm.swallow.end", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_ICON("elm.swallow.end", + DESC_R("elm.padding.right", + fixed: 1 0; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; ) + } + +// ------------------------------------------------------------------- +// Tizen Theme ------------------------------------------------------- +// ------------------------------------------------------------------- +// 2.2.6.1 + group { GENLIST_NAME("editfield/default") + alias: "elm/layout/item/editfield/default"; + + PROLOG_LIST_NORMAL + + data.item: "contents" "elm.icon.entry"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS(16, 16, + GENLIST_EDITFIELD_PADDING_SIZE_TOP, + GENLIST_EDITFIELD_PADDING_SIZE_BOTTOM) + + GENLIST_PART_ICON("elm.icon.entry", + DESC_LRTB( + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + min: 0 GENLIST_EDITFIELD_1LINE_HEIGHT; // This is tuned value for exact entry size. + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_ENTRY( target: "elm.icon.entry"; ) + } + +// 2.2.6.1 (without genlist background) + group { GENLIST_NAME("editfield/no_bg/default") + alias: "elm/layout/editfield/no_bg/default"; + inherit: "elm/genlist/item/editfield/default"; + + parts { + PART_LIST_BG_NORMAL_OFF + PART_LIST_BOTTOMLINE_OFF + PART_LIST_PADDINGS(0, 0, + GENLIST_EDITFIELD_PADDING_SIZE_TOP, + GENLIST_EDITFIELD_PADDING_SIZE_BOTTOM) + } + } + +// 2.2.6.1 (without genlist background) + group { GENLIST_NAME("editfield/no_bg_line/default") + alias: "elm/layout/editfield/no_bg_line/default"; + inherit: "elm/genlist/item/editfield/default"; + + parts { + PART_LIST_BG_NORMAL_OFF + PART_LIST_BOTTOMLINE_OFF + } + } + +// 2.2.6.2 + group { GENLIST_NAME("editfield/title/default") + alias: "elm/layout/editfield/title/default"; + + PROLOG_LIST_NORMAL + data.item: "contents" "elm.icon.entry"; + data.item: "texts" "elm.text"; + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS(16, 16, (62 - GENLIST_HEIGHT_2LINE_SUB), 16) + + GENLIST_PART_PADDING_L_SIZE("elm.padding.title", "elm.padding.left", 10) + GENLIST_PART_SUBITEM_ENTRY_LRT("elm.text", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.title", "elm.padding.right", "elm.padding.top" + ) + GENLIST_PART_ICON("elm.icon.entry", + DESC_LRTB( + "elm.padding.left", "elm.padding.right", + "elm.text", "elm.padding.bottom", + min: 0 62; // This is tuned value for exact entry size. + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_ENTRY( target: "elm.text"; target: "elm.icon.entry"; ) + } + +// 2.2.6.2 (without genlist background) + group { GENLIST_NAME("editfield/title/no_bg/default") + alias: "elm/layout/editfield/title/no_bg/default"; + inherit: "elm/genlist/item/editfield/title/default"; + + parts { + PART_LIST_BG_NORMAL_OFF + PART_LIST_BOTTOMLINE_OFF + PART_LIST_PADDINGS(0, 0, (62 - GENLIST_HEIGHT_2LINE_SUB), 16) + } + } + + group { GENLIST_NAME("1icon/default") + PROLOG_LIST_NORMAL + + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON("elm.icon", + DESC_LRTB( + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_1LINE; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAM_DEFAULT( target: "elm.icon"; ) + GENLIST_PROGRAM_DISABLED( target: "elm.icon"; ) + GENLIST_PROGRAM_SELECT( target: "elm.icon"; ) + GENLIST_PROGRAM_FLIP + GENLIST_PROGRAM_FOCUS_NORMAL + } + + group { GENLIST_NAME("1icon/with_no_line/default") + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_BOTTOMLINE_OFF + } + } + + group { GENLIST_NAME("1icon/no_padding/default") + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_PADDINGS(0, 0, 0, 0) + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 (GENLIST_HEIGHT_1LINE+4); + } + } + } + } + + group { GENLIST_NAME("1icon/no_padding_line/default") + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_PADDINGS(0, 0, 0, 0) + PART_LIST_BOTTOMLINE_OFF + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 (GENLIST_HEIGHT_1LINE + GENLIST_PADDING_SIZE_TOP + GENLIST_PADDING_SIZE_BOTTOM); + } + } + } + } + +// ------------------------------------------------------------------- +// 1 line ------------------------------------------------------- +// ------------------------------------------------------------------- +// 2.2.1.1 + group { GENLIST_NAME("1text/default") + PROLOG_LIST_NORMAL + + data.item: "texts" "elm.text"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; ) + } +// 2.2.1.1 (textblock) + group { GENLIST_NAME("1text.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_TB_("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; ) + } + +// 2.2.1.2 + group { GENLIST_NAME("2text/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.text.2", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_1LINE, + "elm.padding.right", + "elm.padding.top", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.2.1.3 deprecated + group { GENLIST_NAME("2text.6/default") + inherit: "elm/genlist/item/2text/default"; + + parts { + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + } + } + +// 2.2.1.4 + group { GENLIST_NAME("1text.1icon/default") + PROLOG_LIST_NORMAL + + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.padding.bottom", + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon", + "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.2.1.5 deprecated + group { GENLIST_NAME("1text.1icon.4/default") + inherit: "elm/genlist/item/1text.1icon/default"; + + parts { + GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.1.6 + group { GENLIST_NAME("1text.1icon.6/default") + inherit: "elm/genlist/item/1text.1icon/default"; + + parts { + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") + } + } + +// 2.2.1.7 + group { GENLIST_NAME("1text.1icon.7/default") + inherit: "elm/genlist/item/1text.1icon/default"; + + parts { + GENLIST_PART_ICON_MEDIUM_R("elm.icon", "elm.padding.right") + } + } + +// 2.2.1.8 + group { GENLIST_NAME("1text.1icon.5/default") + inherit: "elm/genlist/item/1text.1icon/default"; + + parts { + GENLIST_PART_ICON_LARGE_R("elm.icon", "elm.padding.right") + GENLIST_PART_FOCUS_NORMAL + } + } + +// 2.2.1.8.1 (Circle) + group { GENLIST_NAME("1text.1icon.5.thumb.circle/default") + inherit: "elm/genlist/item/1text.1icon.5/default"; + + GENLIST_INHERIT_THUMB_CIRCLE(GENLIST_ICON_THUMBNAIL_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + +// 2.2.1.8.1 (Square) + group { GENLIST_NAME("1text.1icon.5.thumb.square/default") + inherit: "elm/genlist/item/1text.1icon.5/default"; + + GENLIST_INHERIT_THUMB_SQUARE(GENLIST_ICON_THUMBNAIL_SIZE, "elm.icon") + } + +// 2.2.1.9 + group { GENLIST_NAME("1text.2icon.3/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.text.limit", + fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. + ) + GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text") + GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right") + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.padding.icon1.left", + min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; + ) + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_LARGE_R("elm.icon.1", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.1.9 (textblock) + group { GENLIST_NAME("1text.2icon.3.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.text.limit", + fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. + ) + GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text") + GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right") + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.padding.icon1.left", + min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; + ) + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_LARGE_R("elm.icon.1", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.1.10 + group { GENLIST_NAME("1text.1icon.2/default") + // FIXME: just for backward compatibility + alias: "elm/genlist/item/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/tree/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default"; + alias: "elm/genlist/item/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/tree/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default"; + alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.icon.right", "elm.padding.right", ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.2.1.10.1 (circle) deprecated + group { GENLIST_NAME("1text.1icon.2.thumb.circle/default") + inherit: "elm/genlist/item/1text.1icon.2/default"; + + GENLIST_INHERIT_THUMB_CIRCLE(GENLIST_ICON_MEDIUM_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + +// 2.2.1.10.1 (square) deprecated + group { GENLIST_NAME("1text.1icon.2.thumb.square/default") + inherit: "elm/genlist/item/1text.1icon.2/default"; + + GENLIST_INHERIT_THUMB_SQUARE(GENLIST_ICON_MEDIUM_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.2.1.10 (textblock) + group { GENLIST_NAME("1text.1icon.2.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.padding.right",) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.2.1.11 + group { GENLIST_NAME("2text.1icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",) + GENLIST_PART_SUBITEM_R("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.2.1.11 (textblock) + group { GENLIST_NAME("2text.1icon.tb/default") + alias: "elm/genlist/item/2text.1icon.6.tb/default"; + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",) + GENLIST_PART_SUBITEM_R_TB("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.2.1.12 deprecated + group { GENLIST_NAME("2text.1icon.6/default") + inherit: "elm/genlist/item/2text.1icon/default"; + + parts { + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + } + } + +// 2.2.1.13 + group { GENLIST_NAME("1text.2icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L( "elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",) + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.1.13 (textblock) + group { GENLIST_NAME("1text.2icon.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L( "elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",) + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.1.14 + group { GENLIST_NAME("1text.2icon.6/default") + inherit: "elm/genlist/item/1text.2icon/default"; + + parts { + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + + } + } + +// 2.2.1.14 (textblock) + group { GENLIST_NAME("1text.2icon.6.tb/default") + inherit: "elm/genlist/item/1text.2icon.tb/default"; + + parts { + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.1.15 deprecated + group { GENLIST_NAME("1text.2icon.7/default") + inherit: "elm/genlist/item/1text.2icon/default"; + + parts { + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon.2", "elm.padding.right") + } + } + +// 2.2.1.16 +// 2.2.1.20 + group { GENLIST_NAME("1text.1icon.3/default") + inherit: "elm/genlist/item/1text.1icon.2/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") + } + } + +// 2.2.1.16 (textblock) +// 2.2.1.20 (textblock) + group { GENLIST_NAME("1text.1icon.3.tb/default") + inherit: "elm/genlist/item/1text.1icon.2.tb/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") + } + } + +// 2.2.1.17 + group { GENLIST_NAME("1text.2icon.4/default") + inherit: "elm/genlist/item/1text.2icon/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.1.17 (textblock) + group { GENLIST_NAME("1text.2icon.4.tb/default") + inherit: "elm/genlist/item/1text.2icon.tb/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.1.18 +// 2.2.1.23 + group { GENLIST_NAME("1text.2icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_L("elm.icon.2", "elm.padding.icon1.right") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon2.right", "elm.padding.right",) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.1.19 +// 2.2.1.25 + group { GENLIST_NAME("1text.3icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_L("elm.icon.2", "elm.padding.icon1.right") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.icon2.right", "elm.padding.icon3.left",) + GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) + } + +// 2.2.1.21 deprecated + group { GENLIST_NAME("1text.2icon.8/default") + inherit: "elm/genlist/item/1text.2icon/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.2", "elm.padding.right") + } + } + +// 2.2.1.22 + group { GENLIST_NAME("1text.2icon.9/default") + inherit: "elm/genlist/item/1text.2icon/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.1.24 + group { GENLIST_NAME("1text.3icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.icon1.right", "elm.padding.icon2.left", ) + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.2", "elm.padding.icon3.left") + GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) + } + +// 2.2.1.26 deprecated + group { GENLIST_NAME("2text.4/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.divider1.left", + ) + GENLIST_PART_PADDING_R("elm.divider1.left", "elm.divider1") + GENLIST_PART_DIVIDER_R("elm.text.2.left") + GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") + GENLIST_PART_SUBITEM_R_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, + "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( + target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.2.1.26 (textblock) deprecated + group { GENLIST_NAME("2text.4.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.elm.divider1.left",) + GENLIST_PART_PADDING_R("elm.elm.divider1.left", "elm.divider1") + GENLIST_PART_DIVIDER_R("elm.text.2.left") + GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") + GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 206, GENLIST_HEIGHT_1LINE, + "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.2.1.27 deprecated + group { GENLIST_NAME("2text.5/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_SUBITEM_L_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, + "elm.padding.left") + GENLIST_PART_PADDING_L("elm.text2.right", "elm.text.2") + GENLIST_PART_DIVIDER_L("elm.text2.right") + GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") + GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.divider.right", "elm.padding.right", ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.2.1.28 + group { GENLIST_NAME("1text.1icon.divider/default") + inherit: "elm/genlist/item/1text.1icon.7/default"; + + parts { + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.divider1", + ) + GENLIST_PART_DIVIDER_R("elm.padding.icon.left") + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.2.1.29 + group { GENLIST_NAME("1text.2icon.divider/default") + inherit: "elm/genlist/item/1text.2icon.7/default"; + + parts { + GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, + "elm.padding.icon1.right", "elm.divider1", + ) + GENLIST_PART_DIVIDER_R("elm.padding.icon2.left") + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + } + } + +// ------------------------------------------------------------------- +// 2 line ------------------------------------------------------- +// ------------------------------------------------------------------- +// 2.2.2.1 + group { GENLIST_NAME("2text.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.2.2.1 (textblock) + group { GENLIST_NAME("2text.2.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.2.2.2 + group { GENLIST_NAME("2text.3/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.top" + ) + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.right", + "elm.text.2", "elm.padding.bottom", + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.2.2.3 + group { GENLIST_NAME("3text/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text.3", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_RTB2("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.2" + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; ) + } + +// 2.2.2.3 (textblock) + group { GENLIST_NAME("3text.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text.3", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_RTB2_TB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.2" + ) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; ) + } + +// 2.2.2.4 + group { GENLIST_NAME("2text.1icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.2.2.4 (textblock) + group { GENLIST_NAME("2text.1icon.2.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + + +// 2.2.2.5 + group { GENLIST_NAME("2text.1icon.10/default") + inherit: "elm/genlist/item/2text.1icon.2/default"; + + parts { + GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.2.5 (textblock) + group { GENLIST_NAME("2text.1icon.10.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.2.2.6 + group { GENLIST_NAME("2text.5icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.icon.5", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_ICON_STAR_RTB("elm.icon.5", + "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.4", + "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.3", + "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.2", + "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5";) + } + +// 2.2.2.7 + group { GENLIST_NAME("3text.1icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.text.3", + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_SMALL_RTB("elm.icon", + "elm.padding.right", "elm.padding.top", "elm.text.3" + ) + + GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text3.right", + "elm.text.1", "elm.padding.bottom", + ) + GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3") + GENLIST_PART_SUBITEM_RB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon"; ) + } + +// 2.2.2.7 (textblock) + group { GENLIST_NAME("3text.1icon.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK + // and theier font size can be changed both. + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_SMALL_RTB("elm.icon", + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_TB_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text3.right", + "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3") + GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon"; ) + } + +// 2.2.2.8 + group { GENLIST_NAME("3text.2icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2"); + + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.text3.left", "elm.text.1", "elm.padding.bottom", + ) + GENLIST_PART_PADDING_R("elm.padding.text3.left", "elm.text.3") + GENLIST_PART_SUBITEM_RTB_LIMIT("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom", 0.7) + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.2.8 (textblock) + group { GENLIST_NAME("3text.2icon.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2"); + + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_SUBITEM_TB_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.text3.left", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.text3.left", "elm.text.3") + GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.2.9 deprecated + group { GENLIST_NAME("2text.7/default") + inherit: "elm/genlist/item/2text.2/default"; + + parts { + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + } + } + +// 2.2.2.10 deprecated + group { GENLIST_NAME("2text.1icon.7/default") + inherit: "elm/genlist/item/2text.1icon.2/default"; + + parts { + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") + } + } + +// 2.2.2.10 (textblock) deprecated + group { GENLIST_NAME("2text.1icon.7.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.2.2.11 deprecated + group { GENLIST_NAME("2text.1icon.11/default") + inherit: "elm/genlist/item/2text.1icon.2/default"; + parts { + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + } + } + +// 2.2.2.12 deprecated + group { GENLIST_NAME("2text.2icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_RB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.icon2.rect", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.padding.text2.right", "elm.text.2") + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.text2.right", "elm.text.1", "elm.padding.bottom") + // Virtual part for Maxmimum right X axis of text.2 + part { name: "elm.icon2.rect"; + type: RECT; + scale: 1; + DESC_R("elm.padding.icon1.left", + min: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE; + max: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE; + fixed: 1 1; + visible: 0; + ) + } + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.1", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.2.13 deprecated + group { GENLIST_NAME("2text.1icon.5/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.top") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon.left", + "elm.text.2", "elm.padding.bottom", + ) + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON_MEDIUM_R("elm.icon", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.2.2.14 + group { GENLIST_NAME("2text.1icon.4/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_LARGE_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.2.2.14.1 (circle) + group { GENLIST_NAME("2text.1icon.4.thumb.circle/default") + inherit: "elm/genlist/item/2text.1icon.4/default"; + + GENLIST_INHERIT_THUMB_CIRCLE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + +// 2.2.2.14.1 (square) + group { GENLIST_NAME("2text.1icon.4.thumb.square/default") + inherit: "elm/genlist/item/2text.1icon.4/default"; + + GENLIST_INHERIT_THUMB_SQUARE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.2.2.14 (textblock) + group { GENLIST_NAME("2text.1icon.4.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_LARGE_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.2.2.15 + group { GENLIST_NAME("3text.1icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon.right", "elm.text.3", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_RTB2_LIMIT("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.2", 0.73) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon"; ) + } + +//textblock + group { GENLIST_NAME("3text.1icon.2.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon.right", "elm.text.3", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_RTB_LIMIT_TB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.2", 0.73) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon"; ) + } + +// 2.2.2.16 + group { GENLIST_NAME("2text.1icon.8/default") + inherit: "elm/genlist/item/2text.1icon.4/default"; + + parts { + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + part { name: "elm.text.2"; + description { state: "default" 0.0; + GENLIST_PARAM_SUBITEM_DEFAULT + } + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + } + } + } + +// 2.2.2.17 deprecated + group { GENLIST_NAME("2text.6icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.6", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon6.right", "elm.icon.5", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom") + + GENLIST_PART_ICON_STAR_RTB("elm.icon.5", + "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.4", + "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.3", + "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.2", + "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) + } + +// 2.2.2.17 (textblock) deprecated + group { GENLIST_NAME("2text.6icon.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.6", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon6.right", "elm.icon.5", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom") + + GENLIST_PART_ICON_STAR_RTB("elm.icon.5", + "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.4", + "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.3", + "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.2", + "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) + GENLIST_PART_ICON_STAR_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) + } + +// 2.2.2.18 + group { GENLIST_NAME("2text.2icon.4/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.icon2.left", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + + +// 2.2.2.18 (textblock) + group { GENLIST_NAME("2text.2icon.4.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.icon2.left", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.19 + group { GENLIST_NAME("2text.2icon.6/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.19 (textblock) + group { GENLIST_NAME("2text.2icon.6.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.20 + group { GENLIST_NAME("2text.2icon.8/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.icon2.left", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.2.2.20 (textblock) + group { GENLIST_NAME("2text.2icon.8.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.icon2.left", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.21 + group { GENLIST_NAME("2text.2icon.progress/default") + // FIXME: deprecated name, will be removed + alias: "elm/genlist/item/1text.2icon.5/default"; + alias: "elm/genlist/item_odd/1text.2icon.5/default"; + alias: "elm/genlist/item_compress/1text.2icon.5/default"; + alias: "elm/genlist/item_compress_odd/1text.2icon.5/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.swallow.progress "; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 59, 54 + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON("elm.swallow.progress", DESC_LRTB( + "elm.padding.icon1.right", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + min: 0 27;) + ) + GENLIST_PART_SUBITEM_LRT("elm.text.1", 54, + "elm.padding.icon1.right", "elm.text.2", "elm.swallow.progress") + GENLIST_PART_SUBITEM("elm.text.2", DESC_RT( + "elm.padding.right", "elm.swallow.progress", + min: 0 54; + GENLIST_PARAM_SUBITEM_DEFAULT + GENLIST_PARAM_TEXT_LIMIT_RT + fixed: 1 1;) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.swallow.progress";) + } + +// 2.2.2.22 + group { GENLIST_NAME("3text.3icon.progress/default") + // FIXME: deprecated name, will be removed + alias: "elm/genlist/item/3text.3icon/default"; + alias: "elm/genlist/item_odd/3text.3icon/default"; + alias: "elm/genlist/item_compress/3text.3icon/default"; + alias: "elm/genlist/item_compress_odd/3text.3icon/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.progress"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, 0, 0 + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRT("elm.padding.icon1.right", "elm.padding.icon2.left", + "elm.padding.top", + min: 0 59; + GENLIST_PARAM_PROGRESS_MAIN + fixed: 0 1; + ) + GENLIST_DESCRIPTION_PROGRESS_MAIN_OTHERS + ) + GENLIST_PART_ICON("elm.swallow.progress", + DESC_LRTB("elm.padding.icon1.right", "elm.padding.icon2.left", "elm.text.1", "elm.text.2", + min: 0 27; + ) + ) + GENLIST_PART_SUBITEM("elm.text.2", + DESC_LRB("elm.padding.icon1.right", "elm.text.3", "elm.padding.bottom", + min: 0 54; + GENLIST_PARAM_SUBITEM_DEFAULT + fixed: 1 1; + ) + ) + GENLIST_PART_SUBITEM("elm.text.3", + DESC_RB("elm.padding.icon2.left", "elm.padding.bottom", + min: 0 54; + GENLIST_PARAM_SUBITEM_DEFAULT + GENLIST_PARAM_TEXT_LIMIT_RT + fixed: 1 1; // This limits text growing. + ) + ) + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON("elm.icon.2", DESC_R( + "elm.padding.right", + min: 156 GENLIST_BTN_01_HEIGHT; + max: 156 GENLIST_BTN_01_HEIGHT;) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.progress"; ) + } + +// 2.2.2.23 + group { GENLIST_NAME("2text.1icon.divider/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.divider.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.divider.left", "elm.divider1") + GENLIST_PART_DIVIDER_R("elm.padding.icon.left") + GENLIST_PART_PADDING_R_SIZE("elm.padding.icon.left", "elm.icon", 26) + GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.2.2.30 deprecated + group { GENLIST_NAME("2text.3icon/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text.limit", + "elm.padding.top", "elm.icon.3", + fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. + ) + GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1") + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.text1.right", "elm.padding.top", "elm.icon.3") + + GENLIST_PART_ICON_SMALL_LB("elm.icon.3", + "elm.padding.left", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.icon3.right", "elm.icon.3") + GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.icon3.right", "elm.padding.icon1.left", + "elm.text.1", "elm.padding.bottom", + fixed: 1 1; + ) + // Virtual part for Maxmimum right X axis of TEXT + PART(SPACER, "elm.text.limit", + DESC_R("elm.padding.icon1.left", + min: (GENLIST_ICON_LARGE_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; + ) + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_LARGE_R("elm.icon.1", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) + } + +// 2.2.2.31 + group { GENLIST_NAME("2text.1icon.12/default") + inherit: "elm/genlist/item/2text.1icon.2/default"; + parts { + GENLIST_PART_ICON_LARGE_R("elm.icon", "elm.padding.right") + GENLIST_PART_FOCUS_NORMAL + } + } + +// 2.2.2.31.1 (circle) deprecated + group { GENLIST_NAME("2text.1icon.12.thumb.circle/default") + inherit: "elm/genlist/item/2text.1icon.12/default"; + + GENLIST_INHERIT_THUMB_CIRCLE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + +// 2.2.2.31.1 (square) deprecated + group { GENLIST_NAME("2text.1icon.12.thumb.square/default") + inherit: "elm/genlist/item/2text.1icon.12/default"; + + GENLIST_INHERIT_THUMB_SQUARE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.2.2.31 (textblock) + group { GENLIST_NAME("2text.1icon.12.tb/default") + inherit: "elm/genlist/item/2text.1icon.2.tb/default"; + parts { + GENLIST_PART_ICON_LARGE_R("elm.icon", "elm.padding.right") + GENLIST_PART_FOCUS_NORMAL + } + } + +// 2.2.2.31.1 (circle) textblock deprecated + group { GENLIST_NAME("2text.1icon.12.tb.thumb.circle/default") + inherit: "elm/genlist/item/2text.1icon.12.tb/default"; + + GENLIST_INHERIT_THUMB_CIRCLE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + +// 2.2.2.31.1 (square) textblock deprecated + group { GENLIST_NAME("2text.1icon.12.tb.thumb.square/default") + inherit: "elm/genlist/item/2text.1icon.12.tb/default"; + + GENLIST_INHERIT_THUMB_SQUARE(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + + +// 2.2.2.32 deprecated +// 2.2.2.36 deprecated + group { GENLIST_NAME("2text.1icon.9/default") + inherit:"elm/genlist/item/2text.1icon.8/default"; + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + } + } + +// 2.2.2.33 + group { GENLIST_NAME("2text.2icon.7/default") + inherit: "elm/genlist/item/2text.2icon.4/default"; + + parts { + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + } + } + +// 2.2.2.34 +// 2.2.2.37 + group { GENLIST_NAME("2text.2icon.5/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_L("elm.icon.2", "elm.padding.icon1.right") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon2.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.35 + group { GENLIST_NAME("2text.3icon.4/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_L("elm.icon.2", "elm.padding.icon1.right") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon2.right", "elm.padding.icon3.left", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.icon3.left", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + + +// 2.2.2.38 + group { GENLIST_NAME("4text.1icon.1/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + data.item: "contents" "elm.icon.1"; + + images { + image: "00_list_bubble_bg.#.png" COMP; + } + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.3", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.bubble.left", "elm.padding.top", "elm.text.3") + + GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") + GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.icon.1"; target: "elm.bubble"; ) + } + +// 2.2.2.38 textblock + group { GENLIST_NAME("4text.1icon.1.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + data.item: "contents" "elm.icon.1"; + + images { + image: "00_list_bubble_bg.#.png" COMP; + } + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK + // and theier font size can be changed both. + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.bubble.left", "elm.padding.top", "elm.text.3") + + GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") + GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.icon.1"; target: "elm.bubble"; ) + } + +// 2.2.2.39 + group { GENLIST_NAME("4text.1icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + data.item: "contents" "elm.icon.1 "; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.3", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.text4.left", "elm.padding.top", "elm.text.3") + GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4") + GENLIST_PART_SUBITEM_02_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.icon.1";) + } +// 2.2.2.39 (TEXTBLOCK) + group { GENLIST_NAME("4text.1icon.2.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + data.item: "contents" "elm.icon.1"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.text4.left", "elm.padding.top", "elm.text.2" + ) + GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4") + + // FIXME: This part depends on elm.text.2 as bottom part. + // So if elm.text.3 (the other bottom part) size is changed, + // It can break this part's height. + GENLIST_PART_SUBITEM_RTB_TB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.2" + ) + + GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.icon.1";) + } + +// 2.2.2.40 + group { GENLIST_NAME("4text.1/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + + images { + image: "00_list_bubble_bg.#.png" COMP; + } + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.bubble.left", + "elm.padding.top", "elm.text.3", + ) + GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") + GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.bubble"; ) + } + +// 2.2.2.40.tb + group { GENLIST_NAME("4text.1.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + + images { + image: "00_list_bubble_bg.#.png" COMP; + } + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.bubble.left", + "elm.padding.top", "elm.text.3", + ) + GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") + GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + + GENLIST_PART_SUBITEM_LRB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.bubble"; ) + } + + +// 2.2.2.41 + group { GENLIST_NAME("4text.2/default") + inherit: "elm/genlist/item/4text.1/default"; + parts { + part { name: "elm.bubble"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + visible: 0; + } + } + GENLIST_PART_SUBITEM_02_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3") + } + } + +// 2.2.2.42 + group { GENLIST_NAME("3text.1icon.3/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.3",) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.3") + GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.text.2", "elm.padding.bottom") + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon.1";) + } + +// 2.2.2.42 + group { GENLIST_NAME("3text.1icon.3.tb/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.3" + ) + GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.text.2", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon.1";) + } + + +// 2.2.2.43 deprecated + group { GENLIST_NAME("2text.4icon.1/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon4.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.4", + "elm.padding.icon3.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", + "elm.padding.icon2.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", + "elm.padding.icon1.left", "elm.text.1", "elm.padding.bottom") + + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.1", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4";) + } + + +// 2.2.2.44 + group { GENLIST_NAME("4text.1icon.3/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; + data.item: "contents" "elm.swallow.colorbar elm.icon.1"; + + images { + image: "00_list_bubble_bg.#.png" COMP; + } + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + + + GENLIST_PART_LISTITEM_LRT("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon1.right", "elm.padding.bubble.left", "elm.padding.top", + ) + GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") + GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.text.3" + ) + + GENLIST_PART_SUBITEM_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon1.right", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom", + ) + GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom" + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; + target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.bubble"; ) + } + + +// 2.2.2.45 + group { GENLIST_NAME("3text.1icon.1/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.icon.right", "elm.padding.right", + "elm.padding.top", "elm.text.2",) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.text.3", "elm.padding.bottom") + GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.right", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon"; ) + } + +// 2.2.2.46 + group { GENLIST_NAME("2text.2icon.1/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", + "elm.padding.top", "elm.text.2", + ) + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.1", "elm.padding.icon2.left") + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON_LARGE_R("elm.icon.2", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.2.2.47 + group { GENLIST_NAME("2text.1icon.1/default") + inherit: "elm/genlist/item/2text.1icon.2/default"; + + parts { + GENLIST_PART_ICON_MEDIUM_R("elm.icon", "elm.padding.right") + } + } + +// 2.2.4.1 + group { GENLIST_NAME("multiline/1title.2text/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.title elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 0, 0 + ) + + // FIXME: if textblock is used, part grows to MEDIUM. + PART(TEXT, "elm.title", + DESC_L("elm.padding.left", + GENLIST_PARAM_LISTITEM + min: 226 0; + fixed: 1 0; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title") + GENLIST_PART_MULTILINE_DIVIDER_L("elm.padding.title.right") + GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") + + PART(TEXTBLOCK, "elm.text.1", + DESC_LRT("elm.divider.right", "elm.padding.right", "elm.padding.top", + GENLIST_PARAM_LISTITEM_TB_WRAP + min: 0 90; fixed: 0 1; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP + ) + GENLIST_PART_CENTER_LINE_LRT("elm.divider2", "bg", "elm.text.1") + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.divider.right", "elm.padding.right", "center_line2", "elm.padding.bottom", + GENLIST_PARAM_LISTITEM_TB_WRAP + min: 0 90; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.title"; target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target:"elm.divider2"; + target: "center_line"; target:"center_line2"; + ) + } + +// 2.2.4.2 + group { GENLIST_NAME("multiline/1title.1text/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.title elm.text"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 22, 22 + ) + + // FIXME: if textblock is used, part grows to MEDIUM. + PART(TEXT, "elm.title", + DESC_L("elm.padding.left", + GENLIST_PARAM_LISTITEM + min: 226 0; + fixed: 1 0; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title") + GENLIST_PART_MULTILINE_DIVIDER_L("elm.padding.title.right") + GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") + + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.divider.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + GENLIST_PARAM_LISTITEM_TB_WRAP + //min: 0 48; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.title"; + target: "elm.text"; + target: "elm.divider1"; target:"elm.divider2"; + ) + } + +// 2.2.4.3 + group { GENLIST_NAME("multiline/2text/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + PART(TEXT, "elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + fixed: 0 1; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP + min: 0 GENLIST_HEIGHT_MULTILINE_SUB; + ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.2.4.4 + group { GENLIST_NAME("multiline/2text.5icon/default") + // FIXME: deprecated name, wiil be removed + alias: "elm/genlist/item/multiline/2text.1icon/default"; + alias: "elm/genlist/item_odd/multiline/2ext.1icon/default"; + alias: "elm/genlist/item_compress/multiline/2text.1icon/default"; + alias: "elm/genlist/item_compress_odd/multiline/2text.1icon/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 10, 10 + ) + + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.icon5.left", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 GENLIST_HEIGHT_2LINE_MAIN; ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5") + GENLIST_PART_ICON_STAR_RTB("elm.icon.5", + "elm.icon.4", "elm.padding.top", "elm.text.2") + GENLIST_PART_ICON_STAR_RTB("elm.icon.4", + "elm.icon.3", "elm.padding.top", "elm.text.2") + GENLIST_PART_ICON_STAR_RTB("elm.icon.3", + "elm.icon.2", "elm.padding.top", "elm.text.2") + GENLIST_PART_ICON_STAR_RTB("elm.icon.2", + "elm.icon.1", "elm.padding.top", "elm.text.2") + GENLIST_PART_ICON_STAR_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2") + + + GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 14) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP + min: 0 GENLIST_HEIGHT_MULTILINE_SUB; ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.4.5 deprecated + group { GENLIST_NAME("multiline/2text.1icon.2/default") + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_BOTTOMLINE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_ICON_SMALL_LTB("elm.icon", "elm.padding.left", "elm.padding.top", "elm.text.2") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + GENLIST_PART_LISTITEM("elm.text.1", + DESC_LRT("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 GENLIST_HEIGHT_2LINE_MAIN; ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP + min: 0 GENLIST_HEIGHT_MULTILINE_SUB; ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) + } + +/************************************************************/ +/******************** Dialogue Group ************************/ +/************************************************************/ +// 2.4.3 (Dialogue) + group { GENLIST_NAME("dialogue/editfield/default") + alias: "elm/layout/dialogue/editfield/default"; + inherit: "elm/genlist/item/editfield/default"; + + data.item: "contents" "elm.icon.entry"; + + GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry";) + } + + group { GENLIST_NAME("dialogue/editfield.1icon/default") + alias: "elm/layout/dialogue/editfield.1icon/default"; + inherit: "elm/genlist/item/dialogue/editfield/default"; + + data.item: "contents" "elm.icon.entry elm.icon"; + parts { + PART(SPACER, "elm.padding.right", + DESC_R("bg_dialogue_right", + min: 20 0; + max: 20 -1; + ) + DESC_LIST_PADDINGS + ) + PART(SPACER, "bg_dialogue_right", + description { state: "default" 0.0; + min: 16 0; + max: 16 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "elm.icon"; + relative: 0 0; + } + rel2 { + to: "elm.icon"; + relative: 0 1; + } + } + ) + GENLIST_PART_ICON("elm.icon", + DESC_R("bg_icon_right", + ) + ) + PART(SPACER, "bg_icon_right", + description { state: "default" 0.0; + min: 26 0; + max: 26 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 1 0; + } + ) + } + GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.icon"; ) + } + +// 2.4.3 (Dialogue) + group { GENLIST_NAME("dialogue/editfield/title/default") + alias: "elm/layout/dialogue/editfield/title/default"; + inherit: "elm/genlist/item/editfield/title/default"; + + data.item: "contents" "elm.icon.entry"; + + GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; ) + } + +// Dialogue Group Separators +// default separator + group { GENLIST_NAME("dialogue/separator/default") + alias: "elm/layout/dialogue/separator"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + + parts { + GENLIST_PART_BASE + PART(RECT, "separator", + description { state: "default" 0.0; + min: 0 32; + max: -1 32; + color_class: "B011"; + } + ) + } + } + + // transparent separator for a few cases + group { GENLIST_NAME("dialogue/separator.transparent/default") + alias: "elm/layout/dialogue/separator.transparent"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + + parts { + GENLIST_PART_BASE + PART(SPACER, "separator", + description { state: "default" 0.0; + min: 0 32; + max: -1 32; + } + ) + } + } + +// Dialogue Group Separators +// default separator + group { GENLIST_NAME("dialogue/separator.2/default") + alias: "elm/layout/dialogue/separator.2"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + + parts { + GENLIST_PART_BASE + PART(RECT, "separator", + description { state: "default" 0.0; + min: 0 8; + max: -1 8; + color_class: "B011"; + } + ) + } + } + + // transparent separator for a few cases + group { GENLIST_NAME("dialogue/separator.transparent.2/default") + alias: "elm/layout/dialogue/separator.transparent.2"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + + parts { + GENLIST_PART_BASE + PART(SPACER, "separator", + description { state: "default" 0.0; + min: 0 8; + max: -1 8; + } + ) + } + } + + group { GENLIST_NAME("dialogue/1icon/default") + alias: "elm/layout/dialogue/1icon"; + inherit: "elm/genlist/item/1icon/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; ) + } + + group { GENLIST_NAME("dialogue/1icon/no_padding/default") + alias: "elm/layout/dialogue/1icon/no_padding"; + inherit: "elm/genlist/item/dialogue/1icon/default"; + + parts { + part { name: "elm.padding.left"; + description { state: "default" 0.0; + min: 16 0; + max: 16 -1; + } + } + part { name: "elm.padding.right"; + description { state: "default" 0.0; + min: 16 0; + max: 16 -1; + } + } + } + } + +// 2.4.1.1 + group { GENLIST_NAME("dialogue/1text/default") + alias: "elm/layout/dialogue/1text"; + inherit: "elm/genlist/item/1text/default"; + + // FIXME: temporary alias for back-wrad compatibility + alias: "elm/genlist/item/dialogue/1text/expandable2/default"; + alias: "elm/genlist/item_odd/dialogue/1text/expandable2/default"; + alias: "elm/genlist/item_compress/dialogue/1text/expandable2/default"; + alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable2/default"; + + /* + alias: "elm/genlist/item/dialogue.1text/default"; + alias: "elm/genlist/item_odd/dialogue.1text/default"; + alias: "elm/genlist/item_compress/dialogue.1text/default"; + alias: "elm/genlist/item_compress_odd/dialogue.1text/default"; + */ + GENLIST_DIALOGUE_INHERIT_BODY(;) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; ) + } + + group { GENLIST_NAME("dialogue/1text.1icon.6/default") + alias: "elm/layout/dialogue/1text.1icon.6"; + inherit: "elm/genlist/item/dialogue/1text/default"; + + data.item: "contents" "elm.icon"; + parts { + PART(SPACER, "elm.padding.right", + DESC_R("bg_dialogue_right", + min: 20 0; + max: 20 -1; + ) + DESC_LIST_PADDINGS + ) + PART(SPACER, "bg_dialogue_right", + description { state: "default" 0.0; + min: 16 0; + max: 16 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "elm.icon"; + relative: 0 0; + } + rel2 { + to: "elm.icon"; + relative: 0 1; + } + } + ) + GENLIST_PART_ICON("elm.icon", + DESC_R("bg_icon_right", + ) + ) + PART(SPACER, "bg_icon_right", + description { state: "default" 0.0; + min: 26 0; + max: 26 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 1 0; + } + ) + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.2 + group { GENLIST_NAME("dialogue/1text.1icon/default") + alias: "elm/layout/dialogue/1text.1icon"; + inherit: "elm/genlist/item/1text.1icon.6/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.3 +// 2.5.2.4 (expandable) + group { GENLIST_NAME("dialogue/1text.1icon.2/default") + alias: "elm/layout/dialogue/1text.1icon.2"; + inherit: "elm/genlist/item/1text.1icon.2/default"; + + // FIXME: deprecated, only for backward compatibility + alias: "elm/genlist/item/dialogue/1text.1icon.2/expandable2/default"; + alias: "elm/genlist/item_compress/dialogue/1text.1icon.2/expandable2/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.3 (TEXTBLOCK) + group { GENLIST_NAME("dialogue/1text.1icon.2.tb/default") + alias: "elm/layout/dialogue/1text.1icon.2.tb"; + inherit: "elm/genlist/item/1text.1icon.2.tb/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.4 + group { GENLIST_NAME("dialogue/1text.2icon/default") + alias: "elm/layout/dialogue/1text.2icon"; + inherit: "elm/genlist/item/1text.2icon.7/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.1.5 + group { GENLIST_NAME("dialogue/2text.1icon.6/default") + alias: "elm/layout/dialogue/2text.1icon.6"; + inherit: "elm/genlist/item/2text.1icon.6/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.1.5 (textblock) + group { GENLIST_NAME("dialogue/2text.1icon.6.tb/default") + alias: "elm/layout/dialogue/2text.1icon.6.tb"; + inherit: "elm/genlist/item/2text.1icon.tb/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.1.6 +// 2.4.1.15 +// 2.5.2.2 & 2.5.2.3 (expandable) + group { GENLIST_NAME("dialogue/1text.1icon.3/default") + alias: "elm/layout/dialogue/1text.1icon.3"; + inherit: "elm/genlist/item/1text.1icon.3/default"; + + // FIXME: deprecated, only for backward compatibility + alias: "elm/genlist/item/dialogue/1text.1icon/expandable2/default"; + alias: "elm/genlist/item_compress/dialogue/1text.1icon/expandable2/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.6 (textblock) + group { GENLIST_NAME("dialogue/1text.1icon.3.tb/default") + alias: "elm/layout/dialogue/1text.1icon.3.tb"; + inherit: "elm/genlist/item/1text.1icon.3.tb/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.7 +// 2.4.1.11 + group { GENLIST_NAME("dialogue/1text.2icon.2/default") + alias: "elm/layout/dialogue/1text.2icon.2"; + inherit: "elm/genlist/item/1text.2icon.4/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.1.8 + group { GENLIST_NAME("dialogue/1text.3icon/default") + alias: "elm/layout/dialogue/1text.3icon"; + inherit: "elm/genlist/item/1text.3icon.2/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) + } + +// 2.4.1.9 deprecated FIME: This style is not needed?? (slide has already 3icons style) + group { GENLIST_NAME("dialogue/3icon/default") + alias: "elm/layout/dialogue/3icon"; + + PROLOG_LIST_DIALOGUE + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_ICON_MEDIUM_L("elm.icon.1", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + GENLIST_PART_ICON("elm.icon.2", DESC_LR( + "elm.padding.icon1.right", "elm.padding.icon3.left", + min: 468 GENLIST_HEIGHT_1LINE; ) + ) + GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") + GENLIST_PART_ICON_MEDIUM_R("elm.icon.3", "elm.padding.right") + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon.1"; target: "elm.icon.2"; + target: "elm.icon.3"; ) + } + +// 2.4.1.9 + group { GENLIST_NAME("dialogue/1text.1icon.5/default") + alias: "elm/layout/dialogue/1text.1icon.5"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + GENLIST_PART_SUBITEM_("elm.text", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.icon", + ) + GENLIST_PART_ICON("elm.icon", + DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 74; + fixed: 1 1; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.10 + group { GENLIST_NAME("dialogue/2text.1icon.4/default") + alias: "elm/layout/dialogue/2text.1icon.4"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text.2", + "elm.padding.top", "elm.padding.icon.top", + ) + GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.padding.icon.top" + ) + GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.top", "elm.icon", 10) + GENLIST_PART_ICON("elm.icon", + DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 16; + fixed: 0 1; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.4.1.10 (Textblock) + group { GENLIST_NAME("dialogue/2text.1icon.4.tb/default") + alias: "elm/layout/dialogue/2text.1icon.4.tb"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text.2", + "elm.padding.top", "elm.padding.icon.top", + ) + GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.right", "elm.padding.top", "elm.padding.icon.top" + ) + GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.top", "elm.icon", 10) + GENLIST_PART_ICON("elm.icon", + DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 16; + fixed: 0 1; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.4.1.12 , 2.4.1.13 + group { GENLIST_NAME("dialogue/2text.6/default") + alias: "elm/layout/dialogue/2text.6"; + alias: "elm/genlist/item/dialogue/2text.9/default"; + alias: "elm/layout/dialogue/2text.9"; + + // FIXME: deprecated, will be removed + alias: "elm/genlist/item/dialogue.1title.1text/default"; + alias: "elm/genlist/item_odd/dialogue.1title.1text/default"; + alias: "elm/genlist/item_compress/dialogue.1title.1text/default"; + alias: "elm/genlist/item_compress_odd/dialogue.1title.1text/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_SUBITEM_L_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, + "elm.padding.left") + GENLIST_PART_PADDING_L("elm.text2.right", "elm.text.2") + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_L("elm.text2.right") + GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") + GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.divider.right", "elm.padding.right", ) + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.1.14 + group { GENLIST_NAME("dialogue/2text.4/default") + alias: "elm/layout/dialogue/2text.4"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.divider1.left", + ) + GENLIST_PART_PADDING_R("elm.divider1.left", "elm.divider1") + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.text.2.left") + GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") + GENLIST_PART_SUBITEM_R_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, + "elm.padding.right") + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.4.1.14 (textblcok) + group { GENLIST_NAME("dialogue/2text.4.tb/default") + alias: "elm/layout/dialogue/2text.4.tb"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE, + "elm.padding.left", "elm.divider1.left", + ) + GENLIST_PART_PADDING_R("elm.divider1.left", "elm.divider1") + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.text.2.left") + GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") + GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 200, GENLIST_HEIGHT_1LINE, + "elm.padding.right") + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target: "elm.divider2"; ) + } + +// 2.4.1.16 + group { GENLIST_NAME("dialogue/1text.3icon.2/default") + alias: "elm/layout/dialogue/1text.3icon.2"; + inherit: "elm/genlist/item/1text.3icon/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) + } + +// 2.4.1.17 + group { GENLIST_NAME("dialogue/1text.1icon.4/default") + alias: "elm/layout/dialogue/1text.1icon.4"; + inherit: "elm/genlist/item/1text.1icon.5/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; + target: "elm.icon"; ) + } + +// 2.4.1.18 + group { GENLIST_NAME("dialogue/2text.5/default") + alias: "elm/layout/dialogue/2text.5"; + inherit: "elm/genlist/item/2text.6/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.1.19 + group { GENLIST_NAME("dialogue/multiline/1text.1icon/default") + alias: "elm/layout/dialogue/multiline/1text.1icon.flexible"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 16, 16 + ) + + GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") + GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.icon.right", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + GENLIST_PARAM_LISTITEM_TB_WRAP + min: 0 GENLIST_HEIGHT_1LINE; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + + } + +// 2.4.1.20 + group { GENLIST_NAME("dialogue/1text.1icon.divider/default") + alias: "elm/layout/dialogue/1text.1icon.divider"; + inherit: "elm/genlist/item/1text.1icon.divider/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY(;) + parts { + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.padding.icon.left") + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) + } + +// 2.4.1.21 + group { GENLIST_NAME("dialogue/1text.2icon.divider/default") + alias: "elm/layout/dialogue/1text.2icon.divider"; + inherit: "elm/genlist/item/1text.2icon.divider/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY(;) + parts { + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.padding.icon2.left") + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; + target: "elm.divider1"; target: "elm.divider2"; + ) + } + +// 2.4.1.22 + group { GENLIST_NAME("dialogue/1text.2icon.10/default") + alias: "elm/layout/dialogue/1text.2icon.10"; + inherit: "elm/genlist/item/1text.2icon.2/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY(;) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.2.1 + group { GENLIST_NAME("dialogue/2text/default") + alias: "elm/layout/dialogue/2text"; + inherit: "elm/genlist/item/2text.2/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.2.2 + group { GENLIST_NAME("dialogue/2text.2/default") + alias: "elm/layout/dialogue/2text.2"; + inherit: "elm/genlist/item/2text.3/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.2.3 + group { GENLIST_NAME("dialogue/2text.3/default") + alias: "elm/layout/dialogue/2text.3"; + inherit: "elm/genlist/item/2text.7/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.2.4 + group { GENLIST_NAME("dialogue/2text.1icon.2/default") + alias: "elm/layout/dialogue/2text.1icon.2"; + inherit: "elm/genlist/item/2text.1icon.8/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") + ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.4.2.5 Deprecated + group { GENLIST_NAME("dialogue/2text.1icon.3/default") + alias: "elm/layout/dialogue/2text.1icon.3"; + inherit: "elm/genlist/item/2text.1icon.8/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.2.6 + group { GENLIST_NAME("dialogue/2text.3icon/default") + alias: "elm/layout/dialogue/2text.3icon"; + inherit: "elm/genlist/item/2text.2icon.8/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar"; + + GENLIST_DIALOGUE_INHERIT_BODY( + GENLIST_PART_COLORBAR_DIALOGUE + GENLIST_PART_ICON_MEDIUM_R("elm.icon.2", "elm.padding.right") + ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.colorbar"; ) + } + +// 2.4.2.7 + group { GENLIST_NAME("dialogue/2text.2icon/default") + alias: "elm/layout/dialogue/2text.2icon"; + inherit: "elm/genlist/item/2text.2icon.5/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom") + ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.2.8 + group { GENLIST_NAME("dialogue/2text.2icon.2/default") + alias: "elm/layout/dialogue/2text.2icon.2"; + inherit: "elm/genlist/item/2text.2icon.6/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.2.9 + group { GENLIST_NAME("dialogue/2text.2icon.3/default") + alias: "elm/layout/dialogue/2text.2icon.3"; + inherit: "elm/genlist/item/2text.2icon.4/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.2.9 (TEXTBLOCK) + group { GENLIST_NAME("dialogue/2text.2icon.3.tb/default") + alias: "elm/layout/dialogue/2text.2icon.3.tb"; + inherit: "elm/genlist/item/2text.2icon.4.tb/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.4.2.10 + group { GENLIST_NAME("dialogue/2text.1icon.5/default") + alias: "elm/layout/dialogue/2text.1icon.5"; + inherit: "elm/genlist/item/2text.1icon.5/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + + +// 2.4.2.11 + group { GENLIST_NAME("dialogue/multiline/1title.1text/default") + alias: "elm/layout/dialogue/multiline/1title.1text/default"; + inherit: "elm/genlist/item/multiline/1title.1text/default"; + + // FIXME: deprecated name, will be removed + alias: "elm/genlist/item/dialogue/1title.1text.2/default"; + alias: "elm/genlist/item_odd/dialogue/1title.1text.2/default"; + alias: "elm/genlist/item_compress/dialogue/1title.1text.2/default"; + alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.2/default"; + alias: "elm/layout/dialogue/1title.1text.2/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; + target: "elm.text"; + target: "elm.divider1"; target:"elm.divider2"; ) + } + +// 2.4.2.12 + group { GENLIST_NAME("dialogue/multiline/1title.2text/default") + alias: "elm/layout/dialogue/multiline/1title.2text/default"; + inherit: "elm/genlist/item/multiline/1title.2text/default"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + parts { + GENLIST_PART_CENTER_LINE_LRT("elm.divider2", "bg_dialogue", "elm.text.1") + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; + target: "elm.text.1"; target: "elm.text.2"; + target: "elm.divider1"; target:"elm.divider2"; + target: "center_line"; target:"center_line2";) + } + +#define GENLIST_PART_PASSWORD_RTB(NAME, BG_NAME, RIGHT, TOP, BOTTOM) \ + PART(SPACER, BG_NAME, \ + mouse_events: 0; \ + DESC_RTB(RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_PASSWORD_IMAGE \ + fixed: 1 0; \ + ) \ + ) \ + GENLIST_PART_ICON(NAME, \ + DESC_TO(BG_NAME, \ + ) \ + ) + +#define GENLIST_PART_PASSWORD_LTB(NAME, BG_NAME, LEFT, TOP, BOTTOM) \ + PART(SPACER, BG_NAME, \ + mouse_events: 0; \ + DESC_LTB(LEFT, TOP, BOTTOM, \ + GENLIST_PARAM_PASSWORD_IMAGE \ + fixed: 1 0; \ + ) \ + ) \ + GENLIST_PART_ICON(NAME, \ + DESC_TO(BG_NAME, \ + ) \ + ) + +//2.4.2.13 (password style) + group { GENLIST_NAME("dialogue/1text.4icon/default") + alias: "elm/layout/dialogue/4icon"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 22, 18 + ) + + PART(TEXT, "elm.text", + DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", + fixed: 0 1; + min: 0 42; + GENLIST_PARAM_PASSWORD_TITLE + ) + description { state: "disabled"; + inherit: "default" 0.0; + color_class: "T0213D"; \ + } + ) + GENLIST_PART_PADDING_T_SIZE("elm.padding.text.bottom", "elm.text", 18); + + GENLIST_PART_PASSWORD_RTB("elm.icon.1", "elm.icon.1.bg", + "elm.padding.1", "elm.padding.text.bottom", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_R_SIZE("elm.padding.1", "elm.icon.2.bg", 22) + GENLIST_PART_PASSWORD_RTB("elm.icon.2", "elm.icon.2.bg", + "elm.padding.center", "elm.padding.text.bottom", "elm.padding.bottom" + ) + PART(SPACER, "elm.padding.center", + description { state: "default" 0.0.; + min: 22 0; + max: 22 0; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + relative: 0.5 0; + } + rel2 { + relative: 0.5 1; + } + } + ) + GENLIST_PART_PASSWORD_LTB("elm.icon.3", "elm.icon.3.bg", + "elm.padding.center", "elm.padding.text.bottom", "elm.padding.bottom" + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.2", "elm.icon.3.bg", 22) + GENLIST_PART_PASSWORD_LTB("elm.icon.4", "elm.icon.4.bg", + "elm.padding.2", "elm.padding.text.bottom", "elm.padding.bottom" + ) + } + programs { + GENLIST_PROGRAM_DISABLED( target: "elm.text"; ) + } + } + +// 2.4.2.14 + group { GENLIST_NAME("dialogue/2text.2icon.4/default") + alias: "elm/layout/dialogue/2text.2icon.4"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top",) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2"); + + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.right", "elm.text.1", "elm.padding.bottom",) + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.4.2.14 (textblock) + group { GENLIST_NAME("dialogue/2text.2icon.4.tb/default") + alias: "elm/layout/dialogue/2text.2icon.4.tb"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top",) + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", + "elm.padding.right", "elm.padding.top", "elm.text.2"); + + GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", + "elm.padding.left", "elm.text.1", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") + GENLIST_PART_SUBITEM_TB_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.icon2.right", "elm.padding.right", "elm.text.1", "elm.padding.bottom") + + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2";) + } + +// 2.4.2.15 + group { GENLIST_NAME("dialogue/2text.1icon.10/default") + alias: "elm/layout/dialogue/2text.1icon.10"; + inherit: "elm/genlist/item/2text.1icon.divider/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( + GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom") + part { name: "elm.divider1"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "elm.divider2"; + description { state: "default" 0.0; + visible: 0; + } + } + ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + + +// 2.4.2.15 (textblock) + group { GENLIST_NAME("dialogue/2text.1icon.10.tb/default") + alias: "elm/layout/dialogue/2text.1icon.10.tb"; + inherit: "elm/genlist/item/2text.1icon.7.tb/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + +// 2.4.2.16 + group { GENLIST_NAME("dialogue/2text.1icon.7/default") + alias: "elm/layout/dialogue/2text.1icon.12"; + inherit: "elm/genlist/item/2text.1icon.12/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + } + + +// 2.4.2.17 + group { GENLIST_NAME("dialogue/2text.1icon.8/default") + alias: "elm/layout/dialogue/2text.1icon.8"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, + "elm.padding.left", "elm.padding.right", "elm.padding.top") + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.text2.limit", + "elm.text.2", "elm.padding.bottom", + align: 0 0.5; text.max: 1 0; // This limits text growing. + ) + GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1") + GENLIST_PART_ICON_SMALL_LTB("elm.icon", + "elm.padding.text1.right", "elm.text.2", "elm.padding.bottom") + // Virtual part for Maxmimum right X axis of text.2 + PART(SPACER, "elm.text2.limit", + DESC_R("elm.padding.right", + min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; + target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.2.18 + group { GENLIST_NAME("dialogue/multiline/2text/default") + alias: "elm/layout/dialogue/multiline/2text/default"; + + // FIXME: deprecated name, will be removed + alias: "elm/genlist/item/multiline/dialogue/2text/default"; + alias: "elm/genlist/item_odd/multiline/dialogue/2text/default"; + alias: "elm/genlist/item_compress/multiline/dialogue/2text/default"; + alias: "elm/genlist/item_compress_odd/multiline/dialogue/2text/default"; + alias: "elm/layout/multiline/dialogue/2text/default"; + + PROLOG_LIST_NORMAL + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + GENLIST_PART_BASE + GENLIST_PART_BG_DIALOGUE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + PART(TEXT, "elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 GENLIST_HEIGHT_2LINE_MAIN; + fixed: 0 1; + ) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 4) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP + min: 0 GENLIST_HEIGHT_MULTILINE_SUB; + ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) + } + +// 2.4.2.19 + group { GENLIST_NAME("dialogue/2text.1icon.15/default") + alias: "elm/layout/dialogue/2text.1icon.15/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP_2LINE, GENLIST_PADDING_SIZE_BOTTOM_2LINE + ) + + GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.icon", + ) + GENLIST_PART_ICON_SMALL_LB("elm.icon", + "elm.padding.left", "elm.padding.bottom") + GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon") + PART(TEXT, "elm.text.2", + DESC_LRTB("elm.icon.right", "elm.padding.right", "elm.text.1", "elm.padding.bottom", + min: 0 GENLIST_HEIGHT_2LINE_SUB; + fixed: 0 1; + ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.2.20 + group { GENLIST_NAME("dialogue/2text.1icon.divider/default") + alias: "elm/layout/dialogue/2text.1icon.divider/default"; + inherit: "elm/genlist/item/2text.1icon.divider/default"; + + data.item: "contents" "elm.icon"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + parts { + GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.padding.icon.left") + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.2.21 + group { GENLIST_NAME("dialogue/3text.2icon/default") + alias: "elm/layout/dialogue/3text.2icon/default"; + inherit: "elm/genlist/item/3text.2icon/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2"; + + GENLIST_DIALOGUE_INHERIT_BODY( ; ) + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.4.1 group title + group { GENLIST_NAME("dialogue/grouptitle/default") + alias: "elm/layout/dialogue/grouptitle"; + + // FIXME: deprecated name, will be removed + alias : "elm/genlist/item/dialogue/title/default"; + alias: "elm/genlist/item_odd/dialogue/title/default"; + alias: "elm/genlist/item_compress/dialogue/title/default"; + alias: "elm/genlist/item_compress_odd/dialogue/title/default"; + alias: "elm/layout/dialogue/title"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, 26, + 0, 6 + ) + + GENLIST_PART_PADDING_R("elm.padding.icon.right", "elm.icon"); + PART(TEXT, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.icon.right", + "elm.padding.top", "elm.padding.bottom", + GENLIST_PARAM_DIALOGUE_GROUP_TITLE + min: 0 GENLIST_HEIGHT_GROUPTITLE; + ) + ) + GENLIST_PART_ICON("elm.icon", + DESC_RTB("elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + max: 32 32; + fixed: 1 0; + ) + ) + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "elm.icon"; ) + GENLIST_PROGRAM_FOCUS_NORMAL + } + +// 2.4.4.2 Help Text + group { GENLIST_NAME("multiline/1text/default"); + alias: "elm/layout/multiline/1text/default"; + + // FIXME: name is not correct... + alias: "elm/layout/dialogue/multiline/1text/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + + parts { + GENLIST_PART_BASE + PART_LIST_BG_NORMAL + PART_LIST_PADDINGS(38, 38, 0, 0) + + GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT("elm.text", + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 38; + ) + GENLIST_PART_FOCUS_NORMAL + } + GENLIST_PROGRAM_DEFAULT( target: "elm.text"; ) + GENLIST_PROGRAM_DISABLED( target: "elm.text"; ) + GENLIST_PROGRAM_FOCUS + } + +// 2.4.4.3 + group { GENLIST_NAME("dialogue/bg/2text.1icon/default") + alias: "elm/layout/dialogue/bg/2text.1icon/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 19, 19 + ) + + PART(TEXT, "elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 57; fixed:1 1;) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + PART(TEXT, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.text.1", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT + min: 0 45;) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + ) + + GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") + GENLIST_PART_ICON("elm.icon", + DESC_R("elm.padding.right", + min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) + } + +// 2.4.4.4 + group { GENLIST_NAME("dialogue/bg/3text.2icon/default") + alias: "elm/layout/dialogue/bg/3text.2icon/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1 elm.icon.2"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 19, 19 + ) + + PART(TEXT, "elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", + GENLIST_PARAM_LISTITEM + min: 0 57; fixed:1 1;) + GENLIST_DESCRIPTION_LISTITEM_OTHERS + ) + GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 4) + PART(TEXT, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.icon1.left", "elm.padding.text1.bottom", "elm.text.3", + GENLIST_PARAM_SUBITEM_DEFAULT + min: 0 38;) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + ) + PART(TEXT, "elm.text.3", + DESC_LRB("elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom", + GENLIST_PARAM_SUBITEM_DEFAULT + min: 0 38; fixed: 1 1; ) + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS + ) + + GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") + GENLIST_PART_ICON_BTN_02_RTB("elm.icon.1", "elm.padding.icon2.left", "elm.padding.top", "elm.padding.bottom") + GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") + GENLIST_PART_ICON("elm.icon.2", + DESC_R("elm.padding.right", + min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + ) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; + target: "elm.icon.1"; target: "elm.icon.2"; ) + } + +// 2.4.4.5 deprecated + group { GENLIST_NAME("dialogue/bg/5text.6icon/default") + alias: "elm/layout/dialogue/bg/5text.6icon/default"; + + PROLOG_LIST_DIALOGUE + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6"; + + parts { + GENLIST_PART_BG_DIALOGUE + GENLIST_PART_BASE + PART_LIST_PADDINGS( + DIALOGUE_PADDING_SIZE_LEFT, DIALOGUE_PADDING_SIZE_RIGHT, + 13, 13 + ) + + GENLIST_PART_ICON("elm.icon.1", + DESC_L("elm.padding.left", + min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; + fixed: 1 1; + ) + ) + GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") + PART(TEXT, "elm.text.1", DESC_LRT( + "elm.padding.icon1.right", "elm.padding.right", "elm.padding.top", + GENLIST_PARAM_APPS_NAME + min: 0 32; fixed: 0 1;) + ) + PART(TEXT, "elm.text.2", DESC_LRT( + "elm.padding.icon1.right", "elm.padding.right", "elm.text.1", + GENLIST_PARAM_APPS_INC + min: 0 32; fixed: 0 1;) + ) + + GENLIST_PART_ICON("elm.icon.2", DESC_LTB( + "elm.padding.icon1.right", "elm.text.2", "elm.text.4", + min: 38 38; fixed: 1 1;) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon2.right", "elm.icon.2", 2) + GENLIST_PART_ICON("elm.icon.3", DESC_LTB( + "elm.padding.icon2.right", "elm.text.2", "elm.text.4", + min: 38 38; fixed: 1 1;) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon3.right", "elm.icon.3", 2) + GENLIST_PART_ICON("elm.icon.4", DESC_LTB( + "elm.padding.icon3.right", "elm.text.2", "elm.text.4", + min: 38 38; fixed: 1 1;) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon4.right", "elm.icon.4", 2) + GENLIST_PART_ICON("elm.icon.5", DESC_LTB( + "elm.padding.icon4.right", "elm.text.2", "elm.text.4", + min: 38 38; fixed: 1 1;) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon5.right", "elm.icon.5", 2) + GENLIST_PART_ICON("elm.icon.6", DESC_LTB( + "elm.padding.icon5.right", "elm.text.2", "elm.text.4", + min: 38 38; fixed: 1 1;) + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.icon6.right", "elm.icon.6", 12) + PART(TEXT, "elm.text.3", DESC_LRTB( + "elm.padding.icon6.right", "elm.padding.right", "elm.text.2", "elm.text.4", + GENLIST_PARAM_APPS_RATING + min :0 38;) + ) + + PART(TEXT, "elm.text.4", DESC_LB( + "elm.padding.icon1.right", "elm.padding.bottom", + GENLIST_PARAM_APPS_PRICE + min: 0 32; fixed: 0 1; + rel2.to_x: "base"; rel2.relative: 0.5 0; text.max: 1 0;/* This limits text growing. */ ) + ) + GENLIST_PART_PADDING_L("elm.padding.text4.right", "elm.text.4") + PART(TEXT, "elm.text.5", DESC_LRB( + "elm.padding.text4.right", "elm.padding.right", "elm.padding.bottom", + GENLIST_PARAM_APPS_PRICE_SALE + min: 0 32; fixed: 0 1;) + ) + GENLIST_PART_FLIP + GENLIST_PART_FOCUS_DIALOGUE + } + GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; target: "elm.text.5"; + target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) + } + +// ---------------------------------------------------------------------- +// Pop Up Style --------------------------------------------------------- +// ---------------------------------------------------------------------- +group { GENLIST_NAME("default/popup/default") + inherit: "elm/genlist/item/default/default"; + alias: "elm/list/item/popup"; + alias: "elm/list/item_odd/popup"; + alias: "elm/list/item_compress/popup"; + alias: "elm/list/item_compress_odd/popup"; + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B061L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B061L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B061L41P"; + } + ) + PART_LIST_PADDINGS( + GENLIST_POPUP_PADDING_SIZE_LEFT, GENLIST_POPUP_PADDING_SIZE_RIGHT, + GENLIST_PADDING_SIZE_TOP, GENLIST_PADDING_SIZE_BOTTOM + ) + + PART(RECT, "bottom_line", + description { state: "default" 0.0; + color_class: "B0621L2"; + rel1.to_x: "bg"; + rel2.to_x: "bg"; + rel1.offset: 1 0; + rel2.offset: -2 -1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + ) + } + } + +GENLIST_POPUP_STYLE("1icon") +GENLIST_POPUP_STYLE("1icon/with_no_line") +GENLIST_POPUP_STYLE("1icon/no_padding") +GENLIST_POPUP_STYLE("1icon/no_padding_line") +GENLIST_POPUP_STYLE("1text") +GENLIST_POPUP_STYLE("1text.tb") +GENLIST_POPUP_STYLE("2text") +GENLIST_POPUP_STYLE("1text.1icon") +GENLIST_POPUP_STYLE("1text.1icon.6") +GENLIST_POPUP_STYLE("1text.1icon.7") +GENLIST_POPUP_STYLE("1text.1icon.5") +GENLIST_POPUP_STYLE("1text.1icon.5.thumb.square") +GENLIST_POPUP_STYLE("1text.2icon.3") +GENLIST_POPUP_STYLE("1text.2icon.3.tb") +GENLIST_POPUP_STYLE("1text.1icon.2") +GENLIST_POPUP_STYLE("1text.1icon.2.tb") +GENLIST_POPUP_STYLE("2text.1icon") +GENLIST_POPUP_STYLE("2text.1icon.tb") +GENLIST_POPUP_STYLE("1text.2icon") +GENLIST_POPUP_STYLE("1text.2icon.tb") +GENLIST_POPUP_STYLE("1text.2icon.6") +GENLIST_POPUP_STYLE("1text.2icon.6.tb") +GENLIST_POPUP_STYLE("1text.1icon.3") +GENLIST_POPUP_STYLE("1text.1icon.3.tb") +GENLIST_POPUP_STYLE("1text.2icon.4") +GENLIST_POPUP_STYLE("1text.2icon.4.tb") +GENLIST_POPUP_STYLE("1text.2icon.2") +GENLIST_POPUP_STYLE("1text.3icon") +GENLIST_POPUP_STYLE("1text.2icon.9") +GENLIST_POPUP_STYLE("1text.3icon.2") +GENLIST_POPUP_STYLE("1text.1icon.divider") +GENLIST_POPUP_STYLE("1text.2icon.divider") +GENLIST_POPUP_STYLE("2text.2") +GENLIST_POPUP_STYLE("2text.2.tb") +GENLIST_POPUP_STYLE("2text.3") +GENLIST_POPUP_STYLE("3text") +GENLIST_POPUP_STYLE("3text.tb") +GENLIST_POPUP_STYLE("2text.1icon.2") +GENLIST_POPUP_STYLE("2text.1icon.2.tb") +GENLIST_POPUP_STYLE("2text.1icon.10") +GENLIST_POPUP_STYLE("2text.1icon.10.tb") +GENLIST_POPUP_STYLE("3text.1icon") +GENLIST_POPUP_STYLE("3text.1icon.tb") +GENLIST_POPUP_STYLE("3text.2icon") +GENLIST_POPUP_STYLE("3text.2icon.tb") +GENLIST_POPUP_STYLE("2text.1icon.4") +GENLIST_POPUP_STYLE("2text.1icon.4.thumb.square") +GENLIST_POPUP_STYLE("2text.1icon.4.tb") +GENLIST_POPUP_STYLE("3text.1icon.2") +GENLIST_POPUP_STYLE("3text.1icon.2.tb") +GENLIST_POPUP_STYLE("2text.1icon.8") +GENLIST_POPUP_STYLE("2text.2icon.4") +GENLIST_POPUP_STYLE("2text.2icon.4.tb") +GENLIST_POPUP_STYLE("2text.2icon.6") +GENLIST_POPUP_STYLE("2text.2icon.6.tb") +GENLIST_POPUP_STYLE("2text.2icon.8") +GENLIST_POPUP_STYLE("2text.2icon.8.tb") +GENLIST_POPUP_STYLE("2text.2icon.progress") +GENLIST_POPUP_STYLE("3text.3icon.progress") +GENLIST_POPUP_STYLE("2text.1icon.divider") +GENLIST_POPUP_STYLE("2text.1icon.12") +GENLIST_POPUP_STYLE("2text.1icon.12.tb") +GENLIST_POPUP_STYLE("2text.2icon.7") +GENLIST_POPUP_STYLE("2text.2icon.5") +GENLIST_POPUP_STYLE("2text.3icon.4") +GENLIST_POPUP_STYLE("4text.1icon.1") +GENLIST_POPUP_STYLE("4text.1icon.1.tb") +GENLIST_POPUP_STYLE("4text.1icon.2") +GENLIST_POPUP_STYLE("4text.1icon.2.tb") +GENLIST_POPUP_STYLE("4text.1") +GENLIST_POPUP_STYLE("4text.1.tb") +GENLIST_POPUP_STYLE("4text.2") +GENLIST_POPUP_STYLE("3text.1icon.3") +GENLIST_POPUP_STYLE("3text.1icon.3.tb") +GENLIST_POPUP_STYLE("4text.1icon.3") +GENLIST_POPUP_STYLE("3text.1icon.1") +GENLIST_POPUP_STYLE("2text.2icon.1") +GENLIST_POPUP_STYLE("2text.1icon.1") + +// Popup thumbnail style(circle) + + group { GENLIST_NAME("1text.1icon.5.thumb.circle/popup/default") + inherit: "elm/genlist/item/1text.1icon.5/popup/default"; + + GENLIST_INHERIT_THUMB_POPUP(GENLIST_ICON_THUMBNAIL_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + + group { GENLIST_NAME("2text.1icon.4.thumb.circle/popup/default") + inherit: "elm/genlist/item/2text.1icon.4/popup/default"; + + GENLIST_INHERIT_THUMB_POPUP(GENLIST_ICON_LARGE_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } + + group { GENLIST_NAME("1text.1icon.2.thumb.circle/popup/default") + inherit: "elm/genlist/item/1text.1icon.2/popup/default"; + + GENLIST_INHERIT_THUMB_POPUP(GENLIST_ICON_MEDIUM_SIZE, "elm.icon") + GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) + GENLIST_PROGRAMS_THUMB + } diff --git a/2.2/widgets/genlist/genlist_sweep.edc b/2.2/widgets/genlist/genlist_sweep.edc new file mode 100644 index 0000000..fbcbe89 --- /dev/null +++ b/2.2/widgets/genlist/genlist_sweep.edc @@ -0,0 +1,253 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ +// 2.2.5.1 + group { name: "elm/genlist/item/mode/slide/default"; + + PROLOG_LIST + + data.item: "contents" "elm.slide.swallow.1"; + data.item: "mode_part" "elm.swallow.origin"; + + parts { + PART(RECT, "bg_sweep", + description { state: "default" 0.0; + color: GENLIST_SWEEP_BG_COLOR; + } + ) + GENLIST_PART_BASE + PART_LIST_PADDINGS( + GENLIST_PADDING_SIZE_LEFT, GENLIST_PADDING_SIZE_RIGHT, + 0, 0 // (82-80)/2 + ) + GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 171) + GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 171) + + GENLIST_PART_ICON("elm.slide.swallow.1", + DESC_LR("elm.padding.btn.left", "elm.padding.btn.right", + min: 326 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + PART(RECT, "overlay", + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 128; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + ) + /* + PART(RECT, "elm.shadow.left", + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.origin"; + relative: 0 0; + } + rel2 { + to: "elm.swallow.origin"; + relative: 0 1; + } + align: 1 0.5; + min: 20 0; + color: 0 0 0 128; + } + ) + */ + // Swallow part for original genlist item + GENLIST_PART_ICON("elm.swallow.origin";, + DESC_TO("base", ) + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 1 0; + to: "base"; + } + rel2 { + relative: 2 1; + to: "base"; + } + } + ) + GENLIST_PART_FOCUS + } + programs { + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: PLAY_SAMPLE "sweep_sound" 1.0; + after: "animate_slide_right"; + } + program { + name: "animate_slide_right"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + target: "overlay"; + transition: ACCELERATE 0.5; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: PLAY_SAMPLE "sweep_sound" 1.0; + after: "animate_slide_left"; + } + program { + name: "animate_slide_left"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + target: "overlay"; + transition: DECELERATE 0.5; + after: "signal"; + } + program { + name: "signal"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + GENLIST_PROGRAM_FOCUS + } + } + +// 2.2.5.2 + group { name: "elm/genlist/item/mode/slide2/default"; + inherit: "elm/genlist/item/mode/slide/default"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2"; + parts { + GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 0) + GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 0) + GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1) + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_MIN_SLIDE2_BASE_WIDTH 0; + } + } + GENLIST_PART_ICON("elm.slide.swallow.1", + DESC_LR("elm.padding.left", "elm.padding.center", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.2", + insert_before: "elm.slide.swallow.1"; + DESC_LR("elm.padding.center", "elm.padding.right", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + } + } + +#define GENLIST_PART_PADDING_TO( NAME, SIZE, TO, ALIGN, REL1, REL2 ) \ + PART(SPACER, NAME, \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + align: ALIGN; \ + rel1 { \ + relative: REL1; \ + to: TO; \ + } \ + rel2 { \ + relative: REL2; \ + to: TO; \ + } \ + } \ + ) + +// 2.2.5.3 + group { name: "elm/genlist/item/mode/slide3/default"; + inherit: "elm/genlist/item/mode/slide2/default"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3"; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: GENLIST_MIN_SLIDE3_BASE_WIDTH 0; + } + } + PART(SPACER, "dummy", + DESC_LR("elm.padding.left", "elm.padding.right", ) + ) + GENLIST_PART_PADDING_TO("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.666 0.5, 0.333 0, 0.333 1) + GENLIST_PART_PADDING_TO("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.333 0.5, 0.666 0, 0.666 1) + GENLIST_PART_ICON("elm.slide.swallow.1", + DESC_LR("elm.padding.left", "elm.padding.center", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.2", + DESC_LR("elm.padding.center", "elm.padding.center1", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.3", + insert_before: "elm.slide.swallow.2"; + DESC_LR("elm.padding.center1", "elm.padding.right", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + } + } +// 2.2.5.4 + group { name: "elm/genlist/item/mode/slide4/default"; + inherit: "elm/genlist/item/mode/slide3/default"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4"; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: GENLIST_MIN_SLIDE4_BASE_WIDTH 0; + } + } + GENLIST_PART_PADDING_TO("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.75 0.5, 0.25 0, 0.25 1) + GENLIST_PART_PADDING_TO("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.50 0.5, 0.5 0, 0.5 1) + GENLIST_PART_PADDING_TO("elm.padding.center2", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.25 0.5, 0.75 0, 0.75 1) + GENLIST_PART_ICON("elm.slide.swallow.1", + DESC_LR("elm.padding.left", "elm.padding.center", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.2", + DESC_LR("elm.padding.center", "elm.padding.center1", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.3", + DESC_LR("elm.padding.center1", "elm.padding.center2", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + GENLIST_PART_ICON("elm.slide.swallow.4", + insert_before: "elm.slide.swallow.3"; + DESC_LR("elm.padding.center2", "elm.padding.right", + min: 0 GENLIST_BTN_01_HEIGHT; + max: -1 GENLIST_BTN_01_HEIGHT; ) + ) + } + } diff --git a/2.2/widgets/genlist/genlist_textblock_style.edc b/2.2/widgets/genlist/genlist_textblock_style.edc new file mode 100644 index 0000000..ace5fc7 --- /dev/null +++ b/2.2/widgets/genlist/genlist_textblock_style.edc @@ -0,0 +1,166 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ + +#define STYLE_TAG \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" GENLIST_PART_MATCH_TAG_COLOR; + +// FIXME: Why this is needed? just don't use match color, right? damn textblock bug... + +styles { + // ********************** groupindex text + style { name: "genlist_style_groupindex_text"; + base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color=#ffffff color_class=T027 text_class=T027 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_groupindex_text_press"; + base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color=#ffffff color_class=T027S text_class=T027P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_groupindex_text_dim"; + base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color=#ffffff color_class=T027D text_class=T027D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + // ********************** dialgoue group help text + style { name: "genlist_style_dialogue_group_help_text"; + base: "font=Tizen:style=Regular font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color=#ffffff color_class=T055 text_class=T055 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_dialogue_group_help_text_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color=#ffffff color_class=T055D text_class=T055D wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_dialogue_group_help_text_press"; + base: "font=Tizen:style=Regular font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color=#ffffff color_class=T055P text_class=T055P wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + // ********************** list main text + style { name: "genlist_style_list_main_text"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_main_text_dim"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_main_text_press"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023P text_class=T023P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + // ********************** list main text (multiline) + style { name: "genlist_style_list_main_text_wrap"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023 text_class=T023 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_main_text_dim_wrap"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023D text_class=T023D wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_main_text_press_wrap"; + base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color=#ffffff color_class=T023P text_class=T023P wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + // ********************** list sub text + style { name: "genlist_style_list_sub_text_default"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_default_dim"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024D text_class=T024D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_default_press"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024P text_class=T024P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_entry_dim"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T02413D text_class=T02413D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_entry_press"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T02413P text_class=T02413P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + // ********************** list sub text RTB + style { name: "genlist_style_list_sub_text2"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T02411 text_class=T02411 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text2_dim"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T02411D text_class=T02411D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text2_press"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T02411P text_class=T02411P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + + // ********************** list sub text (multiline) + style { name: "genlist_style_list_sub_text_default_wrap"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_default_dim_wrap"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024D text_class=T024D wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "genlist_style_list_sub_text_default_press_wrap"; + base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color=#ffffff color_class=T024P text_class=T024P wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } +} diff --git a/2.2/widgets/index.edc b/2.2/widgets/index.edc new file mode 100644 index 0000000..1b83b5a --- /dev/null +++ b/2.2/widgets/index.edc @@ -0,0 +1,1167 @@ +/* + * 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. + */ + styles { + style { name: "Index_scroll_1depth_popup_left_align"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=left color=#FFFFFF text_class=T114 color_class=T114 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + style { name: "Index_scroll_bar_2depth_popup"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=right color=#FFFFFF text_class=T114 color_class=T114 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + style { name: "Index_scroll_1depth_popup"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=center color=#FFFFFF text_class=T114 color_class=T114 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + group { name: "elm/index/base/vertical/default"; + images { + image: "00_fast_scroll_popup_bg_ef.#.png" COMP; + image: "00_fast_scroll_popup_bg_line.#.png" COMP; + } + parts { + part { name: "clip"; + scale: 1; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + scale: 1; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.dragable.index.1"; + type: SPACER; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "elm.swallow.index.0"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: INDEX_SCROLL_DRAG_PART_SIZE; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.index.1.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + max:1 0; + visible: 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + description { state: "active" 0.0; + max:1 0; + visible: 0; + color: INDEX_SCROLL_PADDING_COLOR; + } + } + part { name: "left.line.index.1"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + visible: 0; + min: INDEX_SCROLL_BG_LINE_WIDTH_INC 0; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.1"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 0.0 1.0; + } + color_class: "B0724"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.index.1"; + type: SWALLOW; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.dragable.index.1"; + offset: -1 0; + relative: 0.0 0.0; + } + rel2 { + to: "elm.dragable.index.1"; + offset: -1 0; + relative: 0.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "align_bottom" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + description { state: "align_top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "index1.top.padding"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { + visible : 0; + align: 0.0 1.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + color_class: "B0724"; + rel1 { + to: "left.line.index.1"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 1.0 0.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "index1.bottom.padding"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { + align: 0.0 0.0; + visible : 0; + min: 0 INDEX_PADDING_SIZE_INC; + color_class: "B0724"; + fixed: 0 1; + rel1 { + to: "left.line.index.1"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 1.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "index.top.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 0.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 0.0; + } + } + } + part { name: "index.bottom.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 1.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 1.0; + } + } + } + part { name: "bg"; + type: RECT; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "index.top.padding"; + rel2.to: "index.bottom.padding"; + color_class: "B0722"; + } + } + part { name: "left.line"; + type: RECT; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: INDEX_SCROLL_BG_LINE_WIDTH_INC 0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + color_class: "B0723"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color_class: "B0724"; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "index.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to_y: "index.bottom.padding"; + relative: 1.0 0.0; + } + color: 255 255 255 255; + } + } + part { name: "popup_left_top_padding"; + type: SPACER; + scale: 1; + description { + rel1.to: "popup_bg"; + rel2 {to: "popup_bg"; relative: 0.0 0.0;} + align: 1.0 1.0; + min: INDEX_SCROLL_POPUP_LT_PADDING; + fixed: 1 1; + } + } + part { name: "popup_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + rel1 {to: "popup_bg"; relative: 1.0 1.0;} + rel2 {to: "popup_bg";} + align: 0.0 0.0; + min: INDEX_SCROLL_POPUP_RB_PADDING; + fixed: 1 1; + } + } + part { name: "popup_bg"; + type: RECT; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + fixed: 1 1; + min: INDEX_SCROLL_POPUP_SIZE; + color_class: "B0731L1"; + rel1.to: "text.left.padding"; + rel2.to: "text.right.padding"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + min: INDEX_SCROLL_POPUP_ACTIVE_SIZE; + } + } + part { name: "popup_bg_line"; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "popup_left_top_padding"; + rel2.to: "popup_right_bottom_padding"; + color_class: "B0731L2"; + image.normal: "00_fast_scroll_popup_bg_line.#.png"; + } + } + part { name: "popup_bg_effect"; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "popup_bg_line"; + rel2.to: "popup_bg_line"; + image.normal: "00_fast_scroll_popup_bg_ef.#.png"; + } + } + part { + name: "align_prop"; + type: "SPACER"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: 1 0; + max: 1 -1; + fixed: 1 0; + } + } + part { + name: "elm.text.1"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_SCROLL_TEXT1_DEFAULT_SIZE; + fixed: 1 1; + text.style: "Index_scroll_1depth_popup"; + text.min: 1 1; + text.max: 1 1; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + min: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; + text.style: "Index_scroll_1depth_popup_left_align"; + rel1 { + to: "align_prop"; + relative: 1.0 0.0; + } + rel2.to: "align_prop"; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { + name: "elm.text"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + fixed: 1 1; + text.style: "Index_scroll_bar_2depth_popup"; + text.min: 1 1; + text.max: 1 1; + visible: 0; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + min: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; + rel1.to: "align_prop"; + rel2 { + to: "align_prop"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + } + } + part { name: "text.left.padding"; + type: SPACER; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_TEXT_LEFT_PADDING_SIZE_INC 0; + fixed: 1 0; + rel1.to: "elm.text.1"; + rel2 { + to: "elm.text.1"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.text"; + rel2 { + to: "elm.text"; + relative: 0.0 1.0; + } + } + } + part { name: "text.right.padding"; + type: SPACER; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0; + fixed: 1 0; + rel1 { + to: "elm.text.1"; + relative: 1.0 0.0; + } + rel2.to: "elm.text.1"; + align: 0.0 1.0; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.event.1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.1"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.index.1"; + } + } + } + part { + name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.0"; + offset: -3 0; + } + rel2 { + to: "elm.swallow.index.0"; + } + color: 0 0 0 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "drag2"; + signal: "drag,set"; + source: "elm.dragable.index.1"; + script { + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + custom_state(PART:"elm.dragable.index.1", "default", 0.0); + set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); + } + } + program { name: "index0.active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip"; + } + program { name: "index1.inactive"; + signal: "elm,state,level,0"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.1"; + target: "elm.text.1"; + target: "elm.text"; + target: "elm.swallow.index.1.padding.right"; + target: "left.line.index.1"; + target: "index1.top.padding"; + target: "index1.bottom.padding"; + target: "popup_bg"; + target: "text.left.padding"; + } + program { name: "index1.active"; + signal: "elm,state,level,1"; + source: "elm"; + script { + new x1, x2, y1, y2, w1, w2, h1, h2; + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + get_geometry(PART:"elm.swallow.index.1", x1, y1, w1, h1); + get_geometry(PART:"clip", x2, y2, w2, h2); + if ((y1+h1) > (y2+h2)) { + set_state(PART:"elm.swallow.index.1", "align_bottom", 0.0); + } + else if (dy < 0.02) { + set_state(PART:"elm.swallow.index.1", "align_top", 0.0); + } + else { + set_state(PART:"elm.swallow.index.1", "active", 0.0); + } + set_state(PART:"clip2", "active", 0.0); + set_state(PART:"elm.swallow.index.1.padding.right", "active", 0.0); + set_state(PART:"left.line.index.1", "active", 0.0); + set_state(PART:"index1.top.padding", "active", 0.0); + set_state(PART:"index1.bottom.padding", "active", 0.0); + set_state(PART:"popup_bg", "active", 0.0); + set_state(PART:"text.left.padding", "active", 0.0); + } + } + program { name: "index1.text"; + signal: "index1.text.enable"; + source: ""; + action: STATE_SET "active" 0.0; + target: "elm.text.1"; + target: "elm.text"; + target: "text.left.padding"; + } + program { name: "index0.hide"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip"; + } + program { name: "left.line.active"; + signal: "mouse,down,1"; + source: "elm.swallow.event.0"; + action: STATE_SET "active" 0.0; + target: "left.line"; + } + program { name: "left.line.dim"; + signal: "mouse,up,1"; + source: "elm.swallow.event.0"; + action: STATE_SET "default" 0.0; + target: "left.line"; + } + program { name: "index.active"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip2"; + } + program { name: "index.inactive"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + } + program { name: "event.inactive"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.up"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "up" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.down"; + } + program { name: "index.go.down"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.inactive2"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.down"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "down" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.up"; + } + program { name: "index.go.up"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.active"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.event.0"; + } + program { + name: "access.active"; + signal: "elm,access,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { + name: "access.inactive"; + signal: "elm,access,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + } + } + + group { name: "elm/index/item1/vertical/default"; + alias: "elm/index/item1_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "00_fast_scroll_rollover_bg_line_focus.#.png" COMP; + } + parts { + part { name: "scroll.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "focus.top"; + rel2.to: "focus.bottom"; + color_class: "B0722"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "divider"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + min: 0 INDEX_DIVIDER_WIDTH_INC; + fixed: 1 1; + rel1 { + to_x: "elm.text"; + to_y: "focus.bottom"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.text"; + to_y: "focus.bottom"; + relative: 1.0 1.0; + } + color_class: "B0725"; + } + description { + state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "focus.top"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + } + } + part { name: "focus.bottom"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + } + } + part { name: "right.padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: INDEX_ITEM_PADDING_SIZE_INC 0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + min: INDEX_ITEM_MIN_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + max: INDEX_ITEM_MAX_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + align: 0.5 0.5; + state: "default" 0.0; + color_class: "T113"; + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T113"; + } + rel1.to_x: "left.padding"; + rel1.to_y: "focus.top"; + rel1.relative: 1.0 1.0; + rel2.to_x: "right.padding"; + rel2.to_y: "focus.bottom"; + rel2.relative: 0.0 0.0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + text.text_class: "T113P"; + color_class: "T113P"; + } + } + part { name: "left.line"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: INDEX_ITEM_PADDING_SIZE_INC 0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: INDEX_ITEM_PADDING_SIZE_INC 0; + fixed: 1 1; + rel1.to: "left.line"; + rel1.relative: 1.0 0.0; + rel2.to: "left.line"; + rel2.relative: 1.0 1.0; + } + } + part { name: "item.bg"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + image { + normal: "00_fast_scroll_rollover_bg_line_focus.#.png"; + } + color_class: "B0724"; + rel2.to_x: "elm.text"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "item.bg"; + target: "scroll.bg"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "item.bg"; + target: "scroll.bg"; + } + program { + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + } + } + } + group { name: "elm/index/item2/vertical/default"; + alias: "elm/index/item2_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "00_fast_scroll_rollover_bg_line_focus.#.png" COMP; + } + parts { + part { name: "scroll.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 { + relative: 1.0 0.0; + to: "divider"; + } + color_class: "B0722"; + } + } + part { name: "focus.top"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "focus.bottom"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + to: "divider"; + relative: 0.0 0.0; + } + rel2 { + to: "divider"; + relative: 1.0 0.0; + } + } + } + part { name: "right.padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: INDEX_ITEM_PADDING_SIZE_INC 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + min: INDEX_ITEM_MIN_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + max: INDEX_ITEM_MAX_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + align: 0.5 0.5; + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + rel2.to: "divider"; + color_class: "T113"; + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T113"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color_class: "T113P"; + text.text_class: "T113P"; + } + } + part { name: "divider"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 INDEX_DIVIDER_WIDTH_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + } + color_class: "B0725"; + } + description { + state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + } + } + } + group { + name: "elm/index/base/vertical/pagecontrol"; + alias: "elm/index/base/horizontal/pagecontrol"; + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + fixed: 1 1; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.5; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + } + } + group { + name: "elm/index/item/vertical/pagecontrol"; + alias: "elm/index/item_odd/vertical/pagecontrol"; + alias: "elm/index/item/horizontal/pagecontrol"; + alias: "elm/index/item_odd/horizontal/pagecontrol"; + images { + image: "00_page_indicator_01.png" COMP; + image: "00_page_indicator_02.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + min: INDEX_PAGECONTROL_IND_INC; + max: INDEX_PAGECONTROL_IND_INC; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_PAGECONTROL_IND_MIN_INC; + max: INDEX_PAGECONTROL_IND_MIN_INC; + image.normal: "00_page_indicator_02.png"; + color_class: "W1621"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_PAGECONTROL_SELECT_IND_MIN_INC; + max: INDEX_PAGECONTROL_SELECT_IND_MIN_INC; + image.normal: "00_page_indicator_01.png"; + color_class: "W162"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + } + } + } diff --git a/2.2/widgets/label.edc b/2.2/widgets/label.edc new file mode 100644 index 0000000..0d05ae8 --- /dev/null +++ b/2.2/widgets/label.edc @@ -0,0 +1,1798 @@ +/* + * 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. + */ + +#define SLIDE_SPEED_WEIGHT 0.5 +#define SLIDE_TEXT_GAP 60 + + styles { + style { name: "textblock_style"; + base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color=#FFFFFF color_class=T123 text_class=T123"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_title_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_TITLE_FONT_SIZE_INC" color=#FFFFFF text_class=T021"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_maintitle_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_subtitle_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_landscape_title_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_landscape_maintitle_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "naviframe_landscape_subtitle_style"; + base: "font=Tizen:style=Regular font_size="NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + /* label doesn't use it */ + style { name: "textblock_charwrap_style"; +base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + group { name: "elm/label/base/default"; + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap_ellipsis/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + group { name: "elm/label/base/marker"; + styles { + style { name: "textblock_style2"; + base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ color=#ffff"; + tag: "b" "+ color=#ffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/marker"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + group { name: "elm/label/base/slide_long"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_roll"; + script { + public g_duration = 0; + public g_stopslide = 0; + public g_timer_id = 0; + public g_anim_id = 0; + public g_tb_w = 0; + public g_tb_h = LABEL_FONT_SIZE_INC; + public org_text = 0; + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); + } + } + public get_tb_width() { + new x, y, w, h; + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + set_int(g_tb_h, h); + set_state(PART:"text_clip", "default", 0.0); + get_geometry(PART:"text_clip", x, y, w, h); + set_int(org_text, w); + } + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + public start_slide(val) { + new Float:len; + new buf[1024]; + set_int(g_stopslide, 0); + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w) + SLIDE_TEXT_GAP; + set_float(g_duration, len / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); + } + if(get_int(g_tb_w) > get_int(org_text)) { + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin", 0.0); + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text.slide", buf); + set_text(PART:"elm.text.slide2", buf); + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + slide_to_end(); + } + } + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + set_int(g_stopslide, 1); + set_float(g_duration, 0); + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_text(PART:"elm.text.slide2", ""); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"elm.text.slide2", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2 { relative: 1.0 1.0; to: "elm.text"; } + } + } + part { name: "elm.text.slide2"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_short"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + + group { name: "elm/label/base/slide_bounce"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + } + public slide_to_begin() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_begin_anim", 1); + set_int(g_anim_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + + group { name: "elm/label/base/naviframe_title"; + script { + public g_landscape = 0; //Landscape mode status + public g_duration = 0; //Sliding duration + public g_stopslide = 0; //Flag for sliding stop + public g_timer_id = 0; //Sliding start timer id + public g_anim_id = 0; //Sliding animator id + public g_tb_w = 0; //Width of text block + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + } + } + + public get_tb_width() { + new x, y, w, h; + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "no_ellipsis_landscape", 0.0); + else + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + } + + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + + if (get_int(g_landscape)) { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + + if (pos >= 1.0) { + stop_slide(); + emit("elm,state,slide,end", ""); + } + } + + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + + set_int(g_stopslide, 0); + + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w) + SLIDE_TEXT_GAP; + + if (get_int(g_landscape)) + set_float(g_duration, len / NAVIFRAME_TITLE_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + else + set_float(g_duration, len / NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + + if (get_int(g_landscape)) { + set_state(PART:"elm.text.slide", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin_landscape", 0.0); + } + else { + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin", 0.0); + } + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text.slide", buf); + set_text(PART:"elm.text.slide2", buf); + + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + + slide_to_end(); + } + + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + + set_int(g_stopslide, 1); + set_float(g_duration, 0); + + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_text(PART:"elm.text.slide2", ""); + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "landscape", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"elm.text.slide2", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_title_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.style: "naviframe_landscape_title_style"; + } + description { state: "no_ellipsis_landscape" 0.0; + inherit: "landscape" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_title_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_title_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_title_style"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2 { relative: 1.0 1.0; to: "elm.text"; } + } + } + part { name: "elm.text.slide2"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_title_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_title_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_title_style"; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + if (!get_int(g_stopslide) || get_int(g_timer_id)) + stop_slide(); + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_int(g_landscape, 1); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_int(g_landscape, 1); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_int(g_landscape, 0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_int(g_landscape, 0); + } + } + } + } + group { name: "elm/label/base/naviframe_maintitle"; + script { + public g_landscape = 0; //Landscape mode status + public g_duration = 0; //Sliding duration + public g_stopslide = 0; //Flag for sliding stop + public g_timer_id = 0; //Sliding start timer id + public g_anim_id = 0; //Sliding animator id + public g_tb_w = 0; //Width of text block + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + } + } + + public get_tb_width() { + new x, y, w, h; + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "no_ellipsis_landscape", 0.0); + else + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + } + + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + + if (get_int(g_landscape)) { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + + if (pos >= 1.0) { + stop_slide(); + emit("elm,state,slide,end", ""); + } + } + + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + + set_int(g_stopslide, 0); + + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w) + SLIDE_TEXT_GAP; + + if (get_int(g_landscape)) + set_float(g_duration, len / NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + else + set_float(g_duration, len / NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + + if (get_int(g_landscape)) { + set_state(PART:"elm.text.slide", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin_landscape", 0.0); + } + else { + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin", 0.0); + } + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text.slide", buf); + set_text(PART:"elm.text.slide2", buf); + + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + + slide_to_end(); + } + + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + + set_int(g_stopslide, 1); + set_float(g_duration, 0); + + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_text(PART:"elm.text.slide2", ""); + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "landscape", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"elm.text.slide2", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_maintitle_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.style: "naviframe_landscape_maintitle_style"; + } + description { state: "no_ellipsis_landscape" 0.0; + inherit: "landscape" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_maintitle_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_maintitle_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_maintitle_style"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2 { relative: 1.0 1.0; to: "elm.text"; } + } + } + part { name: "elm.text.slide2"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_maintitle_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_maintitle_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_maintitle_style"; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + if (!get_int(g_stopslide) || get_int(g_timer_id)) + stop_slide(); + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_int(g_landscape, 1); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_int(g_landscape, 1); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_int(g_landscape, 0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_int(g_landscape, 0); + } + } + } + } + group { name: "elm/label/base/naviframe_subtitle"; + script { + public g_landscape = 0; //Landscape mode status + public g_duration = 0; //Sliding duration + public g_stopslide = 0; //Flag for sliding stop + public g_timer_id = 0; //Sliding start timer id + public g_anim_id = 0; //Sliding animator id + public g_tb_w = 0; //Width of text block + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + } + } + + public get_tb_width() { + new x, y, w, h; + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "no_ellipsis_landscape", 0.0); + else + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + } + + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + + if (get_int(g_landscape)) { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + + if (pos >= 1.0) { + stop_slide(); + emit("elm,state,slide,end", ""); + } + } + + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + + set_int(g_stopslide, 0); + + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w) + SLIDE_TEXT_GAP; + + if (get_int(g_landscape)) + set_float(g_duration, len / NAVIFRAME_SUBTITLE_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + else + set_float(g_duration, len / NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + + if (get_int(g_landscape)) { + set_state(PART:"elm.text.slide", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin_landscape", 0.0); + } + else { + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin", 0.0); + } + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text.slide", buf); + set_text(PART:"elm.text.slide2", buf); + + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + + slide_to_end(); + } + + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + + set_int(g_stopslide, 1); + set_float(g_duration, 0); + + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_text(PART:"elm.text.slide2", ""); + + if (get_int(g_landscape)) + set_state(PART:"elm.text", "landscape", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"elm.text.slide2", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_subtitle_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.style: "naviframe_landscape_subtitle_style"; + } + description { state: "no_ellipsis_landscape" 0.0; + inherit: "landscape" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_subtitle_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_subtitle_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_subtitle_style"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2 { relative: 1.0 1.0; to: "elm.text"; } + } + } + part { name: "elm.text.slide2"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "naviframe_subtitle_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.style: "naviframe_landscape_subtitle_style"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.style: "naviframe_landscape_subtitle_style"; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + if (!get_int(g_stopslide) || get_int(g_timer_id)) + stop_slide(); + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_int(g_landscape, 1); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_int(g_landscape, 1); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_int(g_landscape, 0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_int(g_landscape, 0); + } + } + } + } + + group { name: "elm/label/base/datetime"; + parts { + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color: DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC; + text { + font: "Tizen:style=Regular"; + size: DATETIME_TEXT_FONT_SIZE_INC; + text_class: "tizen"; + min: 1 0; + max: 1 1; + } + } + description { state: "selected" 0.0; + color: DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC; + text { + font: "Tizen:style=Bold"; + size: DATETIME_TEXT_FONT_SIZE_INC; + text_class: "tizen"; + min: 1 0; + max: 1 1; + } + } + } + } + programs { + program { name: "label_select"; + signal: "elm,state,select"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + } + program { name: "label_unselect"; + signal: "elm,state,unselect"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } diff --git a/2.2/widgets/layout.edc b/2.2/widgets/layout.edc new file mode 100644 index 0000000..dd055dc --- /dev/null +++ b/2.2/widgets/layout.edc @@ -0,0 +1,2670 @@ +/* + * 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. + */ + + /*************************************************/ + /* elm_layout -> fundamental template style */ + /*************************************************/ + group { name: "elm/layout/application/default"; + alias: "elm/layout/application/noindicator"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + //Might be no need anymore + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + /*************************************************************************/ + /* elm_layout -> fundamental template style with controlbar (deprecated) */ + /*************************************************************************/ + group { name: "elm/layout/application/controlbar"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.to: "elm.swallow.controlbar"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 CONTROLBAR_LARGE_HEIGHT_INC; + fixed: 0 1; + rel1 { relative: 0.0 1.0; } + rel2 { relative: 1.0 1.0; } + align: 0.5 1.0; + } + } + } + } + /************************************************************/ + /* elm_layout -> fundamental template style with tabbar */ + /************************************************************/ + group { name: "elm/layout/application/tabbar"; + alias: "elm/layout/tabbar/default"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.tabbar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 TABBAR_DEFAULT_HEIGHT_INC; + fixed: 0 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + align: 0.5 0.0; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: 0 TABBAR_ICON_TEXT_HEIGHT_INC; + } + description { state: "horizontal" 0.0; + inherit: "default" 0.0; + min: 0 TABBAR_HORIZONTAL_HEIGHT_INC; + } + description { state: "horizontal_icon_text" 0.0; + inherit: "default" 0.0; + min: 0 TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.tabbar"; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { name: "show_tabbar"; + signal: "elm,state,show,tabbar"; + signal: "elm,state,default,tabbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.tabbar"; + } + program { name: "hide_tabbar"; + signal: "elm,state,hide,tabbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.tabbar"; + } + program { name: "icon_text_tabbar"; + signal: "elm,state,icon_text,tabbar"; + source: "elm"; + action: STATE_SET "icon_text" 0.0; + target: "elm.swallow.tabbar"; + } + program { name: "horizontal_tabbar"; + signal: "elm,state,horizontal,tabbar"; + source: "elm"; + action: STATE_SET "horizontal" 0.0; + target: "elm.swallow.tabbar"; + } + program { name: "horizontal_icon_text_tabbar"; + signal: "elm,state,horizontal_icon_text,tabbar"; + source: "elm"; + action: STATE_SET "horizontal_icon_text" 0.0; + target: "elm.swallow.tabbar"; + } + } + } + + /*************************************************/ + /* elm_layout -> searchbar style */ + /*************************************************/ + group { name: "elm/layout/application/searchbar_base"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "searchbar"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_H_INC; + fixed: 0 1; + align: 0.0 1.0; + rel2 { + relative: 1.0 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "searchbar"; + } + } + } + } + programs { + program { name: "show_searchbar"; + signal: "elm,state,show,searchbar"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "searchbar"; + } + program { name: "show_searchbar_with_animation"; + signal: "elm,state,show,searchbar,animation"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "searchbar"; + } + program { name: "hide_searchbar"; + signal: "elm,state,hide,searchbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "searchbar"; + } + program { name: "hide_searchbar_with_animation"; + signal: "elm,state,hide,searchbar,animation"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.3; + target: "searchbar"; + } + } + } + + /*************************************************/ + /* elm_layout -> integrated style (deprecated) */ + /*************************************************/ + group { name: "elm/standard/window/integration"; + parts { + /* for event blocking */ + part { name: "base_event"; + type: RECT; + repeat_events: 0; + description { state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { state: "block_events" 0.0; + inherit: "default" 0.0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "B011"; + } + description { state: "white_bg" 0.0; + color: 255 255 255 255; + } + description { state: "black_bg" 0.0; + color: 0 0 0 255; + } + description { state: "beige_bg" 0.0; + color: 246 245 237 255; + } + description { state: "group_list_bg" 0.0; + color_class: "B011"; + } + description { state: "transparent_bg" 0.0; + color: 0 0 0 0; + } + description { state: "edit_mode" 0.0; + color_class: "B011"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "show_with_navi_bar" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; } + visible: 1; + } + description { state: "show" 1.0; + inherit: "default" 0.0; + rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; } + visible: 1; + } + description { state: "show_with_navi_bar" 1.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; } + rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; } + visible: 1; + } + } + part { name: "elm.swallow.navi_bar"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 0 NAVIFRAME_TITLE_H_INC; + fixed: 0 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + align: 0.5 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 CONTROLBAR_LARGE_HEIGHT_INC; + fixed: 0 1; + rel1 { relative: 0.0 1.0; } + rel2 { relative: 1.0 1.0; } + align: 0.5 1.0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "block_events"; + signal: "elm,base_event,block_events"; + source: "elm"; + action: STATE_SET "block_events" 0.0; + target: "base_event"; + } + program { name: "repeat_events"; + signal: "elm,base_event,repeat_events"; + source: "elm"; + action: STATE_SET "repeat_events" 0.0; + target: "base_event"; + } + program { name: "show_default_bg"; + signal: "elm,bg,show,default"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + } + } + program { name: "show_black_bg"; + signal: "elm,bg,show,black"; + source: "elm"; + script { + set_state(PART:"base", "black_bg", 0.0); + } + } + program { name: "show_white_bg"; + signal: "elm,bg,show,white"; + source: "elm"; + script { + set_state(PART:"base", "white_bg", 0.0); + } + } + program { name: "show_beige_bg"; + signal: "elm,bg,show,beige"; + source: "elm"; + script { + set_state(PART:"base", "beige_bg", 0.0); + } + } + program { name: "show_group_list_bg"; + signal: "elm,bg,show,group_list"; + source: "elm"; + script { + set_state(PART:"base", "group_list_bg", 0.0); + } + } + program { name: "show_transparent_bg"; + signal: "elm,bg,show,transparent"; + source: "elm"; + script { + set_state(PART:"base", "transparent_bg", 0.0); + } + } + program { name: "show_edit_mode_bg"; + signal: "elm,bg,show,edit_mode"; + source: "elm"; + script { + set_state(PART:"base", "edit_mode", 0.0); + } + } + program { name: "show_navi_bar"; + signal: "elm,state,show,navi_bar"; + source: "elm"; + script { + set_state(PART:"elm.swallow.navi_bar", "show", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "hide_navi_bar"; + signal: "elm,state,hide,navi_bar"; + source: "elm"; + script { + set_state(PART:"elm.swallow.navi_bar", "default", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "show_content"; + signal: "elm,state,show,content"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "show", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "hide_content"; + signal: "elm,state,hide,content"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "hide", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "show_controlbar"; + signal: "elm,state,show,controlbar"; + source: "elm"; + script { + set_state(PART:"elm.swallow.controlbar", "show", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "hide_controlbar"; + signal: "elm,state,hide,controlbar"; + source: "elm"; + script { + set_state(PART:"elm.swallow.controlbar", "default", 0.0); + run_program(PROGRAM:"check_location"); + } + } + program { name: "check_location"; + script { + new st[30]; + new Float:vl; + new navi_bar = 0, content = 0, controlbar = 0; + + get_state(PART:"elm.swallow.navi_bar", st, 30, vl) + if (!strncmp(st, "show", 4)) navi_bar = 1; + get_state(PART:"elm.swallow.content", st, 30, vl) + if (!strncmp(st, "show", 4)) content = 1; + get_state(PART:"elm.swallow.controlbar", st, 30, vl) + if (!strncmp(st, "show", 4)) controlbar = 1; + + // set navi bar + if (navi_bar == 1) { + set_state(PART:"elm.swallow.navi_bar", "show", 0.0) + } + + // set content + if (content == 1) { + if (navi_bar == 1) { + set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0) + } else { + set_state(PART:"elm.swallow.content", "show", 0.0) + } + get_state(PART:"elm.swallow.content", st, 30, vl) + + if (controlbar == 1) { + set_state(PART:"elm.swallow.content", st, 1.0) + } + } + } + } + } + } + + /************************************************************/ + /* elm_layout -> fundamental template style with fastscroll */ + /************************************************************/ + group { name: "elm/layout/application/fastscroll"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + min: INDEX_ITEM_MIN_WIDTH_INC 0; + fixed: 1 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel2 { + to: "right.padding"; + relative: 0.0 1.0; + } + } + description { + state: "fastscroll_hide" 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + } + } + part { + name: "elm.swallow.fastscroll"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + } + description { + state: "fastscroll_hide" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "fastscroll_hide"; + signal: "elm,state,fastscroll,hide"; + source: ""; + action: STATE_SET "fastscroll_hide" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + program { + name: "fastscroll_show"; + signal: "elm,state,fastscroll,show"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + } + } + +group { name: "elm/layout/editfield/default"; + images { + image: "00_edit_field_clear.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { + name: "base"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_MINH_INC; + color: 0 0 0 0; + } + } + part { + name: "top1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0; + } + } + part { + name: "left1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_LEFT1_INC 0; + fixed: 1 1; + align: 0 0; + rel1.relative : 0.0 0.0; + rel2.relative : 0.0 1.0; + } + } + part { + name: "right1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0; + fixed: 1 1; + align: 1 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { + name: "right2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_RIGHT2_INC 0; + fixed: 1 1; + align: 1 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { + name: "bottom1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC; + fixed: 1 1; + align: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { + name: "elm.guidetext"; + type: TEXT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: EDITFIELD_GUIDE_TEXT_COLOR_INC; + text { + font: "Tizen:style=Roman"; + size: ENTRY_TEXT_SIZE_INC; + min: 0 0; + align: 0.0 0.5; + text_class: "tizen"; + } + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 0 40; + rel1 { + relative : 1.0 1.0; + to_x: "left1"; + to_y: "top1"; + } + rel2 { + relative : 0.0 0.0; + to_x: "right1"; + to_y: "bottom1"; + } + align: 0.0 0.5; + } + } + part { + name: "eraser_image"; + scale: 1; + clip_to: "eraser_image.clipper"; + description { + state: "default" 0.0; + visible: 0; + min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC; + fixed: 1 1; + align: 1 0.5; + rel1 { + relative: 0.0 0.5; + to_x : "right2"; + } + rel2 { + relative: 0.0 0.5; + to_x : "right2"; + } + image.normal: "00_edit_field_clear.png"; + } + description { + state: "elm.eraser.show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "eraser_image.clipper"; + type: RECT; + description { state: "default" 0.0; + } + description { state: "elm.eraser.show" 0.0; + color_class: "F053"; + } + description { state: "elm.eraser.pressed" 0.0; + color_class: "F053P"; + } + } + part { + name: "eraser"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC; + fixed: 1 1; + align: 1 0.5; + color: 0 0 0 0; + rel1 { + relative: 0.0 0.5; + to_x : "right2"; + } + rel2 { + relative: 0.0 0.5; + to_x : "right2"; + } + } + description { + state: "elm.eraser.show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "guidetext_show"; + signal: "elm,state,guidetext,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guidetext"; + } + program { + name: "guidetext_hide"; + signal: "elm,state,guidetext,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guidetext"; + } + program { + name: "eraser_show"; + signal: "elm,state,eraser,show"; + source: "elm"; + action: STATE_SET "elm.eraser.show" 0.0; + target: "eraser_image"; + target: "eraser_image.clipper"; + target: "eraser"; + } + program { + name: "eraser_hide"; + signal: "elm,state,eraser,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "eraser_image"; + target: "eraser_image.clipper"; + target: "eraser"; + } + program { + name: "eraser_clicked"; + signal: "mouse,clicked,1"; + source: "eraser"; + script { + if (get_int(multi_down) == 0) + emit("elm,eraser,clicked", "elm"); + } + } + program { + name: "eraser_pressed"; + signal: "mouse,down,1"; + source: "eraser"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"eraser_image.clipper", "elm.eraser.pressed", 0.0); + } + } + } + program { + name: "eraser_unpressed"; + signal: "mouse,up,1"; + source: "eraser"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"eraser_image.clipper", "elm.eraser.show", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/layout/editfield/title"; + images { + image: "00_edit_field_clear.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { + name: "base"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 0 EDITFIELD_TITLE_MINH_INC; + color: 0 0 0 0; + } + } + part { + name: "top1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0; + } + } + part { + name: "top2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_TOP2_INC; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0; + } + } + part { + name: "left1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_LEFT1_INC 0; + fixed: 1 1; + align: 0 0; + rel1.relative : 0.0 0.0; + rel2.relative : 0.0 1.0; + } + } + part { + name: "left2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_LEFT2_INC 0; + fixed: 1 1; + align: 0 0; + rel1.relative : 0.0 0.0; + rel2.relative : 0.0 1.0; + } + } + part { + name: "right1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0; + fixed: 1 1; + align: 1 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { + name: "right2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: EDITFIELD_DEFAULT_RIGHT2_INC 0; + fixed: 1 1; + align: 1 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { + name: "bottom1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC; + fixed: 1 1; + align: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { + name: "bottom2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC; + fixed: 0 1; + rel1.relative: 0.0 1.0; + align: 0 1; + } + } + part { + name: "eraser_base"; + type: RECT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to_y: "top1"; + } + } + } + part { + name: "elm.text"; + type: TEXT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 34; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "left2"; + to_y: "top2"; + } + rel2 { + relative: 1.0 1.0; + to_x: "left2"; + to_y: "top2"; + } + color: EDITFIELD_TITLE_COLOR_INC; + text { + font: "Tizen:style=Medium"; + size: EDITFIELD_TITLE_SIZE_INC; + min: 1 1; + align: 0.0 0.0; + text_class: "tizen"; + } + } + } + part { + name: "elm.guidetext"; + type: TEXT; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: EDITFIELD_GUIDE_TEXT_COLOR_INC; + text { + font: "Tizen:style=Roman"; + size: ENTRY_TEXT_SIZE_INC; + min: 0 0; + align: 0.0 0.5; + text_class: "tizen"; + } + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 0 40; + rel1 { + relative : 1.0 1.0; + to_x: "left1"; + to_y: "top1"; + } + rel2 { + relative : 0.0 0.0; + to_x: "right1"; + to_y: "bottom1"; + } + align: 0.0 0.5; + } + } + part { + name: "eraser_image"; + scale: 1; + clip_to: "eraser_image.clipper"; + description { + state: "default" 0.0; + visible: 0; + min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC; + fixed: 1 1; + align: 1 0.5; + rel1 { + relative: 0.0 0.5; + to_x : "right2"; + to_y : "eraser_base"; + } + rel2 { + relative: 0.0 0.5; + to_x : "right2"; + to_y : "eraser_base"; + } + image.normal: "00_edit_field_clear.png"; + } + description { + state: "elm.eraser.show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "eraser_image.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "elm.eraser.show" 0.0; + color_class: "F053"; + } + description { state: "elm.eraser.pressed" 0.0; + color_class: "F053P"; + } + } + part { + name: "eraser"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC; + fixed: 1 1; + align: 1 0.5; + color: 0 0 0 0; + rel1 { + relative: 0.0 0.5; + to_x : "right2"; + to_y : "eraser_base"; + } + rel2 { + relative: 0.0 0.5; + to_x : "right2"; + to_y : "eraser_base"; + } + } + description { + state: "elm.eraser.show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "guidetext_show"; + signal: "elm,state,guidetext,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guidetext"; + } + program { + name: "guidetext_hide"; + signal: "elm,state,guidetext,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guidetext"; + } + program { + name: "eraser_show"; + signal: "elm,state,eraser,show"; + source: "elm"; + action: STATE_SET "elm.eraser.show" 0.0; + target: "eraser_image"; + target: "eraser_image.clipper"; + target: "eraser"; + } + program { + name: "eraser_hide"; + signal: "elm,state,eraser,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "eraser_image"; + target: "eraser_image.clipper"; + target: "eraser"; + } + program { + name: "eraser_clicked"; + signal: "mouse,clicked,1"; + source: "eraser"; + script { + if (get_int(multi_down) == 0) + emit("elm,eraser,clicked", "elm"); + } + } + program { + name: "eraser_pressed"; + signal: "mouse,down,1"; + source: "eraser"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"eraser_image.clipper", "elm.eraser.pressed", 0.0); + } + } + } + program { + name: "eraser_unpressed"; + signal: "mouse,up,1"; + source: "eraser"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"eraser_image.clipper", "elm.eraser.show", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/layout/searchbar/default"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "B0215"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "inputfield_base"; } + rel2 { relative: 0.0 0.0; to: "inputfield_base"; } + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { relative: 1.0 1.0; to: "inputfield_base"; } + rel2 { relative: 1.0 1.0; to: "inputfield_base"; } + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + align: 0.0 0.5; + rel1 { relative: 1.0 1.0; to: "top_left_padding"; } + rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; } + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/layout/searchbar/cancel_button"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "B0215"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_TOP_PADDING_INC; + fixed: 0 1; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 1.0 0.0; + } + } + part { name: "bottom_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 0 1; + align: 0 1; + rel1.to: "inputfield_base"; + rel1.relative: 0.0 1.0; + rel2.to: "inputfield_base"; + } + } + part { name: "base_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_HEIGHT_INC; + align: 0 0.5; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "top_padding_rect"; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_padding_rect"; + } + } + } + part { name: "left_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC 0; + fixed: 1 0; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.to: "inputfield_base"; + rel1.relative: 1.0 0.0; + rel2.to: "inputfield_base"; + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative: 1.0 0.0; + to_x: "left_padding_rect"; + to_y: "base_bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_btn_padding_rect"; + to_y: "base_bg"; + } + color: 0 0 0 0; + } + } + part { name: "right_btn_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "right_padding_rect"; + rel2.relative: 0.0 1.0; + rel2.to: "right_padding_rect"; + } + description { state: "in" 0.0; + inherit: "default" 0.0; + min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0; + rel1.to: "button_cancel"; + rel2.to: "button_cancel"; + } + } + part { name: "button_cancel"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SEARCHBAR_CANCEL_BUTTON_W_INC 0; + align: 1.0 0.5; + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding_rect"; + to_y: "top_padding_rect"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding_rect"; + to_y: "bottom_padding_rect"; + } + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "cancel_in"; + signal: "cancel,in"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_out"; + signal: "cancel,out"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_show"; + signal: "cancel,show"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + } + program { name: "cancel_hide"; + signal: "cancel,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + } + } +} + +group { + name: "elm/layout/nocontents/default"; + styles{ + style { name: "nocontent_style"; + base: "font=Tizen:style=Bold font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#FFFFFF color_class=T0552 wrap=mixed ellipsis=1.0 text_class=T0552"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "nocontent_style_dim"; + base: "font=Tizen:style=Bold font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#FFFFFF color_class=T0552 wrap=mixed ellipsis=1.0 text_class=T0552"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "nocontent_help_text"; + base: "font=Tizen:style=Regular font_size="NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC" align=left color=#FFFFFF color_class=T055 wrap=mixed ellipsis=1.0 text_class=T055"; + tag: "br" "\n"; + tag: "hilight" "+ font_style=Regular"; + tag: "b" "+ font_style=Regular"; + tag: "tab" "\t"; + } + } + script { + public center_align = 0; + public landscape_mode = 0; + } + parts { + part{ name: "bottom_base"; + type:SPACER; + scale:1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + min: NOCONTENT_BOTTOM_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_BOTTOM_BASE_LANDS_MIN_WIDTH_HEIGHT_INC; + } + } + part{ name: "base"; + type:SPACER; + scale:1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_base"; + } + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC; + rel1 { + relative: 0.0 0.5; + to: "base"; + } + rel2 { + relative: 1.0 0.5; + to: "base"; + } + } + description { state: "help_txt_port_centre_align"; + inherit: "default" 0.0; + min: NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC; + } + description { state: "help_txt_lands_centre_align"; + inherit: "default" 0.0; + min: NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT; + } + } + part { name: "nocontents.image"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC; + align: 0.5 0.0; + rel1 { + relative: 0.5 0.0; + to: "bg"; + } + rel2 { + relative: 0.5 0.0; + to: "bg"; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; + align: 0.5 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to_y: "nocontents.image"; + } + rel2 { + relative: 1.0 1.0; + to_y: "nocontents.image"; + } + text { + style: "nocontent_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 1.0; + inherit: "default" 0.0; + text { + style: "nocontent_style_dim"; + min: 0 1; + max: 0 1; + } + } + } + part { name: "padding_after_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + min: NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_y: "elm.text"; + } + rel2 { + relative: 0.0 1.0; + to_y: "elm.text"; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC; + } + } + part { name: "right_pad_help_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + min: NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC; + } + } + part { name: "elm.help.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_after_text"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_pad_help_text"; + to_y: "padding_after_text"; + } + text { + style: "nocontent_help_text"; + align: 0.0 0.0; + min: 0 1; + max: 0 1; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC; + } + } + part { name: "pad_left_button"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + min: NOCONTENT_PORTRAIT_BUTTON_PADDING_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 0.0 1.0; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC; + } + } + part { name: "pad_right_button"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + min: NOCONTENT_PORTRAIT_BUTTON_PADDING_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC; + } + } + part { name: "swallow_area"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: NOCONTENT_SWALLOW_AREA_MIN_INC; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "pad_left_button"; + to_y: "bottom_base"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_right_button"; + to_y: "bottom_base"; + } + } + } + } + programs { + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_int(landscape_mode, 1); + if (get_int(center_align) == 1) + set_state(PART:"bg", "help_txt_lands_centre_align", 0.0); + else + set_state(PART:"bg", "landscape", 0.0); + set_state(PART:"bottom_base", "landscape", 0.0); + set_state(PART:"elm.help.text", "landscape", 0.0); + set_state(PART:"padding_after_text", "landscape", 0.0); + set_state(PART:"right_pad_help_text", "landscape", 0.0); + set_state(PART:"pad_left_button", "landscape", 0.0); + set_state(PART:"pad_right_button", "landscape", 0.0); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_int(landscape_mode, 1); + if (get_int(center_align) == 1) + set_state(PART:"bg", "help_txt_lands_centre_align", 0.0); + else + set_state(PART:"bg", "landscape", 0.0); + set_state(PART:"bottom_base", "landscape", 0.0); + set_state(PART:"elm.help.text", "landscape", 0.0); + set_state(PART:"padding_after_text", "landscape", 0.0); + set_state(PART:"right_pad_help_text", "landscape", 0.0); + set_state(PART:"pad_left_button", "landscape", 0.0); + set_state(PART:"pad_right_button", "landscape", 0.0); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_int(landscape_mode, 0); + if (get_int(center_align) == 1) + set_state(PART:"bg", "help_txt_port_centre_align", 0.0); + else + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bottom_base", "default", 0.0); + set_state(PART:"elm.help.text", "default", 0.0); + set_state(PART:"padding_after_text", "default", 0.0); + set_state(PART:"right_pad_help_text", "default", 0.0); + set_state(PART:"pad_left_button", "default", 0.0); + set_state(PART:"pad_right_button", "default", 0.0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_int(landscape_mode, 0); + if (get_int(center_align) == 1) + set_state(PART:"bg", "help_txt_port_centre_align", 0.0); + else + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bottom_base", "default", 0.0); + set_state(PART:"elm.help.text", "default", 0.0); + set_state(PART:"padding_after_text", "default", 0.0); + set_state(PART:"right_pad_help_text", "default", 0.0); + set_state(PART:"pad_left_button", "default", 0.0); + set_state(PART:"pad_right_button", "default", 0.0); + } + } + program { name: "disabled"; + signal: "text,disabled"; + source: ""; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "align_center"; + signal: "align.center"; + source: "elm"; + script { + if (get_int(landscape_mode) == 1) + set_state(PART:"bg", "help_txt_lands_centre_align", 0.0); + else + set_state(PART:"bg", "help_txt_port_centre_align", 0.0); + set_int(center_align, 1); + } + } + } +} + +group { + name: "elm/layout/nocontents/search"; + alias: "elm/nocontents/base/search"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + mouse_events: 0; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.5; + min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; + rel1 { + relative: 0.0 0.5; + to:"bg"; + } + rel2 { + relative: 1.0 0.5; + to:"bg"; + } + text { + style: "nocontent_style"; + min: 0 1; + max: 0 1; + } + } + } + part { name: "text_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 1.0; + to:"elm.text"; + } + rel2 { + relative: 1.0 1.0; + to:"elm.text"; + } + } + } + part { name: "custom"; + mouse_events: 1; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + visible: 1; + rel1 { + relative: 0.0 1.0; + to:"text_bottom_padding"; + } + rel2 { + relative: 1.0 1.0; + to:"text_bottom_padding"; + } + } + } + } +} + + group { name: "elm/layout/drawer/panel"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.bg"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.left"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.right"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + } + } + +#define DRAWER_PORT_SIZE 720 (1280-LAYOUT_INDICATOR_HEIGHT_INC) +#define DRAWER_LAND_SIZE 1280 720 +#define DRAWER_SIDE_SPACE 160 0 +#define DRAWER_THRES 0.2 + + group { name: "elm/layout/drawer/default"; + script { + public down_center; //0 or 1 + public down_dx; //mouse down cursor position. + public cur_pos; //center current position. -1: left, 0: center, 1: right + public direct; //center moving direction. -1: left, 0: center, 1: right + public right_swallowed; //0 or 1 + public left_swallowed; //0 or 1 + public left_dx; //mouse down cursor on left swallow + public right_dx; //mouse down cursor on right swallow + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "drag_area_left_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: -1 0; + rel2.relative: -1 1; + min: DRAWER_SIDE_SPACE; + fixed: 1 1; + align: 0 0; + } + } + part { name: "drag_area_right_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 2 0; + rel2.relative: 2 1; + min: DRAWER_SIDE_SPACE; + fixed: 1 1; + align: 1 0; + } + } + part { name: "right_drag_area"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0 0; + rel2.relative: 0 1; + rel2.to: "drag_area_right_space"; + } + } + part { name: "left_drag_area"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 1 0; + rel2.relative: 1 1; + rel1.to: "drag_area_left_space"; + } + } + part { name: "left_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0 0; + rel2.relative: 0 1; + min: DRAWER_SIDE_SPACE; + fixed: 1 1; + align: 0 0; + } + } + part { name: "right_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1 0; + rel2.relative: 1 1; + min: DRAWER_SIDE_SPACE; + fixed: 1 1; + align: 1 0; + } + } + part { name: "elm.swallow.left"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0 1; + rel2.to: "right_space"; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.right"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1 0; + rel1.to: "left_space"; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.center"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "left" 0.0; + rel1.to_x: "left_dragable"; + rel2.to_x: "left_dragable"; + } + description { state: "right" 0.0; + rel1.to_x: "right_dragable"; + rel2.to_x: "right_dragable"; + } + } + part { name: "right_dragable"; + type: RECT; + scale: 1; + repeat_events: 1; + dragable { + x: 1 1 0; + confine: "right_drag_area"; + } + description { state: "default" 0.0; + min: DRAWER_PORT_SIZE; + rel2.relative: 0 0; + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: DRAWER_LAND_SIZE; + } + description { state: "landscape.inactive" 0.0; + inherit: "landscape" 0.0; + visible: 0; + } + } + part { name: "left_dragable"; + type: RECT; + scale: 1; + repeat_events: 1; + dragable { + x: 1 1 0; + confine: "left_drag_area"; + } + description { state: "default" 0.0; + min: DRAWER_PORT_SIZE; + rel2.relative: 0 0; + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: DRAWER_LAND_SIZE; + } + description { state: "landscape.inactive" 0.0; + inherit: "landscape" 0.0; + visible: 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_drag(PART:"left_dragable", 1, 0); + set_drag(PART:"right_dragable", 0, 0); + } + } + program { name: "mouse,down,center,double"; + signal: "mouse,down,1,double"; + source: "elm.swallow.center"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) + emit("mouse,down,1", "elm.swallow.center"); + } + } + program { name: "mouse,down,center"; + signal: "mouse,down,1"; + source: "elm.swallow.center"; + script { + if (get_int(cur_pos) == 0 && get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + new dx, dy; + get_mouse(dx, dy); + set_int(down_dx, dx); + set_int(down_center, 1); + } + } + } + program { name: "mouse,move,center"; + signal: "mouse,move"; + source: "elm.swallow.center"; + script { + if (get_int(cur_pos) == 0) { + if (get_int(down_center) == 1) { + + //decide the drag direction here. + new dx1, dy1, dx2; + get_mouse(dx1, dy1); + dx2 = get_int(down_dx); + + //right + if (dx1 > dx2 && get_int(left_swallowed) == 1) { + set_state(PART:"elm.swallow.center", "right", 0.0); + set_state(PART:"elm.swallow.left", "show", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_int(direct, 1); + } + //left + else if (dx1 < dx2 && get_int(right_swallowed) == 1){ + set_state(PART:"elm.swallow.center", "left", 0.0); + set_state(PART:"elm.swallow.right", "show", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_int(direct, -1); + } + set_int(down_center, 0); + } + } + } + } + program { name: "mouse,up,center"; + signal: "mouse,up,1"; + source: "elm.swallow.center"; + script { + if (get_int(direct) == 0 && get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_drag(PART:"left_dragable", 1, 0); + set_drag(PART:"right_dragable", 0, 0); + } + } + } + program { name: "mouse,up,right"; + signal: "mouse,up,1"; + source: "right_dragable"; + script { + if (get_int(direct) == 1 && get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + new Float:dx, Float:dy; + get_drag(PART:"right_dragable", dx, dy); + + //Right -> Center + if (get_int(cur_pos) == 1) { + + //Roll back the drag position if the drag size is smaller + //than threshold. + if (dx > (1.0 - DRAWER_THRES)) { + set_drag(PART:"right_dragable", 1, 0); + } + //set to center + else { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(cur_pos, 0); + set_int(direct, 0); + emit("elm,state,center,active", ""); + emit("elm,state,left,inactive", ""); + } + } + //Center -> Right + else { + //Roll back the drag position if the drag size is smaller + //than threshold. + if (dx < DRAWER_THRES) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(direct, 0); + } + //set to right + else { + set_drag(PART:"right_dragable", 1, 0); + set_int(cur_pos, 1); + emit("elm,state,left,active", ""); + emit("elm,state,center,inactive", ""); + } + } + } + } + } + program { name: "mouse,up,left"; + signal: "mouse,up,1"; + source: "left_dragable"; + script { + if (get_int(direct) == -1 && get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + new Float:dx, Float:dy; + get_drag(PART:"left_dragable", dx, dy); + + //Left -> Center + if (get_int(cur_pos) == -1) { + + //Roll back the drag position if the drag size is smaller + //than threshold. + if (dx < DRAWER_THRES) { + set_drag(PART:"left_dragable", 0, 0); + } + //set to center + else { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_drag(PART:"left_dragable", 1, 0); + set_drag(PART:"right_dragable", 0, 0); + set_int(cur_pos, 0); + set_int(direct, 0); + emit("elm,state,center,active", ""); + emit("elm,state,right,inactive", ""); + } + } + //Center -> Left + else { + if (dx < (1.0 - DRAWER_THRES)) { + set_drag(PART:"left_dragable", 0, 0); + set_int(cur_pos, -1); + emit("elm,state,right,active", ""); + emit("elm,state,center,inactive", ""); + } + //Roll back the drag position if the drag size is smaller + //than threshold. + else { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_drag(PART:"left_dragable", 1, 0); + set_drag(PART:"right_dragable", 0, 0); + set_int(direct, 0); + } + } + } + } + } + program { name: "mouse,down,left,swallow"; + signal: "mouse,down,1"; + source: "elm.swallow.left"; + script { + if (get_int(cur_pos) == 1 && get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + new dx, dy; + get_mouse(dx, dy); + set_int(left_dx, dx); + } + } + } + program { name: "mouse,up,left,swallow"; + signal: "mouse,up,1"; + source: "elm.swallow.left"; + script { + if (get_int(cur_pos) == 1 && get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + new dx, dy, dx_down; + get_mouse(dx, dy); + dx_down = get_int(left_dx); + if (dx < dx_down - 100) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(cur_pos, 0); + set_int(direct, 0); + emit("elm,state,center,active", ""); + emit("elm,state,left,inactive", ""); + } + } + } + } + program { name: "mouse,down,right,swallow"; + signal: "mouse,down,1"; + source: "elm.swallow.right"; + script { + if (get_int(cur_pos) == -1 && get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + new dx, dy; + get_mouse(dx, dy); + set_int(right_dx, dx); + } + } + } + program { name: "mouse,up,right,swallow"; + signal: "mouse,up,1"; + source: "elm.swallow.right"; + script { + if (get_int(cur_pos) == -1 && get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + new dx, dy, dx_down; + get_mouse(dx, dy); + dx_down = get_int(right_dx); + if (dx > dx_down + 100) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(cur_pos, 0); + set_int(direct, 0); + emit("elm,state,center,active", ""); + emit("elm,state,right,inactive", ""); + } + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "active_left"; + source: "elm"; + signal: "elm,action,left,active"; + script { + if (get_int(cur_pos) != 1 && get_int(left_swallowed) == 1) { + set_state(PART:"elm.swallow.center", "right", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_state(PART:"elm.swallow.left", "show", 0.0); + set_drag(PART:"right_dragable", 1, 0); + emit("elm,state,left,active", ""); + + if (get_int(cur_pos) == -1) + emit("elm,state,right,inactive", ""); + else + emit("elm,state,center,inactive", ""); + + set_int(cur_pos, 1); + set_int(direct, 1); + } + } + } + program { name: "active_right"; + source: "elm"; + signal: "elm,action,right,active"; + script { + if (get_int(cur_pos) != -1 && get_int(right_swallowed) == 1) { + set_state(PART:"elm.swallow.center", "left", 0.0); + set_state(PART:"elm.swallow.right", "show", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_drag(PART:"left_dragable", 0, 0); + emit("elm,state,right,active", ""); + + if (get_int(cur_pos) == 1) + emit("elm,state,left,inactive", ""); + else + emit("elm,state,center,inactive", ""); + + set_int(direct, -1); + set_int(cur_pos, -1); + } + } + } + program { name: "active_center"; + source: "elm"; + signal: "elm,action,center,active"; + script { + if (get_int(cur_pos) != 0) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_state(PART:"elm.swallow.right", "default", 0.0); + set_state(PART:"elm.swallow.left", "default", 0.0); + set_drag(PART:"left_dragable", 1, 0); + set_drag(PART:"right_dragable", 0, 0); + emit("elm,state,center,active", ""); + + if (get_int(cur_pos) == 1) + emit("elm,state,left,inactive", ""); + else + emit("elm,state,right,inactive", ""); + + set_int(direct, 0); + set_int(cur_pos, 0); + } + } + } + program { name: "right_swallowed"; + source: "elm"; + signal: "elm,state,tizen,right,show"; + script { + set_int(right_swallowed, 1); + } + } + program { name: "right_unswallowed"; + source: "elm"; + signal: "elm,state,tizen,right,hide"; + script { + set_int(right_swallowed, 0); + if (get_int(cur_pos) == 1) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(cur_pos, 0); + } + } + } + program { name: "left_swallowed"; + source: "elm"; + signal: "elm,state,tizen,left,show"; + script { + set_int(left_swallowed, 1); + } + } + program { name: "left_unswallowed"; + source: "elm"; + signal: "elm,state,tizen,left,hide"; + script { + set_int(left_swallowed, 0); + if (get_int(cur_pos) == -1) { + set_state(PART:"elm.swallow.center", "default", 0.0); + set_drag(PART:"right_dragable", 0, 0); + set_drag(PART:"left_dragable", 1, 0); + set_int(cur_pos, 0); + } + } + } + program { name: "dragable_disable"; + source: "elm"; + signal: "elm,action,dragable,disable"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "default")) { + set_state(PART:"right_dragable", "inactive", 0.0); + set_state(PART:"left_dragable", "inactive", 0.0); + } + else if (!strcmp(st, "landscape")) { + set_state(PART:"right_dragable", "landscape.inactive", 0.0); + set_state(PART:"left_dragable", "landscape.inactive", 0.0); + } + } + } + program { name: "dragable_enable"; + source: "elm"; + signal: "elm,action,dragable,enable"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "inactive")) { + set_state(PART:"right_dragable", "default", 0.0); + set_state(PART:"left_dragable", "default", 0.0); + } + else if (!strcmp(st, "landscape.inactive")) { + set_state(PART:"right_dragable", "landscape", 0.0); + set_state(PART:"left_dragable", "landscape", 0.0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "default")) { + set_state(PART:"right_dragable", "landscape", 0.0); + set_state(PART:"left_dragable", "landscape", 0.0); + } + else if (!strcmp(st, "inactive")) { + set_state(PART:"right_dragable", "landscape.inactive", 0.0); + set_state(PART:"left_dragable", "landscape.inactive", 0.0); + } + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "default")) { + set_state(PART:"right_dragable", "landscape", 0.0); + set_state(PART:"left_dragable", "landscape", 0.0); + } + else if (!strcmp(st, "inactive")) { + set_state(PART:"right_dragable", "landscape.inactive", 0.0); + set_state(PART:"left_dragable", "landscape.inactive", 0.0); + } + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "landscape")) { + set_state(PART:"right_dragable", "default", 0.0); + set_state(PART:"left_dragable", "default", 0.0); + } + else if (!strcmp(st, "landscape.inactive")) { + set_state(PART:"right_dragable", "inactive", 0.0); + set_state(PART:"left_dragable", "inactive", 0.0); + } + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + new st[31]; + new Float:val; + get_state(PART:"right_dragable", st, 30, val); + if (!strcmp(st, "landscape")) { + set_state(PART:"right_dragable", "default", 0.0); + set_state(PART:"left_dragable", "default", 0.0); + } + else if (!strcmp(st, "landscape.inactive")) { + set_state(PART:"right_dragable", "inactive", 0.0); + set_state(PART:"left_dragable", "inactive", 0.0); + } + } + } + } + } + diff --git a/2.2/widgets/map.edc b/2.2/widgets/map.edc new file mode 100644 index 0000000..8e05314 --- /dev/null +++ b/2.2/widgets/map.edc @@ -0,0 +1,455 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/map/base/default"; + images { + image: "00_list_process__L_00.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + max: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "00_list_process_L_00.png"; + } + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective_on: 1; + smooth: 0; + rotation { + z: -360; + } + } + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "continue_pulse"; + action: STATE_SET "default" 0.0; + target: "busy"; + transition: LINEAR 1.5; + after: "start_pulse"; + } + program { name: "start_pulse"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "busy"; + after: "continue_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "busy"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: ACTION_STOP; + target: "continue_pulse"; + target: "start_pulse"; + after: "init_pulse"; + } + } +} +group { name: "elm/map/marker/radio/default"; + data { + item: size_w 48; + item: size_h 48; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "map_item.png" COMP; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_item.png"; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.27 0.27; + rel2.relative: 0.73 0.73; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Tizen:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/radio2/default"; + data { + item: size_w 48; + item: size_h 48; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "map_item_2.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_item_2.png"; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Tizen:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/empty/default"; + data { + item: size_w 44; + item: size_h 44; + item: size_max_w 64; + item: size_max_h 64; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Tizen:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker_bubble/default"; + images { + image: "bubble.png" COMP; + image: "bubble_shine.png" COMP; + } + data { + item: size_w 200; + item: size_h 100; + } + parts { + part { name: "clipper"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "base0"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image { + normal: "bubble.png"; + border: 11 36 10 19; + } + image.middle: SOLID; + fill.smooth: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1 { + offset: 9 8; + } + rel2 { + offset: -10 -17; + } + } + } + part { name: "shine"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to: "base0"; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + } + image { + normal: "bubble_shine.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + action: STATE_SET "show" 0.0; + target: "clipper"; + transition: ACCELERATE 0.5; + } + } +} +group { name: "elm/map/circle/base/default"; + images { + image: "map_circle.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_circle.png"; + } + } + } +} +group { name: "elm/map/scale/base/default"; + data { + item: size_w 100; + item: size_h 25; + } + images { + image: "map_scale.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_scale.png"; + image.border: 10 10 10 10; + } + } + part { name: "elm.text"; + type: TEXT; + ignore_flags: ON_HOLD; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1 { + relative: 0 0; + offset: 1 1; + } + rel2 { + relative: 1 1; + offset: -1 -1; + } + text { + font: "Tizen:style=Medium"; + size: 24; + min: 0 0; + align: 0.1 0.5; + text_class: "tizen"; + } + } + } + } +} diff --git a/2.2/widgets/multibuttonentry.edc b/2.2/widgets/multibuttonentry.edc new file mode 100644 index 0000000..01b5b43 --- /dev/null +++ b/2.2/widgets/multibuttonentry.edc @@ -0,0 +1,716 @@ +/* + * 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. + */ + +group { + name: "elm/multibuttonentry/base/default"; + + data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC; + data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC; + data.item: "closed_button_type" "label"; /* image, label, default: label */ + + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B0212"; + } + } + part { + name: "top.left.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + } + part { + name: "bottom.right.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC; + fixed: 1 1; + rel1.relative: 1.0 1.0; + align: 1.0 1.0; + } + } + part { + name: "box.swallow"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "top.left.pad"; + } + rel2 { + relative: 0.0 0.0; + to: "bottom.right.pad"; + } + } + } + part { name: "block_events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + description { + state: "invisible" 0.0; + visible: 0; + } + } + part { name: "events"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + program { + name: "event_allow"; + signal: "elm,state,event,allow"; + source: ""; + action: STATE_SET "invisible" 0.0; + target: "block_events"; + } + program { + name: "event_block"; + signal: "elm,state,event,block"; + source: ""; + action: STATE_SET "default" 0.0; + target: "block_events"; + } + } +} + +group { + name: "elm/multibuttonentry/guidetext/default"; + + styles { + style { + name: "multibuttonentry_guide_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color=#FFFFFF color_class=T101 wrap=char text_class=T101"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + parts { + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC; + text.style: "multibuttonentry_guide_style"; + } + description { + state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "show"; + signal: "elm,state,guidetext,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "hide"; + signal: "elm,state,guidetext,hide"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: "elm.text"; + } + } +} + +group { + name: "elm/multibuttonentry/btn/default"; + + styles { + style { + name: "multibuttonentry_btn_text_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058 text_class=T058"; + } + style { + name: "multibuttonentry_btn_text_pressed_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058P text_class=T058P"; + } + style { + name: "multibuttonentry_btn_text_dim_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058D text_class=T058D"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058 ellipsis=1 text_class=T058"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_pressed_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058P ellipsis=1 text_class=T058P"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_dim_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T058D ellipsis=1 text_class=T058D"; + } + } + + images { + image: "00_contacts_button_bg_ef.#.png" COMP; + image: "00_contacts_button_focus.#.png" COMP; + } + + data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; + data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; + data.item: "focus_highlight" "on"; + + parts { + part { + name: "elm.btn.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC; + color_class: "W0711"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W0711P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0711D"; + } + } + part { + name: "elm.btn.bg.ef"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC; + image.normal: "00_contacts_button_bg_ef.#.png"; + color_class: "W0712"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0712D"; + } + } + part { + name: "elm.btn.bg_focus"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC; + image.normal: "00_contacts_button_focus.#.png"; + color_class: "W161"; + visible: 0; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part { + name: "right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part { + name: "elm.btn.text"; + type: TEXTBLOCK; + mouse_events: 0; + multiline: 0; + scale: 1; + description { + state: "default" 0.0; + text { + style: "multibuttonentry_btn_text_style"; + min: 1 0; + } + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_btn_text_pressed_style"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_btn_text_dim_style"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + text { + style: "multibuttonentry_btn_text_ellipsis_style"; + min: 0 0; + } + } + description { + state: "ellipsis_pressed" 0.0; + inherit: "ellipsis" 0.0; + text.style: "multibuttonentry_btn_text_ellipsis_pressed_style"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.style: "multibuttonentry_btn_text_ellipsis_dim_style"; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "drag"; + type: RECT; + scale: 1; + repeat_events: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + rel1.to: "elm.btn.bg"; + rel2.to: "elm.btn.bg"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + } + } + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.btn.text"; + } + program { + name: "pressed"; + signal: "mouse,down,1"; + source: "drag"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "pressed", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis_pressed", 0.0); + set_state(PART:"elm.btn.bg", "pressed", 0.0); + set_state(PART:"elm.btn.bg.ef", "pressed", 0.0); + } + after: "selected"; + } + program { + name: "move"; + signal: "drag"; + source: "drag"; + script { + new Float:dx, Float:dy; + get_drag(PART:"drag", dx, dy); + if ((abs(dx) > 20) || (abs(dy) > 20)) { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"elm.btn.bg", "default", 0.0); + set_state(PART:"elm.btn.bg.ef", "default", 0.0); + } + } + } + program { + name: "released"; + signal: "mouse,up,1"; + source: "drag"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"elm.btn.bg", "default", 0.0); + set_state(PART:"elm.btn.bg.ef", "default", 0.0); + set_drag(PART:"drag", 0.0, 0.0); + } + after: "unselected"; + } + program { + name: "selected_elm"; + signal: "elm,action,btn,selected"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"elm.btn.bg", "pressed", 0.0); + set_state(PART:"elm.btn.bg.ef", "pressed", 0.0); + } + after: "selected"; + } + program { + name: "unselected_elm"; + signal: "elm,action,btn,unselected"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"elm.btn.bg", "default", 0.0); + set_state(PART:"elm.btn.bg.ef", "default", 0.0); + set_drag(PART:"drag", 0.0, 0.0); + } + after: "unselected"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "disabled")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"elm.btn.bg", "default", 0.0); + set_state(PART:"elm.btn.bg.ef", "default", 0.0); + } + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "disabled")) + set_state(PART:"elm.btn.text", "disabled", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis_disabled", 0.0); + set_state(PART:"elm.btn.bg", "disabled", 0.0); + set_state(PART:"elm.btn.bg.ef", "disabled", 0.0); + } + } + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + after: "touch_snd"; + } + program { name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "selected"; + action: SIGNAL_EMIT "elm,action,selected" ""; + } + program { + name: "unselected"; + action: SIGNAL_EMIT "elm,action,unselected" ""; + } + program { + name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.btn.bg_focus"; + } + program { + name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.btn.bg_focus"; + } + } +} + +group { + name: "elm/multibuttonentry/number/default"; + + styles { + style { + name: "multibuttonentry_number_text_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T059 text_class=T059"; + } + style { + name: "multibuttonentry_number_text_ellipsis_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T059 ellipsis=1 text_class=T059"; + } + } + parts { + part { + name: "left.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; + text { + style: "multibuttonentry_number_text_style"; + min: 1 0; + } + rel1 { + relative: 1.0 0.0; + to: "left.pad"; + } + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_number_text_ellipsis_style"; + text.min: 0 0; + } + } + } + programs { + program { + name: "text,default"; + signal: "elm,state,number,default"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text,ellipsis"; + signal: "elm,state,number,ellipsis"; + source: ""; + action: STATE_SET "ellipsis" 0.0; + target: "elm.text"; + } + } +} + +group { + name: "elm/multibuttonentry/closedbutton/default"; + + images { + image: "00_circle_button_focus.png" COMP; + image: "00_button_expand_closed.png" COMP; + image: "00_button_expand_closed_ef.png" COMP; + } + + parts { + part { + name: "closed_button_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC; + } + } + part { + name: "closed_button"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "00_button_expand_closed.png"; + } + } + part { + name: "closed_effect_button"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "00_button_expand_closed_ef.png"; + } + } + } +} + +group { + name: "elm/multibuttonentry/label/default"; + + styles { + style { + name: "multibuttonentry_label_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color=#FFFFFF color_class=T059 wrap=char text_class=T059"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + parts { + part { + name: "mbe.label.right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part { + name: "mbe.label"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; + text { + style: "multibuttonentry_label_style"; + min: 1 0; + } + rel2 { + relative: 0.0 1.0; + to: "mbe.label.right.padding"; + } + } + } + } +} diff --git a/2.2/widgets/naviframe.edc b/2.2/widgets/naviframe.edc new file mode 100644 index 0000000..5d9028b --- /dev/null +++ b/2.2/widgets/naviframe.edc @@ -0,0 +1,6264 @@ +/* + * 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. + */ + +#define NAVIFRAME_VIEW_PUSH_TRANS_TIME 0.2 +#define NAVIFRAME_VIEW_POP_TRANS_TIME 0.3 +#define NAVIFRAME_TITLE_TRANS_TIME 0.5 +#define NAVIFRAME_TITLE_SLIDE_TEXT_GAP 60 +#define NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 40 +#define NAVIFRAME_TITLE_SLIDE_MAX_COUNT 3 +#define NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT 0.5 + + group { name: "elm/naviframe/base/default"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + } + + group { name: "elm/naviframe/item/basic/default"; + data.item: "tizen_zoom" 1; + images { + image: "00_badge_bg.#.png" COMP; + image: "00_effect_title_text_dim_left.#.png" COMP; + image: "00_effect_title_text_dim_right.#.png" COMP; + } + script { + public tbar_close = 0; //Toolbar lastest Open/Close status + public title_badge_visible = 0; //Title badge visible/hidden status + public landscape = 0; //Landscape mode status + public subtitle = 0; //Subtitle on/off status + public icon_visible = 0; //Icon on/off status + public title_left_btn_visible = 0; //Title left button on/off status + public title_right_btn_visible = 0; //Title right button on/off status + public mirrored = 0; //Mirrored on/off status + + public title_duration = 0; + public subtitle_duration = 0; + public title_slide_stop; + public subtitle_slide_stop; + public title_slide_start_timer; + public subtitle_slide_start_timer; + public title_slide_anim_id; + public subtitle_slide_anim_id; + public title_text_w; + public subtitle_text_w; + public org_title_text_w; + public org_subtitle_text_w; + public title_slide_count = 0; + public subtitle_slide_count = 0; + + public get_width(val) { + new x, y, w, h; + new buf[1024]; + new st[31]; + new Float:vl; + + // Title Text + if (val == 0) { + get_geometry(PART:"elm.text.title", x, y, w, h); + set_int(org_title_text_w, w); + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.full_title", buf); + get_state(PART:"elm.text.title", st, 30, vl); + set_state(PART:"elm.text.full_title", st, 0.0); + get_geometry(PART:"elm.text.full_title", x, y, w, h); + set_int(title_text_w, w); + } + // Subtitle Text + else { + get_geometry(PART:"elm.text.subtitle", x, y, w, h); + set_int(org_subtitle_text_w, w); + get_text(PART:"elm.text.subtitle", buf, 1024); + set_text(PART:"elm.text.full_subtitle", buf); + get_state(PART:"elm.text.subtitle", st, 30, vl); + set_state(PART:"elm.text.full_subtitle", st, 0.0); + get_geometry(PART:"elm.text.full_subtitle", x, y, w, h); + set_int(subtitle_text_w, w); + } + } + + public slide_to_end_anim(val, Float:pos) { + // Title Text + if (val == 0) { + if (get_int(title_slide_stop)) return; + + if (!get_int(subtitle)) { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); + } + else { + if (!get_int(landscape)) { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); + } + } + + if (pos >= 1.0) { + if (get_int(title_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) + set_int(title_slide_start_timer, timer(1.0, "start_slide", 0)); + else + stop_slide(0); + } + } + // Subtitle Text + else { + if (get_int(subtitle_slide_stop)) return; + + if (!get_int(landscape)) { + set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + + if (pos >= 1.0) { + if (get_int(subtitle_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) + set_int(subtitle_slide_start_timer ,timer(1.0, "start_slide", 1)); + else + stop_slide(1); + } + } + } + + public slide_to_end(val) { + // Title Text + if (val == 0) { + if (get_int(title_slide_stop)) return; + set_int(title_slide_anim_id, anim(get_float(title_duration), "slide_to_end_anim", 0)); + } + // Subtitle Text + else { + if (get_int(subtitle_slide_stop)) return; + set_int(subtitle_slide_anim_id, anim(get_float(subtitle_duration), "slide_to_end_anim", 1)); + } + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "hide")) + return; + + // Title Text + if (val == 0) { + set_int(title_slide_count, get_int(title_slide_count) + 1); + + if (get_int(title_slide_count) == 1) { + get_width(0); + + if (get_int(title_text_w) <= get_int(org_title_text_w)) { + set_int(title_slide_count, 0); + return; + } + + if (get_int(mirrored)) { + set_state(PART:"title_text_slide_effect_left", "visible_mirrored", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible_mirrored", 0.0); + } + else { + set_state(PART:"title_text_slide_effect_left", "visible", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible", 0.0); + } + + len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP; + set_float(title_duration, len / NAVIFRAME_TITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + + set_int(title_slide_stop, 0); + + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.slide_begin_title", buf); + set_text(PART:"elm.text.slide_end_title", buf); + } + + if (!get_int(subtitle)) { + set_state(PART:"elm.text.slide_begin_title", "title_slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_title", "title_slide_begin", 0.0); + } + else { + set_state(PART:"elm.text.slide_begin_title", "maintitle_slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_title", "maintitle_slide_begin", 0.0); + } + + if (get_int(title_slide_count) == 1) { + set_state(PART:"title_text_clip", "slide", 0.0); + set_state(PART:"slide_title_text_clip", "slide", 0.0); + } + + slide_to_end(0); + } + // Subtitle Text + else { + set_int(subtitle_slide_count, get_int(subtitle_slide_count) + 1); + + if (get_int(subtitle_slide_count) == 1) { + get_width(1); + + if (get_int(subtitle_text_w) <= get_int(org_subtitle_text_w)) { + set_int(subtitle_slide_count, 0); + return; + } + + if (get_int(mirrored)) { + set_state(PART:"subtitle_text_slide_effect_left", "visible_mirrored", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "visible_mirrored", 0.0); + } + else { + set_state(PART:"subtitle_text_slide_effect_left", "visible", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "visible", 0.0); + } + + len = get_int(subtitle_text_w) + NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP; + if (!get_int(landscape)) + set_float(subtitle_duration, len / NAVIFRAME_SUBTITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + else + set_float(subtitle_duration, len / NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + + set_int(subtitle_slide_stop, 0); + + get_text(PART:"elm.text.subtitle", buf, 1024); + set_text(PART:"elm.text.slide_begin_subtitle", buf); + set_text(PART:"elm.text.slide_end_subtitle", buf); + } + + if (!get_int(landscape)) { + set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "slide_begin", 0.0); + } + else { + set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "slide_begin_landscape", 0.0); + } + + if (get_int(subtitle_slide_count) == 1) { + set_state(PART:"subtitle_text_clip", "slide", 0.0); + set_state(PART:"slide_subtitle_text_clip", "slide", 0.0); + } + + slide_to_end(1); + } + } + + public stop_slide(val) { + new slide_start_timer; + new slide_anim_id; + + // Title Text + if (val == 0) { + set_int(title_slide_stop, 1); + set_int(title_slide_count, 0); + + slide_start_timer = get_int(title_slide_start_timer); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(title_slide_start_timer, 0); + } + slide_anim_id = get_int(title_slide_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(title_slide_anim_id, 0); + } + + set_text(PART:"elm.text.slide_begin_title", ""); + set_text(PART:"elm.text.slide_end_title", ""); + set_state(PART:"elm.text.slide_begin_title", "default", 0.0); + set_state(PART:"elm.text.slide_end_title", "default", 0.0); + set_state(PART:"title_text_clip", "default", 0.0); + set_state(PART:"slide_title_text_clip", "default", 0.0); + set_state(PART:"title_text_slide_effect_left", "default", 0.0); + set_state(PART:"title_text_slide_effect_right", "default", 0.0); + } + // Subtitle Text + else { + set_int(subtitle_slide_stop, 1); + set_int(subtitle_slide_count, 0); + + slide_start_timer = get_int(subtitle_slide_start_timer); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(subtitle_slide_start_timer, 0); + } + slide_anim_id = get_int(subtitle_slide_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(subtitle_slide_anim_id, 0); + } + + set_text(PART:"elm.text.slide_begin_subtitle", ""); + set_text(PART:"elm.text.slide_end_subtitle", ""); + set_state(PART:"elm.text.slide_begin_subtitle", "default", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "default", 0.0); + set_state(PART:"subtitle_text_clip", "default", 0.0); + set_state(PART:"slide_subtitle_text_clip", "default", 0.0); + set_state(PART:"subtitle_text_slide_effect_left", "default", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "default", 0.0); + } + } + } + + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_H_INC; + max: -1 NAVIFRAME_TITLE_H_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color_class: "B0511"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_H_INC; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + } + description { state: "hide_trans_landscape" 0.0; + inherit: "landscape" 0.0; + align: 0.0 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to_y: "title_bg"; } + rel2 { to_y: "title_bg"; } + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "divider2"; } + rel2 { relative: 1.0 1.0; to: "divider2"; } + } + description { state: "title_left_btn_set" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "divider1"; } + rel2 { relative: 1.0 1.0; to: "divider1"; } + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_ICON_RIGHT_PADDING_INC; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "base"; + rel1.to_y: "title_bg"; + rel2.relative: 1.0 0.0; + rel2.to_x: "base"; + rel2.to_y: "toolbar"; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "badge_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_right_padding"; } + rel2 { relative: 0.0 1.0; to: "title_right_padding"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_PADDING_W_INC 0; + max: NAVIFRAME_BADGE_PADDING_W_INC -1; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TEXT_BG_H_INC; + max: -1 NAVIFRAME_TITLE_TEXT_BG_H_INC; + fixed: 0 1; + rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "title_right_padding"; to_y: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; + } + } + part { name: "maintitle_text_bg"; + type: SPACER; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "title_text_bg"; } + rel2 { relative: 0.0 1.0; to_x: "badge_padding"; to_y: "title_text_bg"; } + } + description { state: "subtitle_is_set" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "title_text_bg"; } + rel2 { relative: 0.0 0.0; to_x: "badge_padding"; to_y: "subtitle_top_padding"; } + } + } + part { name: "title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set" 0.0; + text { text_class: "T0201"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set_landscape" 0.0; + inherit: "subtitle_is_set" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "slide_title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + } + part { name: "elm.text.slide_begin_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "title_slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "title_slide_end" 0.0; + inherit: "default" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } + } + description { state: "maintitle_slide_begin" 0.0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + description { state: "maintitle_slide_end" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } + } + description { state: "maintitle_slide_begin_landscape" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + description { state: "maintitle_slide_end_landscape" 0.0; + inherit: "maintitle_slide_end" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "title_text_slide_effect_left_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 1.0 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + } + part { name: "elm.text.full_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + visible: 0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set" 0.0; + visible: 0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set_landscape" 0.0; + inherit: "subtitle_is_set" 0.0; + text.text_class: "T0203"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text.full_title"; } + rel2 { relative: 1.0 1.0; to: "elm.text.full_title"; } + } + } + part { name: "elm.text.slide_end_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "title_slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "title_slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "maintitle_slide_begin" 0.0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "maintitle_slide_end" 0.0; + inherit: "maintitle_slide_begin" 0.0; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + description { state: "maintitle_slide_begin_landscape" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.text_class: "T0203"; + } + description { state: "maintitle_slide_end_landscape" 0.0; + inherit: "maintitle_slide_end" 0.0; + text.text_class: "T0203"; + } + } + part { name: "title_text_slide_effect_right_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 1.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; } + rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + } + part { name: "subtitle_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 1.0 0.0; to: "subtitle_text_bg"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; + max: -1 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; + } + } + part { name: "subtitle_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { relative: 0.0 1.0; to: "title_text_bg"; } + rel2 { relative: 1.0 1.0; to: "title_text_bg"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_H_INC; + max: -1 NAVIFRAME_SUBTITLE_H_INC; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; + } + } + part { name: "subtitle_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text { text_class: "T0204"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0204"; + } + } + part { name: "slide_subtitle_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.text.subtitle"; + rel2.to: "elm.text.subtitle"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_subtitle_divider1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } + } + } + part { name: "elm.text.slide_begin_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } + rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + color_class: "T0204"; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_begin_landscape" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } + rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } + } + } + part { name: "subtitle_text_slide_effect_left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + } + part { name: "elm.text.full_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + visible: 0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + } + } + part { name: "slide_subtitle_divider2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text.full_subtitle"; } + rel2 { relative: 1.0 1.0; to: "elm.text.full_subtitle"; } + } + } + part { name: "elm.text.slide_end_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } + rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + color_class: "T0204"; + rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } + rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_begin_landscape" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "subtitle_text_slide_effect_right_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "elm.text.subtitle"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.text.subtitle"; to_y: "title_bg"; } + } + } + part { name: "subtitle_text_slide_effect_right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 1.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 1.0 0.0; to: "subtitle_text_slide_effect_right_bg"; } + rel2 { relative: 1.0 1.0; to: "subtitle_text_slide_effect_right_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + } + part { name: "title_bg_bottom_line"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + max: -1 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { relative: 0.0 1.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + color_class: "B0512"; + } + } + part { name: "badge_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "elm.text.title"; } + rel2 { relative: 1.0 1.0; to: "elm.text.title"; } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_LEFT_PADDING_INC; + } + } + part { name: "left.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + rel1 { + to: "badge_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "badge_left_padding"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + } + } + part { name: "right.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + rel1 { + to: "title_badge"; + relative: 1.0 0.0; + } + rel2 { + to: "title_badge"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + } + } + part { name: "badge_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "left.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 1.0 1.0; + } + color_class: "B0517"; + image.normal: "00_badge_bg.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC; + } + } + part { name: "title_badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: NAVIFRAME_BADGE_TEXT_MIN_W_INC 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "left.padding.text"; } + rel2 { relative: 1.0 1.0; to_y: "left.padding.text"; to_x: "badge_padding"; } + align: 0.0 0.5; + color_class: "T112"; + text { + text_class: "T112"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "divider1"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_left_btn"; } + rel2 { relative: 0.0 1.0; to: "title_left_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "title_left_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to_x: "divider2"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "divider2"; to_y: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider2"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_right_btn"; } + rel2 { relative: 0.0 1.0; to: "title_right_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "icon_left_padding"; + type: SPACER; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_ICON_SIZE_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "icon_left_padding"; } + rel2 { relative: 1.0 1.0; to: "icon_left_padding"; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + max: 0 -1; + visible: 0; + } + } + part { name: "title_right_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar"; } + rel2 { relative: 0.0 1.0; to: "toolbar"; } + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "prev_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar"; } + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to: "toolbar"; } + rel2 { to: "toolbar"; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"clipper", "default", 0.0); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "start_title_slide"; + signal: "elm,action,title,slide,start"; + source: ""; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(title_slide_start_timer, timer(1.5, "start_slide", 0)); + if (get_int(subtitle)) + set_int(subtitle_slide_start_timer, timer(1.5, "start_slide", 1)); + } + } + program { name: "stop_title_slide"; + signal: "elm,action,title,slide,stop"; + source: ""; + script { + if (!get_int(title_slide_stop) || get_int(title_slide_start_timer)) + stop_slide(0); + if (get_int(subtitle)) + if (!get_int(subtitle_slide_stop) || get_int(subtitle_slide_start_timer)) + stop_slide(1); + } + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + if (get_int(landscape)) + set_state(PART:"title_bg", "landscape", 0.0); + else + set_state(PART:"title_bg", "default", 0.0); + if (get_int(icon_visible)) + run_program(PROGRAM:"icon_visible"); + if (get_int(title_left_btn_visible)) + run_program(PROGRAM:"title_left_btn_visible"); + if (get_int(title_right_btn_visible)) + run_program(PROGRAM:"title_right_btn_visible"); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"title_bg", "hide", 0.0); + run_program(PROGRAM:"icon_invisible"); + run_program(PROGRAM:"title_left_btn_invisible"); + run_program(PROGRAM:"title_right_btn_invisible"); + } + } + program { name: "title_show_anim"; + signal: "elm,action,title,show"; + source: "elm"; + script { + if (get_int(icon_visible)) + run_program(PROGRAM:"icon_visible"); + if (get_int(title_left_btn_visible)) + run_program(PROGRAM:"title_left_btn_visible"); + if (get_int(title_right_btn_visible)) + run_program(PROGRAM:"title_right_btn_visible"); + if (get_int(landscape)) { + set_state(PART:"title_bg", "hide_trans_landscape", 0.0); + run_program(PROGRAM:"title_show_anim_start_landscape"); + } + else { + set_state(PART:"title_bg", "hide_trans", 0.0); + run_program(PROGRAM:"title_show_anim_start_default"); + } + } + } + program { name: "title_show_anim_start_default"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_start_landscape"; + action: STATE_SET "landscape" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_finished"; + script { + emit("elm,action,title,transition,finished", ""); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + + if (!get_int(landscape)) { + set_state(PART:"title_bg", "default", 0.0); + run_program(PROGRAM:"title_hide_trans_start_default"); + } + else { + set_state(PART:"title_bg", "landscape", 0.0); + run_program(PROGRAM:"title_hide_trans_start_landscape"); + } + } + } + program { name: "title_hide_trans_start_default"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_start_landscape"; + action: STATE_SET "hide_trans_landscape" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_finished"; + script { + set_state(PART:"title_bg", "hide", 0.0); + run_program(PROGRAM:"icon_invisible"); + run_program(PROGRAM:"title_left_btn_invisible"); + run_program(PROGRAM:"title_right_btn_invisible"); + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + } + } + program { name: "subtitle_show"; + signal: "elm,state,subtitle,show"; + source: "elm"; + script { + set_state(PART:"maintitle_text_bg", "subtitle_is_set", 0.0); + if (!get_int(landscape)) { + set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); + set_state(PART:"subtitle_top_padding", "visible", 0.0); + set_state(PART:"subtitle_text_bg", "visible", 0.0); + } + else { + set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); + set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); + set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); + } + set_int(subtitle, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "subtitle_hide"; + signal: "elm,state,subtitle,hide"; + source: "elm"; + script { + set_state(PART:"maintitle_text_bg", "default", 0.0); + set_state(PART:"subtitle_top_padding", "default", 0.0); + set_state(PART:"subtitle_text_bg", "default", 0.0); + set_state(PART:"elm.text.title", "default", 0.0); + set_int(subtitle, 0); + run_program(PROGRAM:"stop_title_slide"); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,show"; + source: "elm"; + script { + run_program(PROGRAM:"icon_visible"); + set_int(icon_visible, 1); + } + } + program { name: "icon_visible"; + script { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"title_left_padding", "icon", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hide"; + source: "elm"; + script { + run_program(PROGRAM:"icon_invisible"); + set_int(icon_visible, 0); + } + } + program { name: "icon_invisible"; + script { + set_state(PART:"elm.swallow.icon", "hide", 0.0); + set_state(PART:"title_left_padding", "default", 0.0); + } + } + program { name: "title_left_btn_show"; + signal: "elm,state,title_left_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_visible"); + set_int(title_left_btn_visible, 1); + } + } + program { name: "title_left_btn_visible"; + script { + set_state(PART:"divider1", "visible", 0.0); + set_state(PART:"title_right_padding", "title_left_btn_set", 0.0); + if (get_int(landscape)) + set_state(PART:"title_left_btn", "landscape", 0.0); + else + set_state(PART:"title_left_btn", "default", 0.0); + } + } + program { name: "title_left_btn_hide"; + signal: "elm,state,title_left_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_invisible"); + set_int(title_left_btn_visible, 0); + } + } + program { name: "title_left_btn_invisible"; + script { + set_state(PART:"divider1", "default", 0.0); + set_state(PART:"title_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "hide", 0.0); + } + } + program { name: "title_right_btn_show"; + signal: "elm,state,title_right_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_visible"); + set_int(title_right_btn_visible, 1); + } + } + program { name: "title_right_btn_visible"; + script { + set_state(PART:"divider2", "visible", 0.0); + if (get_int(landscape)) + set_state(PART:"title_right_btn", "landscape", 0.0); + else + set_state(PART:"title_right_btn", "default", 0.0); + } + } + program { name: "title_right_btn_hide"; + signal: "elm,state,title_right_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_invisible"); + set_int(title_right_btn_visible, 0); + } + } + program { name: "title_right_btn_invisible"; + script { + set_state(PART:"divider2", "default", 0.0); + set_state(PART:"title_right_btn", "hide", 0.0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open_internal"; + signal: "elm,state,toolbar,open,internal"; + source: "elm"; + script { + set_int(tbar_close, 0); + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_close_internal"; + signal: "elm,state,toolbar,close,internal"; + source: "elm"; + script { + set_int(tbar_close, 1); + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + transition: LINEAR 0.2; + after: "toolbar_open_internal"; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar"; + transition: LINEAR 0.2; + after: "toolbar_close_internal"; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,toolbar,open,internal", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,toolbar,close,internal", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,pushed,finished", ""); + } + } + program { name: "popped_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,popped,finished", ""); + } + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + program { + name: "title_badge_show"; + signal: "elm,state,title_badge,show"; + source: "elm"; + script { + set_state(PART:"badge_left_padding", "visible", 0.0); + set_state(PART:"badge_padding", "visible", 0.0); + set_state(PART:"left.padding.text", "visible", 0.0); + set_state(PART:"right.padding.text", "visible", 0.0); + set_state(PART:"badge_bg", "visible", 0.0); + set_state(PART:"title_badge", "visible", 0.0); + set_int(title_badge_visible, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + program { + name: "title_badge_hide"; + signal: "elm,state,title_badge,hide"; + source: "elm"; + script { + set_state(PART:"badge_left_padding", "default", 0.0); + set_state(PART:"badge_padding", "default", 0.0); + set_state(PART:"left.padding.text", "default", 0.0); + set_state(PART:"right.padding.text", "default", 0.0); + set_state(PART:"badge_bg", "default", 0.0); + set_state(PART:"title_badge", "default", 0.0); + set_int(title_badge_visible, 0); + run_program(PROGRAM:"start_title_slide"); + } + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 1); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"title_text_bg", "landscape", 0.0); + set_state(PART:"elm.text.subtitle", "landscape", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "landscape", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "landscape", 0.0); + set_state(PART:"toolbar_more_btn", "landscape", 0.0); + set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"title_bg", "landscape", 0.0); + + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "subtitle_is_set")) + set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); + + get_state(PART:"subtitle_top_padding", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); + + get_state(PART:"subtitle_text_bg", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"toolbar", "visible_landscape", 0.0); + + set_int(landscape, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_state(PART:"title_text_bg", "default", 0.0); + set_state(PART:"elm.text.subtitle", "default", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "default", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "default", 0.0); + set_state(PART:"toolbar_more_btn", "default", 0.0); + set_state(PART:"elm.swallow.prev_btn", "default", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"title_bg", "default", 0.0); + + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "subtitle_is_set_landscape")) + set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); + + get_state(PART:"subtitle_top_padding", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"subtitle_top_padding", "visible", 0.0); + + get_state(PART:"subtitle_text_bg", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"subtitle_text_bg", "visible", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"toolbar", "visible", 0.0); + + set_int(landscape, 0); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/drawers/default"; + data.item: "tizen_zoom" 1; + images { + image: "00_badge_bg.#.png" COMP; + image: "00_effect_title_text_dim_left.#.png" COMP; + image: "00_effect_title_text_dim_right.#.png" COMP; + } + script { + public tbar_close = 0; //Toolbar lastest Open/Close status + public title_badge_visible = 0; //Title badge visible/hidden status + public landscape = 0; //Landscape mode status + public subtitle = 0; //Subtitle on/off status + public drawers_visible = 0; //Drawers on/off status + public icon_visible = 0; //Icon on/off status + public title_left_btn_visible = 0; //Title left button on/off status + public title_right_btn_visible = 0; //Title right button on/off status + public mirrored = 0; //Mirrored on/off status + + public title_duration = 0; + public subtitle_duration = 0; + public title_slide_stop; + public subtitle_slide_stop; + public title_slide_start_timer; + public subtitle_slide_start_timer; + public title_slide_anim_id; + public subtitle_slide_anim_id; + public title_text_w; + public subtitle_text_w; + public org_title_text_w; + public org_subtitle_text_w; + public title_slide_count = 0; + public subtitle_slide_count = 0; + + public get_width(val) { + new x, y, w, h; + new buf[1024]; + new st[31]; + new Float:vl; + + // Title Text + if (val == 0) { + get_geometry(PART:"elm.text.title", x, y, w, h); + set_int(org_title_text_w, w); + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.full_title", buf); + get_state(PART:"elm.text.title", st, 30, vl); + set_state(PART:"elm.text.full_title", st, 0.0); + get_geometry(PART:"elm.text.full_title", x, y, w, h); + set_int(title_text_w, w); + } + // Subtitle Text + else { + get_geometry(PART:"elm.text.subtitle", x, y, w, h); + set_int(org_subtitle_text_w, w); + get_text(PART:"elm.text.subtitle", buf, 1024); + set_text(PART:"elm.text.full_subtitle", buf); + get_state(PART:"elm.text.subtitle", st, 30, vl); + set_state(PART:"elm.text.full_subtitle", st, 0.0); + get_geometry(PART:"elm.text.full_subtitle", x, y, w, h); + set_int(subtitle_text_w, w); + } + } + + public slide_to_end_anim(val, Float:pos) { + // Title Text + if (val == 0) { + if (get_int(title_slide_stop)) return; + + if (!get_int(subtitle)) { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); + } + else { + if (!get_int(landscape)) { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); + } + } + + if (pos >= 1.0) { + if (get_int(title_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) + set_int(title_slide_start_timer, timer(1.0, "start_slide", 0)); + else + stop_slide(0); + } + } + // Subtitle Text + else { + if (get_int(subtitle_slide_stop)) return; + + if (!get_int(landscape)) { + set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + + if (pos >= 1.0) { + if (get_int(subtitle_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) + set_int(subtitle_slide_start_timer ,timer(1.0, "start_slide", 1)); + else + stop_slide(1); + } + } + } + + public slide_to_end(val) { + // Title Text + if (val == 0) { + if (get_int(title_slide_stop)) return; + set_int(title_slide_anim_id, anim(get_float(title_duration), "slide_to_end_anim", 0)); + } + // Subtitle Text + else { + if (get_int(subtitle_slide_stop)) return; + set_int(subtitle_slide_anim_id, anim(get_float(subtitle_duration), "slide_to_end_anim", 1)); + } + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "hide")) + return; + + // Title Text + if (val == 0) { + set_int(title_slide_count, get_int(title_slide_count) + 1); + + if (get_int(title_slide_count) == 1) { + get_width(0); + + if (get_int(title_text_w) <= get_int(org_title_text_w)) { + set_int(title_slide_count, 0); + return; + } + + if (get_int(mirrored)) { + set_state(PART:"title_text_slide_effect_left", "visible_mirrored", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible_mirrored", 0.0); + } + else { + set_state(PART:"title_text_slide_effect_left", "visible", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible", 0.0); + } + + len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP; + set_float(title_duration, len / NAVIFRAME_TITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + + set_int(title_slide_stop, 0); + + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.slide_begin_title", buf); + set_text(PART:"elm.text.slide_end_title", buf); + } + + if (!get_int(subtitle)) { + set_state(PART:"elm.text.slide_begin_title", "title_slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_title", "title_slide_begin", 0.0); + } + else { + set_state(PART:"elm.text.slide_begin_title", "maintitle_slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_title", "maintitle_slide_begin", 0.0); + } + + if (get_int(title_slide_count) == 1) { + set_state(PART:"title_text_clip", "slide", 0.0); + set_state(PART:"slide_title_text_clip", "slide", 0.0); + } + + slide_to_end(0); + } + // Subtitle Text + else { + set_int(subtitle_slide_count, get_int(subtitle_slide_count) + 1); + + if (get_int(subtitle_slide_count) == 1) { + get_width(1); + + if (get_int(subtitle_text_w) <= get_int(org_subtitle_text_w)) { + set_int(subtitle_slide_count, 0); + return; + } + + if (get_int(mirrored)) { + set_state(PART:"subtitle_text_slide_effect_left", "visible_mirrored", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "visible_mirrored", 0.0); + } + else { + set_state(PART:"subtitle_text_slide_effect_left", "visible", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "visible", 0.0); + } + + len = get_int(subtitle_text_w) + NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP; + if (!get_int(landscape)) + set_float(subtitle_duration, len / NAVIFRAME_SUBTITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + else + set_float(subtitle_duration, len / NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + + set_int(subtitle_slide_stop, 0); + + get_text(PART:"elm.text.subtitle", buf, 1024); + set_text(PART:"elm.text.slide_begin_subtitle", buf); + set_text(PART:"elm.text.slide_end_subtitle", buf); + } + + if (!get_int(landscape)) { + set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "slide_begin", 0.0); + } + else { + set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "slide_begin_landscape", 0.0); + } + + if (get_int(subtitle_slide_count) == 1) { + set_state(PART:"subtitle_text_clip", "slide", 0.0); + set_state(PART:"slide_subtitle_text_clip", "slide", 0.0); + } + + slide_to_end(1); + } + } + + public stop_slide(val) { + new slide_start_timer; + new slide_anim_id; + + // Title Text + if (val == 0) { + set_int(title_slide_stop, 1); + set_int(title_slide_count, 0); + + slide_start_timer = get_int(title_slide_start_timer); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(title_slide_start_timer, 0); + } + slide_anim_id = get_int(title_slide_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(title_slide_anim_id, 0); + } + + set_text(PART:"elm.text.slide_begin_title", ""); + set_text(PART:"elm.text.slide_end_title", ""); + set_state(PART:"elm.text.slide_begin_title", "default", 0.0); + set_state(PART:"elm.text.slide_end_title", "default", 0.0); + set_state(PART:"title_text_clip", "default", 0.0); + set_state(PART:"slide_title_text_clip", "default", 0.0); + set_state(PART:"title_text_slide_effect_left", "default", 0.0); + set_state(PART:"title_text_slide_effect_right", "default", 0.0); + } + // Subtitle Text + else { + set_int(subtitle_slide_stop, 1); + set_int(subtitle_slide_count, 0); + + slide_start_timer = get_int(subtitle_slide_start_timer); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(subtitle_slide_start_timer, 0); + } + slide_anim_id = get_int(subtitle_slide_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(subtitle_slide_anim_id, 0); + } + + set_text(PART:"elm.text.slide_begin_subtitle", ""); + set_text(PART:"elm.text.slide_end_subtitle", ""); + set_state(PART:"elm.text.slide_begin_subtitle", "default", 0.0); + set_state(PART:"elm.text.slide_end_subtitle", "default", 0.0); + set_state(PART:"subtitle_text_clip", "default", 0.0); + set_state(PART:"slide_subtitle_text_clip", "default", 0.0); + set_state(PART:"subtitle_text_slide_effect_left", "default", 0.0); + set_state(PART:"subtitle_text_slide_effect_right", "default", 0.0); + } + } + } + + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_H_INC; + max: -1 NAVIFRAME_TITLE_H_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color_class: "B0511"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_H_INC; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + } + description { state: "hide_trans_landscape" 0.0; + inherit: "landscape" 0.0; + align: 0.0 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to_y: "title_bg"; } + rel2 { to_y: "title_bg"; } + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "divider2"; } + rel2 { relative: 1.0 1.0; to: "divider2"; } + } + description { state: "title_left_btn_set" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "divider1"; } + rel2 { relative: 1.0 1.0; to: "divider1"; } + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + } + description { state: "drawers" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_ICON_RIGHT_PADDING_INC; + } + description { state: "drawers_with_icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_ICON_RIGHT_PADDING_INC; + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "drawers"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "divider1"; to_y: "title_bg"; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + max: 0 -1; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "base"; + rel1.to_y: "title_bg"; + rel2.relative: 1.0 0.0; + rel2.to_x: "base"; + rel2.to_y: "toolbar"; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "badge_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_right_padding"; } + rel2 { relative: 0.0 1.0; to: "title_right_padding"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_PADDING_W_INC 0; + max: NAVIFRAME_BADGE_PADDING_W_INC -1; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TEXT_BG_H_INC; + max: -1 NAVIFRAME_TITLE_TEXT_BG_H_INC; + fixed: 0 1; + rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "title_right_padding"; to_y: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; + } + } + part { name: "maintitle_text_bg"; + type: SPACER; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "title_text_bg"; } + rel2 { relative: 0.0 1.0; to_x: "badge_padding"; to_y: "title_text_bg"; } + } + description { state: "subtitle_is_set" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "title_text_bg"; } + rel2 { relative: 0.0 0.0; to_x: "badge_padding"; to_y: "subtitle_top_padding"; } + } + } + part { name: "title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set" 0.0; + text { text_class: "T0201"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set_landscape" 0.0; + inherit: "subtitle_is_set" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "slide_title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + } + part { name: "elm.text.slide_begin_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "title_slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "title_slide_end" 0.0; + inherit: "default" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } + } + description { state: "maintitle_slide_begin" 0.0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + description { state: "maintitle_slide_end" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } + } + description { state: "maintitle_slide_begin_landscape" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + description { state: "maintitle_slide_end_landscape" 0.0; + inherit: "maintitle_slide_end" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "title_text_slide_effect_left_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 1.0 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + } + part { name: "elm.text.full_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + visible: 0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set" 0.0; + visible: 0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "subtitle_is_set_landscape" 0.0; + inherit: "subtitle_is_set" 0.0; + text.text_class: "T0203"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text.full_title"; } + rel2 { relative: 1.0 1.0; to: "elm.text.full_title"; } + } + } + part { name: "elm.text.slide_end_title"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "maintitle_text_bg"; + rel2.to: "maintitle_text_bg"; + } + description { state: "title_slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "title_slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "maintitle_slide_begin" 0.0; + text { text_class: "T0201"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0201"; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "maintitle_slide_end" 0.0; + inherit: "maintitle_slide_begin" 0.0; + rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } + } + description { state: "maintitle_slide_begin_landscape" 0.0; + inherit: "maintitle_slide_begin" 0.0; + text.text_class: "T0203"; + } + description { state: "maintitle_slide_end_landscape" 0.0; + inherit: "maintitle_slide_end" 0.0; + text.text_class: "T0203"; + } + } + part { name: "title_text_slide_effect_right_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 1.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; } + rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + } + part { name: "subtitle_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 1.0 0.0; to: "subtitle_text_bg"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; + max: -1 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; + } + } + part { name: "subtitle_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { relative: 0.0 1.0; to: "title_text_bg"; } + rel2 { relative: 1.0 1.0; to: "title_text_bg"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_H_INC; + max: -1 NAVIFRAME_SUBTITLE_H_INC; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; + } + } + part { name: "subtitle_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text { text_class: "T0204"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0204"; + } + } + part { name: "slide_subtitle_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.text.subtitle"; + rel2.to: "elm.text.subtitle"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_subtitle_divider1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } + } + } + part { name: "elm.text.slide_begin_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } + rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + color_class: "T0204"; + rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } + rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_begin_landscape" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } + rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } + } + } + part { name: "subtitle_text_slide_effect_left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + } + part { name: "elm.text.full_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + visible: 0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + } + } + part { name: "slide_subtitle_divider2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text.full_subtitle"; } + rel2 { relative: 1.0 1.0; to: "elm.text.full_subtitle"; } + } + } + part { name: "elm.text.slide_end_subtitle"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + text { text_class: "T0202"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T0202"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "subtitle_text_bg"; + rel2.to: "subtitle_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } + rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0204"; + color_class: "T0204"; + rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } + rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_begin_landscape" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "subtitle_text_slide_effect_right_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "elm.text.subtitle"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.text.subtitle"; to_y: "title_bg"; } + } + } + part { name: "subtitle_text_slide_effect_right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_subtitle_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 1.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 1.0 0.0; to: "subtitle_text_slide_effect_right_bg"; } + rel2 { relative: 1.0 1.0; to: "subtitle_text_slide_effect_right_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + } + part { name: "title_bg_bottom_line"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + max: -1 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { relative: 0.0 1.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + color_class: "B0512"; + } + } + part { name: "badge_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "elm.text.title"; } + rel2 { relative: 1.0 1.0; to: "elm.text.title"; } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_LEFT_PADDING_INC; + } + } + part { name: "left.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + rel1 { + to: "badge_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "badge_left_padding"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + } + } + part { name: "right.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + rel1 { + to: "title_badge"; + relative: 1.0 0.0; + } + rel2 { + to: "title_badge"; + relative: 1.0 1.0; + } + align: 0.0 0.5; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; + } + } + part { name: "badge_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "left.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 1.0 1.0; + } + color_class: "B0517"; + image.normal: "00_badge_bg.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC; + } + } + part { name: "title_badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: NAVIFRAME_BADGE_TEXT_MIN_W_INC 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "left.padding.text"; } + rel2 { relative: 1.0 1.0; to_y: "left.padding.text"; to_x: "badge_padding"; } + align: 0.0 0.5; + color_class: "T112"; + text { + text_class: "T112"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "divider1"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_left_btn"; } + rel2 { relative: 0.0 1.0; to: "title_left_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "title_left_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to_x: "divider2"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "divider2"; to_y: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider2"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_right_btn"; } + rel2 { relative: 0.0 1.0; to: "title_right_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "icon_left_padding"; + type: SPACER; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + min: 0 0; + align: 0.0 0.5; + } + description { state: "drawers" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_DRAWERS_PADDING_W_INC 0; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_ICON_LEFT_PADDING_INC; + } + description { state: "drawers_with_icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_DRAWERS_PADDING_W_INC 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_ICON_SIZE_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "icon_left_padding"; } + rel2 { relative: 1.0 1.0; to: "icon_left_padding"; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + max: 0 -1; + visible: 0; + } + } + part { name: "title_right_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar"; } + rel2 { relative: 0.0 1.0; to: "toolbar"; } + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "prev_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar"; } + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to: "toolbar"; } + rel2 { to: "toolbar"; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"clipper", "default", 0.0); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "start_title_slide"; + signal: "elm,action,title,slide,start"; + source: ""; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(title_slide_start_timer, timer(1.5, "start_slide", 0)); + if (get_int(subtitle)) + set_int(subtitle_slide_start_timer, timer(1.5, "start_slide", 1)); + } + } + program { name: "stop_title_slide"; + signal: "elm,action,title,slide,stop"; + source: ""; + script { + if (!get_int(title_slide_stop) || get_int(title_slide_start_timer)) + stop_slide(0); + if (get_int(subtitle)) + if (!get_int(subtitle_slide_stop) || get_int(subtitle_slide_start_timer)) + stop_slide(1); + } + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + if (get_int(landscape)) + set_state(PART:"title_bg", "landscape", 0.0); + else + set_state(PART:"title_bg", "default", 0.0); + if (get_int(drawers_visible)) + run_program(PROGRAM:"drawers_visible"); + if (get_int(icon_visible)) + run_program(PROGRAM:"icon_visible"); + if (get_int(title_left_btn_visible)) + run_program(PROGRAM:"title_left_btn_visible"); + if (get_int(title_right_btn_visible)) + run_program(PROGRAM:"title_right_btn_visible"); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"title_bg", "hide", 0.0); + run_program(PROGRAM:"drawers_invisible"); + run_program(PROGRAM:"icon_invisible"); + run_program(PROGRAM:"title_left_btn_invisible"); + run_program(PROGRAM:"title_right_btn_invisible"); + } + } + program { name: "title_show_anim"; + signal: "elm,action,title,show"; + source: "elm"; + script { + if (get_int(drawers_visible)) + run_program(PROGRAM:"drawers_visible"); + if (get_int(icon_visible)) + run_program(PROGRAM:"icon_visible"); + if (get_int(title_left_btn_visible)) + run_program(PROGRAM:"title_left_btn_visible"); + if (get_int(title_right_btn_visible)) + run_program(PROGRAM:"title_right_btn_visible"); + if (get_int(landscape)) { + set_state(PART:"title_bg", "hide_trans_landscape", 0.0); + run_program(PROGRAM:"title_show_anim_start_landscape"); + } + else { + set_state(PART:"title_bg", "hide_trans", 0.0); + run_program(PROGRAM:"title_show_anim_start_default"); + } + } + } + program { name: "title_show_anim_start_default"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_start_landscape"; + action: STATE_SET "landscape" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_finished"; + script { + emit("elm,action,title,transition,finished", ""); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + + if (!get_int(landscape)) { + set_state(PART:"title_bg", "default", 0.0); + run_program(PROGRAM:"title_hide_trans_start_default"); + } + else { + set_state(PART:"title_bg", "landscape", 0.0); + run_program(PROGRAM:"title_hide_trans_start_landscape"); + } + } + } + program { name: "title_hide_trans_start_default"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_start_landscape"; + action: STATE_SET "hide_trans_landscape" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_finished"; + script { + set_state(PART:"title_bg", "hide", 0.0); + run_program(PROGRAM:"drawers_invisible"); + run_program(PROGRAM:"icon_invisible"); + run_program(PROGRAM:"title_left_btn_invisible"); + run_program(PROGRAM:"title_right_btn_invisible"); + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + } + } + program { name: "subtitle_show"; + signal: "elm,state,subtitle,show"; + source: "elm"; + script { + set_state(PART:"maintitle_text_bg", "subtitle_is_set", 0.0); + if (!get_int(landscape)) { + set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); + set_state(PART:"subtitle_top_padding", "visible", 0.0); + set_state(PART:"subtitle_text_bg", "visible", 0.0); + } + else { + set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); + set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); + set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); + } + set_int(subtitle, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "subtitle_hide"; + signal: "elm,state,subtitle,hide"; + source: "elm"; + script { + set_state(PART:"maintitle_text_bg", "default", 0.0); + set_state(PART:"subtitle_top_padding", "default", 0.0); + set_state(PART:"subtitle_text_bg", "default", 0.0); + set_state(PART:"elm.text.title", "default", 0.0); + set_int(subtitle, 0); + run_program(PROGRAM:"stop_title_slide"); + } + } + program { name: "drawers_show"; + signal: "elm,state,drawers,show"; + source: "elm"; + script { + run_program(PROGRAM:"drawers_visible"); + set_int(drawers_visible, 1); + } + } + program { name: "drawers_visible"; + script { + set_state(PART:"drawers", "default", 0.0); + if (get_int(icon_visible)) { + set_state(PART:"icon_left_padding", "drawers_with_icon", 0.0); + set_state(PART:"title_left_padding", "drawers_with_icon", 0.0); + } + else { + set_state(PART:"icon_left_padding", "drawers", 0.0); + set_state(PART:"title_left_padding", "drawers", 0.0); + } + } + } + program { name: "drawers_hide"; + signal: "elm,state,drawers,hide"; + source: "elm"; + script { + run_program(PROGRAM:"drawers_invisible"); + set_int(drawers_visible, 0); + } + } + program { name: "drawers_invisible"; + script { + set_state(PART:"drawers", "hide", 0.0); + if (get_int(icon_visible)) { + set_state(PART:"icon_left_padding", "title_icon", 0.0); + set_state(PART:"title_left_padding", "title_icon", 0.0); + } + else { + set_state(PART:"icon_left_padding", "default", 0.0); + set_state(PART:"title_left_padding", "default", 0.0); + } + } + } + program { name: "icon_show"; + signal: "elm,state,icon,show"; + source: "elm"; + script { + run_program(PROGRAM:"icon_visible"); + set_int(icon_visible, 1); + } + } + program { name: "icon_visible"; + script { + set_state(PART:"elm.swallow.icon", "default", 0.0); + if (get_int(drawers_visible)) { + set_state(PART:"icon_left_padding", "drawers_with_icon", 0.0); + set_state(PART:"title_left_padding", "drawers_with_icon", 0.0); + } + else { + set_state(PART:"icon_left_padding", "icon", 0.0); + set_state(PART:"title_left_padding", "icon", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hide"; + source: "elm"; + script { + run_program(PROGRAM:"icon_invisible"); + set_int(icon_visible, 0); + } + } + program { name: "icon_invisible"; + script { + set_state(PART:"elm.swallow.icon", "hide", 0.0); + if (get_int(drawers_visible)) { + set_state(PART:"icon_left_padding", "drawers", 0.0); + set_state(PART:"title_left_padding", "drawers", 0.0); + } + else { + set_state(PART:"icon_left_padding", "default", 0.0); + set_state(PART:"title_left_padding", "default", 0.0); + } + } + } + program { name: "title_left_btn_show"; + signal: "elm,state,title_left_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_visible"); + set_int(title_left_btn_visible, 1); + } + } + program { name: "title_left_btn_visible"; + script { + set_state(PART:"divider1", "visible", 0.0); + set_state(PART:"title_right_padding", "title_left_btn_set", 0.0); + if (get_int(landscape)) + set_state(PART:"title_left_btn", "landscape", 0.0); + else + set_state(PART:"title_left_btn", "default", 0.0); + } + } + program { name: "title_left_btn_hide"; + signal: "elm,state,title_left_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_invisible"); + set_int(title_left_btn_visible, 0); + } + } + program { name: "title_left_btn_invisible"; + script { + set_state(PART:"divider1", "default", 0.0); + set_state(PART:"title_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "hide", 0.0); + } + } + program { name: "title_right_btn_show"; + signal: "elm,state,title_right_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_visible"); + set_int(title_right_btn_visible, 1); + } + } + program { name: "title_right_btn_visible"; + script { + set_state(PART:"divider2", "visible", 0.0); + if (get_int(landscape)) + set_state(PART:"title_right_btn", "landscape", 0.0); + else + set_state(PART:"title_right_btn", "default", 0.0); + } + } + program { name: "title_right_btn_hide"; + signal: "elm,state,title_right_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_invisible"); + set_int(title_right_btn_visible, 0); + } + } + program { name: "title_right_btn_invisible"; + script { + set_state(PART:"divider2", "default", 0.0); + set_state(PART:"title_right_btn", "hide", 0.0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open_internal"; + signal: "elm,state,toolbar,open,internal"; + source: "elm"; + script { + set_int(tbar_close, 0); + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_close_internal"; + signal: "elm,state,toolbar,close,internal"; + source: "elm"; + script { + set_int(tbar_close, 1); + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + transition: LINEAR 0.2; + after: "toolbar_open_internal"; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar"; + transition: LINEAR 0.2; + after: "toolbar_close_internal"; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,toolbar,open,internal", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,toolbar,close,internal", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,pushed,finished", ""); + } + } + program { name: "popped_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,popped,finished", ""); + } + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + program { + name: "title_badge_show"; + signal: "elm,state,title_badge,show"; + source: "elm"; + script { + set_state(PART:"badge_left_padding", "visible", 0.0); + set_state(PART:"badge_padding", "visible", 0.0); + set_state(PART:"left.padding.text", "visible", 0.0); + set_state(PART:"right.padding.text", "visible", 0.0); + set_state(PART:"badge_bg", "visible", 0.0); + set_state(PART:"title_badge", "visible", 0.0); + set_int(title_badge_visible, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + program { + name: "title_badge_hide"; + signal: "elm,state,title_badge,hide"; + source: "elm"; + script { + set_state(PART:"badge_left_padding", "default", 0.0); + set_state(PART:"badge_padding", "default", 0.0); + set_state(PART:"left.padding.text", "default", 0.0); + set_state(PART:"right.padding.text", "default", 0.0); + set_state(PART:"badge_bg", "default", 0.0); + set_state(PART:"title_badge", "default", 0.0); + set_int(title_badge_visible, 0); + run_program(PROGRAM:"start_title_slide"); + } + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 1); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"title_text_bg", "landscape", 0.0); + set_state(PART:"elm.text.subtitle", "landscape", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "landscape", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "landscape", 0.0); + set_state(PART:"toolbar_more_btn", "landscape", 0.0); + set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"title_bg", "landscape", 0.0); + + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "subtitle_is_set")) + set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); + + get_state(PART:"subtitle_top_padding", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); + + get_state(PART:"subtitle_text_bg", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"toolbar", "visible_landscape", 0.0); + + set_int(landscape, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_state(PART:"title_text_bg", "default", 0.0); + set_state(PART:"elm.text.subtitle", "default", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "default", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "default", 0.0); + set_state(PART:"toolbar_more_btn", "default", 0.0); + set_state(PART:"elm.swallow.prev_btn", "default", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"title_bg", "default", 0.0); + + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "subtitle_is_set_landscape")) + set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); + + get_state(PART:"subtitle_top_padding", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"subtitle_top_padding", "visible", 0.0); + + get_state(PART:"subtitle_text_bg", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"subtitle_text_bg", "visible", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"toolbar", "visible", 0.0); + + set_int(landscape, 0); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/tabbar/default"; + data.item: "tizen_zoom" 1; + images { + image: "00_effect_title_text_dim_left.#.png" COMP; + image: "00_effect_title_text_dim_right.#.png" COMP; + } + script { + public tbar_close = 0; //Toolbar lastest Open/Close status + public landscape = 0; //Landscape mode status + public title_left_btn_visible = 0; //Title left button on/off status + public title_right_btn_visible = 0; //Title right button on/off status + public mirrored = 0; //Mirrored on/off status + + public title_duration = 0; + public title_slide_stop; + public title_slide_start_timer; + public title_slide_anim_id; + public title_text_w; + public org_title_text_w; + public title_slide_count = 0; + + public get_width(val) { + new x, y, w, h; + new buf[1024]; + new st[31]; + new Float:vl; + + get_geometry(PART:"elm.text.title", x, y, w, h); + set_int(org_title_text_w, w); + + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.full_title", buf); + get_state(PART:"elm.text.title", st, 30, vl); + set_state(PART:"elm.text.full_title", st, 0.0); + get_geometry(PART:"elm.text.full_title", x, y, w, h); + set_int(title_text_w, w); + } + + public slide_to_end_anim(val, Float:pos) { + if (get_int(title_slide_stop)) return; + + if (!get_int(landscape)) { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "slide_begin", 0.0, "slide_end", 0.0); + } + else { + set_tween_state(PART:"elm.text.slide_begin_title", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + set_tween_state(PART:"elm.text.slide_end_title", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); + } + + if (pos >= 1.0) { + if (get_int(title_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) + set_int(title_slide_start_timer, timer(1.0, "start_slide", 0)); + else + stop_slide(0); + } + } + + public slide_to_end(val) { + if (get_int(title_slide_stop)) return; + set_int(title_slide_anim_id, anim(get_float(title_duration), "slide_to_end_anim", 0)); + } + + public start_slide(val) { + new Float:len; + new buf[1024]; + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "hide")) + return; + + set_int(title_slide_count, get_int(title_slide_count) + 1); + + if (get_int(title_slide_count) == 1) { + get_width(0); + + if (get_int(title_text_w) <= get_int(org_title_text_w)) { + set_int(title_slide_count, 0); + return; + } + + if (get_int(mirrored)) { + set_state(PART:"title_text_slide_effect_left", "visible_mirrored", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible_mirrored", 0.0); + } + else { + set_state(PART:"title_text_slide_effect_left", "visible", 0.0); + set_state(PART:"title_text_slide_effect_right", "visible", 0.0); + } + + len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP; + + if (get_int(landscape)) + set_float(title_duration, len / NAVIFRAME_TITLE_TAB_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + else + set_float(title_duration, len / NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); + + set_int(title_slide_stop, 0); + + get_text(PART:"elm.text.title", buf, 1024); + set_text(PART:"elm.text.slide_begin_title", buf); + set_text(PART:"elm.text.slide_end_title", buf); + } + + if (!get_int(landscape)) { + set_state(PART:"elm.text.slide_begin_title", "slide_begin", 0.0); + set_state(PART:"elm.text.slide_end_title", "slide_begin", 0.0); + } + else { + set_state(PART:"elm.text.slide_begin_title", "slide_begin_landscape", 0.0); + set_state(PART:"elm.text.slide_end_title", "slide_begin_landscape", 0.0); + } + + if (get_int(title_slide_count) == 1) { + set_state(PART:"title_text_clip", "slide", 0.0); + set_state(PART:"slide_title_text_clip", "slide", 0.0); + } + + slide_to_end(0); + } + + public stop_slide(val) { + new slide_start_timer; + new slide_anim_id; + + set_int(title_slide_stop, 1); + set_int(title_slide_count, 0); + + slide_start_timer = get_int(title_slide_start_timer); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(title_slide_start_timer, 0); + } + slide_anim_id = get_int(title_slide_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(title_slide_anim_id, 0); + } + + set_text(PART:"elm.text.slide_begin_title", ""); + set_text(PART:"elm.text.slide_end_title", ""); + set_state(PART:"elm.text.slide_begin_title", "default", 0.0); + set_state(PART:"elm.text.slide_end_title", "default", 0.0); + set_state(PART:"title_text_clip", "default", 0.0); + set_state(PART:"slide_title_text_clip", "default", 0.0); + set_state(PART:"title_text_slide_effect_left", "default", 0.0); + set_state(PART:"title_text_slide_effect_right", "default", 0.0); + } + } + + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TAB_TITLE_H_INC; + max: -1 NAVIFRAME_TAB_TITLE_H_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color_class: "B0511"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + } + description { state: "hide_trans_landscape" 0.0; + inherit: "landscape" 0.0; + align: 0.0 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to_y: "title_bg"; } + rel2 { to_y: "title_bg"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "base"; + rel1.to_y: "title_bg"; + rel2.relative: 1.0 0.0; + rel2.to_x: "base"; + rel2.to_y: "toolbar"; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + fixed: 1 0; + min: NAVIFRAME_PADDING_INC; + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "divider2"; } + rel2 { relative: 1.0 1.0; to: "divider2"; } + } + description { state: "title_left_btn_set" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "divider1"; } + rel2 { relative: 1.0 1.0; to: "divider1"; } + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TAB_TEXT_H_INC; + max: -1 NAVIFRAME_TITLE_TAB_TEXT_H_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; } + rel2 { relative: 0.0 0.0; to_x: "title_right_padding"; to_y: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC; + } + } + part { name: "title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + visible: 1; + text { text_class: "T020"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + align: 0.0 0.5; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text { text_class: "T020"; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + } + } + } + part { name: "slide_title_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_text_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_bg"; } + } + } + part { name: "elm.text.slide_begin_title"; + type: TEXT; + scale: 1; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + visible: 1; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + text.align: 1.0 0.5; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "title_text_slide_effect_left_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 1.0 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } + rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + } + part { name: "elm.text.full_title"; + type: TEXT; + scale: 1; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + visible: 0; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + text.text_class: "T0203"; + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; + max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text.full_title"; } + rel2 { relative: 1.0 1.0; to: "elm.text.full_title"; } + } + } + part { name: "elm.text.slide_end_title"; + type: TEXT; + scale: 1; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + visible: 1; + text { text_class: "T020"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T020"; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_begin_landscape" 0.0; + inherit: "slide_begin" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + description { state: "slide_end_landscape" 0.0; + inherit: "slide_end" 0.0; + text.text_class: "T0203"; + color_class: "T0203"; + } + } + part { name: "title_text_slide_effect_right_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + align: 0.0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; } + } + } + part { name: "title_text_slide_effect_right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "slide_title_text_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; + align: 1.0 0.5; + fixed: 1 1; + visible: 0; + rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; } + rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; } + color_class: "B0511"; + image.normal: "00_effect_title_text_dim_right.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible_mirrored" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "00_effect_title_text_dim_left.#.png"; + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { to_x: "title_bg"; to_y: "title_text_bg"; } + rel2 { to_x: "title_bg"; to_y: "title_text_bg"; } + color: 0 0 0 0; + } + } + part { name: "divider1"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_left_btn"; } + rel2 { relative: 0.0 1.0; to: "title_left_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "title_left_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TAB_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to_x: "divider2"; to_y: "title_bg"; } + rel2 { relative: 0.0 0.0; to_x: "divider2"; to_y: "tabbar"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TAB_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider2"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 1; + color_class: "B0551"; + rel1 { relative: 0.0 0.0; to: "title_right_btn"; } + rel2 { relative: 0.0 1.0; to: "title_right_btn"; } + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 1 48; + max: 1 48; + } + } + part { name: "title_right_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TAB_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 0.0; to: "tabbar"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_TAB_TITLE_FUNC_BTN_SIZE_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "tabbar"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TAB_H_INC; + max: -1 NAVIFRAME_TITLE_TAB_H_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { relative: 0.0 1.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TITLE_TAB_H_INC; + max: -1 NAVIFRAME_LANDSCAPE_TITLE_TAB_H_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg_bottom_line"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + max: -1 NAVIFRAME_TITLE_BOTTOM_LINE_H_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "tabbar"; } + rel2 { relative: 1.0 0.0; to: "tabbar"; } + color_class: "B0512"; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar"; } + rel2 { relative: 0.0 1.0; to: "toolbar"; } + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "prev_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar"; } + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to: "toolbar"; } + rel2 { to: "toolbar"; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"clipper", "default", 0.0); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "start_title_slide"; + signal: "elm,action,title,slide,start"; + source: ""; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(title_slide_start_timer, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_title_slide"; + signal: "elm,action,title,slide,stop"; + source: ""; + script { + if (!get_int(title_slide_stop) || get_int(title_slide_start_timer)) + stop_slide(0); + } + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + if (!get_int(landscape)) { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"tabbar", "default", 0.0); + } + else { + set_state(PART:"title_bg", "landscape", 0.0); + set_state(PART:"tabbar", "landscape", 0.0); + } + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"tabbar", "hide", 0.0); + } + } + program { name: "title_show_anim"; + signal: "elm,action,title,show"; + source: "elm"; + script { + if (!get_int(landscape)) { + set_state(PART:"title_bg", "hide_trans", 0.0); + set_state(PART:"tabbar", "default", 0.0); + run_program(PROGRAM:"title_show_anim_start_default"); + } + else { + set_state(PART:"title_bg", "hide_trans_landscape", 0.0); + set_state(PART:"tabbar", "landscape", 0.0); + run_program(PROGRAM:"title_show_anim_start_landscape"); + } + } + } + program { name: "title_show_anim_start_default"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + target: "tabbar"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_start_landscape"; + action: STATE_SET "landscape" 0.0; + target: "title_bg"; + target: "tabbar"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_finished"; + script { + emit("elm,action,title,transition,finished", ""); + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + if (!get_int(landscape)) { + set_state(PART:"title_bg", "default", 0.0); + run_program(PROGRAM:"title_hide_trans_start_default"); + } + else { + set_state(PART:"title_bg", "landscape", 0.0); + run_program(PROGRAM:"title_hide_trans_start_landscape"); + } + } + } + program { name: "title_hide_trans_start_default"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_start_landscape"; + action: STATE_SET "hide_trans_landscape" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_finished"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"tabbar", "hide", 0.0); + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"start_title_slide"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + script { + run_program(PROGRAM:"stop_title_slide"); + } + } + program { name: "title_left_btn_show"; + signal: "elm,state,title_left_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_visible"); + set_int(title_left_btn_visible, 1); + } + } + program { name: "title_left_btn_visible"; + script { + set_state(PART:"divider1", "visible", 0.0); + set_state(PART:"title_right_padding", "title_left_btn_set", 0.0); + if (get_int(landscape)) + set_state(PART:"title_left_btn", "landscape", 0.0); + else + set_state(PART:"title_left_btn", "default", 0.0); + } + } + program { name: "title_left_btn_hide"; + signal: "elm,state,title_left_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_left_btn_invisible"); + set_int(title_left_btn_visible, 0); + } + } + program { name: "title_left_btn_invisible"; + script { + set_state(PART:"divider1", "default", 0.0); + set_state(PART:"title_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "hide", 0.0); + } + } + program { name: "title_right_btn_show"; + signal: "elm,state,title_right_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_visible"); + set_int(title_right_btn_visible, 1); + } + } + program { name: "title_right_btn_visible"; + script { + set_state(PART:"divider2", "visible", 0.0); + if (get_int(landscape)) + set_state(PART:"title_right_btn", "landscape", 0.0); + else + set_state(PART:"title_right_btn", "default", 0.0); + } + } + program { name: "title_right_btn_hide"; + signal: "elm,state,title_right_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_right_btn_invisible"); + set_int(title_right_btn_visible, 0); + } + } + program { name: "title_right_btn_invisible"; + script { + set_state(PART:"divider2", "default", 0.0); + set_state(PART:"title_right_btn", "hide", 0.0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open_internal"; + signal: "elm,state,toolbar,open,internal"; + source: "elm"; + script { + set_int(tbar_close, 0); + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_close_internal"; + signal: "elm,state,toolbar,close,internal"; + source: "elm"; + script { + set_int(tbar_close, 1); + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + transition: LINEAR 0.2; + after: "toolbar_open_internal"; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar"; + transition: LINEAR 0.2; + after: "toolbar_close_internal"; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,toolbar,open,internal", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,toolbar,close,internal", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,pushed,finished", ""); + } + } + program { name: "popped_finished"; + script { + run_program(PROGRAM:"stop_title_slide"); + emit("elm,action,popped,finished", ""); + } + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 1); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + run_program(PROGRAM:"stop_title_slide"); + set_int(mirrored, 0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"title_text_bg", "landscape", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "landscape", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "landscape", 0.0); + set_state(PART:"elm.text.title", "landscape", 0.0); + set_state(PART:"toolbar_more_btn", "landscape", 0.0); + set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"title_bg", "landscape", 0.0); + + get_state(PART:"tabbar", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"tabbar", "landscape", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"toolbar", "visible_landscape", 0.0); + + set_int(landscape, 1); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_state(PART:"title_text_bg", "default", 0.0); + if (get_int(title_left_btn_visible)) + set_state(PART:"title_left_btn", "default", 0.0); + if (get_int(title_right_btn_visible)) + set_state(PART:"title_right_btn", "default", 0.0); + set_state(PART:"elm.text.title", "default", 0.0); + set_state(PART:"toolbar_more_btn", "default", 0.0); + set_state(PART:"elm.swallow.prev_btn", "default", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"title_bg", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"title_bg", "default", 0.0); + + get_state(PART:"tabbar", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"tabbar", "default", 0.0); + + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"toolbar", "visible", 0.0); + + set_int(landscape, 0); + run_program(PROGRAM:"start_title_slide"); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/tabbar/notitle/default"; + data.item: "tizen_zoom" 1; + script { + public tbar_close = 0; //Toolbar lastest Open/Close status + public landscape = 0; //Landscape mode status + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TAB_TITLE_H2_INC; + max: -1 NAVIFRAME_TAB_TITLE_H2_INC; + align: 0.0 0.0; + fixed: 0 1; + visible: 0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to_y: "title_bg"; } + rel2 { to_y: "title_bg"; } + } + } + part { name: "tabbar"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: -1 NAVIFRAME_TAB_TITLE_H2_INC; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "base"; + rel1.to_y: "title_bg"; + rel2.relative: 1.0 0.0; + rel2.to_x: "base"; + rel2.to_y: "toolbar"; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar"; } + rel2 { relative: 0.0 1.0; to: "toolbar"; } + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "prev_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar"; } + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to: "toolbar"; } + rel2 { to: "toolbar"; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"tabbar", "default", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"tabbar", "hide", 0.0); + } + } + program { name: "title_show_anim"; + signal: "elm,action,title,show"; + source: "elm"; + script { + set_state(PART:"tabbar", "default", 0.0); + set_state(PART:"title_bg", "hide_trans", 0.0); + run_program(PROGRAM:"title_show_anim_start"); + } + } + program { name: "title_show_anim_start"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_finished"; + script { + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + run_program(PROGRAM:"title_hide_trans_start"); + } + } + program { name: "title_hide_trans_start"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_finished"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"tabbar", "hide", 0.0); + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open_internal"; + signal: "elm,state,toolbar,open,internal"; + source: "elm"; + script { + set_int(tbar_close, 0); + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_close_internal"; + signal: "elm,state,toolbar,close,internal"; + source: "elm"; + script { + set_int(tbar_close, 1); + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + transition: LINEAR 0.2; + after: "toolbar_open_internal"; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar"; + transition: LINEAR 0.2; + after: "toolbar_close_internal"; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,toolbar,open,internal", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,toolbar,close,internal", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"toolbar_more_btn", "landscape", 0.0); + set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"toolbar", "visible_landscape", 0.0); + + set_int(landscape, 1); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_state(PART:"toolbar_more_btn", "default", 0.0); + set_state(PART:"elm.swallow.prev_btn", "default", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"toolbar", "visible", 0.0); + + set_int(landscape, 0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/empty/default"; + data.item: "tizen_zoom" 1; + script { + public tbar_close = 0; //Toolbar lastest Open/Close status + public landscape = 0; //Landscape mode status + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "title"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "title"; + rel2.to: "title"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "base"; + rel1.to_y: "title"; + rel2.relative: 1.0 0.0; + rel2.to_x: "base"; + rel2.to_y: "toolbar"; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + description { state: "visible_landscape" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar"; } + rel2 { relative: 0.0 1.0; to: "toolbar"; } + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "prev_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar"; } + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + visible: 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { to: "toolbar"; } + rel2 { to: "toolbar"; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title", "default", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title", "hide", 0.0); + } + } + program { name: "title_show_anim"; + signal: "elm,action,title,show"; + source: "elm"; + script { + set_state(PART:"title", "hide_trans", 0.0); + run_program(PROGRAM:"title_show_anim_start"); + } + } + program { name: "title_show_anim_start"; + action: STATE_SET "default" 0.0; + target: "title"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_show_anim_finished"; + } + program { name: "title_show_anim_finished"; + script { + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + set_state(PART:"title", "default", 0.0); + run_program(PROGRAM:"title_hide_trans_start"); + } + } + program { name: "title_hide_trans_start"; + action: STATE_SET "hide_trans" 0.0; + target: "title"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans_finished"; + } + program { name: "title_hide_trans_finished"; + script { + set_state(PART:"title", "hide", 0.0); + emit("elm,action,title,transition,finished", ""); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open_internal"; + signal: "elm,state,toolbar,open,internal"; + source: "elm"; + script { + set_int(tbar_close, 0); + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + } + program { name: "toolbar_close_internal"; + signal: "elm,state,toolbar,close,internal"; + source: "elm"; + script { + set_int(tbar_close, 1); + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + script { + if (!get_int(landscape)) + set_state(PART:"toolbar", "visible", 0.0); + else + set_state(PART:"toolbar", "visible_landscape", 0.0); + } + transition: LINEAR 0.2; + after: "toolbar_open_internal"; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar"; + transition: LINEAR 0.2; + after: "toolbar_close_internal"; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,toolbar,open,internal", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,toolbar,close,internal", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"toolbar_more_btn", "landscape", 0.0); + set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"toolbar", "visible_landscape", 0.0); + + set_int(landscape, 1); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_state(PART:"toolbar_more_btn", "default", 0.0); + set_state(PART:"elm.swallow.prev_btn", "default", 0.0); + + new st[31]; + new Float:vl; + get_state(PART:"toolbar", st, 30, vl); + if (!strcmp(st, "visible_landscape")) + set_state(PART:"toolbar", "visible", 0.0); + + set_int(landscape, 0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/basic/uglib"; + data.item: "tizen_zoom" 1; + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "base"; + rel2.relative: 1.0 1.0; + rel2.to: "base"; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: DECELERATE NAVIFRAME_VIEW_PUSH_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_POP_TRANS_TIME; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"clipper", "default", 0.0); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + } + } + + group { name: "elm/naviframe/item/basic/transparent/default"; + inherit: "elm/naviframe/item/basic/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/drawers/transparent/default"; + inherit: "elm/naviframe/item/drawers/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/tabbar/transparent/default"; + inherit: "elm/naviframe/item/tabbar/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/tabbar/notitle/transparent/default"; + inherit: "elm/naviframe/item/tabbar/notitle/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/empty/transparent/default"; + inherit: "elm/naviframe/item/empty/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } diff --git a/2.2/widgets/notify.edc b/2.2/widgets/notify.edc new file mode 100644 index 0000000..36b76a2 --- /dev/null +++ b/2.2/widgets/notify.edc @@ -0,0 +1,500 @@ +/* + * 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. + */ +group { name: "elm/notify/block_events/default"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color_class: "B015"; + } + description { state: "clicked" 0.0; + color_class: "B015"; + } + } + } + programs { + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "default" 0.0; + target: "block_events"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/notify/top/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/center/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } +} + +group { name: "elm/notify/bottom/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/top_left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/top_right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/bottom_left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/bottom_right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.2/widgets/panel.edc b/2.2/widgets/panel.edc new file mode 100644 index 0000000..03b91de --- /dev/null +++ b/2.2/widgets/panel.edc @@ -0,0 +1,405 @@ +/* + * 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. + */ +group { name: "elm/scroller/panel/default"; + data { + item: "handler_size" "40"; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/scroller/panel/left/default"; + parts { + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "panel_area"; + } + rel2 { + relative: 1.0 1.0; + to: "panel_area"; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/right/default"; + parts { + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "event_area"; + } + rel2 { + relative: 1.0 1.0; + to: "event_area"; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/top/default"; + parts { + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "panel_area"; + } + rel2 { + relative: 1.0 1.0; + to: "panel_area"; + } + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/bottom/default"; + parts { + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "event_area"; + } + rel2 { + relative: 1.0 1.0; + to: "event_area"; + } + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} diff --git a/2.2/widgets/panes.edc b/2.2/widgets/panes.edc new file mode 100644 index 0000000..ae73c76 --- /dev/null +++ b/2.2/widgets/panes.edc @@ -0,0 +1,914 @@ +/* + * 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. + */ + + group { + name: "elm/panes/vertical/default"; + images { + image: "00_splite_handler_bg.#.png" COMP; + image: "00_splite_handler_v.png" COMP; + } + parts + { + part + { + name: "whole"; + type: SPACER; + description + { + state: "default" 0.0; + rel1.to_x: "pad_left"; + rel2.to_x: "pad_right"; + } + } + part { + name: "pad_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel2.relative:0.0 1.0; + min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; + fixed: 1 0; + align: 1.0 0.5; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "pad_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; + fixed: 1 0; + align: 0.0 0.5; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_x: "pad_left"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_bg"; + relative: 0.0 1.0; + } + } + description + { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + description + { + state: "hide" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_x: "bar_bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "pad_right"; + relative: 0.0 1.0; + } + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + type: RECT; + dragable { + confine: "whole"; + x: 1 1 1; + y: 0 0 0; + } + scale: 1; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999; + fixed: 0 1; + align: 1.0 0.5; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + min: 0 999999; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999; + } + description { state: "disabled" 0.1; + inherit: "default" 0.1; + } + } + part { name: "pad_bar_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; + align: 0.0 0.5; + rel1.to_x: "elm.bar"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.bar"; + } + fixed: 1 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "pad_bar_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "elm.bar"; + } + rel2.to_x: "elm.bar"; + fixed: 1 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "bar_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "pad_bar_left"; + } + rel2 { + relative: 0.0 1.0; + to_x: "pad_bar_right"; + } + fixed: 1 0; + image.normal: "00_splite_handler_bg.#.png"; + color_class: "W131"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "W131P"; + } + } + part { name:"bar_handler"; + mouse_events: 0; + description { state:"default" 0.0; + rel1 { + to_x: "bar_bg"; + relative: 0.0 0.5; + } + rel2 { + to_x: "bar_bg"; + relative: 1.0 0.5; + } + fixed: 0 1; + min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; + image.normal: "00_splite_handler_v.png"; + } + description { state:"clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_x: "elm.bar"; + rel2.to_x: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + script { + public state_pair = 1; //0:both contents are not set, 1:both contents are set + public frame_num, whole_drag; + + public drag_effect(val) { + new Float:time, Float:cur_drag, Float:drag; + new num; + + num = get_int(frame_num); + drag = get_float(whole_drag); + + num += 1; + time = 0.06 * num; // decide speed + cur_drag = drag - drag * sin(time * 90, DEGREES); + + set_int(frame_num, num); + + if (time < 1.0 && cur_drag > 0.0) { + set_drag(PART:"elm.bar", cur_drag, 0.0); + timer(0.02, "drag_effect", val); + } + else { + set_drag(PART:"elm.bar", 0.0, 0.0); + run_program(PROGRAM:"left_content_reset"); + } + } + } + programs { + program { + name: "load"; + signal: "load"; + source: ""; + script { + set_int(state_pair, 1); + } + } + program { + name: "drag_effect_start"; + signal: "left,hide,effect"; + source: ""; + script { + new Float:x, Float:y; + + get_drag(PART:"elm.bar", x, y); + set_float(whole_drag, x); + set_int(frame_num, 0); + + timer(0.02, "drag_effect", 0); + } + after: "left_content_hide"; + } + program { + name: "left_content_hide"; + action: STATE_SET "hide" 0.0; + transition: DECELERATE 0.4; + target: "elm.swallow.left"; + target: "whole_left"; + } + program { + name: "left_content_reset"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.left"; + target: "whole_left"; + after: "effect_finished"; + } + program { + name: "effect_finished"; + action: SIGNAL_EMIT "left,hide,effect,finished" ""; + } + program { + name: "panes_pair"; + signal: "elm,panes,pair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 1); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.0); + set_state(PART:"pad_left", "default", 0.0); + set_state(PART:"pad_right", "default", 0.0); + set_state(PART:"pad_bar_left", "default", 0.0); + set_state(PART:"pad_bar_right", "default", 0.0); + } + } + program { + name: "panes_unpair"; + signal: "elm,panes,unpair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 0); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.1); + set_state(PART:"pad_left", "hidden", 0.0); + set_state(PART:"pad_right", "hidden", 0.0); + set_state(PART:"pad_bar_left", "hidden", 0.0); + set_state(PART:"pad_bar_right", "hidden", 0.0); + } + } + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + script { + set_state(PART:"bar_bg", "clicked", 0.0); + } + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_unclick_anim"; + script { + set_state(PART:"bar_bg", "default", 0.0); + } + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar_disabled"; + target: "bar_handler"; + after: "after_fixed"; + } + program { + name: "after_fixed"; + script { + if (get_int(state_pair)) + set_state(PART:"elm.bar", "disabled", 0.0); + else + set_state(PART:"elm.bar", "disabled", 0.1); + } + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar_disabled"; + target: "bar_handler"; + after: "after_unfixed"; + } + program { + name: "after_unfixed"; + script { + if (get_int(state_pair)) + set_state(PART:"elm.bar", "default", 0.0); + else + set_state(PART:"elm.bar", "default", 0.1); + } + } + } + } + + group { + name: "elm/panes/horizontal/default"; + images { + image: "00_splite_handler_bg.#.png" COMP; + image: "00_splite_handler_h.png" COMP; + } + script { + public state_pair = 1; //0:both contents are not set, 1:both contents are set + } + parts + { + part + { + name: "whole"; + type: SPACER; + description + { + state: "default" 0.0; + rel1.to_y: "pad_left"; + rel2.to_y: "pad_right"; + } + } + part { + name: "pad_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel2.relative:1.0 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; + fixed: 0 1; + align: 0.5 1.0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "pad_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; + fixed: 0 1; + align: 0.5 0.0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_y: "pad_left"; + relative: 0.0 1.0; + } + rel2 { + to_y: "bar_bg"; + relative: 1.0 0.0; + } + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + } + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_y: "bar_bg"; + relative: 0.0 1.0; + } + rel2 { + to_y: "pad_right"; + relative: 1.0 0.0; + } + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + type: RECT; + dragable { + confine: "whole"; + x: 0 0 0; + y: 1 1 1; + } + scale: 1; + description { state: "default" 0.0; + min: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; + fixed: 1 0; + align: 0.5 0.0; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + min: 999999 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + min: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC; + visible: 0; + } + description { state: "disabled" 0.1; + inherit: "default" 0.1; + } + } + part { name: "pad_bar_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; + align: 0.5 0.0; + rel1.to_y: "elm.bar"; + rel2 { + relative: 1.0 0.0; + to_y: "elm.bar"; + } + fixed: 0 1; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "pad_bar_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to_y: "elm.bar"; + } + rel2.to_y: "elm.bar"; + fixed: 0 1; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "bar_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "pad_bar_left"; + } + rel2 { + relative: 1.0 0.0; + to_y: "pad_bar_right"; + } + fixed: 0 1; + image.normal: "00_splite_handler_bg.#.png"; + color_class: "W131"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "W131P"; + } + } + part { name:"bar_handler"; + mouse_events: 0; + description { state:"default" 0.0; + rel1 { + to_y: "bar_bg"; + relative: 0.5 0.0; + } + rel2 { + to_y: "bar_bg"; + relative: 0.5 1.0; + } + fixed: 1 0; + min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0; + image.normal: "00_splite_handler_h.png"; + } + description { state:"clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_y: "elm.bar"; + rel2.to_y: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "load"; + signal: "load"; + source: ""; + script { + set_int(state_pair, 1); + } + } + program { + name: "panes_pair"; + signal: "elm,panes,pair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 1); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.0); + set_state(PART:"pad_left", "default", 0.0); + set_state(PART:"pad_right", "default", 0.0); + set_state(PART:"pad_bar_left", "default", 0.0); + set_state(PART:"pad_bar_right", "default", 0.0); + } + } + program { + name: "panes_unpair"; + signal: "elm,panes,unpair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 0); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.1); + set_state(PART:"pad_left", "hidden", 0.0); + set_state(PART:"pad_right", "hidden", 0.0); + set_state(PART:"pad_bar_left", "hidden", 0.0); + set_state(PART:"pad_bar_right", "hidden", 0.0); + } + } + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + script { + set_state(PART:"bar_bg", "clicked", 0.0); + } + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_unclick_anim"; + script { + set_state(PART:"bar_bg", "default", 0.0); + } + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar_disabled"; + target: "bar_handler"; + after: "after_fixed"; + } + program { + name: "after_fixed"; + script { + if (get_int(state_pair)) + set_state(PART:"elm.bar", "disabled", 0.0); + else + set_state(PART:"elm.bar", "disabled", 0.1); + } + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar_disabled"; + target: "bar_handler"; + after: "after_unfixed"; + } + program { + name: "after_unfixed"; + script { + if (get_int(state_pair)) + set_state(PART:"elm.bar", "default", 0.0); + else + set_state(PART:"elm.bar", "default", 0.1); + } + } + } + } diff --git a/2.2/widgets/photocam.edc b/2.2/widgets/photocam.edc new file mode 100644 index 0000000..7c988ec --- /dev/null +++ b/2.2/widgets/photocam.edc @@ -0,0 +1,524 @@ +/* + * 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. + */ + +group { name: "elm/photocam/base/default"; + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "00_scroll_bar_v.#.png" COMP; + image: "00_scroll_bar_h.#.png" COMP; + image: "00_list_process_L_00.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "conf_over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + visible: 0; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + max: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "00_list_process_L_00.png"; + } + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + map { + on: 1; + smooth: 0; + perspective_on: 1; + rotation { + z: -360; + } + } + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part {name: "vbar.padding"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; + align: 1 0.5; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_y: "elm.swallow.content"; + to_x: "vbar.padding"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "00_scroll_bar_v.#.png"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part {name: "hbar.padding"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; + max: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; + align: 1 1; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + to_y: "hbar.padding"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + color: 255 255 255 0; + image { + normal: "00_scroll_bar_h.#.png"; + middle: SOLID; + } + color_class: "B071"; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(2.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "continue_pulse"; + action: STATE_SET "default" 0.0; + target: "busy"; + transition: LINEAR 1.5; + after: "start_pulse"; + } + program { name: "start_pulse"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "busy"; + after: "continue_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "busy"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: ACTION_STOP; + target: "continue_pulse"; + target: "start_pulse"; + after: "init_pulse"; + } + } + } + diff --git a/2.2/widgets/popup.edc b/2.2/widgets/popup.edc new file mode 100644 index 0000000..868cd15 --- /dev/null +++ b/2.2/widgets/popup.edc @@ -0,0 +1,2893 @@ +/* + * 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. + */ + +#define POPUP_ITEM_STATE_ENABLED 0 +#define POPUP_ITEM_STATE_DISABLED 1 + +/*popup widget specific notify style*/ +group { name: "elm/notify/center/content_expand"; + alias: "elm/notify/center/content_expand_transparent"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "persp"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.5; + color: 0 0 0 0; + visible: 1; + perspective { + zplane: -200; + focal: 1000; + } + } + } + part { name: "persp1"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + color: 0 0 0 0; + perspective { + zplane: 0; + focal: 1000; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + perspective: "persp"; + smooth: 0; + color[0]: 1 1 1 1; + color[1]: 1 1 1 1; + color[2]: 1 1 1 1; + color[3]: 1 1 1 1; + } + } + description { state: "visible" 0.0; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + perspective: "persp1"; + smooth: 0; + } + } + description { state: "end" 0.0; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 0; + perspective: "persp1"; + smooth: 0; + } + } + } + part { name: "block"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + visible: 1; + color: 0 0 0 0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + action: STATE_SET "end" 0.0; + target: "elm.swallow.content"; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "show_1"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "end"; + } + program { name: "end"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + transition: SIN_FAC 0.166 1.4; + after: "end2"; + } + program { name: "end2"; + action: STATE_SET "end" 0.0; + target: "elm.swallow.content"; + target: "block"; + after: "showfinished"; + } + program { name: "showfinished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/notify/center/popup"; + alias: "elm/notify/center/verticalbuttonstyle"; + alias: "elm/notify/center/dimrect"; + alias: "elm/notify/center/transparent"; + alias: "elm/notify/center/verticalbuttonstyle_transparent"; + inherit: "elm/notify/center/content_expand"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + } + } + } + programs { + program { name: "change_to_landscape"; + action: STATE_SET "landscape" 0.0; + target: "base"; + } + program { name: "change_to_portrait"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } +} + +/*popup widget specific notify style*/ +group { name: "elm/notify/top/popup"; + inherit: "elm/notify/center/popup"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + fixed: 1 0; + } + } + part { name: "persp"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.0; + color: 0 0 0 0; + visible: 1; + perspective { + zplane: -200; + focal: 1000; + } + } + } + part { name: "persp1"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 0.0; + visible: 1; + color: 0 0 0 0; + perspective { + zplane: 0; + focal: 1000; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + fixed: 1 1; + map { + on: 1; + perspective: "persp"; + smooth: 0; + color[0]: 1 1 1 1; + color[1]: 1 1 1 1; + color[2]: 1 1 1 1; + color[3]: 1 1 1 1; + } + } + description { state: "visible" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + fixed: 1 1; + map { + on: 1; + perspective: "persp1"; + smooth: 0; + } + } + description { state: "end" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + fixed: 1 1; + map { + on: 0; + perspective: "persp1"; + smooth: 0; + } + } + } + } +} + +/*popup widget specific notify style*/ +group { name: "elm/notify/bottom/popup"; + inherit: "elm/notify/center/popup"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + align: 0.5 1.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + fixed: 1 0; + } + } + part { name: "persp"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 1.0; + color: 0 0 0 0; + visible: 1; + perspective { + zplane: -200; + focal: 1000; + } + } + } + part { name: "persp1"; + type: RECT; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + fixed: 1 1; + align: 0.5 1.0; + visible: 1; + color: 0 0 0 0; + perspective { + zplane: 0; + focal: 1000; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + map { + on: 1; + perspective: "persp"; + smooth: 0; + color[0]: 1 1 1 1; + color[1]: 1 1 1 1; + color[2]: 1 1 1 1; + color[3]: 1 1 1 1; + } + } + description { state: "visible" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + map { + on: 1; + perspective: "persp1"; + smooth: 0; + } + } + description { state: "end" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + map { + on: 0; + perspective: "persp1"; + smooth: 0; + } + } + } + } +} + +group { name: "elm/notify/center/no_effect"; + alias: "elm/notify/bottom/no_effect"; + alias: "elm/notify/top/no_effect"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } +} + +group { name: "elm/notify/block_events/popup"; + alias: "elm/notify/block_events/verticalbuttonstyle"; + alias: "elm/notify/block_events/content_expand"; + script { + public event_grab = 0; + } + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "transparent"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + } + part { name: "event"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { state: "default" 0.0; + rel1.to: "block_events_color"; + rel2.to: "block_events_color"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "mouse_down"; + signal: "mouse,down,1"; + source: "event"; + script { + set_int(event_grab, 1); + } + } + program { name: "mouse_drag"; + signal: "drag"; + source: "event"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) + set_int(event_grab, 0); + } + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(event_grab)) { + run_program(PROGRAM:"block_clicked"); + } + set_drag(PART:"event", 0.0, 0.0); + set_int(event_grab, 0); + } + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "show1"; + signal: "show"; + action: STATE_SET "show" 0.0; + transition: SIN_FAC 0.166 0.5; + target: "block_events_color"; + } + program { name: "block_clicked"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "show" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/notify/block_events/center_popup"; + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "transparent"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "show1"; + signal: "show"; + action: STATE_SET "show" 0.0; + transition: SIN_FAC 0.166 0.5; + target: "block_events_color"; + } + program { name: "block_clicked"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "show" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/notify/block_events/no_effect"; + script { + public event_grab = 0; + } + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "B015"; + } + } + part { name: "event"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { state: "default" 0.0; + rel1.to: "block_events_color"; + rel2.to: "block_events_color"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "mouse_down"; + signal: "mouse,down,1"; + source: "event"; + script { + set_int(event_grab, 1); + } + } + program { name: "mouse_drag"; + signal: "drag"; + source: "event"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) + set_int(event_grab, 0); + } + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(event_grab)) { + run_program(PROGRAM:"block_clicked"); + } + set_drag(PART:"event", 0.0, 0.0); + set_int(event_grab, 0); + } + } + program { name: "show"; + signal: "show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "block_clicked"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/notify/block_events/transparent"; + alias: "elm/notify/block_events/verticalbuttonstyle_transparent"; + alias: "elm/notify/block_events/content_expand_transparent"; + script { + public event_grab = 0; + } + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color: POPUP_DIM_BG_TRANS_COLOR_INC; + } + } + part { name: "event"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { state: "default" 0.0; + rel1.to: "block_events"; + rel2.to: "block_events"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "mouse_down"; + signal: "mouse,down,1"; + source: "event"; + script { + set_int(event_grab, 1); + } + } + program { name: "mouse_drag"; + signal: "drag"; + source: "event"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) + set_int(event_grab, 0); + } + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(event_grab)) { + run_program(PROGRAM:"block_clicked"); + } + set_drag(PART:"event", 0.0, 0.0); + set_int(event_grab, 0); + } + } + program { name: "block_clicked"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/notify/block_events/dimrect"; + inherit: "elm/notify/block_events/transparent"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color_class: "B015"; + } + } + } +} + +group { name: "elm/label/base/popup/default"; + alias: "elm/label/base/popup/content_expand"; + alias: "elm/label/base/popup/transparent"; + alias: "elm/label/base/popup/verticalbuttonstyle"; + alias: "elm/label/base/popup/dimrect"; + alias: "elm/label/base/popup/no_effect"; + alias: "elm/label/base/popup/center_popup"; + styles { + style { name: "popup_desc_style"; + base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color=#FFFFFF color_class=T123 wrap=char text_class=T123"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "popup_desc_disable_style"; + base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color=#FFFFFF color_class=T123D wrap=char text_class=T123D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "pad_t"; + type: SPACER; + scale: 1; + description { state: "default" 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; + rel1 { + relative: 1.0 0.0; + to_x: "pad_l"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + } + } + } + part { name: "pad_l"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; + max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } + part { name: "pad_r"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; + max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to_x: "pad_l"; + to_y: "pad_t"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + to_y: "pad_b"; + } + text { + style: "popup_desc_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "popup_desc_disable_style"; + min: 0 1; + max: 0 1; + } + } + } + part { name: "pad_b"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + rel1 { + relative: 0.0 1.0; + to_x: "pad_l"; + } + rel2.to_x: "pad_r"; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/popup/base/default"; + alias: "elm/popup/base/transparent"; + data { + item: "focus_highlight" "on"; + item: "title_height" POPUP_TITLE_AREA_HEIGHT; + item: "popup_outside_pad" POPUP_OUTSIDE_PADDING; + } + images { + image: "00_popup_bg_ef.#.png" COMP; + } + styles { + style { name: "popup_title_style"; + base: "font=Tizen:style=Regular align=left font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T121 wrap=mixed ellipsis=1.0 text_class=T121"; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + styles { + style { name: "popup_title_style2"; + base: "font=Tizen:style=Regular align=right font_size="POPUP_DOW_DEFAULT_FONT_SIZE_INC" color=#FFFFFF color_class=T1211 wrap=mixed ellipsis=1.0 text_class=T1211"; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + color_class: "B061L1"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + } + } + part { + name:"shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; + max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; + align: 1 1; + fixed: 1 1; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 0.0 0.0; + } + } + } + part { + name:"shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; + max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; + align: 0 0; + fixed: 1 1; + rel1 { + to: "base"; + relative: 1.0 1.0; + } + rel2.to: "base"; + } + } + part { name: "popup_effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "shadow_left_top_padding"; + rel2.to: "shadow_right_bottom_padding"; + image.normal: "00_popup_bg_ef.#.png"; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "elm.bg.title"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + relative: 1.0 1.0; + to: "shadow_left_top_padding"; + } + rel2 { + relative: 0.0 1.0; + to_x: "shadow_right_bottom_padding"; + to_y: "shadow_left_top_padding"; + } + color_class: "B061L2"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + } + description { state: "landscape_visible" 0.0; + inherit: "landscape" 0.0; + min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC; + } + } + part { name: "action_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_ACTION_DESC_TOP_PADDING; + max: 0 POPUP_ACTION_DESC_TOP_PADDING; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + relative: 0.5 1.0; + to_y: "shadow_left_top_padding"; + } + rel2 { + relative: 0.5 1.0; + to_y: "shadow_left_top_padding"; + } + } + } + part { name: "title_bottom_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 1; + align: 0.5 1; + rel1 { + to: "elm.bg.title"; + relative: 0.0 1.0; + } + rel2.to: "elm.bg.title"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 1; + max: -1 1; + fixed: 1 1; + color_class: "B061L3"; + } + } + part { name: "title_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.bg.title"; + fixed: 1 1; + min: POPUP_TITLE_LEFT_PADDING 0; + max: POPUP_TITLE_LEFT_PADDING 0; + } + } + part { name: "title_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel2.to: "elm.bg.title"; + fixed: 1 1; + min: POPUP_TITLE_RIGHT_PADDING 0; + max: POPUP_TITLE_RIGHT_PADDING 0; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "title_left_top_padding"; + } + rel2 { + relative: 1.0 1.0; + to_x: "title_left_top_padding"; + to_y: "elm.bg.title"; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; + max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; + } + } + part { name: "padding_after_icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "icon_rect"; + } + rel2 { + relative: 1.0 0.0; + to: "icon_rect"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_TITLE_ICON_TEXT_PADDING_INC; + } + } + part { name: "elm.swallow.title.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "icon_rect"; + rel2.to: "icon_rect"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + fixed: 1 1; + text { + style: "popup_title_style"; + size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; + align: 0.0 0.5; + } + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "title_left_top_padding"; + } + rel2 { + relative: 0.0 1.0; + to: "title_right_bottom_padding"; + } + align: 0.0 0.5; + } + } + part { name: "elm.text.title2"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + fixed: 1 1; + text { + style: "popup_title_style2"; + size: POPUP_DOW_DEFAULT_FONT_SIZE_INC; + align: 0.0 0.5; + } + rel1 { + relative: 1.0 1.0; + to_x: "padding_after_icon"; + to_y: "title_left_top_padding"; + } + rel2 { + relative: 0.0 1.0; + to: "title_right_bottom_padding"; + } + align: 0.0 0.5; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bg.title"; + rel2.to: "elm.bg.title"; + color: 0 0 0 0; + } + } + part { name: "access.body"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "shadow_left_top_padding"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + to_x: "shadow_right_bottom_padding"; + to_y: "elm.swallow.content"; + } + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + description { state: "show_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.bg.title"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + description { state: "show_action_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + to: "elm.swallow.action_area"; + } + } + description { state: "show_action_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.bg.title"; + } + rel2 { + relative: 1.0 0.0; + to: "elm.swallow.action_area"; + } + } + } + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + fixed : 1 1; + align: 0.5 1.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC; + visible: 1; + } + } + } + programs { + program { name: show_title_icon; + signal: "elm,state,title,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "icon_rect"; + target: "padding_after_icon"; + } + program { name: hide_title_icon; + signal: "elm,state,title,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "padding_after_icon"; + target: "icon_rect"; + } + program { name: show_title_area; + signal: "elm,state,title_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", 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:"base", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"elm.bg.title", "landscape_visible", 0.0); + else + set_state(PART:"elm.bg.title", "visible", 0.0); + set_state(PART:"title_bottom_line", "visible", 0.0); + } + } + program { name: hide_title_area; + signal: "elm,state,title_area,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", 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); + get_state(PART:"base", st, 30, vl); + if (!strcmp(st, "landscape")) + set_state(PART:"elm.bg.title", "landscape", 0.0); + else + set_state(PART:"elm.bg.title", "default", 0.0); + set_state(PART:"title_bottom_line", "default", 0.0); + } + } + program { name: show_action_area; + signal: "elm,state,action_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.bg.title", st, 30, vl); + if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) + set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "show_action_area", 0.0); + set_state(PART:"elm.swallow.action_area", "visible", 0.0); + } + } + program { name: hide_action_area; + signal: "elm,state,action_area,hidden"; + source: "elm"; + 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, "visible")) || (!strcmp(st, "landscape_visible"))) + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.swallow.action_area", "default", 0.0); + } + } + program { name: "change_to_landscape"; + script { + new st[31]; + new Float:vl; + set_state(PART:"base", "landscape", 0.0); + get_state(PART:"elm.bg.title", st, 30, vl); + if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) + set_state(PART:"elm.bg.title", "landscape_visible", 0.0); + else + set_state(PART:"elm.bg.title", "landscape", 0.0); + } + after: "orientation_change"; + } + program { name: "orientation_change"; + action: SIGNAL_EMIT "elm,state,orientation,changed" ""; + } + program { name: "change_to_portrait"; + script { + new st[31]; + new Float:vl; + set_state(PART:"base", "default", 0.0); + get_state(PART:"elm.bg.title", st, 30, vl); + if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) + set_state(PART:"elm.bg.title", "visible", 0.0); + else + set_state(PART:"elm.bg.title", "default", 0.0); + } + after: "orientation_change"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } /* end of programs */ +} + +group { name: "elm/popup/base/verticalbuttonstyle"; + alias: "elm/popup/base/verticalbuttonstyle_transparent"; + inherit: "elm/popup/base/default"; + parts { + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + min: POPUP_BASE_VERTICAL_3BUTTON_BUTTONAREA_DEFAULT_MIN_INC; + rel1 { + relative: 1.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + description { state: "2buttons" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_VERTICAL_2BUTTON_BUTTONAREA_DEFAULT_MIN_INC; + } + } + } + programs { + program { name: 2buttons_style; + signal: "elm,state,2button"; + source: "elm"; + action: STATE_SET "2buttons" 0.0; + target: "elm.swallow.action_area"; + } + } +} + +group { name: "elm/popup/content/default"; + alias: "elm/popup/content/transparent"; + parts{ + part { name:"elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_AREA_DEFAULT_MIN_INC; + } + description { state: "landscape" 0.0; + min: POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC; + } + } + } + programs { + program { name: "orientation_change"; + action: SIGNAL_EMIT "elm,state,orientation,changed" ""; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + action: STATE_SET "landscape" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + action: STATE_SET "landscape" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// + +group { name: "elm/popup/item/default"; + script { + public item_state = POPUP_ITEM_STATE_ENABLED; + } + parts { + part { name: "event_blocker"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "left_top_pad"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_ITEM_BG_LEFT_TOP_PAD_MIN_INC; + max: POPUP_ITEM_BG_LEFT_TOP_PAD_MIN_INC; + fixed: 1 1; + align: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_bottom_pad"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_ITEM_BG_RIGHT_BOTTOM_PAD_MIN_INC; + max: POPUP_ITEM_BG_RIGHT_BOTTOM_PAD_MIN_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1.relative: 1.0 0.0; + } + } + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: POPUP_ITEM_BG_DEFAULT_MIN_INC; + align: 0.5 0.0; + rel1 { + relative: 1.0 1.0; + to: "left_top_pad"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_pad"; + } + color_class: "B061L41P"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: POPUP_ITEM_LEFT_MIN_PADDING_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: POPUP_ITEM_RIGHT_MIN_PADDING_INC; + fixed: 1 1; + } + } + part { name: "bottom_line"; + scale: 1; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 1; + max: -1 1; + fixed: 0 1; + align: 0.5 1; + color_class: "B0621L2"; + rel1 { + relative: 1.0 0.0; + to_x: "left_top_pad"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_bottom_pad"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + } + description { state: "visible" 0.0; + fixed: 1 1; + min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + } + } + part { name: "padding_icon_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2.to: "elm.swallow.content"; + fixed: 1 1; + min: 0 0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + min: POPUP_ITEM_ICON_TEXT_PADDING_INC; + fixed: 1 0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "padding_icon_text"; + to_y: "left_top_pad"; + } + rel2 { + relative: 0.0 0.0; + to:"right_bottom_pad"; + } + align: 0.0 0.5; + color_class: "T125"; + text { + align: 0 0.5; + min: 0 1; + size: 42; + text_class: "T125"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + text.text_class: "T125P"; + color_class: "T125P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T125D"; + color_class: "T125D"; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + text.text_class: "T125D"; + color_class: "T125D"; + visible: 1; + } + } + part { name: "over1"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + color: 0 0 0 0; + } + } + part { name: "focus_bg"; + type: IMAGE; + description { state: "default" 0.0; + visible: 0; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + program { name: "item_unclick"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + after: "touch_snd"; + } + program { name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,item,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + after: "disable_text"; + } + program { name: "enable"; + signal: "elm,state,item,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + after: "enable_text"; + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "over2"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked")) + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "item_click2"; + signal: "elm,state,selected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + } + program { name: "item_unclick2"; + signal: "elm,state,unselected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked")) + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(item_state, POPUP_ITEM_STATE_DISABLED); + } + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(item_state, POPUP_ITEM_STATE_ENABLED); + } + } + program { name: "text_show"; + signal: "elm,state,item,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,item,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,item,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,item,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "hide_bottom_line"; + signal: "elm,state,item,bottomline,hide"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bottom_line"; + } + program { name: "show_bottom_line"; + signal: "elm,state,item,bottomline,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bottom_line"; + } + program { name: "hide_bottomline"; + signal: "elm,state,bottomline,hide"; + source: ""; + action: SIGNAL_EMIT "elm,action,bottomline,hide" ""; + } + program { name: "show_bottomline"; + signal: "elm,state,bottomline,show"; + source: ""; + action: SIGNAL_EMIT "elm,action,bottomline,show" ""; + } + program { name: "activate"; + signal: "elm,anim,activate"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + after: "activate2"; + } + program { name: "activate2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bg"; + after: "activate3"; + } + program { name: "activate3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked")) + set_state(PART:"elm.text", "visible", 0.0); + emit("elm,action,click", ""); + } + } + } +} + +///////////////////////////////////////////////////////////////////////////////////////// +group { name: "elm/popup/item/landscape/default"; + inherit: "elm/popup/item/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: POPUP_ITEM_BG_LANDCAPE_MIN_INC; + rel1 { + relative: 1.0 1.0; + to: "left_top_pad"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_pad"; + } + align: 0.5 0.0; + color_class: "B061L41P"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } +} + +group { name: "elm/popup/buttons2/verticalbuttonstyle"; + alias: "elm/popup/buttons2/verticalbuttonstyle_transparent"; + data.item: "action_area_height" POPUP_BUTTON2_VERTICAL_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider_02.#.png" COMP; + parts { + part { name: "bg"; + scale : 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_BUTTON2_VERTICAL_BUTTON_BG_INC; + fixed: 1 0; + } + } + part { name: "elm.rect.pad_btn_top"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: POPUP_BUTTON_VERTICAL_BUTTON_PADDING_TOP_MIN_INC; + fixed: 0 1; + align: 0.0 0.0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + max: -1 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "elm.rect.pad_btn_top"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC; + max: -1 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC; + fixed: 0 1; + align: 0.5 0.0; + color_class: "B0621L6"; + image.normal: "00_popup_button_divider_02.#.png"; + rel1 { + relative: 0.0 1.0; + to: "actionbtn1"; + } + rel2 { + relative: 1.0 1.0; + to: "actionbtn1"; + } + } + } + part { name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + max: -1 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + fixed: 1 1; + align: 0.5 0.0; + rel1 { relative: 0 1.0; + to_y: "elm.rect.pad_btn"; + } + } + } + } +} + + +group { name: "elm/popup/buttons3/verticalbuttonstyle"; + alias: "elm/popup/buttons3/verticalbuttonstyle_transparent"; + data.item: "action_area_height" POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider_02.#.png" COMP; + parts { + part { name: "bg"; + scale : 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_BUTTON3_VERTICAL_BUTTON_BG_INC; + fixed: 1 0; + } + } + part { name: "elm.rect.pad_btn_top"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: POPUP_BUTTON_VERTICAL_BUTTON_PADDING_TOP_MIN_INC; + fixed: 0 1; + align: 0.0 0.0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + max: -1 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "elm.rect.pad_btn_top"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC; + max: -1 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC; + fixed: 0 1; + align: 0.5 0.0; + color_class: "B0621L6"; + image.normal: "00_popup_button_divider_02.#.png"; + rel1 { + relative: 0.0 1.0; + to: "actionbtn1"; + } + rel2 { + relative: 1.0 1.0; + to: "actionbtn1"; + } + } + } + part { name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + max: -1 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 0 1.0; + to_y: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn2"; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC; + max: -1 POPUP_BUTTON_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC; + fixed: 0 1; + align: 0.5 0.0; + color_class: "B0621L6"; + image.normal: "00_popup_button_divider_02.#.png"; + rel1 { + relative: 0.0 1.0; + to: "actionbtn2"; + } + rel2 { + relative: 1.0 1.0; + to: "actionbtn2"; + } + } + } + part { name:"actionbtn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + max: -1 POPUP_BUTTON2_DEFAULT_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; to_y: "elm.rect.pad_btn2"; + } + } + } + } +} + +group { name: "elm/popup/buttons1/default"; + alias: "elm/popup/buttons1/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "elm/popup/buttons2/default"; + alias: "elm/popup/buttons2/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider.png" COMP; + parts{ + part { name: "left_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 0 0.5; + rel1.relative: 0.0 0.0; + } + } + part { name: "right_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 1 0.5; + rel2.relative: 1.0 1.0; + } + } + part { name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_popup_button_divider.png"; + color_class: "B0621L6"; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + } +} + +group { name: "elm/popup/buttons3/default"; + alias: "elm/popup/buttons3/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider.png" COMP; + parts{ + part { name: "left_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 0 0.5; + rel1.relative: 0.0 0.0; + } + } + part { name: "right_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 1 0.5; + rel2.relative: 1.0 1.0; + } + } + part { name: "btn_area"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_popup_button_divider.png"; + color_class: "B0621L6"; + rel1.relative: 0.33 0.0; + rel1.to: "btn_area"; + rel2.relative: 0.33 1.0; + rel2.to: "btn_area"; + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn2"; + } + } + } + part { name: "elm.rect.pad_btn2"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + image.normal: "00_popup_button_divider.png"; + color_class: "B0621L6"; + fixed: 1 1; + rel1.relative: 0.67 0.0; + rel1.to: "btn_area"; + rel2.relative: 0.67 1.0; + rel2.to: "btn_area"; + } + } + part{ name:"actionbtn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn2"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + } +} + +group { name: "elm/popup/base/content_expand"; + alias: "elm/popup/base/content_expand_transparent"; + data { + item: "title_height" POPUP_TITLE_AREA_HEIGHT; + item: "popup_outside_pad" POPUP_OUTSIDE_PADDING; + } + images { + image: "00_popup_bg_ef.#.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.content"; + rel2.to_x: "elm.swallow.content"; + color_class: "B061L1"; + align: 0.0 0.0; + } + } + part { name: "popup_effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "shadow_left_top_padding"; + rel2.to: "shadow_right_bottom_padding"; + image.normal: "00_popup_bg_ef.#.png"; + } + } + part { + name:"shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; + max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; + align: 1.0 1.0; + fixed: 1 1; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 0.0 0.0; + } + } + } + part { + name:"shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; + max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + to: "base"; + relative: 1.0 1.0; + } + rel2.to: "base"; + } + } + part { name: "elm.bg.title"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC; + fixed : 0 1; + align: 0.5 0.0; + rel1 { + relative: 1.0 1.0; + to: "shadow_left_top_padding"; + } + rel2 { + relative: 0.0 1.0; + to_x: "shadow_right_bottom_padding"; + to_y: "shadow_left_top_padding"; + } + color_class: "B061L2"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "title_bottom_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to: "elm.bg.title"; + relative: 0.0 1.0; + } + rel2.to: "elm.bg.title"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 1; + max: -1 1; + fixed: 1 1; + color_class: "B061L3"; + } + } + part { name: "left_pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; + max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "elm.bg.title"; + } + } + part { name: "right_pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; + max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; + fixed: 1 1; + align: 1.0 1.0; + rel2.to: "elm.bg.title"; + } + } + part { name: "elm.swallow.title.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; + max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "left_pad"; + relative: 1.0 1.0; + } + rel2 { + to: "right_pad"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + text { + style: "popup_title_style"; + size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; + align: 0.0 0.5; + } + visible: 0; + rel1 { + to: "left_pad"; + relative: 1.0 1.0; + } + rel2 { + to: "right_pad"; + relative: 0.0 1.0; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + description { state: "show_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + to_y: "elm.bg.title"; + } + } + description { state: "show_action_area" 0.0; + inherit: "default" 0.0; + rel2 { + relative: 0.5 1.0; + to_y: "elm.swallow.action_area"; + } + } + description { state: "show_action_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + to_y: "elm.bg.title"; + } + rel2 { + relative: 0.5 1.0; + to_y: "elm.swallow.action_area"; + } + } + } + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + fixed : 0 1; + align: 0.5 1.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC; + } + } + } + programs { + program { name: show_title_icon; + signal: "elm,state,title,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.title.icon"; + } + program { name: hide_title_icon; + signal: "elm,state,title,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.title.icon"; + } + program { name: show_title_text; + signal: "elm,state,title,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.title"; + } + program { name: hide_title_text; + signal: "elm,state,title,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + } + program { name: show_title_area; + signal: "elm,state,title_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", 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); + set_state(PART:"elm.bg.title", "visible", 0.0); + set_state(PART:"title_bottom_line", "visible", 0.0); + } + } + program { name: hide_title_area; + signal: "elm,state,title_area,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", st, 30, vl); + if (!strcmp(st, "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); + set_state(PART:"title_bottom_line", "default", 0.0); + } + } + program { name: show_action_area; + signal: "elm,state,action_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.bg.title", 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_action_area", 0.0); + set_state(PART:"elm.swallow.action_area", "visible", 0.0); + } + } + program { name: hide_action_area; + signal: "elm,state,action_area,hidden"; + source: "elm"; + 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, "visible")) + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.swallow.action_area", "default", 0.0); + } + } + } +} +group { name: "elm/popup/buttons1/content_expand"; + alias: "elm/popup/buttons1/content_expand_transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "elm/popup/buttons2/content_expand"; + alias: "elm/popup/buttons2/content_expand_transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider.png" COMP; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_popup_button_divider.png"; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + color_class: "B0621L6"; + } + } + part { name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + } + } + } +} + +group { name: "elm/popup/buttons3/content_expand"; + alias: "elm/popup/buttons3/content_expand_transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + images.image: "00_popup_button_divider.png" COMP; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + image.normal: "00_popup_button_divider.png"; + color_class: "B0621L6"; + rel1.relative: 0.33 0.0; + rel2.relative: 0.33 1.0; + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn2"; + } + } + } + part { name: "elm.rect.pad_btn2"; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + image.normal: "00_popup_button_divider.png"; + color_class: "B0621L6"; + fixed: 1 1; + rel1.relative: 0.67 0.0; + rel2.relative: 0.67 1.0; + } + } + part{ name:"actionbtn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn2"; + } + } + } + } +} + +group { name: "elm/popup/item/content_expand"; + alias: "elm/popup/item/content_expand_transparent"; + inherit: "elm/popup/item/default"; + parts { + part { name: "bg"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + color: 240 240 240 255; + min: 620 112; + align: 0.5 0.0; + } + description { state: "clicked" 0.0; + color: 190 170 150 255; + } + } + } +} + +group { name: "elm/popup/content/content_expand"; + alias: "elm/popup/content/content_expand_transparent"; + parts{ + part{ name:"elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/notify/center/content_expand_center_popup"; + alias: "elm/notify/center/content_expand_transparent_center_popup"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + fixed: 1 1; + } + } + } +} + + +group { name: "elm/notify/center/center_popup"; + inherit: "elm/notify/center/content_expand_center_popup"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + fixed: 1 0; + } + } + } + programs { + program { name: "change_to_landscape"; + action: STATE_SET "landscape" 0.0; + target: "base"; + } + program { name: "change_to_portrait"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } +} + + +#undef POPUP_ITEM_STATE_ENABLED +#undef POPUP_ITEM_STATE_DISABLED diff --git a/2.2/widgets/progressbar.edc b/2.2/widgets/progressbar.edc new file mode 100644 index 0000000..5583206 --- /dev/null +++ b/2.2/widgets/progressbar.edc @@ -0,0 +1,1707 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/progressbar/horizontal/default"; + alias: "elm/progressbar/horizontal/list_progress"; + images { + image: "00_progress_bg.#.png" COMP; + image: "00_progress_bar.#.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.padding.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + } + align: 0.0 0.0; + } + } + part { name: "elm.padding.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + } + align: 1.0 0.0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.padding.left"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "elm.padding.right"; + relative: 0.0 1.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + scale: 1; + type: SWALLOW; + description { + min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + state: "default" 0.0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + offset: 0 0; + to_y: "elm.background.progressbar"; + } + rel2 { + offset: 0 -1; + relative: 0.0 1.0; + to_y: "elm.background.progressbar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.content"; + rel2.relative: 1.0 1.0; + color_class: "T123"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T123"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 1 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "background"; + relative: 0.5 0.5; + } + rel2 { + to: "background"; + relative: 0.5 0.5; + } + text { + min: 0 0; + align: 0.5 0.0; + text_class: "T123"; + } + color_class: "T123"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 1 1; + } + } + part { + name: "bar.image.left.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1.to: "elm.swallow.bar"; + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.bar"; + } + align: 0.0 0.5; + } + } + part { + name: "bar.image.right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.bar"; + } + rel2.to: "elm.swallow.bar"; + align: 1.0 0.5; + } + } + part { name: "drag.background"; + type: SPACER; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to_x: "bar.image.left.padding"; + to_y: "elm.swallow.bar"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar.image.right.padding"; + to_y: "elm.swallow.bar"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to_x: "bar.image.left.padding"; + to_y: "elm.swallow.bar"; + relative: 1.0 0.0; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + offset: -1 -1; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { + state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "bar.image.right.padding"; + relative: 1.0 1.0; + } + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.9 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + } + part { name: "text-bar"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "progress-rect"; + //effect: SOFT_SHADOW; + scale: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + visible: 0; + rel1.to: "elm.text.status"; + rel1.offset: -1 -1; + rel2.to: "elm.text.status"; + text { + text_source: "elm.text.status"; + min: 0 0; + align: 0.0 0.0; + text_class: "T123"; + } + color_class: "T123"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 1 1; + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + scale: 1; + dragable { + confine: "drag.background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 0 28; + fixed: 1 1; + visible: 0; + rel1.to: "drag.background"; + rel2.to: "drag.background"; + } + } + part { name: "progress-rect"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + } + } + } + programs { + program { name: "label_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "label_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + // after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + //after: "state_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "units_hide"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/list_title_progress"; + images { + image: "00_progress_bg.#.png" COMP; + image: "00_progress_bar.#.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "base"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { name: "elm.padding.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 82; + fixed: 1 0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 0.0 1.0; to: "base"; } + align: 0.0 0.0; + } + } + part { name: "elm.padding.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 82; + fixed: 1 0; + rel1 { relative: 1.0 0.0; to: "base"; } + rel2 { relative: 1.0 1.0; to: "base"; } + align: 1.0 0.0; + } + } + part { + name: "elm.padding.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 100 1; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + } + } + part { + name: "elm.padding.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + min: 100 1; + fixed: 0 1; + rel1 { relative: 0.0 1.0; to: "base"; } + rel2 { relative: 1.0 1.0; to: "base"; } + } + } + part { + name: "label_rect"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + min: 460 56; + fixed: 0 1; + rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } + rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; } + align: 0.0 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.padding.left"; + to_y: "label_rect"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to_x: "elm.padding.right"; + relative: 0.0 1.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + scale: 1; + type: SWALLOW; + description { + min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + state: "default" 0.0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + offset: 0 0; + to_y: "elm.background.progressbar"; + } + rel2 { + offset: 0 -1; + relative: 0.0 1.0; + to_y: "elm.background.progressbar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "label_rect"; + rel2.to: "label_rect"; + color_class: "T123"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T123"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "background"; + relative: 0.5 0.5; + } + rel2 { + to: "background"; + relative: 0.5 0.5; + } + text { + min: 0 0; + align: 0.5 0.0; + text_class: "T123"; + } + color_class: "T123"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 1 1; + } + } + part { + name: "bar.image.left.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1.to: "elm.swallow.bar"; + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.bar"; + } + align: 0.0 0.5; + } + } + part { + name: "bar.image.right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.bar"; + } + rel2.to: "elm.swallow.bar"; + align: 1.0 0.5; + } + } + part { name: "drag.background"; + type: SPACER; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to_x: "bar.image.left.padding"; + to_y: "elm.swallow.bar"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar.image.right.padding"; + to_y: "elm.swallow.bar"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to_x: "bar.image.left.padding"; + to_y: "elm.swallow.bar"; + relative: 1.0 0.0; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + offset: -1 -1; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { + state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "bar.image.right.padding"; + relative: 1.0 1.0; + } + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.9 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + } + part { name: "text-bar"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "progress-rect"; + //effect: SOFT_SHADOW; + scale: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + visible: 0; + rel1.to: "elm.text.status"; + rel1.offset: -1 -1; + rel2.to: "elm.text.status"; + text { + text_source: "elm.text.status"; + min: 0 0; + align: 0.0 0.0; + text_class: "T123"; + } + color_class: "T123"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 1 1; + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + scale: 1; + dragable { + confine: "drag.background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 0 28; + fixed: 1 1; + visible: 0; + rel1.to: "drag.background"; + rel2.to: "drag.background"; + } + } + part { name: "progress-rect"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + } + } + } + programs { + program { name: "label_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "label_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + // after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + //after: "state_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "units_hide"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/pending_list"; + images { + image: "00_progress_bg.#.png" COMP; + image: "00_progress_pending_bg_01.png" COMP; + image: "00_progress_pending_bg_02.png" COMP; + image: "00_progress_pending_bg_01_h.png" COMP; + image: "00_progress_pending_bg_02_h.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + scale: 1; + type: SWALLOW; + description { + min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC; + max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC; + state: "default" 0.0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 1.0; + } + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "background"; + relative: 0.0 0.0; + } + rel2 { + to: "background"; + relative: 1.0 1.0; + offset: -1 -1; + } + image.normal: "00_progress_pending_bg_01.png"; + color_class: "W062L2"; + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + } + description { + state: "state_begin_landscape" 0.0; + inherit: "default" 0.0; + image.normal: "00_progress_pending_bg_01_h.png"; + color_class: "W062L2"; + } + description { state: "state_begin_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + description { state: "state_begin_landscape_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + image.normal: "00_progress_pending_bg_02.png"; + color_class: "W062L2"; + } + description { + state: "state_end_landscape" 0.0; + inherit: "default" 0.0; + image.normal: "00_progress_pending_bg_02_h.png"; + color_class: "W062L2"; + } + description { state: "state_end_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + description { state: "state_end_landscape_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + } + } + script { + public landscape = 0; + public state_end = 0; + } + programs { + program { name: "slide_to_end"; + in: 0.3 0.0; + script { + if (!get_int(landscape)) + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_landscape", 0.0); + set_int(state_end, 1); + } + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + in: 0.3 0.0; + script { + if (!get_int(landscape)) + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_begin_landscape", 0.0); + set_int(state_end, 0); + } + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"background", "disabled", 0.0); + if (!get_int(landscape)) { + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin_disabled", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_disabled", 0.0); + } + else { + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin_landscape_disabled", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_landscape_disabled", 0.0); + } + } + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"background", "default", 0.0); + if (!get_int(landscape)) { + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + } + else { + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin_landscape", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_landscape", 0.0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_int(landscape, 1); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_int(landscape, 1); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_int(landscape, 0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_int(landscape, 0); + } + } + } + } + +#define PROGRESS_DESC(NUM , SIZE) \ + description { state: "pulse" 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "00_list_process_"SIZE".png"; \ + } \ + map { \ + on: 1; \ + smooth: 0; \ + rotation { \ + z: NUM; \ + } \ + } \ + } + +#define PROCESS_DESCS(WIDTH, HEIGHT, SIZE) \ + description { \ + state: "default" 0.0; \ + min: WIDTH HEIGHT; \ + max: WIDTH HEIGHT; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + color_class: "B0731L4"; \ + image { \ + normal: "00_list_process_"SIZE".png"; \ + } \ + } \ + PROGRESS_DESC(-360, SIZE) + +#define PROGRESSING_DELAY 0.01 + +#define PROCESS_IMAGES(SIZE) \ + images { \ + image: "00_list_process_"SIZE"_00.png" COMP; \ + image: "00_list_process_"SIZE"_01.png" COMP; \ + image: "00_list_process_"SIZE"_02.png" COMP; \ + image: "00_list_process_"SIZE"_03.png" COMP; \ + image: "00_list_process_"SIZE"_04.png" COMP; \ + image: "00_list_process_"SIZE"_05.png" COMP; \ + image: "00_list_process_"SIZE"_06.png" COMP; \ + image: "00_list_process_"SIZE"_07.png" COMP; \ + image: "00_list_process_"SIZE"_08.png" COMP; \ + image: "00_list_process_"SIZE"_09.png" COMP; \ + image: "00_list_process_"SIZE"_10.png" COMP; \ + image: "00_list_process_"SIZE"_11.png" COMP; \ + image: "00_list_process_"SIZE"_12.png" COMP; \ + image: "00_list_process_"SIZE"_13.png" COMP; \ + image: "00_list_process_"SIZE"_14.png" COMP; \ + image: "00_list_process_"SIZE"_15.png" COMP; \ + image: "00_list_process_"SIZE"_16.png" COMP; \ + image: "00_list_process_"SIZE"_17.png" COMP; \ + image: "00_list_process_"SIZE"_18.png" COMP; \ + image: "00_list_process_"SIZE"_19.png" COMP; \ + image: "00_list_process_"SIZE"_20.png" COMP; \ + image: "00_list_process_"SIZE"_21.png" COMP; \ + image: "00_list_process_"SIZE"_22.png" COMP; \ + image: "00_list_process_"SIZE"_23.png" COMP; \ + image: "00_list_process_"SIZE"_24.png" COMP; \ + image: "00_list_process_"SIZE"_25.png" COMP; \ + image: "00_list_process_"SIZE"_26.png" COMP; \ + image: "00_list_process_"SIZE"_27.png" COMP; \ + image: "00_list_process_"SIZE"_28.png" COMP; \ + image: "00_list_process_"SIZE"_29.png" COMP; \ + image: "00_list_process_"SIZE"_30.png" COMP; \ + image: "00_list_process_"SIZE"_31.png" COMP; \ + image: "00_list_process_"SIZE"_32.png" COMP; \ + image: "00_list_process_"SIZE"_33.png" COMP; \ + image: "00_list_process_"SIZE"_34.png" COMP; \ + image: "00_list_process_"SIZE"_35.png" COMP; \ + image: "00_list_process_"SIZE"_36.png" COMP; \ + image: "00_list_process_"SIZE"_37.png" COMP; \ + image: "00_list_process_"SIZE"_38.png" COMP; \ + image: "00_list_process_"SIZE"_39.png" COMP; \ + image: "00_list_process_"SIZE"_40.png" COMP; \ + image: "00_list_process_"SIZE"_41.png" COMP; \ + image: "00_list_process_"SIZE"_42.png" COMP; \ + image: "00_list_process_"SIZE"_43.png" COMP; \ + image: "00_list_process_"SIZE"_44.png" COMP; \ + image: "00_list_process_"SIZE"_45.png" COMP; \ + image: "00_list_process_"SIZE"_46.png" COMP; \ + image: "00_list_process_"SIZE"_47.png" COMP; \ + image: "00_list_process_"SIZE"_48.png" COMP; \ + image: "00_list_process_"SIZE"_49.png" COMP; \ + image: "00_list_process_"SIZE"_50.png" COMP; \ + image: "00_list_process_"SIZE"_51.png" COMP; \ + image: "00_list_process_"SIZE"_52.png" COMP; \ + image: "00_list_process_"SIZE"_53.png" COMP; \ + image: "00_list_process_"SIZE"_54.png" COMP; \ + image: "00_list_process_"SIZE"_55.png" COMP; \ + image: "00_list_process_"SIZE"_56.png" COMP; \ + image: "00_list_process_"SIZE"_57.png" COMP; \ + image: "00_list_process_"SIZE"_58.png" COMP; \ + image: "00_list_process_"SIZE"_59.png" COMP; \ + } + + group { name: "elm/progressbar/horizontal/process_Xlarge"; + PROCESS_IMAGES(XL) + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROCESS_XLARGE_IMAGE_WIDTH_INC PROCESS_XLARGE_IMAGE_HEIGHT_INC; + max: PROCESS_XLARGE_IMAGE_WIDTH_INC PROCESS_XLARGE_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + color_class: "B0731L4"; + image.normal: "00_list_process_XL_00.png"; + image.tween: "00_list_process_XL_01.png"; + image.tween: "00_list_process_XL_02.png"; + image.tween: "00_list_process_XL_03.png"; + image.tween: "00_list_process_XL_04.png"; + image.tween: "00_list_process_XL_05.png"; + image.tween: "00_list_process_XL_06.png"; + image.tween: "00_list_process_XL_07.png"; + image.tween: "00_list_process_XL_08.png"; + image.tween: "00_list_process_XL_09.png"; + image.tween: "00_list_process_XL_10.png"; + image.tween: "00_list_process_XL_11.png"; + image.tween: "00_list_process_XL_12.png"; + image.tween: "00_list_process_XL_13.png"; + image.tween: "00_list_process_XL_14.png"; + image.tween: "00_list_process_XL_15.png"; + image.tween: "00_list_process_XL_16.png"; + image.tween: "00_list_process_XL_17.png"; + image.tween: "00_list_process_XL_18.png"; + image.tween: "00_list_process_XL_19.png"; + image.tween: "00_list_process_XL_20.png"; + image.tween: "00_list_process_XL_21.png"; + image.tween: "00_list_process_XL_22.png"; + image.tween: "00_list_process_XL_23.png"; + image.tween: "00_list_process_XL_24.png"; + image.tween: "00_list_process_XL_25.png"; + image.tween: "00_list_process_XL_26.png"; + image.tween: "00_list_process_XL_27.png"; + image.tween: "00_list_process_XL_28.png"; + image.tween: "00_list_process_XL_29.png"; + image.tween: "00_list_process_XL_30.png"; + image.tween: "00_list_process_XL_31.png"; + image.tween: "00_list_process_XL_32.png"; + image.tween: "00_list_process_XL_33.png"; + image.tween: "00_list_process_XL_34.png"; + image.tween: "00_list_process_XL_35.png"; + image.tween: "00_list_process_XL_36.png"; + image.tween: "00_list_process_XL_37.png"; + image.tween: "00_list_process_XL_38.png"; + image.tween: "00_list_process_XL_39.png"; + image.tween: "00_list_process_XL_40.png"; + image.tween: "00_list_process_XL_41.png"; + image.tween: "00_list_process_XL_42.png"; + image.tween: "00_list_process_XL_43.png"; + image.tween: "00_list_process_XL_44.png"; + image.tween: "00_list_process_XL_45.png"; + image.tween: "00_list_process_XL_46.png"; + image.tween: "00_list_process_XL_47.png"; + image.tween: "00_list_process_XL_48.png"; + image.tween: "00_list_process_XL_49.png"; + image.tween: "00_list_process_XL_50.png"; + image.tween: "00_list_process_XL_51.png"; + image.tween: "00_list_process_XL_52.png"; + image.tween: "00_list_process_XL_53.png"; + image.tween: "00_list_process_XL_54.png"; + image.tween: "00_list_process_XL_55.png"; + image.tween: "00_list_process_XL_56.png"; + image.tween: "00_list_process_XL_57.png"; + image.tween: "00_list_process_XL_58.png"; + image.tween: "00_list_process_XL_59.png"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/process_large"; + PROCESS_IMAGES(L) + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + max: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + color_class: "B0731L4"; + image.normal: "00_list_process_L_00.png"; + image.tween: "00_list_process_L_01.png"; + image.tween: "00_list_process_L_02.png"; + image.tween: "00_list_process_L_03.png"; + image.tween: "00_list_process_L_04.png"; + image.tween: "00_list_process_L_05.png"; + image.tween: "00_list_process_L_06.png"; + image.tween: "00_list_process_L_07.png"; + image.tween: "00_list_process_L_08.png"; + image.tween: "00_list_process_L_09.png"; + image.tween: "00_list_process_L_10.png"; + image.tween: "00_list_process_L_11.png"; + image.tween: "00_list_process_L_12.png"; + image.tween: "00_list_process_L_13.png"; + image.tween: "00_list_process_L_14.png"; + image.tween: "00_list_process_L_15.png"; + image.tween: "00_list_process_L_16.png"; + image.tween: "00_list_process_L_17.png"; + image.tween: "00_list_process_L_18.png"; + image.tween: "00_list_process_L_19.png"; + image.tween: "00_list_process_L_20.png"; + image.tween: "00_list_process_L_21.png"; + image.tween: "00_list_process_L_22.png"; + image.tween: "00_list_process_L_23.png"; + image.tween: "00_list_process_L_24.png"; + image.tween: "00_list_process_L_25.png"; + image.tween: "00_list_process_L_26.png"; + image.tween: "00_list_process_L_27.png"; + image.tween: "00_list_process_L_28.png"; + image.tween: "00_list_process_L_29.png"; + image.tween: "00_list_process_L_30.png"; + image.tween: "00_list_process_L_31.png"; + image.tween: "00_list_process_L_32.png"; + image.tween: "00_list_process_L_33.png"; + image.tween: "00_list_process_L_34.png"; + image.tween: "00_list_process_L_35.png"; + image.tween: "00_list_process_L_36.png"; + image.tween: "00_list_process_L_37.png"; + image.tween: "00_list_process_L_38.png"; + image.tween: "00_list_process_L_39.png"; + image.tween: "00_list_process_L_40.png"; + image.tween: "00_list_process_L_41.png"; + image.tween: "00_list_process_L_42.png"; + image.tween: "00_list_process_L_43.png"; + image.tween: "00_list_process_L_44.png"; + image.tween: "00_list_process_L_45.png"; + image.tween: "00_list_process_L_46.png"; + image.tween: "00_list_process_L_47.png"; + image.tween: "00_list_process_L_48.png"; + image.tween: "00_list_process_L_49.png"; + image.tween: "00_list_process_L_50.png"; + image.tween: "00_list_process_L_51.png"; + image.tween: "00_list_process_L_52.png"; + image.tween: "00_list_process_L_53.png"; + image.tween: "00_list_process_L_54.png"; + image.tween: "00_list_process_L_55.png"; + image.tween: "00_list_process_L_56.png"; + image.tween: "00_list_process_L_57.png"; + image.tween: "00_list_process_L_58.png"; + image.tween: "00_list_process_L_59.png"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/process_medium"; + images { + image: "00_list_process_M.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + PROCESS_DESCS(PROCESS_MEDIUM_IMAGE_WIDTH_INC, PROCESS_MEDIUM_IMAGE_HEIGHT_INC, "M"); + } + } + script { + public flag = 0; + } + programs { + program { name: "continue_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse1"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + script { + if (get_int(flag) == 0) { + set_int(flag, 1); + run_program(PROGRAM:"start_pulse1"); + } + } + } + program { name: "start_pulse1"; + action: STATE_SET "pulse" 0.0; + target: "background"; + after: "continue_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "continue_pulse"; + target: "start_pulse1"; + after: "init_pulse"; + script { + set_int(flag, 0); + } + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/process_small"; + images { + image: "00_list_process_S.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + PROCESS_DESCS(PROCESS_SMALL_IMAGE_WIDTH_INC, PROCESS_SMALL_IMAGE_HEIGHT_INC, "S"); + } + } + script { + public flag = 0; + } + programs { + program { name: "continue_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse1"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + script { + if (get_int(flag) == 0) { + set_int(flag, 1); + run_program(PROGRAM:"start_pulse1"); + } + } + } + program { name: "start_pulse1"; + action: STATE_SET "pulse" 0.0; + target: "background"; + after: "continue_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "continue_pulse"; + target: "start_pulse1"; + after: "init_pulse"; + script { + set_int(flag, 0); + } + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + diff --git a/2.2/widgets/radio.edc b/2.2/widgets/radio.edc new file mode 100644 index 0000000..e26fa8b --- /dev/null +++ b/2.2/widgets/radio.edc @@ -0,0 +1,1156 @@ +/* + * 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. + */ + +#define RADIO_HIDE 0 +#define RADIO_SHOW 1 +#define RADIO_STATE_DEFAULT 0 // radio is off +#define RADIO_STATE_VISIBLE 1 // radio is on + + styles { + style { name: "radio_label_textblock_style"; + base: "font=Tizen:style=Regular font_size="RADIO_STYLE_DEFAULT_FONT_SIZE_INC" color=#FFFFFF color_class=T022 wrap=mixed ellipsis=1.0 text_class=T022"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "radio_label_textblock_style_disable"; + base: "font=Tizen:style=Regular font_size="RADIO_STYLE_DEFAULT_FONT_SIZE_INC" color=#FFFFFF color_class=T022 wrap=mixed ellipsis=1.0 text_class=T022"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } +//////////////////////////////////////////////////////////////////////////////////////// + + +#define RADIO_STYLE_DEFAULT(style_name, min_width, min_height) \ + group { name: "elm/radio/base/"style_name; \ + images { \ + image: "00_button_radio_activate.png" COMP; \ + image: "00_button_radio_activate_ef.png" COMP; \ + image: "00_button_radio_bg.png" COMP; \ + image: "00_button_radio_bg_ef.png" COMP; \ + image: "00_button_radio_bg_line.png" COMP; \ + image: "00_button_radio_focus.png" COMP; \ + } \ + script { \ + public radio_state = RADIO_STATE_DEFAULT; \ + public radio_visible = RADIO_HIDE; \ + public is_transition_finished = 0; \ + } \ + parts { \ + part { name: "back_bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel2.relative: 0.0 1.0; \ + align: 0 0.5; \ + min: min_width min_height; \ + fixed: 1 0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "bg"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg.png"; \ + color_class: "W014L1"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L1D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L1P"; \ + } \ + } \ + part { name: "bg_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg_ef.png"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "bg_line"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg_line.png"; \ + color_class: "W014L2"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L2D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L2P"; \ + } \ + } \ + part { name: "radio"; \ + clip_to: "opacity_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + max: 0 0; \ + image.normal: "00_button_radio_activate.png"; \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + color_class: "W014L3"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L3D"; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W014L3D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W014L3P"; \ + } \ + } \ + part { name: "radio_effect"; \ + clip_to: "opacity_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + visible: 0; \ + image.normal: "00_button_radio_activate_ef.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "opacity_clip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + color: 255 255 255 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "radio"; \ + rel2.to: "radio"; \ + image.normal: "00_button_radio_focus.png" ;\ + visible: 0; \ + color_class: "W161"; \ + } \ + description { state: "focused_on" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + clip_to: "disclip"; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "bg"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "bg"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + } \ + } \ + part { name: "padding_before_text"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.0 0.5; \ + min: 0 0; \ + fixed: 1 1; \ + rel1 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + max: RADIO_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + fixed: 1 1; \ + } \ + } \ + part { name: "elm.text"; \ + type: TEXTBLOCK; \ + mouse_events: 0; \ + clip_to: "disclip"; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 1; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "padding_before_text"; \ + } \ + rel2 { \ + relative: 1.0 1.0; \ + offset: 0 0; \ + } \ + text { \ + style: "radio_label_textblock_style"; \ + align: 0.0 0.5; \ + min: 0 0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text.min: 0 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text { \ + style: "radio_label_textblock_style_disable"; \ + align: 0.0 0.5; \ + min: 0 0; \ + } \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events:1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disclip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: RADIO_DISCLIP_NORMAL_COLOR_INC; \ + } \ + description { state: "disabled" 0.0; \ + color: RADIO_DISCLIP_DISABLED_COLOR_INC; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "show"; \ + signal: "show"; \ + script { \ + set_int(radio_visible, RADIO_SHOW); \ + } \ + } \ + program { name: "hide"; \ + signal: "hide"; \ + script { \ + set_int(radio_visible, RADIO_HIDE); \ + } \ + } \ + program { name: "click"; \ + signal: "mouse,clicked,1"; \ + source: "over1"; \ + action: SIGNAL_EMIT "elm,action,radio,toggle" ""; \ + after: "touch_sound"; \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "bg_normal"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) { \ + if (get_int(is_transition_finished) == 1) \ + set_state(PART:"radio", "visible", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "pressed"; \ + signal: "mouse,down,1"; \ + source: "over2"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) { \ + if (get_int(is_transition_finished) == 1) \ + set_state(PART:"radio", "pressed", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "mouse,out"; \ + signal: "mouse,out"; \ + source: "over2"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE){ \ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "radio_on"; \ + signal: "elm,state,radio,on"; \ + source: "elm"; \ + script { \ + set_int(radio_state, RADIO_STATE_VISIBLE); \ + if (get_int(radio_visible) == RADIO_SHOW) \ + { \ + set_int(is_transition_finished, 0); \ + run_program(PROGRAM:"radio_show_effect"); \ + run_program(PROGRAM:"radio_draw_effect"); \ + } \ + else \ + { \ + set_int(is_transition_finished, 1); \ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"opacity_clip", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "radio_off"; \ + signal: "elm,state,radio,off"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + { \ + set_int(radio_state, RADIO_STATE_DEFAULT); \ + set_int(is_transition_finished, 0); \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"radio_effect", "default", 0.0); \ + set_state(PART:"opacity_clip", "default", 0.0); \ + } \ + } \ + } \ + program { name: "radio_show_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.233; \ + target: "opacity_clip"; \ + } \ + program { name: "radio_draw_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.267; \ + target: "radio"; \ + after: "radio_effect_draw"; \ + } \ + program { name: "radio_effect_draw"; \ + action: STATE_SET "visible" 0.0; \ + target: "radio_effect"; \ + after: "radio_on_signal"; \ + } \ + program { name: "radio_on_signal"; \ + script { \ + set_int(is_transition_finished, 1); \ + emit("elm,action,show,finished", "elm"); \ + } \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + set_state(PART:"radio", "pressed", 0.0); \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + set_state(PART:"radio", "visible", 0.0); \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "text_show"; \ + signal: "elm,state,text,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "text_hide"; \ + signal: "elm,state,text,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "icon_show"; \ + signal: "elm,state,icon,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "icon_hide"; \ + signal: "elm,state,icon,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused_on" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disclip"; \ + target: "bg"; \ + target: "bg_effect"; \ + target: "bg_line"; \ + target: "disabler"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.text", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.text", "disabled", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "disabled", 0.0); \ + get_state(PART:"radio", st, 30, vl); \ + if (!strcmp(st, "visible")) { \ + set_state(PART:"radio", "disabled_visible", 0.0); \ + set_state(PART:"radio_effect", "default", 0.0); \ + } \ + else \ + set_state(PART:"radio", "disabled", 0.0); \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "disclip"; \ + target: "bg"; \ + target: "bg_effect"; \ + target: "bg_line"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.text", "visible", 0.0); \ + else \ + set_state(PART:"elm.text", "default", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.swallow.content", "visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "default", 0.0); \ + get_state(PART:"radio", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + { \ + set_state(PART:"opacity_clip", "visible", 0.0); \ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + else \ + { \ + set_state(PART:"opacity_clip", "default", 0.0); \ + set_state(PART:"radio", "default", 0.0); \ + } \ + } \ + } \ + } \ + } + + +/////////////////////////////////////////////////////////////////////////////////////// +RADIO_STYLE_DEFAULT("default", RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) + +/////////////////////////////////////////////////////////////////////////////////////// +RADIO_STYLE_DEFAULT("default/extended", RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC) + +/////////////////////////////////////////////////////////////////////////////////////// + +#define RADIO_STYLE_GENLIST(style_name, min_width, min_height) \ + group { name: "elm/radio/base/"style_name; \ + images { \ + image: "00_button_radio_activate.png" COMP; \ + image: "00_button_radio_activate_ef.png" COMP; \ + image: "00_button_radio_bg.png" COMP; \ + image: "00_button_radio_bg_ef.png" COMP; \ + image: "00_button_radio_bg_line.png" COMP; \ + image: "00_button_radio_focus.png" COMP; \ + } \ + script { \ + public radio_state = RADIO_STATE_DEFAULT; \ + public radio_visible = RADIO_HIDE; \ + public is_transition_finished = 0; \ + } \ + parts { \ + part { name: "back_bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel2.relative: 0.0 1.0; \ + align: 0 0.5; \ + min: min_width min_height; \ + fixed: 1 0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "bg"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg.png"; \ + color_class: "W014L1"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L1D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L1P"; \ + } \ + } \ + part { name: "bg_effect"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg_ef.png"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "bg_line"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + fixed: 1 1; \ + rel1.to: "back_bg"; \ + rel2.to: "back_bg"; \ + image.normal: "00_button_radio_bg_line.png"; \ + color_class: "W014L2"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L2D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L2P"; \ + } \ + } \ + part { name: "radio"; \ + clip_to: "opacity_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + max: 0 0; \ + image.normal: "00_button_radio_activate.png"; \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + color_class: "W014L3"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W014L3D"; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W014L3D"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "visible" 0.0; \ + color_class: "W014L3P"; \ + } \ + } \ + part { name: "radio_effect"; \ + clip_to: "opacity_clip"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ + image.normal: "00_button_radio_activate_ef.png"; \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "opacity_clip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "bg"; \ + rel2.to: "bg"; \ + color: 255 255 255 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "radio"; \ + rel2.to: "radio"; \ + image.normal: "00_button_radio_focus.png" ;\ + visible: 0; \ + color_class: "W161"; \ + } \ + description { state: "focused_on" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + clip_to: "disclip"; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "bg"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "bg"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + fixed: 1 1; \ + visible: 1; \ + aspect: 1.0 1.0; \ + } \ + } \ + part { name: "padding_before_text"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.0 0.5; \ + min: 0 0; \ + fixed: 1 1; \ + rel1 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "elm.swallow.content"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: RADIO_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + max: RADIO_STYLE_DEFAULT_PADDING_BEFORE_TEXT_INC; \ + fixed: 1 1; \ + } \ + } \ + part { name: "elm.text"; \ + type: TEXTBLOCK; \ + mouse_events: 0; \ + clip_to: "disclip"; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 1; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "padding_before_text"; \ + } \ + rel2 { \ + relative: 1.0 1.0; \ + offset: 0 0; \ + } \ + text { \ + style: "radio_label_textblock_style"; \ + align: 0.0 0.5; \ + min: 0 0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text.min: 0 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "disabled_visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + text { \ + style: "radio_label_textblock_style_disable"; \ + align: 0.0 0.5; \ + min: 0 0; \ + } \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events:1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disclip"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: RADIO_DISCLIP_NORMAL_COLOR_INC; \ + } \ + description { state: "disabled" 0.0; \ + color: RADIO_DISCLIP_DISABLED_COLOR_INC; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "show"; \ + signal: "show"; \ + script { \ + set_int(radio_visible, RADIO_SHOW); \ + } \ + } \ + program { name: "hide"; \ + signal: "hide"; \ + script { \ + set_int(radio_visible, RADIO_HIDE); \ + } \ + } \ + program { name: "bg_normal"; \ + signal: "elm,state,mouse,up"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) { \ + if (get_int(is_transition_finished) == 1) \ + set_state(PART:"radio", "visible", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "pressed"; \ + signal: "elm,state,mouse,down"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) { \ + if (get_int(is_transition_finished) == 1) \ + set_state(PART:"radio", "pressed", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "mouse,out"; \ + signal: "mouse,out"; \ + source: "over2"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) {\ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "radio_on"; \ + signal: "elm,state,radio,on"; \ + source: "elm"; \ + script { \ + set_int(radio_state, RADIO_STATE_VISIBLE); \ + if (get_int(radio_visible) == RADIO_SHOW) \ + { \ + set_int(is_transition_finished, 0); \ + run_program(PROGRAM:"radio_show_effect"); \ + run_program(PROGRAM:"radio_draw_effect"); \ + } \ + else \ + { \ + set_int(is_transition_finished, 1); \ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"opacity_clip", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "radio_off"; \ + signal: "elm,state,radio,off"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + { \ + set_int(is_transition_finished, 0); \ + set_int(radio_state, RADIO_STATE_DEFAULT); \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"radio_effect", "default", 0.0); \ + set_state(PART:"opacity_clip", "default", 0.0); \ + } \ + } \ + } \ + program { name: "radio_show_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.233; \ + target: "opacity_clip"; \ + } \ + program { name: "radio_draw_effect"; \ + action: STATE_SET "visible" 0.0; \ + transition: LINEAR 0.267; \ + target: "radio"; \ + after: "radio_effect_draw"; \ + } \ + program { name: "radio_effect_draw"; \ + action: STATE_SET "visible" 0.0; \ + target: "radio_effect"; \ + after: "radio_on_signal"; \ + } \ + program { name: "radio_on_signal"; \ + script { \ + set_int(is_transition_finished, 1); \ + emit("elm,action,show,finished", "elm"); \ + } \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + set_state(PART:"radio", "pressed", 0.0); \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "pressed", 0.0); \ + set_state(PART:"bg_line", "pressed", 0.0); \ + } \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + script { \ + if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ + set_state(PART:"radio", "visible", 0.0); \ + else \ + set_state(PART:"radio", "default", 0.0); \ + set_state(PART:"bg", "default", 0.0); \ + set_state(PART:"bg_line", "default", 0.0); \ + } \ + } \ + program { name: "text_show"; \ + signal: "elm,state,text,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "text_hide"; \ + signal: "elm,state,text,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "padding_before_text"; \ + target: "elm.text"; \ + } \ + program { name: "icon_show"; \ + signal: "elm,state,icon,visible"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "icon_hide"; \ + signal: "elm,state,icon,hidden"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.swallow.content"; \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused_on" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disclip"; \ + target: "bg"; \ + target: "bg_effect"; \ + target: "bg_line"; \ + target: "disabler"; \ + after: "disable_text"; \ + } \ + program { name: "disable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.text", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.text", "disabled", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "visible")) \ + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "disabled", 0.0); \ + get_state(PART:"radio", st, 30, vl); \ + if (!strcmp(st, "visible")) { \ + set_state(PART:"radio", "disabled_visible", 0.0); \ + set_state(PART:"radio_effect", "default", 0.0); \ + } \ + else \ + set_state(PART:"radio", "disabled", 0.0); \ + } \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "disclip"; \ + target: "bg"; \ + target: "bg_effect"; \ + target: "bg_line"; \ + after: "enable_text"; \ + } \ + program { name: "enable_text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.text", "visible", 0.0); \ + else \ + set_state(PART:"elm.text", "default", 0.0); \ + get_state(PART:"elm.swallow.content", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + set_state(PART:"elm.swallow.content", "visible", 0.0); \ + else \ + set_state(PART:"elm.swallow.content", "default", 0.0); \ + get_state(PART:"radio", st, 30, vl); \ + if (!strcmp(st, "disabled_visible")) \ + { \ + set_state(PART:"opacity_clip", "visible", 0.0); \ + set_state(PART:"radio", "visible", 0.0); \ + set_state(PART:"radio_effect", "visible", 0.0); \ + } \ + else \ + { \ + set_state(PART:"opacity_clip", "default", 0.0); \ + set_state(PART:"radio", "default", 0.0); \ + } \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// +RADIO_STYLE_GENLIST("default/genlist", RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) +/////////////////////////////////////////////////////////////////////////////////////// + +#undef RADIO_STATE_DEFAULT +#undef RADIO_STATE_VISIBLE +#undef RADIO_HIDE +#undef RADIO_SHOW diff --git a/2.2/widgets/scroller.edc b/2.2/widgets/scroller.edc new file mode 100644 index 0000000..84ae4dd --- /dev/null +++ b/2.2/widgets/scroller.edc @@ -0,0 +1,3367 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ + +group { name: "elm/scroller/base/default"; + alias: "elm/carousel/base/default"; + alias: "elm/scroller/base/map_bubble"; + alias: "elm/gengrid/base/no_effect"; + alias: "elm/genlist/base/no_effect"; + + data { + item: "focus_highlight" "on"; + } + + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public sh_v, sh_h; + public top_down_x = 0, top_down_y = 0 + public top_move_x = 0, top_move_y = 0 + public top_diff = 0, top_prev_diff = 0 + public effect_top_down = 0, effect_top_start = 0, effect_top_reset = 0, effect_top_anim = 0; + public effect_top_end = 0, effect_top_move = 0, effect_top_max = 0; + public bottom_down_x = 0, bottom_down_y = 0 + public bottom_move_x = 0, bottom_move_y = 0 + public bottom_diff = 0, bottom_prev_diff = 0 + public effect_bottom_down = 0, effect_bottom_start = 0, effect_bottom_reset = 0, effect_bottom_anim = 0; + public effect_bottom_end = 0, effect_bottom_move = 0, effect_bottom_max = 0; + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "00_scroll_bar_v.#.png" COMP; + image: "00_scroll_bar_h.#.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "sb_vbar_right_padding"; + to_y: "sb_vbar_top_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 1; + to_x: "sb_vbar_right_padding"; + to_y: "sb_vbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "00_scroll_bar_v.#.png"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to_x: "sb_hbar_left_padding"; + to_y: "sb_hbar_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_x: "sb_hbar_right_padding"; + to_y: "sb_hbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.0; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.0; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "00_scroll_bar_h.#.png"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + program { name: "show"; + signal: "show"; + source: ""; + script { + new v; + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + v = get_int(sbalways_v); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + v = get_int(sbalways_h); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } +} + +group { name: "elm/scroller/base/handler"; + alias: "elm/carousel/base/handler"; + + data { + item: "focus_highlight" "on"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public top_down_x = 0, top_down_y = 0 + public top_move_x = 0, top_move_y = 0 + public top_diff = 0, top_prev_diff = 0 + public effect_top_down = 0, effect_top_start = 0, effect_top_reset = 0, effect_top_anim = 0; + public effect_top_end = 0, effect_top_move = 0, effect_top_max = 0; + public bottom_down_x = 0, bottom_down_y = 0 + public bottom_move_x = 0, bottom_move_y = 0 + public bottom_diff = 0, bottom_prev_diff = 0 + public effect_bottom_down = 0, effect_bottom_start = 0, effect_bottom_reset = 0, effect_bottom_anim = 0; + public effect_bottom_end = 0, effect_bottom_move = 0, effect_bottom_max = 0; + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "00_fast_scroll_handler_bg.#.png" COMP; + image: "00_fast_scroll_handler_center.png" COMP; + image: "00_fast_scroll_handler_center_h.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "sb_vbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "sb_vbar_top_padding"; + to_x: "sb_vbar_right_padding"; + } + rel2 { + relative: 0.0 0.0; + to_y: "sb_vbar_bottom_padding"; + to_x: "sb_vbar_right_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + type: RECT; + clip_to: "sb_vbar_clip"; + mouse_events: 1; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + } + } + part { name: "scrollbar_handler_image"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 1.0; + rel2.to: "elm.dragable.vbar"; + visible: 1; + image.normal: "00_fast_scroll_handler_bg.#.png"; + color_class: "B0731L3"; + } + } + part { name: "scrollbar_handler_image_middle"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 0.5 0.5; + rel2.to: "elm.dragable.vbar"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "00_fast_scroll_handler_center.png"; + } + } + part { name: "sb_hbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + to_x: "sb_hbar_left_padding"; + to_y: "sb_hbar_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_x: "sb_hbar_right_padding"; + to_y: "sb_hbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.hbar"; + type: RECT; + clip_to: "sb_hbar_clip"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + } + } + part { name: "h_scrollbar_handler_image"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 1.0; + rel2.to: "elm.dragable.hbar"; + visible: 1; + image.normal: "00_fast_scroll_handler_bg.#.png"; + color_class: "B0731L3"; + } + } + part { name: "scrollbar_handler_image_hor"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 0.5 0.5; + rel2.to: "elm.dragable.hbar"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "00_fast_scroll_handler_center_h.png"; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "vbar_press"; + signal: "mouse,down,1"; + source: "elm.dragable.vbar"; + action: SIGNAL_EMIT "elm,vbar,press" "elm"; + } + program { name: "vbar_unpress"; + signal: "mouse,up,1"; + source: "elm.dragable.vbar"; + action: SIGNAL_EMIT "elm,vbar,unpress" "elm"; + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "sb_vbar_clip"; + } + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "hbar_press"; + signal: "mouse,down,1"; + source: "elm.dragable.hbar"; + action: SIGNAL_EMIT "elm,hbar,press" "elm"; + } + program { name: "hbar_unpress"; + signal: "mouse,up,1"; + source: "elm.dragable.hbar"; + action: SIGNAL_EMIT "elm,hbar,unpress" "elm"; + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + program { name: "show"; + signal: "show"; + source: ""; + script { + new v; + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + v = get_int(sbalways_v); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + v = get_int(sbalways_h); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } +} + +group { name: "elm/scroller/base/list_effect"; + alias: "elm/genlist/base/default"; + alias: "elm/genscroller/base/default"; + alias: "elm/list/base/default"; + alias: "elm/gengrid/base/default"; + inherit: "elm/scroller/base/default"; + + parts { + part { name: "shadow_top1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 42; + max: -1 42; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 26; + rel2.offset: -1 25; + } + } + part { name: "shadow_top2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 27; + max: -1 27; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 17; + rel2.offset: -1 16; + } + } + part { name: "shadow_top3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 13; + max: -1 13; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 8; + rel2.offset: -1 7; + } + } + part { name: "shadow_bottom1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 42; + max: -1 42; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -26; + rel2.offset: -1 -25; + } + } + part { name: "shadow_bottom2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 27; + max: -1 27; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -17; + rel2.offset: -1 -16; + } + } + part { name: "shadow_bottom3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 13; + max: -1 13; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -8; + rel2.offset: -1 -7; + } + } + part { name: "shadow_left1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 26 0; + rel2.offset: 25 -1; + } + } + part { name: "shadow_left2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 17 0; + rel2.offset: 16 -1; + } + } + part { name: "shadow_left3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 8 0; + rel2.offset: 7 -1; + } + } + part { name: "shadow_right1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -26 0; + rel2.offset: -25 -1; + } + } + part { name: "shadow_right2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -17 0; + rel2.offset: -16 -1; + } + } + part { name: "shadow_right3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -8 0; + rel2.offset: -7 -1; + } + } + part { name: "padding_jump_to_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; + max: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "elm.swallow.jump_to_top"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "padding_jump_to_top"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_jump_to_top"; + relative: 0.0 1.0; + } + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "padding_jump_to_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC; + max: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "elm.swallow.jump_to_left"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "padding_jump_to_left"; + relative: 1.0 0.0; + } + rel2 { + to: "padding_jump_to_left"; + relative: 1.0 0.0; + } + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "load"; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + set_int(sh_v, 0); + emit("reload", "elm"); + } + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "edge_top_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_top_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_top_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_top_down, 0); + if (get_int(effect_top_start)) + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_anim)) + { + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + } + program { name: "edge_top_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_top_start)) + { + set_state(PART:"shadow_top1", "default", 0.0); + set_state(PART:"shadow_top2", "default", 0.0); + set_state(PART:"shadow_top3", "default", 0.0); + set_int(effect_top_reset, 0); + run_program(PROGRAM:"edge_top_init"); + } + } + } + program { name: "edge_top_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.3; + after: "edge_top_init"; + } + program { name: "edge_top_init"; + script { + set_int(effect_top_move, 0); + if (!get_int(effect_top_reset)) + set_int(effect_top_start, 0); + set_int(effect_top_max, 0); + set_int(top_prev_diff, 0); + set_int(effect_top_end, 0); + } + } + /* Effect Show */ + program { name: "edge_top"; + signal: "elm,edge,top"; + source: "elm"; + script { + if (!get_int(effect_top_start)) + { + set_int(effect_top_start, 1); + set_int(effect_top_anim, 1); + run_program(PROGRAM:"edge_top_start"); + } + } + } + program { name: "edge_top_start"; + action: STATE_SET "start" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.2; + after: "edge_top_after"; + } + program { name: "edge_top_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(top_down_y, yy); + set_int(effect_top_anim, 0); + /* mouse down */ + if (get_int(effect_top_down)) + { + set_int(effect_top_move, 1); + } + /* mouse up */ + else + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + program { name: "edge_top_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_top_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(top_move_y, yy); + set_int(top_diff, (get_int(top_move_y) - get_int(top_down_y))); + if (get_int(top_diff) < get_int(top_prev_diff)) + { + set_int(top_prev_diff, 0); + set_int(effect_top_move, 0); + set_int(effect_top_reset, 1); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + else + { + if (!get_int(effect_top_end)) + { + if (get_int(top_diff) <= 90 && !get_int(effect_top_max)) + { + fx1 = fx2 = fx3 = sin(get_int(top_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_top_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_top1", "default", 0.0); + set_state_val(PART:"shadow_top1", STATE_REL1_OFFSET, 0, round(fx1)); + set_state_val(PART:"shadow_top1", STATE_REL2_OFFSET, -1, round(fx1) - 1); + set_state(PART:"shadow_top1", "custom", 0.0); + + custom_state(PART:"shadow_top2", "default", 0.0); + set_state_val(PART:"shadow_top2", STATE_REL1_OFFSET, 0, round(fx2)); + set_state_val(PART:"shadow_top2", STATE_REL2_OFFSET, -1, round(fx2) - 1); + set_state(PART:"shadow_top2", "custom", 0.0); + + custom_state(PART:"shadow_top3", "default", 0.0); + set_state_val(PART:"shadow_top3", STATE_REL1_OFFSET, 0, round(fx3)); + set_state_val(PART:"shadow_top3", STATE_REL2_OFFSET, -1, round(fx3) - 1); + set_state(PART:"shadow_top3", "custom", 0.0); + set_int(top_prev_diff, get_int(top_diff)); + } + } + } + } + } + program { name: "edge_bottom_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_bottom_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_bottom_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_bottom_down, 0); + if (get_int(effect_bottom_start)) + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_anim)) + { + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + } + program { name: "edge_bottom_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_bottom_start)) + { + set_state(PART:"shadow_bottom1", "default", 0.0); + set_state(PART:"shadow_bottom2", "default", 0.0); + set_state(PART:"shadow_bottom3", "default", 0.0); + set_int(effect_bottom_reset, 0); + run_program(PROGRAM:"edge_bottom_init"); + } + } + } + program { name: "edge_bottom_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.3; + after: "edge_bottom_init"; + } + program { name: "edge_bottom_init"; + script { + set_int(effect_bottom_move, 0); + if (!get_int(effect_bottom_reset)) + set_int(effect_bottom_start, 0); + set_int(effect_bottom_max, 0); + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_end, 0); + } + } + /* Effect Show */ + program { name: "edge_bottom"; + signal: "elm,edge,bottom"; + source: "elm"; + script { + if (!get_int(effect_bottom_start)) + { + set_int(effect_bottom_start, 1); + set_int(effect_bottom_anim, 1); + run_program(PROGRAM:"edge_bottom_start"); + } + } + } + program { name: "edge_bottom_start"; + action: STATE_SET "start" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.2; + after: "edge_bottom_after"; + } + program { name: "edge_bottom_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(effect_bottom_anim, 0); + set_int(bottom_down_y, yy); + /* mouse down */ + if (get_int(effect_bottom_down)) + { + set_int(effect_bottom_move, 1); + } + /* mouse up */ + else + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + program { name: "edge_bottom_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_bottom_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(bottom_move_y, yy); + set_int(bottom_diff, (get_int(bottom_down_y) - get_int(bottom_move_y))); + if (get_int(bottom_diff) < get_int(bottom_prev_diff)) + { + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_move, 0); + set_int(effect_bottom_reset, 1); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + else + { + if (!get_int(effect_bottom_end)) + { + if (get_int(bottom_diff) <= 90 && !get_int(effect_bottom_max)) + { + fx1 = fx2 = fx3 = sin(get_int(bottom_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_bottom_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_bottom1", "default", 0.0); + set_state_val(PART:"shadow_bottom1", STATE_REL1_OFFSET, 0, round(fx1) * -1); + set_state_val(PART:"shadow_bottom1", STATE_REL2_OFFSET, -1, (round(fx1) - 1) * -1); + set_state(PART:"shadow_bottom1", "custom", 0.0); + + custom_state(PART:"shadow_bottom2", "default", 0.0); + set_state_val(PART:"shadow_bottom2", STATE_REL1_OFFSET, 0, round(fx2) * -1); + set_state_val(PART:"shadow_bottom2", STATE_REL2_OFFSET, -1, (round(fx2) - 1) * -1); + set_state(PART:"shadow_bottom2", "custom", 0.0); + + custom_state(PART:"shadow_bottom3", "default", 0.0); + set_state_val(PART:"shadow_bottom3", STATE_REL1_OFFSET, 0, round(fx3) * -1); + set_state_val(PART:"shadow_bottom3", STATE_REL2_OFFSET, -1, (round(fx3) - 1) * -1 ); + set_state(PART:"shadow_bottom3", "custom", 0.0); + set_int(bottom_prev_diff, get_int(bottom_diff)); + } + } + } + } + } + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left1", "default", 0.0); + set_state(PART:"shadow_left2", "default", 0.0); + set_state(PART:"shadow_left3", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = fx2 = fx3 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_left_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_left1", "default", 0.0); + set_state_val(PART:"shadow_left1", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left1", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left1", "custom", 0.0); + + custom_state(PART:"shadow_left2", "default", 0.0); + set_state_val(PART:"shadow_left2", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left2", STATE_REL2_OFFSET, round(fx2) - 1, - 1); + set_state(PART:"shadow_left2", "custom", 0.0); + + custom_state(PART:"shadow_left3", "default", 0.0); + set_state_val(PART:"shadow_left3", STATE_REL1_OFFSET, round(fx3), 0); + set_state_val(PART:"shadow_left3", STATE_REL2_OFFSET, round(fx3) - 1, - 1); + set_state(PART:"shadow_left3", "custom", 0.0); + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right1", "default", 0.0); + set_state(PART:"shadow_right2", "default", 0.0); + set_state(PART:"shadow_right3", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = fx2 = fx3 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * 10.0 + 32; + fx2 = fx2 * 7.0 + 20; + fx3 = fx3 * 3.0 + 10; + } + else + { + set_int(effect_right_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_right1", "default", 0.0); + set_state_val(PART:"shadow_right1", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right1", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right1", "custom", 0.0); + + custom_state(PART:"shadow_right2", "default", 0.0); + set_state_val(PART:"shadow_right2", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right2", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, - 1); + set_state(PART:"shadow_right2", "custom", 0.0); + + custom_state(PART:"shadow_right3", "default", 0.0); + set_state_val(PART:"shadow_right3", STATE_REL1_OFFSET, round(fx3) * -1, 0); + set_state_val(PART:"shadow_right3", STATE_REL2_OFFSET, (round(fx3) - 1) * -1, - 1); + set_state(PART:"shadow_right3", "custom", 0.0); + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/scroller/base/handler/list_effect"; + alias: "elm/genlist/base/handler"; + alias: "elm/genscroller/base/handler"; + alias: "elm/list/base/handler"; + alias: "elm/gengrid/base/handler"; + inherit: "elm/scroller/base/handler"; + + parts { + part { name: "shadow_top1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 42; + max: -1 42; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 26; + rel2.offset: -1 25; + } + } + part { name: "shadow_top2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 27; + max: -1 27; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 17; + rel2.offset: -1 16; + } + } + part { name: "shadow_top3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 13; + max: -1 13; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 8; + rel2.offset: -1 7; + } + } + part { name: "shadow_bottom1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 42; + max: -1 42; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -26; + rel2.offset: -1 -25; + } + } + part { name: "shadow_bottom2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 27; + max: -1 27; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -17; + rel2.offset: -1 -16; + } + } + part { name: "shadow_bottom3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 13; + max: -1 13; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -8; + rel2.offset: -1 -7; + } + } + part { name: "shadow_left1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 26 0; + rel2.offset: 25 -1; + } + } + part { name: "shadow_left2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 17 0; + rel2.offset: 16 -1; + } + } + part { name: "shadow_left3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 8 0; + rel2.offset: 7 -1; + } + } + part { name: "shadow_right1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -26 0; + rel2.offset: -25 -1; + } + } + part { name: "shadow_right2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -17 0; + rel2.offset: -16 -1; + } + } + part { name: "shadow_right3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -8 0; + rel2.offset: -7 -1; + } + } + part { name: "padding_jump_to_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; + max: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "elm.swallow.jump_to_top"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "padding_jump_to_top"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_jump_to_top"; + relative: 0.0 1.0; + } + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "edge_top_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_top_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_top_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_top_down, 0); + if (get_int(effect_top_start)) + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_anim)) + { + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + } + program { name: "edge_top_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_top_start)) + { + set_state(PART:"shadow_top1", "default", 0.0); + set_state(PART:"shadow_top2", "default", 0.0); + set_state(PART:"shadow_top3", "default", 0.0); + set_int(effect_top_reset, 0); + run_program(PROGRAM:"edge_top_init"); + } + } + } + program { name: "edge_top_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.3; + after: "edge_top_init"; + } + program { name: "edge_top_init"; + script { + set_int(effect_top_move, 0); + if (!get_int(effect_top_reset)) + set_int(effect_top_start, 0); + set_int(effect_top_max, 0); + set_int(top_prev_diff, 0); + set_int(effect_top_end, 0); + } + } + /* Effect Show */ + program { name: "edge_top"; + signal: "elm,edge,top"; + source: "elm"; + script { + if (!get_int(effect_top_start)) + { + set_int(effect_top_start, 1); + set_int(effect_top_anim, 1); + run_program(PROGRAM:"edge_top_start"); + } + } + } + program { name: "edge_top_start"; + action: STATE_SET "start" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.2; + after: "edge_top_after"; + } + program { name: "edge_top_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(top_down_y, yy); + set_int(effect_top_anim, 0); + /* mouse down */ + if (get_int(effect_top_down)) + { + set_int(effect_top_move, 1); + } + /* mouse up */ + else + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + program { name: "edge_top_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_top_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(top_move_y, yy); + set_int(top_diff, (get_int(top_move_y) - get_int(top_down_y))); + if (get_int(top_diff) < get_int(top_prev_diff)) + { + set_int(top_prev_diff, 0); + set_int(effect_top_move, 0); + set_int(effect_top_reset, 1); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + else + { + if (!get_int(effect_top_end)) + { + if (get_int(top_diff) <= 90 && !get_int(effect_top_max)) + { + fx1 = fx2 = fx3 = sin(get_int(top_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_top_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_top1", "default", 0.0); + set_state_val(PART:"shadow_top1", STATE_REL1_OFFSET, 0, round(fx1)); + set_state_val(PART:"shadow_top1", STATE_REL2_OFFSET, -1, round(fx1) - 1); + set_state(PART:"shadow_top1", "custom", 0.0); + + custom_state(PART:"shadow_top2", "default", 0.0); + set_state_val(PART:"shadow_top2", STATE_REL1_OFFSET, 0, round(fx2)); + set_state_val(PART:"shadow_top2", STATE_REL2_OFFSET, -1, round(fx2) - 1); + set_state(PART:"shadow_top2", "custom", 0.0); + + custom_state(PART:"shadow_top3", "default", 0.0); + set_state_val(PART:"shadow_top3", STATE_REL1_OFFSET, 0, round(fx3)); + set_state_val(PART:"shadow_top3", STATE_REL2_OFFSET, -1, round(fx3) - 1); + set_state(PART:"shadow_top3", "custom", 0.0); + set_int(top_prev_diff, get_int(top_diff)); + } + } + } + } + } + program { name: "edge_bottom_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_bottom_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_bottom_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_bottom_down, 0); + if (get_int(effect_bottom_start)) + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_anim)) + { + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + } + program { name: "edge_bottom_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_bottom_start)) + { + set_state(PART:"shadow_bottom1", "default", 0.0); + set_state(PART:"shadow_bottom2", "default", 0.0); + set_state(PART:"shadow_bottom3", "default", 0.0); + set_int(effect_bottom_reset, 0); + run_program(PROGRAM:"edge_bottom_init"); + } + } + } + program { name: "edge_bottom_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.3; + after: "edge_bottom_init"; + } + program { name: "edge_bottom_init"; + script { + set_int(effect_bottom_move, 0); + if (!get_int(effect_bottom_reset)) + set_int(effect_bottom_start, 0); + set_int(effect_bottom_max, 0); + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_end, 0); + } + } + /* Effect Show */ + program { name: "edge_bottom"; + signal: "elm,edge,bottom"; + source: "elm"; + script { + if (!get_int(effect_bottom_start)) + { + set_int(effect_bottom_start, 1); + set_int(effect_bottom_anim, 1); + run_program(PROGRAM:"edge_bottom_start"); + } + } + } + program { name: "edge_bottom_start"; + action: STATE_SET "start" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.2; + after: "edge_bottom_after"; + } + program { name: "edge_bottom_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(effect_bottom_anim, 0); + set_int(bottom_down_y, yy); + /* mouse down */ + if (get_int(effect_bottom_down)) + { + set_int(effect_bottom_move, 1); + } + /* mouse up */ + else + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + program { name: "edge_bottom_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_bottom_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(bottom_move_y, yy); + set_int(bottom_diff, (get_int(bottom_down_y) - get_int(bottom_move_y))); + if (get_int(bottom_diff) < get_int(bottom_prev_diff)) + { + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_move, 0); + set_int(effect_bottom_reset, 1); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + else + { + if (!get_int(effect_bottom_end)) + { + if (get_int(bottom_diff) <= 90 && !get_int(effect_bottom_max)) + { + fx1 = fx2 = fx3 = sin(get_int(bottom_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_bottom_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_bottom1", "default", 0.0); + set_state_val(PART:"shadow_bottom1", STATE_REL1_OFFSET, 0, round(fx1) * -1); + set_state_val(PART:"shadow_bottom1", STATE_REL2_OFFSET, -1, (round(fx1) - 1) * -1); + set_state(PART:"shadow_bottom1", "custom", 0.0); + + custom_state(PART:"shadow_bottom2", "default", 0.0); + set_state_val(PART:"shadow_bottom2", STATE_REL1_OFFSET, 0, round(fx2) * -1); + set_state_val(PART:"shadow_bottom2", STATE_REL2_OFFSET, -1, (round(fx2) - 1) * -1); + set_state(PART:"shadow_bottom2", "custom", 0.0); + + custom_state(PART:"shadow_bottom3", "default", 0.0); + set_state_val(PART:"shadow_bottom3", STATE_REL1_OFFSET, 0, round(fx3) * -1); + set_state_val(PART:"shadow_bottom3", STATE_REL2_OFFSET, -1, (round(fx3) - 1) * -1 ); + set_state(PART:"shadow_bottom3", "custom", 0.0); + set_int(bottom_prev_diff, get_int(bottom_diff)); + } + } + } + } + } + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left1", "default", 0.0); + set_state(PART:"shadow_left2", "default", 0.0); + set_state(PART:"shadow_left3", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = fx2 = fx3 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_left_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_left1", "default", 0.0); + set_state_val(PART:"shadow_left1", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left1", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left1", "custom", 0.0); + + custom_state(PART:"shadow_left2", "default", 0.0); + set_state_val(PART:"shadow_left2", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left2", STATE_REL2_OFFSET, round(fx2) - 1, - 1); + set_state(PART:"shadow_left2", "custom", 0.0); + + custom_state(PART:"shadow_left3", "default", 0.0); + set_state_val(PART:"shadow_left3", STATE_REL1_OFFSET, round(fx3), 0); + set_state_val(PART:"shadow_left3", STATE_REL2_OFFSET, round(fx3) - 1, - 1); + set_state(PART:"shadow_left3", "custom", 0.0); + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right1", "default", 0.0); + set_state(PART:"shadow_right2", "default", 0.0); + set_state(PART:"shadow_right3", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = fx2 = fx3 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * 10.0 + 32; + fx2 = fx2 * 7.0 + 20; + fx3 = fx3 * 3.0 + 10; + } + else + { + set_int(effect_right_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_right1", "default", 0.0); + set_state_val(PART:"shadow_right1", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right1", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right1", "custom", 0.0); + + custom_state(PART:"shadow_right2", "default", 0.0); + set_state_val(PART:"shadow_right2", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right2", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, - 1); + set_state(PART:"shadow_right2", "custom", 0.0); + + custom_state(PART:"shadow_right3", "default", 0.0); + set_state_val(PART:"shadow_right3", STATE_REL1_OFFSET, round(fx3) * -1, 0); + set_state_val(PART:"shadow_right3", STATE_REL2_OFFSET, (round(fx3) - 1) * -1, - 1); + set_state(PART:"shadow_right3", "custom", 0.0); + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/scroller/contents/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content_r"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_b"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_rb"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + } +} + +group { name: "elm/gengrid/base/popup"; + inherit: "elm/scroller/base/list_effect"; + + parts { + part { name: "elm.swallow.content.LT_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0 0; + align: 0 0; + min: 0 GENGRID_POPUP_CONTENT_TOP_PADDING; + max: -1 GENGRID_POPUP_CONTENT_TOP_PADDING; + fixed: 0 1; + } + } + part { name: "elm.swallow.content.RB_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1 1; + align: 1 1; + min: 0 GENGRID_POPUP_CONTENT_BOTTOM_PADDING; + max: -1 GENGRID_POPUP_CONTENT_BOTTOM_PADDING; + fixed: 0 1; + } + } + part { name: "elm.swallow.content"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content.LT_padding"; + rel1.relative: 1 1; + rel2.to: "elm.swallow.content.RB_padding"; + rel2.relative: 0 0; + } + } + } +} diff --git a/2.2/widgets/segmentedcontrol.edc b/2.2/widgets/segmentedcontrol.edc new file mode 100644 index 0000000..e2a45d6 --- /dev/null +++ b/2.2/widgets/segmentedcontrol.edc @@ -0,0 +1,771 @@ +/* + * 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. + */ + +//################################################################ +//Segment Control +//################################################################ + +group { name: "elm/segment_control/base/default"; +#define SEGMENT_TYPE_SINGLE 1 +#define SEGMENT_TYPE_LEFT 2 +#define SEGMENT_TYPE_MIDDLE 3 +#define SEGMENT_TYPE_RIGHT 4 +#define SEGMENT_STATE_NORMAL 1 +#define SEGMENT_STATE_PRESSED 2 +#define SEGMENT_STATE_SELECTED 3 +#define SEGMENT_STATUS_ENABLED 0 +#define SEGMENT_STATUS_DISABLED 1 + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 100 40; + visible: 0; + } + } + } +} +group { name: "elm/segment_control/item/default"; + styles{ + style { name: "segment_control_multiline_style"; + base: "font=Tizen:style=Bold font_size="SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC" align=center color=#ffffff wrap=char ellipsis=1.0 text_class=tizen"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + images { + image: "00_badge_bg.#.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "segment"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 1 1; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + color: 0 0 0 0; + } + description { state: "default_single" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed_single" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_single" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + } + } + part { name: "seg_padding"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "segment"; + relative: 1.0 0.5; + } + rel2 { + to: "segment"; + relative: 1.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC; + visible: 1; + } + } + part { name: "divider_left"; + type: RECT; + clip_to: "seg_padding"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "seg_padding"; + relative: 0.0 0.0; + } + rel2 { + to: "seg_padding"; + relative: 0.5 1.0; + } + color: SEGMENT_CONTROL_DIVIDER_LEFT_COLOR_INC; + } + } + part { name: "divider_right"; + type: RECT; + clip_to: "seg_padding"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "seg_padding"; + relative: 0.5 0.0; + } + rel2 { + to: "seg_padding"; + relative: 1.0 1.0; + } + color: SEGMENT_CONTROL_DIVIDER_RIGHT_COLOR_INC; + } + } + part { name: "left_text_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; + fixed: 1 0; + rel1 { + to: "segment"; + relative: 0.0 0.0; + } + rel2 { + to: "segment"; + relative: 0.0 1.0; + } + } + } + part { name: "right_text_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "segment"; + relative: 1.0 0.0; + } + rel2 { + to: "segment"; + relative: 1.0 1.0; + } + } + } + part { name: "icon.bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + fixed: 1 0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "padding_icon_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + visible: 0; + align: 0.0 0.0; + rel1 { + to: "icon.bg"; + relative: 1.0 0.0; + } + rel2 { + to: "icon.bg"; + relative: 1.0 1.0; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + rel2.offset: 2 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 0; + rel1.to: "left_text_padding"; + rel1.relative: 1.0 0.0; + rel2.to: "left_text_padding"; + rel2.relative: 1.0 1.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + max: 9999 84; + rel1 { + to_x: "padding_icon_text"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "right_text_padding"; + relative: 0.0 1.0; + } + color: SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC; + text { + style: "segment_control_multiline_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC; + } + } + part { name: "elm.text.badge.bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "left.padding.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text.badge"; + relative: 1.0 1.0; + } + align: 1.0 0.5; + color_class: "B0517"; + image.normal: "00_badge_bg.#.png"; + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left.padding.text.badge"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC; + rel1 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + align: 1.0 0.0; + } + } + part { name: "right.padding.text.badge"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC; + rel1 { + to: "segment"; + relative: 1.0 0.0; + } + rel2 { + to: "segment"; + relative: 1.0 0.0; + } + align: 1.0 0.0; + } + } + part { name: "elm.text.badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 1 1; + rel1 { + to: "segment"; + relative: 0.2 0.0; // rel_x is given 0.2, so bg image will not cross the segment image in left dir. + } + rel2 { + to: "right.padding.text.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + color: SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC; + text { + font: "Tizen:style=Bold"; + size: SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC; + min: 1 1; + max: 1 0; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "segment"; + } + rel2 { + relative: 1.0 1.0; + to: "segment"; + } + color: 255 255 255 150; + } + description { state: "disabled_single" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_right" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + script { + public seg_type; // Single, Left, Middle, Right. + public seg_state; // Normal/Default, Pressed, Selected. + public seg_status;// Enabled/Default, Disabled + + public update_state() { + new type, state, disabled; + type = get_int(seg_type); + state = get_int(seg_state); + disabled = get_int(seg_status); + + if(state == SEGMENT_STATE_NORMAL) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "default_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "default_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "default_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "default_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "normal", 0.0); + } + else if(state == SEGMENT_STATE_PRESSED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "pressed_single", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "pressed_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "pressed_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "pressed_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "pressed", 0.0); + } + else if(state == SEGMENT_STATE_SELECTED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "selected_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "selected_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "selected_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "selected_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "selected", 0.0); + } + if(disabled == SEGMENT_STATUS_DISABLED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"disabler", "disabled_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"disabler", "disabled_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"disabler", "disabled_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"disabler", "disabled_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + else + { + set_state(PART:"disabler", "default", 0.0); + } + } + } + program { + name: "segment_type_s"; + signal: "elm,type,segment,single"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_SINGLE); + update_state(); + } + } + program { + name: "segment_type_l"; + signal: "elm,type,segment,left"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_LEFT); + update_state(); + } + } + program { + name: "segment_type_m"; + signal: "elm,type,segment,middle"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_MIDDLE); + update_state(); + } + } + program { + name: "segment_type_r"; + signal: "elm,type,segment,right"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_RIGHT); + update_state(); + } + } + program { + name: "normal_segment"; + signal: "elm,state,segment,normal"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_NORMAL); + update_state(); + } + } + program { + name: "pressed_segment"; + signal: "elm,state,segment,pressed"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_PRESSED); + update_state(); + } + } + program { + name: "selected_segment"; + signal: "elm,state,segment,selected"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_SELECTED); + update_state(); + } + } + program { name: "disable_segment"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_DISABLED); + update_state(); + } + } + program { name: "enable_segment"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_ENABLED); + update_state(); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "selected")) + set_state(PART:"elm.text", "selected", 0.0); + else + set_state(PART:"elm.text", "normal", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "badge_text_show"; + signal: "elm,state,elm.text.badge,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text.badge", st, 30, vl); + if (!strcmp(st, "selected")) + { + set_state(PART:"elm.text.badge", "selected", 0.0); + set_state(PART:"elm.text.badge.bg", "selected", 0.0); + } + else + { + set_state(PART:"elm.text.badge", "normal", 0.0); + set_state(PART:"elm.text.badge.bg", "normal", 0.0); + } + } + } + program { name: "badge_text_hide"; + signal: "elm,state,elm.text.badge,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.badge"; + target: "elm.text.badge.bg"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + } +#undef SEGMENT_TYPE_SINGLE +#undef SEGMENT_TYPE_LEFT +#undef SEGMENT_TYPE_MIDDLE +#undef SEGMENT_TYPE_RIGHT +#undef SEGMENT_STATE_NORMAL +#undef SEGMENT_STATE_PRESSED +#undef SEGMENT_STATE_SELECTED +#undef SEGMENT_STATUS_ENABLED +#undef SEGMENT_STATUS_DISABLED +} diff --git a/2.2/widgets/selectioninfo.edc b/2.2/widgets/selectioninfo.edc new file mode 100644 index 0000000..b241451 --- /dev/null +++ b/2.2/widgets/selectioninfo.edc @@ -0,0 +1,448 @@ +/* + * 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. + */ + +group { name: "elm/standard/selectioninfo/default"; + parts { + part { name: "bg"; + type: RECT; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { name: "padding_left"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: SELECTION_INFO_LEFT_PADDING_INC 0; + align: 0.0 0.5; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + fixed: 1 0; + visible: 0; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "padding_left"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + align: 0.0 0.5; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "clicked"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/center_text"; + inherit: "elm/standard/selectioninfo/default"; + parts { + part { + name: "elm.text"; + description { + state: "default" 0.0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + text.align: 0.5 0.5; + } + } + } +} + +group { name: "elm/standard/selectioninfo/vertical/bottom_12"; + parts { + part { name: "bg"; + type: RECT; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "bg"; } + rel2 { to: "bg"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/vertical/bottom_64"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.32; to: "bg"; } + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/vertical/bottom_86"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + type: RECT; + mouse_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.258; to: "bg"; } + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/horizontal/bottom_12"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "bg"; } + rel2 { to: "bg"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/horizontal/bottom_64"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.32; to: "bg"; } + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/horizontal/bottom_86"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + type: RECT; + mouse_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.258; to: "bg"; } + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "Tizen"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "tizen"; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} diff --git a/2.2/widgets/slider.edc b/2.2/widgets/slider.edc new file mode 100644 index 0000000..6f0b56f --- /dev/null +++ b/2.2/widgets/slider.edc @@ -0,0 +1,2093 @@ +/* + * 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. + */ + group { name: "elm/slider/horizontal/tap_to_drag"; + images { + image: "00_progress_bg.#.png" COMP; + image: "00_progress_bar.#.png" COMP; + } + script { + public invert_on = 0; + public set_invert_on() { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + public set_invert_off() { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + public thumb_down() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "pressed", 0.0); + else if(get_int(invert_on) == 1) + set_state(PART:"level2", "pressed", 0.0); + } + public thumb_up() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "default", 0.0); + else if(get_int(invert_on) == 1) + set_state(PART:"level2", "inverted", 0.0); + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC; + max: 99999 SLIDER_BASE_HEIGHT_INC; + rel1 { to: "bg"; + offset: 1 0; + } + rel2 { to: "bg"; + offset: -5 -1; + } + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + } + part { + name: "bar_image_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1.to: "base"; + rel2 { + relative: 0.0 1.0; + to: "base"; + } + align: 0.0 0.5; + } + } + part { + name: "bar_image_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "base"; + } + rel2.to: "base"; + align: 1.0 0.5; + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "bar_image_left_padding"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to_y: "base"; + to_x: "elm.dragable.slider"; + offset: -5 -1; + relative: 0.5 1.0; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 0.0; + } + rel1 { + to_x: "bar_image_right_padding"; + to_y: "base"; + relative: 0.0 1.0; + } + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + rel2.offset: 3 0; + color: 0 0 0 0; + } + } + part { name: "drag_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "bar_left_padding"; + relative: 0.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC; + max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC; + align: 1.0 0.5; + rel1 { + to_x: "bar_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 0.0 1.0; + } + } + } + part { + name: "bar_left_padding"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 10 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.5; + to_x: "elm.text"; + } + rel2 { + relative: 1.0 0.5; + to_x: "elm.text"; + } + align: 0.0 0.5; + } + } + part { + name: "bar_right_padding"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 10 0; + fixed: 1 1; + rel1 { + relative: 0.0 0.5; + to_x: "elm.units"; + } + rel2 { + relative: 0.0 0.5; + to_x: "elm.units"; + } + align: 1.0 0.5; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + to_y: "elm.swallow.bar"; + } + rel2 { + relative: 0.0 1.0; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 4; + rel2.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -5; + color_class: "T0216"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0216"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 0 4; + rel2.offset: 0 -5; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_y: "elm.swallow.bar"; + } + rel2 { + relative: 1.0 1.0; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.units"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel1.offset: 0 8; + rel1.to_x: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + rel2.offset: 0 -9; + rel2.to_x: "elm.swallow.end"; + color_class: "T0216"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0216"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + text.min: 1 1; + rel1.offset: -5 0; + rel2.offset: -5 -1; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/tap_to_drag"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 0.5 0.0; + to_x: "drag_base"; + to_y: "bg"; + } + rel2 { + relative: 0.5 1.0; + to_x: "drag_base"; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 1 1; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + color: 255 255 255 102; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units"; + } + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + script { + set_invert_on(); + } + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + script { + set_invert_off(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "elm.dragable.slider"; + script { + thumb_down(); + } + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "elm.dragable.slider"; + script { + thumb_up(); + } + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "clipper"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + } + } + + group { name: "elm/slider/horizontal/indicator/default"; + alias: "elm/slider/horizontal/indicator/disabled"; + alias: "elm/slider/horizontal/indicator/tap_to_drag"; + alias: "elm/slider/horizontal/indicator/textstyle"; + alias: "elm/slider/horizontal/indicator/numberstyle"; + images { + image: "00_slider_handle_bg.png" COMP; + image: "00_slider_handle_bg_ef.png" COMP; + image: "00_slider_handle_dim_ef.png" COMP; + image: "00_slider_handle_press_ef.png" COMP; + } + styles{ + style { name: "indicator_default"; + base: "font=Tizen:style=Bold font_size="SLIDER_INDICATOR_TEXT_SIZE_INC" align=center color=#ffffff color_class=T057 ellipsis=1.0 wrap=none text_class=T057"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "indicator_pressed"; + base: "font=Tizen:style=Bold font_size="SLIDER_INDICATOR_TEXT_SIZE_INC" align=center color=#ffffff color_class=T057P ellipsis=1.0 wrap=none text_class=T057P"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "indicator_dim"; + base: "font=Tizen:style=Bold font_size="SLIDER_INDICATOR_TEXT_SIZE_INC" align=center color=#ffffff color_class=T057D ellipsis=1.0 wrap=none text_class=T057D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "image_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; + max: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; + rel1 { + to_x: "elm.indicator"; + relative: -1.0 0.0; + } + rel2 { + to_x: "elm.indicator"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + } + } + part { name: "image_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; + max: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; + rel1 { + to_x: "elm.indicator"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.indicator"; + relative: 2.0 1.0; + } + align: 0.0 0.5; + } + } + part { name: "button0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + max: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + rel1.to: "image_left_padding"; + rel2.to: "image_right_padding"; + image { + normal: "00_slider_handle_bg.png"; + } + color_class: "W0641"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W0641P"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0641D"; + visible: 1; + } + } + part { name: "button0_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + max: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + rel1.to: "image_left_padding"; + rel2.to: "image_right_padding"; + image { + normal: "00_slider_handle_bg_ef.png"; + } + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "00_slider_handle_press_ef.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_slider_handle_dim_ef.png"; + } + } + part { name: "elm.indicator"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "indicator_default"; + min: 1 1; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "indicator_pressed"; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "indicator_dim"; + min: 1 1; + } + } + } + } + programs { + program { name: "set_val_show"; + signal: "elm,state,val,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + } + program { name: "set_val_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.indicator"; + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button0"; + target: "button0_ef"; + target: "elm.indicator"; + target: "button_events"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button0"; + target: "button0_ef"; + target: "elm.indicator"; + target: "button_events"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "button_events"; + action: STATE_SET "pressed" 0.0; + target: "button0"; + target: "button0_ef"; + after: "text_pressed"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "button_events"; + action: STATE_SET "default" 0.0; + target: "button0"; + target: "button0_ef"; + after: "text_unpressed"; + } + program { name: "text_pressed"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.indicator", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.indicator", "pressed", 0.0); + } + } + program { name: "text_unpressed"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.indicator", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.indicator", "default", 0.0); + } + } + } + } + + group { name: "elm/slider/horizontal/default"; + alias: "elm/slider/horizontal/disabled"; + images { + image: "00_progress_bg.#.png" COMP; + image: "00_progress_bar.#.png" COMP; + image: "00_slider_center_point_bg.png" COMP; + } + script { + public invert_on = 0; + public popup_show = 1; + public set_popup_show() { + set_int(popup_show, 1); + } + public set_popup_hide() { + set_int(popup_show, 0); + } + public set_invert_on() { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + public set_invert_off() { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + public thumb_down() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "pressed", 0.0); + else if(get_int(invert_on) == 1) + set_state(PART:"level2", "pressed", 0.0); + if(get_int(popup_show) == 1) + emit("popup,show", "elm"); + } + public thumb_up() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "default", 0.0); + else if(get_int(invert_on) == 1) + set_state(PART:"level2", "inverted", 0.0); + if(get_int(popup_show) == 1) + emit("popup,hide", "elm"); + } + public drag_state() { + new Float:dx, Float:dy; + get_drag(PART:"elm.dragable.slider", dx, dy); + if(dx > 0.5) { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + else { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC; + max: 99999 SLIDER_BASE_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "00_progress_bg.#.png"; + color_class: "W062L1"; + } + } + part { + name: "bar_image_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1.to: "base"; + rel2 { + relative: 0.0 1.0; + to: "base"; + } + align: 0.0 0.5; + } + } + part { + name: "bar_image_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "base"; + } + rel2.to: "base"; + align: 1.0 0.5; + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "bar_image_left_padding"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 1.0; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 0.0; + } + rel2 { + to_y: "base"; + to_x: "bar_image_left_padding"; + relative: 0.0 1.0; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + } + } + part { name: "rect_swallow"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed:1 1; + rel1 { + to_x: "bar_left_padding"; + relative: 0.0 0.0; + } + rel2 { + to_x: "bar_left_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "drag_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "rect_swallow"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC; + max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC; + align: 1.0 0.5; + rel1 { + to_x: "bar_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_CENTER_POINT_MIN_SIZE_INC; + max: SLIDER_CENTER_POINT_MAX_SIZE_INC; + visible: 0; + image.normal: "00_slider_center_point_bg.png"; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 0 1; + color_class: "W0651"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bar_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_BAR_LEFT_PADDING_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.5; + to_x: "elm.text"; + } + rel2 { + relative: 1.0 0.5; + to_x: "elm.text"; + } + align: 0.0 0.5; + } + } + part { + name: "bar_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_BAR_RIGHT_PADDING_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.5; + to_x: "elm.units"; + } + rel2 { + relative: 0.0 0.5; + to_x: "elm.units"; + } + align: 1.0 0.5; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clipper"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + to_y: "elm.swallow.bar"; + } + rel2 { + relative: 0.0 1.0; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "F011L1"; + } + description { state: "disabled" 0.0; + color_class: "F011L1D"; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.icon"; + color_class: "T0216"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0216"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + clip_to: "icon_clipper_end"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_y: "elm.swallow.bar"; + } + rel2 { + relative: 1.0 1.0; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "icon_clipper_end"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "F011L1"; + } + description { state: "disabled" 0.0; + color_class: "F011L1D"; + } + } + part { name: "elm.units"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.5; + rel1.to_x: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color_class: "T0216"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0216"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.track.slider"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1.to: "elm.dragable.slider"; + rel2 { + relative: 1.0 0.0; + to: "elm.dragable.slider"; + } + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/default"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "drag_base"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "drag_base"; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + color: 255 255 255 102; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units"; + } + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + script { + set_invert_on(); + } + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + script { + set_invert_off(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "elm.dragable.slider"; + script { + thumb_down(); + } + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "elm.dragable.slider"; + script { + thumb_up(); + } + } + program { name: "popup_show"; + signal: "elm,state,val,show"; + source: "elm"; + script { + set_popup_show(); + } + } + program { name: "popup_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + script { + set_popup_hide(); + } + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "icon_clipper_end"; + target: "icon_clipper"; + target: "clipper"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "icon_clipper_end"; + target: "icon_clipper"; + target: "clipper"; + } + program { name: "center_point_enable"; + signal: "slider,center,point,show"; + action: STATE_SET "visible" 0.0; + target: "center_point"; + } + program { name: "center_point_disable"; + signal: "slider,center,point,hide"; + action: STATE_SET "default" 0.0; + target: "center_point"; + } + } + } + + group { name: "elm/slider/horizontal/textstyle"; + inherit: "elm/slider/horizontal/default"; + parts { + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC; + max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC; + align: 1.0 0.5; + rel1 { + to_x: "bar_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "bar_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_BAR_RIGHT_PADDING_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.5; + to_x: "elm.text.end"; + } + rel2 { + relative: 0.0 0.5; + to_x: "elm.text.end"; + } + align: 1.0 0.5; + } + } + + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.icon"; + color_class: "T0216"; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0216"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "dim" 0.0; + inherit: "default" 0.0; + text { + min: 1 1; + text_class: "T0216D"; + } + color_class: "T0216D"; + } + } + part { name: "elm.text.end"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.5; + color_class: "T0216"; + text { + min: 1 1; + align: 1.0 0.5; + text_class: "T0216"; + } + rel1 { + relative: 1.0 0.0; + to_y: "bar_right_padding"; + } + rel2 { + relative: 1.0 1.0; + to_y: "bar_right_padding"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "dim" 0.0; + inherit: "default" 0.0; + text { + min: 1 1; + text_class: "T0216D"; + } + color_class: "T0216D"; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/textstyle"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "drag_base"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "drag_base"; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.end"; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.end"; + target: "elm.text"; + } + } + } + group { name: "elm/slider/horizontal/numberstyle"; + inherit: "elm/slider/horizontal/textstyle"; + parts { + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + text { + min: 0 0; + align: 0.0 0.5; + text_class: "T0215"; + } + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.icon"; + color_class: "T0215"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "dim" 0.0; + inherit: "default" 0.0; + text { + min: 1 1; + text_class: "T0215D"; + } + color_class: "T0215D"; + } + } + + part { name: "elm.text.end"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { + min: 1 1; + align: 1.0 0.5; + text_class: "T0215"; + } + align: 1.0 0.5; + color_class: "T0215"; + rel1 { + relative: 1.0 0.0; + to_y: "bar_right_padding"; + } + rel2 { + relative: 1.0 1.0; + to_y: "bar_right_padding"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "dim" 0.0; + inherit: "default" 0.0; + text { + min: 1 1; + text_class: "T0215D"; + } + color_class: "T0215D"; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/numberstyle"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "drag_base"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "drag_base"; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + } + } + + group { name: "elm/slider/horizontal/center_point"; + inherit: "elm/slider/horizontal/default"; + parts { + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "center_point"; + to_y: "base"; + relative: 0.5 0.0; + } + rel2 { + to_x: "elm.dragable.slider"; + to_y: "base"; + relative: 0.5 1.0; + } + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_x: "elm.dragable.slider"; + to_y: "base"; + relative: 0.5 0.0; + } + rel2 { + to_x: "center_point"; + to_y: "base"; + relative: 0.5 1.0; + } + image.normal: "00_progress_bar.#.png"; + color_class: "W062L2"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_CENTER_POINT_MIN_SIZE_INC; + max: SLIDER_CENTER_POINT_MAX_SIZE_INC; + image.normal: "00_slider_center_point_bg.png"; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 0 1; + visible: 1; + color_class: "W0651"; + } + } + } + programs { + program { name: "center_point_calc"; + signal: "drag"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc1"; + signal: "drag,start"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc2"; + signal: "drag,set"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc3"; + signal: "mouse,up,*"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + program { name: "center_point_calc4"; + signal: "mouse,move"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + } + } + + group { name: "elm/slider/horizontal/popup/default"; + alias: "elm/slider/horizontal/popup/tap_to_drag"; + alias: "elm/slider/horizontal/popup/textstyle"; + alias: "elm/slider/horizontal/popup/numberstyle"; + images { + image: "00_slider_popup_bg_center.#.png" COMP; + image: "00_slider_popup_bg_center_ef.#.png" COMP; + image: "00_slider_popup_bg_left.#.png" COMP; + image: "00_slider_popup_bg_left_ef.#.png" COMP; + image: "00_slider_popup_bg_right.#.png" COMP; + image: "00_slider_popup_bg_right_ef.#.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + } + } + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; + max: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; + rel1.to: "elm.indicator"; + rel2 { + relative: 0.0 1.0; + to: "elm.indicator"; + } + align: 1.0 0.5; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; + max: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; + rel1 { + relative: 1.0 0.0; + to: "elm.indicator"; + } + rel2.to: "elm.indicator"; + align: 0.0 0.5; + } + } + part { name: "bg.left.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "left.padding"; + rel2 { + relative: 0.0 1.0; + to_x: "bg.center.image"; + } + align: 0.0 0.5; + min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + image.normal: "00_slider_popup_bg_left.#.png"; + color_class: "W0631"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.left.image.effect"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "left.padding"; + rel2 { + relative: 0.0 1.0; + to_x: "bg.center.image"; + } + align: 0.0 0.5; + min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + image.normal: "00_slider_popup_bg_left_ef.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.right.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "bg.center.image"; + } + rel2.to_x: "right.padding"; + align: 1.0 0.5; + min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + image.normal: "00_slider_popup_bg_right.#.png"; + color_class: "W0631"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.right.image.effect"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "bg.center.image"; + } + rel2.to_x: "right.padding"; + align: 1.0 0.5; + min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + image.normal: "00_slider_popup_bg_right_ef.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.center.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; + max: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; + image.normal: "00_slider_popup_bg_center.#.png"; + color_class: "W0631"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.center.image.effect"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; + max: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; + image.normal: "00_slider_popup_bg_center_ef.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.indicator"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; + max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; + color_class: "T115"; + text { + align: 0.5 0.0; + min: 1 1; + text_class: "T115"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "popup,val,show"; + signal: "elm,state,val,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bg.left.image"; + target: "bg.left.image.effect"; + target: "bg.right.image"; + target: "bg.right.image.effect"; + target: "bg.center.image"; + target: "bg.center.image.effect"; + } + program { name: "popup,val,hide"; + signal: "elm,state,val,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bg.left.image"; + target: "bg.left.image.effect"; + target: "bg.right.image"; + target: "bg.right.image.effect"; + target: "bg.center.image"; + target: "bg.center.image.effect"; + } + program { name: "popup,show"; + signal: "popup,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bg.left.image"; + target: "bg.left.image.effect"; + target: "bg.right.image"; + target: "bg.right.image.effect"; + target: "bg.center.image"; + target: "bg.center.image.effect"; + } + program { name: "popup,hide"; + signal: "popup,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bg.left.image"; + target: "bg.left.image.effect"; + target: "bg.right.image"; + target: "bg.right.image.effect"; + target: "bg.center.image"; + target: "bg.center.image.effect"; + after: "popup,hide,done"; + } + program { name: "popup,hide,done"; + action: SIGNAL_EMIT "popup,hide,done" "elm"; + } + } + } + +group { name: "elm/slider/horizontal/pagecontrol"; + inherit: "elm/slider/horizontal/default"; + images { + image: "B08_fast_scroll_bg.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_PAGECONTROL_BASE_MIN_WIDTH SLIDER_PAGECONTROL_BASE_HEIGHT; + max: -1 SLIDER_PAGECONTROL_BASE_HEIGHT; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "B08_fast_scroll_bg.png"; + } + } + part { name: "level"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level2"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/pagecontrol"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_PAGECONTROL_INDICATOR_MIN_WIDTH SLIDER_PAGECONTROL_INDICATOR_HEIGHT; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "drag_base"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "drag_base"; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_PAGECONTROL_INDICATOR_MIN_WIDTH SLIDER_PAGECONTROL_INDICATOR_HEIGHT; + max: -1 SLIDER_PAGECONTROL_INDICATOR_HEIGHT; + align: 1.0 0.5; + rel1 { + to_x: "bar_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_right_padding"; + relative: 0.0 1.0; + } + } + } + } + programs { + program { name: "drag_set"; + signal: "mouse,down,*"; + source: "elm.swallow.bar"; + script { + new xx, yy, x, y, w, h; + get_geometry(PART:"elm.swallow.bar", x, y, w, h); + get_mouse(xx, yy); + new Float:rxx = (1.0 * xx); + new Float:rx = (1.0 * x); + new Float:rw = (1.0 * w); + set_drag(PART:"elm.dragable.slider", (rxx - rx) / rw, 0.0); + emit("drag,mouse,down", ""); + } + } + } +} + +group { name: "elm/slider/horizontal/indicator/pagecontrol"; + inherit:"elm/slider/horizontal/indicator/default"; + images { + image: "B08_fast_scroll_bar.png" COMP; + } + parts { + part { name: "image_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 1 1; + max: 1 1; + rel1 { + to_x: "elm.indicator"; + relative: -1.0 0.0; + } + rel2 { + to_x: "elm.indicator"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + } + } + part { name: "image_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 1 1; + max: 1 1; + rel1 { + to_x: "elm.indicator"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.indicator"; + relative: 2.0 1.0; + } + align: 0.0 0.5; + } + } + part { name: "button0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_PAGECONTROL_INDICATOR_MIN_WIDTH SLIDER_PAGECONTROL_INDICATOR_HEIGHT; + max: SLIDER_PAGECONTROL_INDICATOR_MIN_WIDTH SLIDER_PAGECONTROL_INDICATOR_HEIGHT; + rel1.to: "image_left_padding"; + rel2.to: "image_right_padding"; + image { + normal: "B08_fast_scroll_bar.png"; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "button0_ef"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + max: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + rel1.to: "image_left_padding"; + rel2.to: "image_right_padding"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } +} diff --git a/2.2/widgets/tickernoti.edc b/2.2/widgets/tickernoti.edc new file mode 100644 index 0000000..891a858 --- /dev/null +++ b/2.2/widgets/tickernoti.edc @@ -0,0 +1,431 @@ +/* + * 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. + */ + group { + name: "elm/tickernoti/base/default"; + data { + item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; + } + styles { + style { + name: "style_sub_text"; + base: "font=Tizen:style=Regular font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T094 ellipsis=1.0 text_class=T094"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "b" "+ font_weight=Bold"; +// tag: "notitext1" "+font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T094 text_class=T094"; +// tag: "notitext2" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color=#FFFFFF color_class=T0941 text_class=T0941"; + } + style { + name: "style_main_text"; + base: "font=Tizen:style=Regular font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color=#FFFFFF color_class=T0941 ellipsis=1.0 text_class=T0941"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "b" "+ font_weight=Bold"; + } + } + parts { + part { + name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; + } + } + part { + name: "bg"; + mouse_events: 1; + type: RECT; + clip_to: "base"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { + name: "bg_img"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align:0.0 0.0; + min:0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + color_class: "B061L5"; + } + } + part { + name: "padding_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { + name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + // Icon + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + clip_to: "base"; + description { + state: "default" 0.0; + fixed: 1 1; + min: TICKERNOTI_DEFAULT_ICON_MIN_INC; + max: TICKERNOTI_DEFAULT_ICON_MIN_INC; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "padding_icon_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "icon"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "icon"; + to_y: "bg"; + } + } + } + /* Text */ + part { + name: "text_rect"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_TEXT_MIN_INC; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "padding_icon_right"; + } + rel2 { + relative: 0.0 1.0; + to_x: "padding_button_left"; + to_y: "bg"; + } + } + } + part { + name: "text_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 TICKERNOTI_DEFAULT_TEXT_TOP_PADDING_INC; + max: -1 TICKERNOTI_DEFAULT_TEXT_TOP_PADDING_INC; + rel1.to: "text_rect"; + rel2 { + relative: 1.0 0.0; + to: "text_rect"; + } + fixed: 0 1; + align: 0.5 0.0; + } + } + part { + name: "elm.text.sub"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "base"; + description { + state: "default" 0.0; + min: 0 TICKERNOTI_SUB_TEXT_HEIGHT_INC; + rel1 { + relative: 0.0 1.0; + to: "text_top_padding"; + } + rel2.to: "text_top_padding"; + fixed: 0 1; + align: 0.5 0.0; + text { + style: "style_sub_text"; + min: 0 1; + max: 0 1; + align: 0.0 0.5; + } + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "base"; + description { + state: "default" 0.0; + min: 0 TICKERNOTI_MAIN_TEXT_HEIGHT_INC; + rel1 { + relative: 0.0 1.0; + to: "elm.text.sub"; + } + rel2.to: "elm.text.sub"; + fixed: 0 1; + align: 0.5 0.0; + text { + style: "style_main_text"; + min: 0 1; + max: 0 1; + align: 0.0 0.5; + } + } + } + part { + name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + to: "bg"; + } + rel2 { + to: "bg"; + } + } + } + // Button + part { + name: "button"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: TICKERNOTI_DEFAULT_BUTTON_MIN_INC; + max: TICKERNOTI_DEFAULT_BUTTON_MAX_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 0.0 0.0; + to_x: "padding_right_bottom"; + to_y: "bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "padding_right_bottom"; + to_y: "bg"; + } + } + } + part { + name: "padding_button_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + to: "button"; + } + rel2 { + relative: 0.0 1.0; + to: "button"; + } + } + } + } + programs { + program { + name: "effect_show"; + signal: "effect,show"; + source: "elm"; + in: 0.1 0.0; + action: STATE_SET "show" "0.0"; + transition: ACCEL 0.4; + target: "bg"; + } + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "event"; + action: SIGNAL_EMIT "clicked" ""; + after: "effect_hide"; + } + program { + name: "effect_hide"; + signal: "effect,hide"; + source: "elm"; + action: STATE_SET "default" "0.0"; + transition: DECEL 0.4; + target: "bg"; + after: "hide"; + } + program { + name: "hide"; + action: SIGNAL_EMIT "request,hide" ""; + } + } + } + + group { name: "elm/tickernoti/base/textonly"; + alias: "elm/tickernoti/base/1line/default"; + data { + item: "height" TICKERNOTI_TEXTONLY_BG_MIN_HEIGHT_INC; + } + styles { + style { + name: "style_textonly"; + base: "font=Tizen:style=Regular font_size="TICKERNOTI_DEFAULT_TEXT3_FONT_SIZE_INC" color=#FFFFFF color_class=T093 wrap=none ellipsis=1.0 text_class=T093"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "b" "+ font_weight=Bold"; + } + } + parts { + part { + name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 TICKERNOTI_TEXTONLY_BG_MIN_HEIGHT_INC; + } + } + part { + name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + rel1.to: "base"; + rel2.to: "base"; + color_class: "B061L5"; + } + } + part { + name: "padding_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { + name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "style_textonly"; + } + } + } + } + } diff --git a/2.2/widgets/toolbar.edc b/2.2/widgets/toolbar.edc new file mode 100644 index 0000000..e09057c --- /dev/null +++ b/2.2/widgets/toolbar.edc @@ -0,0 +1,3490 @@ +/* + * 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. + */ + +#define ITEM_STATE_ENABLED 0 +#define ITEM_STATE_DISABLED 1 +#define TOOLBAR_SLIDING_PER_FPS 2 +#define TOOLBAR_SLIDING_FPS 40.0 +#define TOOLBAR_SLIDING_TEXT_GAP 40 +#define TOOLBAR_SLIDING_TEXT_OFFSET 5 +#define TOOLBAR_SLIDING_WAIT_TIME 1.2 + +// sliding motion +#define TOOLBAR_SLIDING_NO_EFFECT 0 +#define TOOLBAR_SLIDING_DOING 1 +#define TOOLBAR_SLIDING_END 2 + +#define TOOLBAR_TEXT_STYLE(_font_size) \ + style { name: "toolbar_text_style_"_font_size; \ + base: "font=Tizen:style=Bold font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T022 color_class=T022 linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TOOLBAR_PRESSED_TEXT_STYLE(_font_size) \ + style { name: "toolbar_pressed_text_style_"_font_size; \ + base: "font=Tizen:style=Bold font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T022P color_class=T022P linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TOOLBAR_DISABLED_TEXT_STYLE(_font_size) \ + style { name: "toolbar_disabled_text_style_"_font_size; \ + base: "font=Tizen:style=Bold font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T022D color_class=T022D linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_TEXT_STYLE(_font_size) \ + style { name: "tabbar_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T111 color_class=T111 linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_SELECTED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_selected_text_style_"_font_size; \ + base: "font=Tizen:style=Bold font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T111S color_class=T111S linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_PRESSED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_pressed_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T111P color_class=T111P linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_DISABLED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_disabled_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T111D color_class=T111D linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_WITH_TITLE_TEXT_STYLE(_font_size) \ + style { name: "tabbar_with_title_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T1112 color_class=T1112 linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_WITH_TITLE_SELECTED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_with_title_selected_text_style_"_font_size; \ + base: "font=Tizen:style=Bold font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T1112S color_class=T1112S linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_WITH_TITLE_PRESSED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_with_title_pressed_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T1112P color_class=T1112P linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +#define TABBAR_WITH_TITLE_DISABLED_TEXT_STYLE(_font_size) \ + style { name: "tabbar_with_title_disabled_text_style_"_font_size; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T1112D color_class=T1112D linegap=0"; \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; \ + } + +styles{ + TABBAR_TEXT_STYLE(30) + TABBAR_SELECTED_TEXT_STYLE(30) + TABBAR_PRESSED_TEXT_STYLE(30) + TABBAR_DISABLED_TEXT_STYLE(30) + TABBAR_WITH_TITLE_TEXT_STYLE(30) + TABBAR_WITH_TITLE_SELECTED_TEXT_STYLE(30) + TABBAR_WITH_TITLE_PRESSED_TEXT_STYLE(30) + TABBAR_WITH_TITLE_DISABLED_TEXT_STYLE(30) + TOOLBAR_TEXT_STYLE(38) + TOOLBAR_PRESSED_TEXT_STYLE(38) + TOOLBAR_DISABLED_TEXT_STYLE(38) +} + +group { name: "elm/toolbar/base/default"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "base"; + type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "base_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + color_class: "B0515"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/toolbar/item/default"; + images { + image: "00_focus_01.#.png" COMP; + } + + data { + item: "transition_animation_on" "0"; + item: "widget_style" "Button"; + } + script { + public item_state = ITEM_STATE_ENABLED; + public items_number = 0; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 120 0; + } + } + part { name: "bg_pressed"; // Added to avoid divider hide when pressed + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color_class: "B0515P"; + rel1 { + relative: 1.0 0.0; + to: "divider_left"; + } + rel2.to: "bg"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { state: "1_item" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 0; + } + description { state: "2_items" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 0; + } + description { state: "3_items" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 0; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + description { state: "1_item" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 0; + } + description { state: "2_items" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 0; + } + description { state: "3_items" 0.0; + inherit: "default" 0.0; + min: TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + rel1 { + to: "padding_left_top"; + } + rel2 { + to: "padding_right_bottom"; + } + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.icon_new"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon_new.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + rel1.to: "padding_left_top"; + rel2.to: "padding_right_bottom"; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + fixed: 1 1; + max: 9999 60; + text { + style: "toolbar_text_style_38"; + min: 0 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: visible; + text.style: "toolbar_pressed_text_style_38"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "toolbar_disabled_text_style_38"; + } + } + part { name: "elm.text_new"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text_new.clipper"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + fixed: 1 1; + text { + style: "toolbar_text_style_38"; + min: 0 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: visible; + text.style: "toolbar_pressed_text_style_38"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "toolbar_disabled_text_style_38"; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + color_class: "B052L4"; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color_class: "B052L4"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L4P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L4D"; + } + } + part { name: "elm.icon_new.clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + color_class: "B052L4"; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color_class: "B052L4"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L4P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L4D"; + } + } + part { name: "elm.text.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "animation" 0.0; + color: 255 255 255 0; + } + description { state: "disabled" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.text_new.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "animation" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + color: 255 255 255 255; + } + } + part { name: "divider"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: TOOLBAR_ITEM_DIVIDER_SIZE; + max: TOOLBAR_ITEM_DIVIDER_SIZE; + fixed: 1 1; + color_class: "B0552"; + rel1 { + relative: 1.0 0.5; + } + rel2 { + relative: 1.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 1 0; + max: 1 -1; + fixed: 1 0; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 -1; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "event2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "highlight"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "key,pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "pressed"; + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + set_int(mouse_down, 1); + get_state(PART:"elm.swallow.icon", st, 30, vl); + set_state(PART:"bg_pressed", "pressed", 0.0); + if (strcmp(st, "visible")) + { + set_state(PART:"elm.text", "pressed", 0.0); + set_state(PART:"elm.text_new", "pressed", 0.0); + } + else + { + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + } + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event2"; + script { + new st[31]; + new Float:vl; + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + get_state(PART:"elm.swallow.icon", st, 30, vl); + set_state(PART:"bg_pressed", "default", 0.0); + if (strcmp(st, "visible")) + { + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"elm.text_new", "visible", 0.0); + } + else + { + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", "elm"); + if (get_int(item_state) != ITEM_STATE_DISABLED) + run_program(PROGRAM:"play_sound"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + script { + if (get_int(multi_down) == 0) + emit("elm,mouse,in", "elm"); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + emit("elm,mouse,out", "elm"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(item_state, ITEM_STATE_DISABLED); + set_state(PART:"bg_pressed", "disabled", 0.0); + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.clipper", "disabled", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + run_program(PROGRAM:"label_set,animation,done"); + run_program(PROGRAM:"icon_set,animation,done"); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script{ + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,cancel"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(item_state, ITEM_STATE_ENABLED); + set_state(PART:"bg_pressed", "default", 0.0); + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (strcmp(st, "visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.clipper", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + run_program(PROGRAM:"label_set,animation,done"); + run_program(PROGRAM:"icon_set,animation,done"); + } + } + program { name: "label_set,animation,forward"; + signal: "elm,state,label_set,forward"; + source: "elm"; + after: "label_set,sync"; + } + program { name: "label_set,animation,backward"; + signal: "elm,state,label_set,backward"; + source: "elm"; + after: "label_set,sync"; + } + program { name: "label_set,sync"; + signal: "elm,state,label_set"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + set_state(PART:"elm.text_new", st, vl); + } + after: "label_set,animation"; + } + program { name: "label_set,animation"; + action: STATE_SET "animation" 0.0; + target: "elm.text.clipper"; + target: "elm.text_new.clipper"; + after: "label_set,animation,done"; + } + program { name: "label_set,animation,done"; + action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; + } + program { name: "label,reset"; + signal: "elm,state,label,reset"; + source: "elm"; + script { + set_state(PART:"elm.text_new.clipper", "default", 0.0); + if (get_int(item_state) != ITEM_STATE_DISABLED) + set_state(PART:"elm.text.clipper", "default", 0.0); + else + set_state(PART:"elm.text.clipper", "disabled", 0.0); + } + } + program { name: "icon_set,animation,forward"; + signal: "elm,state,icon_set,forward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation,backward"; + signal: "elm,state,icon_set,backward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation"; + signal: "elm,state,icon_set"; + source: "elm"; + action: STATE_SET "animation" 0.0; + target: "elm.icon.clipper"; + target: "elm.icon_new.clipper"; + after: "icon_set,animation,done"; + } + program { name: "icon_set,animation,done"; + action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; + } + program { name: "icon,reset"; + signal: "elm,state,icon,reset"; + source: "elm"; + script { + set_state(PART:"elm.icon_new.clipper", "default", 0.0); + if (get_int(item_state) != ITEM_STATE_DISABLED) + { + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + else + { + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (strcmp(st, "visible")) + { + if (get_int(item_state) != ITEM_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (strcmp(st, "default")) + { + set_state(PART:"elm.text", "default", 0.0); + } + set_state(PART:"elm.swallow.icon", "visible", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + script { + set_state(PART:"elm.swallow.icon", "default", 0.0); + } + } + program { name: "text_only_item_1"; + signal: "elm,number,item,1"; + source: "elm"; + script { + set_int(items_number, 1); + set_state(PART:"padding_left_top", "1_item", 0.0); + set_state(PART:"padding_right_bottom", "1_item", 0.0); + } + } + program { name: "text_only_item_2"; + signal: "elm,number,item,2"; + source: "elm"; + script { + set_int(items_number, 2); + set_state(PART:"padding_left_top", "2_items", 0.0); + set_state(PART:"padding_right_bottom", "2_items", 0.0); + } + } + program { name: "text_only_item_3"; + signal: "elm,number,item,3"; + source: "elm"; + script { + set_int(items_number, 3); + set_state(PART:"padding_left_top", "3_items", 0.0); + set_state(PART:"padding_right_bottom", "3_items", 0.0); + } + } + program { name: "divider_visible_1"; + signal: "elm,order,first,item"; + source: "elm"; + script { + set_state(PART:"divider", "default", 0.0); + set_state(PART:"divider_left", "hidden", 0.0); + } + } + program { name: "divider_visible_2"; + signal: "elm,order,default,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + } + program { name: "divider_hidden"; + signal: "elm,order,last,item"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "divider"; + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "highlighted" 0.0; + target: "highlight"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + } +} + +group { name: "elm/toolbar/separator/default"; + parts { + part { name: "divider"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: TOOLBAR_ITEM_DIVIDER_SIZE; + max: TOOLBAR_ITEM_DIVIDER_SIZE; + color_class: "B0552"; + fixed: 1 1; + rel1 { + relative: 0.5 0.5; + } + rel2 { + relative: 0.5 0.5; + } + } + } + } +} + +group { name: "elm/toolbar/object/default"; + parts { + part { name: "elm.swallow.object"; // object group + type: SWALLOW; + description { + state: "default" 0.0; + min: 120 0; + } + } + part { name: "divider"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: TOOLBAR_ITEM_DIVIDER_SIZE; + max: TOOLBAR_ITEM_DIVIDER_SIZE; + fixed: 1 1; + color_class: "B0552"; + rel1 { + relative: 1.0 0.5; + } + rel2 { + relative: 1.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "divider_visible_1"; + signal: "elm,order,first,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + } + program { name: "divider_visible_2"; + signal: "elm,order,default,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + } + program { name: "divider_hidden"; + signal: "elm,order,last,item"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "divider"; + } + } +} + +group { name: "elm/toolbar/base/tabbar"; + data { + item: "focus_highlight" "on"; + } + script { + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + } + + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "base_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + color_class: "B0514"; + } + } + part { name: "left_padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1.0 0.5; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "left_padding"; + rel1.relative: 1.0 0.0; + rel2.to: "right_padding"; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "tabbar_bottom_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 TABBAR_BOTTOM_LINE_H_INC; + max: -1 TABBAR_BOTTOM_LINE_H_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { relative: 0.0 1.0; to: "base_bg"; } + rel2 { relative: 1.0 1.0; to: "base_bg"; } + color_class: "B0512"; + } + } + part { name: "shadow_left1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "base"; + rel2.relative: 0.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 26 0; + rel2.offset: 25 -1; + } + } + part { name: "shadow_left2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "base"; + rel2.relative: 0.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 17 0; + rel2.offset: 16 -1; + } + } + part { name: "shadow_left3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "base"; + rel2.relative: 0.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 8 0; + rel2.offset: 7 -1; + } + } + part { name: "shadow_right1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "base"; + rel2.relative: 1.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 42 0; + max: 42 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -26 0; + rel2.offset: -25 -1; + } + } + part { name: "shadow_right2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "base"; + rel2.relative: 1.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 27 0; + max: 27 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -17 0; + rel2.offset: -16 -1; + } + } + part { name: "shadow_right3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "base"; + rel2.relative: 1.0 1.0; + rel2.to: "base"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: 13 0; + max: 13 -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -8 0; + rel2.offset: -7 -1; + } + } + } + programs { + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left1", "default", 0.0); + set_state(PART:"shadow_left2", "default", 0.0); + set_state(PART:"shadow_left3", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = fx2 = fx3 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_left_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_left1", "default", 0.0); + set_state_val(PART:"shadow_left1", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left1", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left1", "custom", 0.0); + + custom_state(PART:"shadow_left2", "default", 0.0); + set_state_val(PART:"shadow_left2", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left2", STATE_REL2_OFFSET, round(fx2) - 1, - 1); + set_state(PART:"shadow_left2", "custom", 0.0); + + custom_state(PART:"shadow_left3", "default", 0.0); + set_state_val(PART:"shadow_left3", STATE_REL1_OFFSET, round(fx3), 0); + set_state_val(PART:"shadow_left3", STATE_REL2_OFFSET, round(fx3) - 1, - 1); + set_state(PART:"shadow_left3", "custom", 0.0); + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right1", "default", 0.0); + set_state(PART:"shadow_right2", "default", 0.0); + set_state(PART:"shadow_right3", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = fx2 = fx3 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * 16.0 + 26; + fx2 = fx2 * 10.0 + 17; + fx3 = fx3 * 5.0 + 8; + } + else + { + set_int(effect_right_max, 1); + fx1 = 42.0; + fx2 = 27.0; + fx3 = 13.0; + } + custom_state(PART:"shadow_right1", "default", 0.0); + set_state_val(PART:"shadow_right1", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right1", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right1", "custom", 0.0); + + custom_state(PART:"shadow_right2", "default", 0.0); + set_state_val(PART:"shadow_right2", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right2", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, - 1); + set_state(PART:"shadow_right2", "custom", 0.0); + + custom_state(PART:"shadow_right3", "default", 0.0); + set_state_val(PART:"shadow_right3", STATE_REL1_OFFSET, round(fx3) * -1, 0); + set_state_val(PART:"shadow_right3", STATE_REL2_OFFSET, (round(fx3) - 1) * -1, - 1); + set_state(PART:"shadow_right3", "custom", 0.0); + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/toolbar/item/tabbar"; + images { + image: "00_badge_bg.#.png" COMP; + image: "00_focus_01.#.png" COMP; + image: "00_tab_select_bar.#.png" COMP; + image: "00_effect_tab_text_dim_left.#.png" COMP; + image: "00_effect_tab_text_dim_right.#.png" COMP; + } + + data { + item: "transition_animation_on" "0"; + item: "widget_style" "Toolbar Item"; + } + script { + public item_state = ITEM_STATE_ENABLED; + public items_number = 0; + public mouse_down = 0; + public multi_down = 0; + public sliding_timer; + public end_timer; + public check_timer; + public text_w; + public org_text_w; + public bg_w; + public loop_count = 0; + public selected = 0; + public pressed = 0; + public sliding = 0; + public landscape = 0; + + public get_width() { + new x, y, w, h; + if (get_int(selected)) + { + set_state(PART:"elm.text", "selected", 0.0); + } + else + { + set_state(PART:"elm.text", "visible", 0.0); + } + get_geometry(PART:"elm.text", x, y, w, h); + set_int(org_text_w, w); + + set_state(PART:"elm.text", "sliding", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(text_w, w); + } + public get_width_landscape() { + new x, y, w, h; + get_geometry(PART:"bg", x, y, w, h); + set_int(bg_w, w); + + set_state(PART:"elm.text", "sliding", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(text_w, w); + } + + public ender(val) { + set_int(loop_count, 0); + if (get_int(sliding_timer)) cancel_timer(get_int(sliding_timer)); + set_int(sliding_timer, 0); + if (get_int(end_timer)) cancel_timer(get_int(end_timer)); + set_int(end_timer, 0); + set_state(PART:"elm.text.dim.left", "default", 0.0); + set_state(PART:"elm.text_new.clipper", "default", 0.0); + if (val == 1) { + set_int(sliding, TOOLBAR_SLIDING_END); + custom_state(PART:"elm.text", "sliding", 0.0); + set_state_val(PART:"elm.text", STATE_REL1_OFFSET, TOOLBAR_SLIDING_TEXT_OFFSET, 0); + set_state_val(PART:"elm.text", STATE_REL2_OFFSET, TOOLBAR_SLIDING_TEXT_OFFSET, 0); + set_state(PART:"elm.text", "custom", 0.0); + } else { + set_int(sliding, TOOLBAR_SLIDING_NO_EFFECT); + if(get_int(pressed)) + { + set_state(PART:"elm.text", "pressed", 0.0); + } + else if (get_int(selected)) + { + set_state(PART:"elm.text", "selected", 0.0); + } + else + { + set_state(PART:"elm.text", "visible", 0.0); + } + set_state(PART:"elm.text.dim.right", "default", 0.0); + } + } + public check_text(val) { + if (get_int(landscape)) + { + get_width_landscape(); + if (get_int(text_w) <= get_int(bg_w)) { + ender(0); + return; + } + } + } + public slide_text(val) { + new buf[1024]; + if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { + set_int(loop_count, get_int(loop_count) + 1); + if (get_int(landscape)) + { + get_width_landscape(); + if (get_int(text_w) <= get_int(bg_w)) { + ender(0); + return; + } + } + else + { + get_width(); + if (get_int(text_w) <= get_int(org_text_w)) { + ender(0); + return; + } + } + } + val -= TOOLBAR_SLIDING_PER_FPS; +// for debuging ////////////////////////////// +/* snprintf(buf, 1024, "%d:%d:%d", + val, get_int(org_text_w), get_int(text_w)); + set_text(PART:"dbg", buf);*/ + + set_int(sliding, TOOLBAR_SLIDING_DOING); + + if (val <= -get_int(text_w) - TOOLBAR_SLIDING_TEXT_GAP + TOOLBAR_SLIDING_TEXT_OFFSET) + val = TOOLBAR_SLIDING_TEXT_OFFSET; + + custom_state(PART:"elm.text", "sliding", 0.0); + set_state_val(PART:"elm.text", STATE_REL1_OFFSET, val, 0); + set_state_val(PART:"elm.text", STATE_REL2_OFFSET, val, 0); + if (!get_int(pressed)) + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_selected_text_style_30"); + else + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_pressed_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + + set_state(PART:"elm.text_new.clipper", "animation", 0.0); + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text_new", buf); + + custom_state(PART:"elm.text_new", "sliding", 0.0); + set_state_val(PART:"elm.text_new", STATE_REL1_OFFSET, + val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); + set_state_val(PART:"elm.text_new", STATE_REL2_OFFSET, + val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); + if (!get_int(pressed)) + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_selected_text_style_30"); + else + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_pressed_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + + if (!get_int(pressed)) + { + set_state(PART:"elm.text.dim.left", "show", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show_pressed", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + + if (val == TOOLBAR_SLIDING_TEXT_OFFSET || val <= -get_int(text_w)) + { + set_state(PART:"elm.text.dim.left", "default", 0.0); + set_int(sliding, TOOLBAR_SLIDING_END); + } + else + set_int(sliding, TOOLBAR_SLIDING_DOING); + + + if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { + if (get_int(loop_count) < 3) + set_int(sliding_timer, timer(TOOLBAR_SLIDING_WAIT_TIME, "slide_text", TOOLBAR_SLIDING_TEXT_OFFSET)); + else + set_int(end_timer, timer(0.5, "ender", 1)); + } else + set_int(sliding_timer, timer(1.0/TOOLBAR_SLIDING_FPS, "slide_text", val)); + } + public slide_text2(val) { + new buf[1024]; + if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { + set_int(loop_count, get_int(loop_count) + 1); + if (get_int(landscape)) + { + get_width_landscape(); + if (get_int(text_w) <= get_int(bg_w)) { + ender(0); + return; + } + } + else + { + get_width(); + if (get_int(text_w) <= get_int(org_text_w)) { + ender(0); + return; + } + } + } + val -= TOOLBAR_SLIDING_PER_FPS; +// for debuging ////////////////////////////// +/* snprintf(buf, 1024, "%d:%d:%d", + val, get_int(org_text_w), get_int(text_w)); + set_text(PART:"dbg", buf);*/ + + set_int(sliding, TOOLBAR_SLIDING_DOING); + + if (val <= -get_int(text_w) - TOOLBAR_SLIDING_TEXT_GAP + TOOLBAR_SLIDING_TEXT_OFFSET) + val = TOOLBAR_SLIDING_TEXT_OFFSET; + + custom_state(PART:"elm.text", "sliding", 0.0); + set_state_val(PART:"elm.text", STATE_REL1_OFFSET, val, 0); + set_state_val(PART:"elm.text", STATE_REL2_OFFSET, val, 0); + if (!get_int(pressed)) + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_with_title_selected_text_style_30"); + else + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_with_title_pressed_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + + set_state(PART:"elm.text_new.clipper", "animation", 0.0); + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text_new", buf); + + custom_state(PART:"elm.text_new", "sliding", 0.0); + set_state_val(PART:"elm.text_new", STATE_REL1_OFFSET, + val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); + set_state_val(PART:"elm.text_new", STATE_REL2_OFFSET, + val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); + if (!get_int(pressed)) + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_with_title_selected_text_style_30"); + else + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_with_title_pressed_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + + if (!get_int(pressed)) + { + set_state(PART:"elm.text.dim.left", "show", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show_pressed", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + + if (val == TOOLBAR_SLIDING_TEXT_OFFSET || val <= -get_int(text_w)) + { + set_state(PART:"elm.text.dim.left", "default", 0.0); + set_int(sliding, TOOLBAR_SLIDING_END); + } + else + set_int(sliding, TOOLBAR_SLIDING_DOING); + + + if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { + if (get_int(loop_count) < 3) + set_int(sliding_timer, timer(TOOLBAR_SLIDING_WAIT_TIME, "slide_text2", TOOLBAR_SLIDING_TEXT_OFFSET)); + else + set_int(end_timer, timer(0.5, "ender", 1)); + } else + set_int(sliding_timer, timer(1.0/TOOLBAR_SLIDING_FPS, "slide_text2", val)); + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 180 0; + visible: 0; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: 180 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 320 0; + } + } + part { name: "selected_line"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + color_class: "B0514S"; + image.normal: "00_tab_select_bar.#.png"; + align: 0.0 1.0; + min: 0 7; + fixed: 0 1; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg_cover"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color_class: "B0514P"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "moving" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 2; + fixed: 1 1; + } + } + part { + name: "icon_rect"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + } + align: 0.5 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: TABBAR_ITEM_ICON_SIZE_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_after_icon"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.5 0.0; + rel1 { + relative: 0.0 1.0; + to: "icon_rect"; + } + rel2.to: "icon_rect"; + fixed: 0 1; + min: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_before_text"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.5 1.0; + rel1 { + relative: 0.0 0.0; + to_y: "elm.text"; + } + rel2 { + relative: 1.0 0.0; + to_y: "elm.text"; + } + fixed: 0 1; + min: 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + fixed: 1 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + align: 0.5 1.0; + rel1 { + relative: 0.0 0.0; + to_y: "padding_before_text"; + } + rel2 { + relative: 1.0 0.0; + to_y: "padding_before_text"; + } + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.icon_new"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon_new.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + fixed: 1 0; + min: TABBAR_ITEM_ICON_SIZE_INC; + max: TABBAR_ITEM_ICON_SIZE_INC; + rel1 { + relative: 0.0 0.0; + to_y: "padding_before_text"; + } + rel2 { + relative: 1.0 0.0; + to_y: "padding_before_text"; + } + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to_y: "padding_after_icon"; + } + fixed: 1 1; + max: 0 38; + text { + style: "tabbar_text_style_30"; + min: 0 1; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_selected_text_style_30"; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_pressed_text_style_30"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "tabbar_disabled_text_style_30"; + } + description { state: "sliding" 0.0; + inherit: "selected" 0.0; + rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { name: "elm.text_new"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text_new.clipper"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to_y: "padding_after_icon"; + } + max: 0 38; + fixed: 1 1; + text { + style: "tabbar_text_style_30"; + min: 0 1; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_selected_text_style_30"; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_pressed_text_style_30"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "tabbar_disabled_text_style_30"; + } + description { state: "sliding" 0.0; + inherit: "selected" 0.0; + rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { name: "padding.badge"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + min: 10 10; + fixed: 1 1; + } + description { state: "default" 0.10; + inherit: "default" 0.0; + min: TABBAR_BADGE_ONE_ITEM_PADDING_SIZE; + } + description { state: "default" 0.06; + inherit: "default" 0.0; + min: TABBAR_BADGE_TWO_ITEMS_PADDING_SIZE; + } + description { state: "default" 0.04; + inherit: "default" 0.0; + min: TABBAR_BADGE_THREE_ITEMS_PADDING_SIZE; + } + } + part { name: "elm.image.badge"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 54 54; + fixed: 1 1; + rel1 { + to: "left.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 1.0 1.0; + } + color_class: "B0517"; + image.normal: "00_badge_bg.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 12 54; + rel1 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + } + } + part { name: "right.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 12 54; + rel1 { + to: "padding.badge"; + relative: 0.0 1.0; + } + rel2 { + to: "padding.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + } + } + part { name: "elm.text.badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "right.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 0.0 1.0; + } + min: 30 0; + fixed: 1 0; + align: 1.0 0.5; + color_class: "T112"; + text { + text_class: "T112"; + min: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.text_new.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 153; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B052L6"; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color_class: "B052L6"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "B052L6S"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L6P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L6D"; + } + } + part { name: "elm.icon_new.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B052L6"; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color_class: "B052L6"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "B052L6S"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L6P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L6D"; + } + } + part { name: "elm.text.dim.left"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 45 0; + fixed: 1 0; + align: 0.0 0.5; + visible: 0; + rel1 { + relative: 0.0 0.0; + to_x: "elm.text.clipper"; + to_y: "elm.text"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.text.clipper"; + to_y: "elm.text"; + } + color_class: "B0514"; + image.normal: "00_effect_tab_text_dim_left.#.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "show_pressed" 0.0; + inherit: "show" 0.0; + color_class: "B0514P"; + } + } + part { name: "elm.text.dim.right"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 45 0; + fixed: 1 0; + align: 1.0 0.5; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.text.clipper"; + to_y: "elm.text"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.text.clipper"; + to_y: "elm.text"; + } + color_class: "B0514"; + image.normal: "00_effect_tab_text_dim_right.#.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "show_pressed" 0.0; + inherit: "show" 0.0; + color_class: "B0514P"; + } + } + part { name: "highlight"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color_class: "W161"; + image.normal: "00_focus_01.#.png"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "divider"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: TABBAR_ITEM_DIVIDER_SIZE 0; + max: TABBAR_ITEM_DIVIDER_SIZE -1; + fixed: 1 1; + color_class: "B0514L1"; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "event2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + dragable { + x: 1 0 0; + y: 1 0 0; + } + description { state: "default" 0.0; + color: 0 0 0 0; + } + } +// for debuging ////////////////////////////// +/* part { name: "dbg"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + fixed: 1 1; + align: 1.0 0.0; + text { + style: "tabbar_text_style_30"; + text: "test"; + min: 1 1; + } + } + }*/ + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "selected_text"; + } + program { name: "selected_text"; + script{ + new st[31]; + new Float:vl; + set_int(selected, 1); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "selected", vl); + if (strcmp(st, "default")) + run_program(PROGRAM:"slide_start"); + } + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "unselected_text"; + } + program { name: "unselected_text"; + script{ + new st[31]; + new Float:vl; + set_int(selected, 0); + set_int(sliding, TOOLBAR_SLIDING_NO_EFFECT); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "selected")) + set_state(PART:"elm.text", "visible", vl); + if (strcmp(st, "default")) + run_program(PROGRAM:"slide_stop"); + } + } + program { name: "moving"; + signal: "elm,state,moving"; + source: "elm"; + script { + if (get_int(item_state) != ITEM_STATE_DISABLED) + { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + + set_state(PART:"bg_cover", "moving", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + set_int(pressed, 1); + if (strcmp(st, "default")) + run_program(PROGRAM:"slide_stop"); + } + } + } + program { name: "key,pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "pressed"; + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + new st[31]; + new Float:vl; + set_int(mouse_down, 1); + get_state(PART:"elm.text", st, 30, vl); + + set_state(PART:"bg_cover", "pressed", 0.0); + if (!get_int(sliding)) + set_state(PART:"elm.text", "pressed", 0.0); + else if (get_int(sliding) == TOOLBAR_SLIDING_END) + { + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_pressed_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_pressed_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show_pressed", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + set_int(pressed, 1); + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_drag(PART:"event2", 0.0, 0.0); + set_state(PART:"bg_cover", "default", 0.0); + set_int(pressed, 0); + if (get_int(selected)) + { + if (!get_int(sliding)) + set_state(PART:"elm.text", "selected", 0.0); + else if (get_int(sliding) == TOOLBAR_SLIDING_END) + { + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_selected_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_selected_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else + { + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", "elm"); + if (get_int(item_state) != ITEM_STATE_DISABLED) + run_program(PROGRAM:"play_sound"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + script { + if (get_int(multi_down) == 0) + emit("elm,mouse,in", "elm"); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + emit("elm,mouse,out", "elm"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_DISABLED); + set_state(PART:"bg_cover", "disabled", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"elm.text.clipper", "disabled", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + run_program(PROGRAM:"label_set,animation,done"); + run_program(PROGRAM:"icon_set,animation,done"); + } + } + program {name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program {name: "multi_up"; + signal: "elm,action,multi,cancel"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_ENABLED); + set_state(PART:"bg_cover", "default", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"elm.text.clipper", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + run_program(PROGRAM:"label_set,animation,done"); + run_program(PROGRAM:"icon_set,animation,done"); + } + } + program { name: "label_set,animation,forward"; + signal: "elm,state,label_set,forward"; + source: "elm"; + after: "label_set,sync"; + } + program { name: "label_set,animation,backward"; + signal: "elm,state,label_set,backward"; + source: "elm"; + after: "label_set,sync"; + } + program { name: "label_set,sync"; + signal: "elm,state,label_set"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + set_state(PART:"elm.text_new", st, vl); + } + after: "label_set,animation"; + } + program { name: "label_set,animation"; + action: STATE_SET "animation" 0.0; + target: "elm.text.clipper"; + target: "elm.text_new.clipper"; + after: "label_set,animation,done"; + } + program { name: "label_set,animation,done"; + action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; + } + program { name: "label,reset"; + signal: "elm,state,label,reset"; + source: "elm"; + script { + set_state(PART:"elm.text_new.clipper", "default", 0.0); + if (get_int(item_state) != ITEM_STATE_DISABLED) + set_state(PART:"elm.text.clipper", "default", 0.0); + else + set_state(PART:"elm.text.clipper", "disabled", 0.0); + } + } + program { name: "icon_set,animation,forward"; + signal: "elm,state,icon_set,forward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation,backward"; + signal: "elm,state,icon_set,backward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation"; + signal: "elm,state,icon_set"; + source: "elm"; + action: STATE_SET "animation" 0.0; + target: "elm.icon.clipper"; + target: "elm.icon_new.clipper"; + after: "icon_set,animation,done"; + } + program { name: "icon_set,animation,done"; + action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; + } + program { name: "icon,reset"; + signal: "elm,state,icon,reset"; + source: "elm"; + script { + set_state(PART:"elm.icon_new.clipper", "default", 0.0); + if (get_int(item_state) != ITEM_STATE_DISABLED) + { + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + else + { + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "icon_text", 0.0); + } + if (get_int(pressed)) + set_state(PART:"elm.text", "pressed", 0.0); + else if (get_int(selected)) + set_state(PART:"elm.text", "selected", 0.0); + else + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (strcmp(st, "default")) + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (strncmp(st, "default", 7)) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"padding_after_icon", "visible", 0.0); + set_state(PART:"bg", "icon_text", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"icon_rect", "icononly", 0.0); + set_state(PART:"padding_after_icon", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + script { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + set_state(PART:"padding_after_icon", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "badge_show"; + signal: "elm,state,elm.text.badge,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.badge"; + target: "elm.image.badge"; + } + program { name: "badge_hide"; + signal: "elm,state,elm.text.badge,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.badge"; + target: "elm.image.badge"; + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "highlighted" 0.0; + target: "highlight"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + program { name: "tab_item_2"; + signal: "elm,number,item,2"; + source: "elm"; + script { + set_int(items_number, 2); + set_state(PART:"padding.badge", "default", 0.10); + } + } + program { name: "tab_item_3"; + signal: "elm,number,item,3"; + source: "elm"; + script { + set_int(items_number, 3); + set_state(PART:"padding.badge", "default", 0.06); + } + } + program { name: "tab_item_4"; + signal: "elm,number,item,4"; + source: "elm"; + script { + set_int(items_number, 4); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_5"; + signal: "elm,number,item,5"; + source: "elm"; + script { + set_int(items_number, 5); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_6"; + signal: "elm,number,item,6"; + source: "elm"; + script { + set_int(items_number, 6); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_7"; + signal: "elm,number,item,7"; + source: "elm"; + script { + set_int(items_number, 7); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_8"; + signal: "elm,number,item,8"; + source: "elm"; + script { + set_int(items_number, 8); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_9"; + signal: "elm,number,item,9"; + source: "elm"; + script { + set_int(items_number, 9); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_10"; + signal: "elm,number,item,10"; + source: "elm"; + script { + set_int(items_number, 10); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_upper_4"; + script { + set_state(PART:"padding.badge", "default", 0.04); + } + } + program { name: "slide_start"; + script { + if (!get_int(sliding_timer) && !get_int(end_timer)) { + set_int(sliding_timer, timer(TOOLBAR_SLIDING_WAIT_TIME, "slide_text", TOOLBAR_SLIDING_TEXT_OFFSET)); + } + } + } + program { name: "slide_stop"; + script { + ender(0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_state(PART:"bg", "landscape", 0.0); + set_int(landscape, 1); + if (!get_int(sliding)) + { + ender(0); + } + else + { + if (get_int(landscape)) + { + set_int(check_timer, timer(0, "check_text", 0)); + } + } + } + } + } + program { + name: "change_to_portrait"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (get_int(landscape)) { + set_state(PART:"bg", "icon_text", 0.0); + set_int(landscape, 0); + if (!get_int(sliding) && !strcmp(st, "selected")) + run_program(PROGRAM:"slide_start"); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { name: "divider_visible_1"; + signal: "elm,order,first,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + } + program { name: "divider_visible_2"; + signal: "elm,order,default,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + } + program { name: "divider_hidden"; + signal: "elm,order,last,item"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "divider"; + } + + } +} + +group { name: "elm/toolbar/base/tabbar/item_with_title"; + inherit: "elm/toolbar/base/tabbar"; + parts { + part { name: "base_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + } + color_class: "B0516"; + } + } + } +} + +group { name: "elm/toolbar/item/tabbar/item_with_title"; + inherit: "elm/toolbar/item/tabbar"; + images { + image: "00_effect_tab_text_dim_left.#.png" COMP; + image: "00_effect_tab_text_dim_right.#.png" COMP; + image: "00_badge_bg_02.#.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 240 0; + visible: 0; + } + description { state: "scrollable" 0.0; + inherit: "default" 0.0; + min: 206 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 256 0; + } + description { state: "landscape_4items" 0.0; + inherit: "default" 0.0; + min: 320 0; + } + description { state: "landscape_scrollable" 0.0; + inherit: "default" 0.0; + min: 233 0; + } + } + part { name: "bg_cover"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color_class: "B0516P"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "moving" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 0 50; + text { + style: "tabbar_with_title_text_style_30"; + min: 0 1; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_with_title_selected_text_style_30"; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_with_title_pressed_text_style_30"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "tabbar_with_title_disabled_text_style_30"; + } + description { state: "sliding" 0.0; + inherit: "selected" 0.0; + rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { name: "elm.text_new"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text_new.clipper"; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 0 50; + text { + style: "tabbar_with_title_text_style_30"; + min: 0 1; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_with_title_selected_text_style_30"; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text.style: "tabbar_with_title_pressed_text_style_30"; + } + description { state: "disabled" 0.0; + inherit: visible; + text.style: "tabbar_with_title_disabled_text_style_30"; + } + description { state: "sliding" 0.0; + inherit: "selected" 0.0; + rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { name: "padding.badge"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + min: 1 5; + fixed: 1 1; + } + } + part { name: "elm.image.badge"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 36 36; + fixed: 1 1; + rel1 { + to: "left.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 1.0 1.0; + } + color_class: "B0517"; + image.normal: "00_badge_bg_02.#.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 6 36; + rel1 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + } + } + part { name: "right.padding.text"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 6 36; + rel1 { + to: "padding.badge"; + relative: 0.0 1.0; + } + rel2 { + to: "padding.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.0; + } + } + part { name: "elm.text.badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "right.padding.text"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text"; + relative: 0.0 1.0; + } + min: 24 0; + fixed: 1 0; + align: 1.0 0.5; + color_class: "T1121"; + text { + text_class: "T1121"; + min: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.dim.left"; + description { state: "default" 0.0; + color_class: "B0516"; + image.normal: "00_effect_tab_text_dim_left.#.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "show_pressed" 0.0; + inherit: "show" 0.0; + color_class: "B0516P"; + } + } + part { name: "elm.text.dim.right"; + description { state: "default" 0.0; + color_class: "B0516"; + image.normal: "00_effect_tab_text_dim_right.#.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "show_pressed" 0.0; + inherit: "show" 0.0; + color_class: "B0516P"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + new st[31]; + new Float:vl; + set_int(mouse_down, 1); + get_state(PART:"elm.text", st, 30, vl); + + set_state(PART:"bg_cover", "pressed", 0.0); + if (!get_int(sliding)) + set_state(PART:"elm.text", "pressed", 0.0); + else if (get_int(sliding) == TOOLBAR_SLIDING_END) + { + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_with_title_pressed_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_with_title_pressed_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show_pressed", 0.0); + set_state(PART:"elm.text.dim.right", "show_pressed", 0.0); + } + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + set_int(pressed, 1); + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_drag(PART:"event2", 0.0, 0.0); + set_state(PART:"bg_cover", "default", 0.0); + set_int(pressed, 0); + if (get_int(selected)) + { + if (!get_int(sliding)) + set_state(PART:"elm.text", "selected", 0.0); + else if (get_int(sliding) == TOOLBAR_SLIDING_END) + { + set_state_val(PART:"elm.text", STATE_TEXT_STYLE, "tabbar_with_title_selected_text_style_30"); + set_state(PART:"elm.text", "custom", 0.0); + set_state_val(PART:"elm.text_new", STATE_TEXT_STYLE, "tabbar_with_title_selected_text_style_30"); + set_state(PART:"elm.text_new", "custom", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + else + { + set_state(PART:"elm.text.dim.left", "show", 0.0); + set_state(PART:"elm.text.dim.right", "show", 0.0); + } + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else + { + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + + program { name: "tab_item_4"; + signal: "elm,number,item,4"; + source: "elm"; + script { + set_int(items_number, 4); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_5"; + signal: "elm,number,item,5"; + source: "elm"; + script { + set_int(items_number, 5); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_6"; + signal: "elm,number,item,6"; + source: "elm"; + script { + set_int(items_number, 6); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_7"; + signal: "elm,number,item,7"; + source: "elm"; + script { + set_int(items_number, 7); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_8"; + signal: "elm,number,item,8"; + source: "elm"; + script { + set_int(items_number, 8); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_9"; + signal: "elm,number,item,9"; + source: "elm"; + script { + set_int(items_number, 9); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_10"; + signal: "elm,number,item,10"; + source: "elm"; + script { + set_int(items_number, 10); + } + after: "tab_item_upper_4"; + } + program { name: "tab_item_upper_4"; + script { + if (get_int(items_number) >= 4 && !get_int(landscape)) + { + set_state(PART:"bg", "scrollable", 0.0); + } + else if (get_int(items_number) >= 6 && get_int(landscape)) + { + set_state(PART:"bg", "landscape_scrollable", 0.0); + } + else if (get_int(items_number) == 4 && get_int(landscape)) + { + set_state(PART:"bg", "landscape_4items", 0.0); + } + else if (get_int(items_number) == 5 && get_int(landscape)) + { + set_state(PART:"bg", "landscape", 0.0); + } + set_state(PART:"padding.badge", "default", 0.04); + } + } + program { name: "slide_start"; + script { + if (!get_int(sliding_timer) && !get_int(end_timer)) { + set_int(sliding_timer, timer(TOOLBAR_SLIDING_WAIT_TIME, "slide_text2", TOOLBAR_SLIDING_TEXT_OFFSET)); + } + } + } + program { name: "slide_stop"; + script { + ender(0); + } + } + + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + if (get_int(items_number) >= 6) + set_state(PART:"bg", "landscape_scrollable", 0.0); + else if (get_int(items_number) == 4) + set_state(PART:"bg", "landscape_4items", 0.0); + else + set_state(PART:"bg", "landscape", 0.0); + set_int(landscape, 1); + if (!get_int(sliding)) + { + ender(0); + } + else + { + if (get_int(landscape)) + { + set_int(check_timer, timer(0, "check_text", 0)); + } + } + } + } + } + program { + name: "change_to_portrait"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (get_int(landscape)) { + if (get_int(items_number) >= 4) + set_state(PART:"bg", "scrollable", 0.0); + else + set_state(PART:"bg", "default", 0.0); + set_int(landscape, 0); + if (!get_int(sliding) && !strcmp(st, "selected")) + run_program(PROGRAM:"slide_start"); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + + + } +} diff --git a/2.3-mobile/FHD-inc.edc b/2.3-mobile/FHD-inc.edc new file mode 100644 index 0000000..d8ce244 --- /dev/null +++ b/2.3-mobile/FHD-inc.edc @@ -0,0 +1,879 @@ +/* + * 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. + */ + +//****************************************************************************// +// This file defines the width, height (not color!) for each widgets +// We can define different INC file by Resolution (HD, WVGA, HVGA) +// +// ************* Naming Rule ************ // +// {WIDGET}_{GROUP}_{PART}_{STATE}_{TYPE} +// WIDGET: NAVIFRAME, LIST, DATETIME, POPUP, etc. +// GROUP: INDEX +// PART: TEXT, ICON, BG, PADDING, DIVIDER, ICON, etc. +// STATE: LEFT, RIGHT, TOP, BOTTOM, MIN, MAX, +// TYPE: HEIGHT, WIDTH, SIZE +// e.g. LIST_PADDING_LEFT_HEIGHT +//****************************************************************************// +#define BASE_SCALE_INC 3.6 +//****************************************************************************// +// Colorselector +//****************************************************************************// +#define COLORSELECTOR_PALETTE_COLORPLANE_HEIGHT_INC 358 +#define COLORSELECTOR_PALETTE_COLORPLANE_WIDTH_INC 1080 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC "10" +#define COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC "16" +#define COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC 135 135 +#define COLORPLANE_MIN_HEIGHT_INC 80 +#define COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC 36 +//****************************************************************************// +// Naviframe +//****************************************************************************// +#define NAVIFRAME_TITLE_HEIGHT_INC 162 +#define NAVIFRAME_SUBTITLE_HEIGHT_INC 60 +#define NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC 9 +#define NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC 9 +#define NAVIFRAME_TABBAR_HEIGHT_INC 162 +#define NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC 113 +#define NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TABBAR2_HEIGHT_INC 234 +#define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 2 +#define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 32 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 170 162 +#define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 32 +#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 32 +#define NAVIFRAME_BADGE_HEIGHT_INC 72 +#define NAVIFRAME_BADGE2_PADDING_WIDTH_INC (NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC) +#define NAVIFRAME_DRAWERS_WIDTH_INC 122 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 210 +#define NAVIFRAME_TOOLBAR_COLOR_INC 245 245 245 255 + +#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 170 162 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_PADDING_WIDTH_INC 32 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 104 104 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_PADDING_WIDTH_INC 32 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 104 104 +#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 122 +#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 122 162 + +//****************************************************************************// +// Label +//****************************************************************************// +#define LABEL_FONT_SIZE_INC 24 + +//****************************************************************************// +// Layout +//****************************************************************************// +#define LAYOUT_INDICATOR_HEIGHT_INC 24 // FIXME: indicator UX is not updated yet. + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 30 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 +#define SEARCHBAR_H_INC 63 +#define SEARCHBAR_HEIGHT_INC 63 +#define SEARCHBAR_BASE_HEIGHT_INC 63 +#define SEARCHBAR_WIDTH_INC 320 +#define SEARCHBAR_TOP_PADDING_INC 0 +#define SEARCHBAR_BOTTOM_PADDING_INC 0 +#define SEARCHBAR_LEFT_PADDING_INC 0 +#define SEARCHBAR_RIGHT_PADDING_INC 0 + +//****************************************************************************// +// Ctxpopup +//****************************************************************************// +#define CTXPOPUP_MOVE_PAD 40 +#define CTXPOPUP_OUTLINE_SIZE 1 +#define CTXPOPUP_WIDTH 1080 +#define CTXPOPUP_TEXT_MAX 1016 +#define CTXPOPUP_ITEM_TEXT_SIZE 20 +#define CTXPOPUP_ITEM_TEXT_MAX_SIZE 40 +#define CTXPOPUP_ITEM_HEIGHT_MIN 210 +#define CTXPOPUP_ITEM_HEIGHT_MAX 230 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING 32 +#define CTXPOPUP_ITEM_TEXT_TB_PADDING 62 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN 86 +#define CTXPOPUP_DROPDOWN_WIDTH 1016 +#define CTXPOPUP_DROPDOWN_TEXT_MAX 950 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE 60 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE (CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE*2) +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN 162 +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX 207 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 32 +#define CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING 1 +#define CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING 1 +#define CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT 2 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 140 +#define CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 22 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 +#define CTXPOPUP_ITEM_ICON_HORIZONTAL_WIDTH_INC 140 +#define CTXPOPUP_ITEM_BOTTOM_PADDING_INC 34 +#define CTXPOPUP_ITEM_TOP_PADDING_INC 34 +#define CTXPOPUP_ITEM_HEIGHT_INC 230 +#define CTXPOPUP_CONTENT_PADDING 1 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC 238 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MAX_INC 306 +#define CTXPOPUP_ITEM_HORIZONTAL_TEXT_HEIGHT_MIN 68 +#define CTXPOPUP_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC +#define CTXPOPUP_SEPARATOR_MAX_SIZE_INC 1 -1 +#define CTXPOPUP_ICON_WIDTH_INC 68 +#define CTXPOPUP_ICON_HEIGHT_INC 68 +#define CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC 14 +#define CTXPOPUP_TEXT_SIZE_INC 54 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 34 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 34 + +//****************************************************************************// +// Copypaste +//****************************************************************************// +#define CTXPOPUP_SHADOW_TOP_PADDING 0 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 0 +#define CTXPOPUP_SHADOW_LEFT_PADDING 10 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 10 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 20 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_CONTENT_TOP_PADDING 4 +#define CTXPOPUP_CONTENT_BOTTOM_PADDING 5 +#define CTXPOPUP_CONTENT_LEFT_PADDING 4 +#define CTXPOPUP_CONTENT_RIGHT_PADDING 4 +#define CTXPOPUP_ARROW_PADDING 0 +#define CTXPOPUP_ARROW_SIZE_INC 30 30 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 192 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 288 +#define CTXPOPUP_COPYPASTE_TEXT_SIZE_INC 38 +#define CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC (CTXPOPUP_COPYPASTE_TEXT_SIZE_INC * 2) +#define CTXPOPUP_COPYPASTE_WIDTH_MAX_INC 1058 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 198 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 68 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 68 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC 34 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 14 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 22 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 36 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +//****************************************************************************// +// Tabbar +//****************************************************************************// +#define TABBAR_TWO_ITEMS_SIZE_INC 540 0; +#define TABBAR_THREE_ITEMS_SIZE_INC 360 0; +#define TABBAR_FOUR_ITEMS_SIZE_INC 270 0; +#define TABBAR_SCROLLABLE_ITEMS_SIZE_INC 302 0; +#define TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC 960 0; +#define TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC 640 0; +#define TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC 480 0; +#define TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC 420 0; +#define TABBAR_SELECTED_LINE_SIZE_INC 0 8 +#define TABBAR_TEXT_CENTER_PADDING_SIZE_INC 0 2 +#define TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC 18 42 +#define TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 18 30 +#define TABBAR_ICON_TEXT_LEFT_TOP_PADDING_SIZE_INC 18 32 +#define TABBAR_ICON_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 18 22 +#define TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC 18 42 +#define TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC 18 30 +#define TABBAR_ICON_SIZE_INC 104 104 +#define TABBAR_ICON_TEXT_PAD_INC 32 0 +#define TABBAR_ICON_RECT_SIZE_INC 136 104 +#define TABBAR_TEXT_TEXT_SIZE_INC 0 82 +#define TABBAR_ICON_TEXT_TEXT_SIZE_INC 0 68 +#define TABBAR_ICON_TEXT_LAND_TEXT_SIZE_INC 0 82 +//Navigation style +#define TOOLBAR_NAVI_HEIGHT_INC 116 +#define TOOLBAR_NAVI_PADDING_INC 32 +#define TOOLBAR_NAVI_DIVIDER_INC 96 + +//****************************************************************************// +// Genlist +//****************************************************************************// +// Group index +#define LIST_INDEX_PADDING_LEFT_SIZE 32 +#define LIST_INDEX_PADDING_RIGHT_SIZE 32 +#define LIST_INDEX_PADDING_TOP_SIZE 17 +#define LIST_INDEX_PADDING_BOTTOM_SIZE 17 + +#define LIST_INDEX_HEIGHT 80 + +#define LIST_INDEX_TEXT_MAIN_SIZE 60 +#define LIST_INDEX_TEXT_SUB_SIZE 60 +#define LIST_INDEX_TEXT_SUB_WIDTH_MAX 360 +#define LIST_INDEX_TEXT_PADDING_SIZE 32 +#define LIST_INDEX_BOTTOMLINE_HEIGHT 2 + +// Normal style +#define LIST_ITEM_HEIGHT 210 +#define LIST_PADDING_TOP_SIZE 63 // FIXME: please check font height +#define LIST_PADDING_BOTTOM_SIZE 63 // FIXME: please check font height +#define LIST_2LINE_PADDING_TOP_SIZE 27 // FIXME: please check font height +#define LIST_2LINE_PADDING_BOTTOM_SIZE 27 // FIXME: please check font height +#define LIST_PADDING_CENTER_LEFT_SIZE 32 +#define LIST_PADDING_CENTER_RIGHT_SIZE 32 +#define LIST_PADDING_TEXT_SIZE 32 +#define LIST_PADDING_DEFAULT_SIZE 32 + +#define LIST_TEXT_MAIN_HEIGHT 84 +#define LIST_TEXT_SUB_HEIGHT 72 + +#define LIST_TEXT_MAIN_SIZE 68 +#define LIST_TEXT_SUB_SIZE 54 +#define LIST_TEXT_SUB_WIDTH_MAX 290 + +// Multiline style +#define LIST_WRAP_PADDING_LEFT_SIZE 32 +#define LIST_WRAP_PADDING_RIGHT_SIZE 32 +#define LIST_WRAP_PADDING_TOP_SIZE 30 +#define LIST_WRAP_PADDING_BOTTOM_SIZE 30 +#define LIST_MULTILINE_ICON_SIZE 134 134 +#define LIST_MULTILINE_ICON_SIZE1 90 90 + +// Editfield style +#define LIST_ENTRY_PADDING_LEFT_SIZE 0 +#define LIST_ENTRY_PADDING_RIGHT_SIZE 0 +#define LIST_ENTRY_PADDING_TOP_SIZE 0 +#define LIST_ENTRY_PADDING_BOTTOM_SIZE 0 + +#define LIST_ENTRY_PADDING_ICON_RIGHT_SIZE 32 +#define LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE 27 + +#define LIST_ENTRY_ENTRY_HEIGHT 210 +#define LIST_ENTRY_TEXT_SUB_WIDTH_MAX 360 +#define LIST_ENTRY_ICON_SIZE 104 104 + +// Bar style +#define LIST_BAR_PADDING_TOP_SIZE 30 +#define LIST_BAR_PADDING_BOTTOM_SIZE 30 +#define LIST_SLIDER_PADDING_CENTER_SIZE 22 +#define LIST_PROGRESSBAR_HEIGHT 200 +#define LIST_PROGRESSBAR_PADDING_CENTER_SIZE 22 + +// List A +#define LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 32 +#define LIST_A_LEFTICON_SIZE 72 72 +#define LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 32 +#define LIST_A_RIGHTICON_SIZE 72 72 +#define LIST_B_TYPE1_ICON_SIZE 210 210 +#define LIST_B_TYPE2_LEFT_PADDING_WIDTH 32 +#define LIST_B_TYPE2_ICON_SIZE 166 166 +#define LIST_B_TYPE3_LEFT_PADDING_WIDTH 32 +#define LIST_B_TYPE3_ICON_SIZE 104 104 +#define LIST_B_TYPE4_LEFT_PADDING_WIDTH 32 +#define LIST_B_TYPE4_RIGHT_PADDING_WIDTH 12 +#define LIST_B_TYPE4_ICON_SIZE 90 90 +#define LIST_C_TYPE1_RIGHT_PADDING_WIDTH 32 +#define LIST_C_TYPE1_ICON_SIZE 104 104 +#define LIST_C_TYPE2_RIGHT_PADDING_WIDTH 32 +#define LIST_C_TYPE2_ICON_SIZE 90 90 +#define LIST_C_TYPE3_RIGHT_PADDING_WIDTH 32 +#define LIST_C_TYPE3_ICON_SIZE 134 134 +#define LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE 2 90 +#define LIST_C_TYPE4_LEFT_PADDING_WIDTH 32 +#define LIST_C_TYPE4_RIGHT_PADDING_WIDTH 32 +#define LIST_C_TYPE4_ICON_SIZE 134 134 + +// Need to delete the following 6 +#define LIST_GROUP_HEIGHT 23 +#define LIST_DESC_PADDING_TOP_SIZE 23 +#define LIST_DESC_PADDING_BOTTOM_SIZE 72 +#define LIST_DESC_PADDING_LEFT_RIGHT_SIZE 34 +#define LIST_DESC_TEXT_PART_SIZE 72 +#define LIST_DESC_TEXT_SIZE 54 +// Need to delete the above 6 + +#define LIST_SELECT_ALL_PADDING_LEFT_SIZE 32 +#define LIST_SELECT_ALL_PADDING_RIGHT_SIZE 32 +#define LIST_SELECT_ALL_PADDING_BOTTOM_SIZE 2 +#define LIST_SELECT_ALL_ICON_SIZE 90 90 +#define LIST_SELECT_ALL_PADDING_CENTER_SIZE 32 +#define LIST_SELECT_ALL_HEIGHT 188 + +//Expand style +#define GENLIST_TREESIZE_DEFAULT 48 + +//****************************************************************************// +// SCROLLER +//****************************************************************************// +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 18 22 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 18 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 22 18 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT 20 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC 3 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 9 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 9 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 57 104 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 104 57 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 49 49 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 49 49 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 9 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 96 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 64 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE 32 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 64 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 43 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE 21 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 32 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 21 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE 11 + +//****************************************************************************// +// Entry +//****************************************************************************// +// Normal Entry +#define ENTRY_TEXT_SIZE_INC 24 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 3 +#define ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC 51 +#define ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC 51 +#define ENTRY_CURSOR_SIZE_INC 3 0 +#define MAGNIFIER_WIDTH_FIXED_INC 396 +#define MAGNIFIER_HEIGHT_MIN 78 +#define MAGNIFIER_HEIGHT_MAX 108 +#define MAGNIFIER_ARROW_HEIGHT_INC 10 +#define MAGNIFIER_LEFT_OFFSET_INC 11 11 +#define MAGNIFIER_RIGHT_OFFSET_INC 11 22 +#define ENTRY_EMOTICON_SIZE 26 26 + +// Editfield +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 34 0 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC 0 1 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC 0 7 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT 0 23 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT 0 23 +#define ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_LEFT_RIGHT_PADDING 11 0 +#define ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN 11 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT_MULTILINE 0 22 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT_MULTILINE 0 36 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_MULTILINE 0 22 +// Clear Button +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 80 80 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 80 80 + +// Editfield Layout +#define EDITFIELD_BASE_HEIGHT_INC 210 +#define EDITFIELD_TOP_LEFT_PADDING_MIN_INC 32 22 +#define EDITFIELD_MULTILINE_TOP_LEFT_PADDING_MIN_INC 32 63 +#define EDITFIELD_BOTTOM_RIGHT_PADDING_MIN_INC 32 34 +#define EDITFIELD_MULTILINE_BOTTOM_RIGHT_PADDING_MIN_INC 32 63 +#define EDITFIELD_BUTTON_FIELD_MIN_INC 80 80 +#define EDITFIELD_FOCUSED_BOTTOM_RIGHT_PADDING_MIN_INC 32+80+32 34 +#define EDITFIELD_ENTRY_FIELD_MIN_INC 0 84 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_INC 0 22 +#define EDITFIELD_LINE_RECT_MIN_INC 0 4 +#define EDITFIELD_ENTRY_SWALLOW_ALIGN 0.5 1.0-(22/34/2) +#define EDITFIELD_BASE_HEIGHT_MULTILINE_INC 144 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_MULTILINE_INC 0 22 + +#define BUTTON_OPTION_MIN_MAX_INC 104 104 +#define BUTTON_OPTION_IMAGE_MIN_MAX_INC 104 104 + +//Slider +#define SLIDER_BASE_HEIGHT_INC 16 +#define SLIDER_INDICATOR_SIZE_INC 96 +#define SLIDER_SWALLOWBAR_HEIGHT_INC 96 +#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 48 0 +#define SLIDER_ICON_PADDING_SIZE_INC 8 0 +#define SLIDER_CENTER_POINT_SIZE_INC 24 54 + +//Slider vertical +#define SLIDER_VERTICAL_BASE_HEIGHT_INC 16 +#define SLIDER_SWALLOWBAR_WIDTH_INC 96 +#define SLIDER_VERTICAL_CENTER_POINT_SIZE_INC 54 24 +#define SLIDER_VERTICAL_ICON_PADDING_SIZE_INC 28 4 +#define SLIDER_TOP_BOTTOM_PADDING_SIZE_INC 96 48 + +#define SLIDER_POPUP_WIDTH_INC 180 +#define SLIDER_POPUP_HEIGHT_INC 207 +#define SLIDER_INDICATOR_PADDING_TOP 45 +#define SLIDER_INDICATOR_PADDING_BOTTOM 72 +#define SLIDER_INDICATOR_TEXT_SIZE_HEIGHT 45 +#define SLIDER_INDICATOR_TEXT_SIZE_WIDTH 45 + +//Progressbar +#define PROGRESSBAR_BG_DEFAULT_HEIGHT_INC 94 +#define PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC 108 +#define PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC 171 +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 16 +#define PROGRESSBAR_PADDING_HEIGHT_INC 14 +#define PROCESS_LARGE_IMAGE_HEIGHT_INC 150 +#define PROCESS_LARGE_IMAGE_WIDTH_INC 150 +#define PROCESS_MEDIUM_IMAGE_HEIGHT_INC 81 +#define PROCESS_MEDIUM_IMAGE_WIDTH_INC 81 +#define PROCESS_SMALL_IMAGE_HEIGHT_INC 63 +#define PROCESS_SMALL_IMAGE_WIDTH_INC 63 + +//Check and Radio +#define CHECK_GEN_SIZE 135 135 +#define CHECK_SIZE 60 60 +#define CHECK_ICON_SIZE 68 68 +#define CHECK_BG_SIZE 90 90 +#define CHECK_BG_STROKE_SIZE 90 90 +#define RADIO_SIZE 68 68 +#define RADIO_BG_SIZE 90 90 +#define RADIO_BG_STROKE_SIZE 90 90 +#define CHECK_TEXT_FONT_SIZE_INC 22 +#define CHECK_PAD_BEFORE_TEXT_INC 34 0 +// No Content +#define NO_CONTENT_WIDTH_INC 320 +#define NO_CONTENT_WIDTH_LANDSCAPE_INC 480 +#define NO_CONTENT_BG_HEIGHT_INC 185 +#define NO_CONTENT_BG_LANDSCAPE_HEIGHT_INC 132 +#define NO_CONTENT_MAX_HEIGHT_INC 244 +#define NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 10 +#define NO_CONTENT_TITLE_TEXT_HEIGHT_INC 22 +#define NO_CONTENT_TEXT_PADDING_HEIGHT_INC 14 +#define NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC 20 +#define NO_CONTENT_TEXT_FONT_SIZE_INC 16 +//Button +#define BUTTON_BOTTOM_MIN_HEIGHT 166 +#define BUTTON_MIN_WIDTH 62 +#define BUTTON_MIN_HEIGHT 58 +#define BUTTON_MAX_WIDTH 1016 +#define BUTTON_ICON_DEFAULT_WIDTH 68 +#define BUTTON_ICON_DEFAULT_HEIGHT 68 +#define BUTTON_PADDING_ICON_RIGHT 27 +#define BUTTON_BOTTOM_PADDING_LEFT_RIGHT 18 +#define BUTTON_PADDING_LEFT_RIGHT 5 +#define BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 32 +#define BUTTON_DROPDOWN_ICON_SIZE 54 54 +#define BUTTON_DROPDOWN_MIN_HEIGHT 162 +#define BUTTON_DROPDOWN_UNDERLINE_HEIGHT 4 +#define BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 18 +#define BUTTON_ICON_HEIGHT 104 +#define BUTTON_ICON_WIDTH 104 +#define BUTTON_CIRCLE_SIZE 166 166 +#define BUTTON_CIRCLE_ICON_SIZE 104 104 +#define BUTTON_CIRCLE_LABEL_SIZE 270 386 +#define BUTTON_CIRCLE_TOP_PADDING_HEIGHT 32 +#define BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 18 +#define BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT 22 +#define BUTTON_CIRCLE_BOTTOM_PADDING_HEIGHT 22 +#define BUTTON_CIRCLE_TEXT_HEIGHT 144 +#define BUTTON_TEXT_SIZE 54 +#define BUTTON_BOTTOM_TEXT_SIZE 68 +#define BUTTON_DATE_TEXT_SIZE 20 +#define BUTTON_AMPM_TEXT_SIZE 135 +#define BUTTON_TEXT_CIRCLE_SIZE 54 +#define BUTTON_POPUP_TEXT_SIZE 22 +#define BUTTON_DROPDOWN_TEXT_SIZE 68 +//Multibuttonentry +#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 32 +#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 32 +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 32 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 32 +#define MULTIBUTTONENTRY_BOTTOM_HEIGHT_PAD_INC 32 +#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 126 +#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_PAD_INC 52 +#define MULTIBUTTONENTRY_BUTTON_WIDTH_INC 157 +#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 126 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 126 // same as button +#define MULTIBUTTONENTRY_LABEL_PAD_INC 0 + +//****************************************************************************// +// Index +//****************************************************************************// +// FastScrol +#define INDEX_ITEM_WIDTH_INC 75 +#define INDEX_ITEM_HEIGHT_INC 63 +#define INDEX_POPUP_TEXT_SIZE_INC 122 +#define INDEX_DIVIDER_WIDTH_INC 0 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 0 +#define INDEX_TEXT_LEFT_PADDING_SIZE_INC 0 +#define INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0 +#define INDEX_PADDING_SIZE_INC 6 +#define INDEX_ITEM_PADDING_SIZE_INC 0 +#define INDEX_SCROLL_DRAG_PART_SIZE 75 63 +#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 +#define INDEX_SCROLL_POPUP_SIZE 228 228 +#define INDEX_SCROLL_POPUP_ACTIVE_SIZE 228 228 +#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 114 114 +#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 114 114 + +// Page Control +#define INDEX_PAGECONTROL_IND_INC 72 60 +#define INDEX_PAGECONTROL_IND_MIN_INC 60 60 + +//****************************************************************************// +// Popup +//****************************************************************************// +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 68 +#define POPUP_SUBTITLE_TEXT_FONT_SIZE_INC 48 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 68 + +#define POPUP_OUTSIDE_PADDING "108" +#define POPUP_TITLE_AREA_HEIGHT "162" + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 1080 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 1080 1812 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 1080 0 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 1080 972 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 1080 162 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 1016 242 +#define POPUP_BASE_DEFAULT_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_SUBTITLE_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 1080 0 +#define POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC 1080 0 + +#define POPUP_TITLE_LEFT_PADDING 32 +#define POPUP_TITLE_RIGHT_PADDING 32 +#define POPUP_TITLE_TOP_PADDING 6 +#define POPUP_TITLE_BOTTOM_PADDING 6 +#define POPUP_SUBTITLE_HEIGHT 64 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 60 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 32 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 32 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 60 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "210" +#define POPUP_BUTTON1_DEFAULT_HEIGHT_INC 164 +#define POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 32 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 164 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 32 164 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 32 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 164 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 32 164 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 32 + +#define POPUP_TOAST_BG_MAX_WIDTH_INC 1016 +#define POPUP_TOAST_BG_MAX_HEIGHT_INC 1612 +#define POPUP_TOAST_BOTTOM_PAD_INC 0 +#define POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC 36 +#define POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 62 +#define POPUP_TOAST_TEXT_MAX_WIDTH_INC 768 +#define POPUP_TOAST_TEXT_MIN_HEIGHT_INC 72 +#define POPUP_TOAST_TEXT_MAX_HEIGHT_INC 1540 +#define POPUP_TOAST_CONTENT_HEIGHT_MIN_INC 144 + +#define STYLE_TAGS \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T1067"; + +styles { + // ************* list main text ********** // + style { name: "list_text_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list sub text ********** // + style { name: "list_text_sub_01"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024S text_class=T024S ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1 text_class=T024L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T025 text_class=T025 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T025 text_class=T025 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2P text_class=T024L2P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list index text ********** // + style { name: "list_text_index_main"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027 text_class=T027 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027 text_class=T027 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T028 text_class=T028 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T028 text_class=T028 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // multiline text + style { name: "list_text_multiline_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024S text_class=T024S wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_desc"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_select"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* button text ********** // + style { name: "button_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2 text_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2D text_class=T051L2D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2P text_class=T051L2P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_dropdown"; + base: "font=Tizen:style=Regular font_size="BUTTON_DROPDOWN_TEXT_SIZE" color=#ffffff color_class=T1235 text_class=T1235 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_date"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234 text_class=T1234 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234D text_class=T1234D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234P text_class=T1234P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_bottom"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_trans"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff color_class=T1221 text_class=T1221 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_circle"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_CIRCLE_SIZE" align=center color=#ffffff color_class=T127 text_class=T127 wrap=mixed"; + STYLE_TAGS + } + style { name: "button_contacts"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2 text_class=T051L2 wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2D text_class=T051L2D wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2P text_class=T051L2P wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup_dim"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + } + // ************* no Content text ********** // + style { name: "empty_state_1"; + base: "font=Tizen:style=Regular font_size="NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L1 text_class=T0222L1 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } + style { name: "empty_state_2"; + base: "font=Tizen:style=Light font_size="NO_CONTENT_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L2 text_class=T0222L2 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } +} + + +//****************************************************************************// +// Gengrid +//****************************************************************************// + +#define GRID_PADDING_LEFT_TOP_SIZE 2 2 +#define GRID_PADDING_RIGHT_BOTTOM_SIZE 2 2 +#define GRID_POPUP_PADDING_LEFT_TOP_SIZE 94 46 +#define GRID_POPUP_PADDING_RIGHT_BOTTOM_SIZE 94 22 +#define GRID_POPUP_ITEM_REAL_BG_SIZE 350 374 +#define GRID_POPUP_SWALLOW_ICON_SIZE 162 162 +#define GRID_POPUP_TEXT_SIZE 278 144 +#define GENGRID_POPUP_CONTENT_TOP_PADDING 40 +#define GENGRID_POPUP_CONTENT_BOTTOM_PADDING 40 + +//**************************DATETIME SPINNER****************// + +#define DATETIME_WIDGET_HEIGHT 164 //FIXME : widget UX not provided +#define DATETIME_WIDGET_PADDING_SIZE_INC 32 164 //FIXME : widget UX not provided + + +#define DATETIME_LAYOUT_CONTENT_SIZE_INC 1080 500 +#define TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 192 +#define TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 84 +#define TIME_LAYOUT_CONTENT_COLON_WIDTH_INC 56 + +#define DATETIME_AMPM_BUTTON_SIZE_INC 236 248 +#define DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC 236 152 +#define DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC 48 +#define DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 27 + +#define TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 102 +#define TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 56 +#define TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 236 +#define TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 50 + +#define DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 315 +#define DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 54 +#define DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 53 +#define DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 14 + +#define SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC 96 136 +#define SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC 96 136 +#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 136 96 +#define SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC 136 96 +#define SPINNER_TEXT_HEIGHT_INC 248 +#define SPINNER_TEXT_TOP_BOTTOM_PADDING_HEIGHT_INC 30 +#define SPINNER_UP_DOWN_BG_EVENT_AREA_HEIGHT_INC 126 +#define SPINNER_VERTICAL_BG_WIDTH_INC 236 +#define SPINNER_VERTICAL_BG_HEIGHT_INC 500 + +#define ENTRY_TIME_LAYOUT_TEXT_SIZE_INC 60 +#define ENTRY_DATE_LAYOUT_TEXT_SIZE_INC 40 + +//***************************DATETIME SPINNER*************************// + + diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_00.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_00.png new file mode 100644 index 0000000..05cb547 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_00.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_01.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_01.png new file mode 100644 index 0000000..53cff68 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_01.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_02.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_02.png new file mode 100644 index 0000000..525f882 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_02.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_03.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_03.png new file mode 100644 index 0000000..580012e Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_03.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_04.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_04.png new file mode 100644 index 0000000..b40035f Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_04.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_05.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_05.png new file mode 100644 index 0000000..0cbddc6 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_05.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_06.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_06.png new file mode 100644 index 0000000..2db5b51 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_06.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_07.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_07.png new file mode 100644 index 0000000..bd4bab1 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_07.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_08.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_08.png new file mode 100644 index 0000000..67cace6 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_08.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_09.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_09.png new file mode 100644 index 0000000..3d041c0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_09.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_10.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_10.png new file mode 100644 index 0000000..4628958 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_10.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_11.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_11.png new file mode 100644 index 0000000..de400e3 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_11.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_12.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_12.png new file mode 100644 index 0000000..2097cb5 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_12.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_13.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_13.png new file mode 100644 index 0000000..ded8909 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_13.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_14.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_14.png new file mode 100644 index 0000000..61d9be0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_14.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_15.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_15.png new file mode 100644 index 0000000..ef6bebb Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_15.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_16.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_16.png new file mode 100644 index 0000000..ec370e6 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_16.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_17.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_17.png new file mode 100644 index 0000000..1e29848 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_17.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_18.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_18.png new file mode 100644 index 0000000..c8fcd13 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_18.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_19.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_19.png new file mode 100644 index 0000000..892bebe Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_19.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_20.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_20.png new file mode 100644 index 0000000..a46231f Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_20.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_21.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_21.png new file mode 100644 index 0000000..67424cd Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_21.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_22.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_22.png new file mode 100644 index 0000000..1551b12 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_22.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_23.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_23.png new file mode 100644 index 0000000..1ae3057 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_23.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_24.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_24.png new file mode 100644 index 0000000..7a2049b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_24.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_25.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_25.png new file mode 100644 index 0000000..8f65001 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_25.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_26.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_26.png new file mode 100644 index 0000000..105f5e0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_26.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_27.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_27.png new file mode 100644 index 0000000..10f45b2 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_27.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_28.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_28.png new file mode 100644 index 0000000..7077710 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_28.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_29.png b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_29.png new file mode 100644 index 0000000..a882859 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/large/core_activity_Indicator_large_29.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png new file mode 100644 index 0000000..37b7a90 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png new file mode 100644 index 0000000..c14c54b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png new file mode 100644 index 0000000..693f8f2 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png new file mode 100644 index 0000000..0270a40 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png new file mode 100644 index 0000000..6fc5587 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png new file mode 100644 index 0000000..ee5d96b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png new file mode 100644 index 0000000..46e3964 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png new file mode 100644 index 0000000..93ebf9e Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png new file mode 100644 index 0000000..8e4c688 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png new file mode 100644 index 0000000..007218f Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png new file mode 100644 index 0000000..75cb0f8 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png new file mode 100644 index 0000000..5df320a Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png new file mode 100644 index 0000000..c28de6b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png new file mode 100644 index 0000000..2fd2e51 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png new file mode 100644 index 0000000..9e07a5d Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png new file mode 100644 index 0000000..5fccce5 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png new file mode 100644 index 0000000..5bdbcdd Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png new file mode 100644 index 0000000..88becef Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png new file mode 100644 index 0000000..ef23ee0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png new file mode 100644 index 0000000..e8a6dba Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png new file mode 100644 index 0000000..79e50b1 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png new file mode 100644 index 0000000..2f9f472 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png new file mode 100644 index 0000000..9f77e60 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png new file mode 100644 index 0000000..bea093d Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png new file mode 100644 index 0000000..dcad32d Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png new file mode 100644 index 0000000..46cdca2 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png new file mode 100644 index 0000000..62071df Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png new file mode 100644 index 0000000..55b2cab Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png new file mode 100644 index 0000000..85868f5 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png new file mode 100644 index 0000000..6e358a1 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_00.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_00.png new file mode 100644 index 0000000..d62fae7 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_00.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_01.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_01.png new file mode 100644 index 0000000..63cb531 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_01.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_02.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_02.png new file mode 100644 index 0000000..de3e25b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_02.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_03.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_03.png new file mode 100644 index 0000000..ee57d11 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_03.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_04.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_04.png new file mode 100644 index 0000000..6656462 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_04.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_05.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_05.png new file mode 100644 index 0000000..7be533c Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_05.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_06.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_06.png new file mode 100644 index 0000000..ee5c682 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_06.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_07.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_07.png new file mode 100644 index 0000000..3294b3a Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_07.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_08.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_08.png new file mode 100644 index 0000000..fa8a2c1 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_08.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_09.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_09.png new file mode 100644 index 0000000..430be0a Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_09.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_10.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_10.png new file mode 100644 index 0000000..25e1121 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_10.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_11.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_11.png new file mode 100644 index 0000000..0da56d0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_11.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_12.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_12.png new file mode 100644 index 0000000..3c7c428 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_12.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_13.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_13.png new file mode 100644 index 0000000..62d0767 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_13.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_14.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_14.png new file mode 100644 index 0000000..ba7da28 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_14.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_15.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_15.png new file mode 100644 index 0000000..02da45a Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_15.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_16.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_16.png new file mode 100644 index 0000000..cf9ff13 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_16.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_17.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_17.png new file mode 100644 index 0000000..86db1e1 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_17.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_18.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_18.png new file mode 100644 index 0000000..7d33fb2 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_18.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_19.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_19.png new file mode 100644 index 0000000..fa016c0 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_19.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_20.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_20.png new file mode 100644 index 0000000..a62ad25 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_20.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_21.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_21.png new file mode 100644 index 0000000..78fa3aa Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_21.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_22.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_22.png new file mode 100644 index 0000000..2bb086b Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_22.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_23.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_23.png new file mode 100644 index 0000000..37aa26f Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_23.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_24.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_24.png new file mode 100644 index 0000000..d3f6f4d Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_24.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_25.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_25.png new file mode 100644 index 0000000..85a2b81 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_25.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_26.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_26.png new file mode 100644 index 0000000..ac459c9 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_26.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_27.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_27.png new file mode 100644 index 0000000..4271b3c Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_27.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_28.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_28.png new file mode 100644 index 0000000..d035977 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_28.png differ diff --git a/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_29.png b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_29.png new file mode 100644 index 0000000..db892f8 Binary files /dev/null and b/2.3-mobile/FHD/images/Activity_indicator/small/core_activity_Indicator_small_29.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_button_icon_clear.png b/2.3-mobile/FHD/images/Content_views/core_button_icon_clear.png new file mode 100755 index 0000000..1081749 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_button_icon_clear.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg.#.png b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg.#.png new file mode 100755 index 0000000..012bafe Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg_stroke.#.png b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg_stroke.#.png new file mode 100755 index 0000000..430138d Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_bg_stroke.#.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_dropdown_label_icon_arrow.png b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_icon_arrow.png new file mode 100755 index 0000000..3c3ab89 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_dropdown_label_icon_arrow.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_focus.#.png b/2.3-mobile/FHD/images/Content_views/core_focus.#.png new file mode 100755 index 0000000..196dd13 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_focus.#.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_folder_icon_folder.png b/2.3-mobile/FHD/images/Content_views/core_folder_icon_folder.png new file mode 100755 index 0000000..a66cd53 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_folder_icon_folder.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_folder_icon_minus.png b/2.3-mobile/FHD/images/Content_views/core_folder_icon_minus.png new file mode 100755 index 0000000..5764048 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_folder_icon_minus.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_folder_icon_plus.png b/2.3-mobile/FHD/images/Content_views/core_folder_icon_plus.png new file mode 100755 index 0000000..2966c74 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_folder_icon_plus.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_group_list_bg_ef.#.png b/2.3-mobile/FHD/images/Content_views/core_group_list_bg_ef.#.png new file mode 100644 index 0000000..d7424ef Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_group_list_bg_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg.png b/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg.png new file mode 100755 index 0000000..1b1b594 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg_h.png b/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg_h.png new file mode 100755 index 0000000..0a5c84f Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_pattern_empty_bg_h.png differ diff --git a/2.3-mobile/FHD/images/Content_views/core_title_icon_option.png b/2.3-mobile/FHD/images/Content_views/core_title_icon_option.png new file mode 100755 index 0000000..cfa31f5 Binary files /dev/null and b/2.3-mobile/FHD/images/Content_views/core_title_icon_option.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_activity_Indicator_large.png b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_large.png new file mode 100755 index 0000000..d49ee54 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_large.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_activity_Indicator_medium.png b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_medium.png new file mode 100755 index 0000000..a5cf132 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_medium.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_activity_Indicator_small.png b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_small.png new file mode 100755 index 0000000..e5fb1e6 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_activity_Indicator_small.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_button_add.png b/2.3-mobile/FHD/images/Controls/core_button_add.png new file mode 100755 index 0000000..f7e61b0 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_button_add.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_button_bg.#.png b/2.3-mobile/FHD/images/Controls/core_button_bg.#.png new file mode 100755 index 0000000..eba1fe5 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_button_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_button_delete.png b/2.3-mobile/FHD/images/Controls/core_button_delete.png new file mode 100755 index 0000000..cc98e9d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_button_delete.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_button_reorder.png b/2.3-mobile/FHD/images/Controls/core_button_reorder.png new file mode 100755 index 0000000..d221f2f Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_button_reorder.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_check_bg.png b/2.3-mobile/FHD/images/Controls/core_check_bg.png new file mode 100755 index 0000000..99c2107 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_check_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_check_bg_stroke.png b/2.3-mobile/FHD/images/Controls/core_check_bg_stroke.png new file mode 100644 index 0000000..54f7e13 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_check_bg_stroke.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_check_icon.png b/2.3-mobile/FHD/images/Controls/core_check_icon.png new file mode 100755 index 0000000..54fd489 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_check_icon.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_check_stroke.png b/2.3-mobile/FHD/images/Controls/core_check_stroke.png new file mode 100755 index 0000000..3083281 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_check_stroke.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_color_picker_color_shadow.png b/2.3-mobile/FHD/images/Controls/core_color_picker_color_shadow.png new file mode 100755 index 0000000..4c2ea82 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_color_picker_color_shadow.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_color_picker_palette.png b/2.3-mobile/FHD/images/Controls/core_color_picker_palette.png new file mode 100755 index 0000000..84daaaf Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_color_picker_palette.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_color_picker_palette_focused.png b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_focused.png new file mode 100644 index 0000000..cd27c93 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_focused.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected.png b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected.png new file mode 100755 index 0000000..3afc77f Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected_bg.png b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected_bg.png new file mode 100755 index 0000000..aa3703d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_color_picker_palette_selected_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_floating_button_bg.#.png b/2.3-mobile/FHD/images/Controls/core_floating_button_bg.#.png new file mode 100755 index 0000000..845787d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_floating_button_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_floating_button_bg_ef.png b/2.3-mobile/FHD/images/Controls/core_floating_button_bg_ef.png new file mode 100755 index 0000000..e9716f5 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_floating_button_bg_ef.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_brightness.png b/2.3-mobile/FHD/images/Controls/core_icon_brightness.png new file mode 100755 index 0000000..d25066d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_brightness.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_container.png b/2.3-mobile/FHD/images/Controls/core_icon_container.png new file mode 100755 index 0000000..570a91e Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_container.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_expand_close.png b/2.3-mobile/FHD/images/Controls/core_icon_expand_close.png new file mode 100755 index 0000000..8c52674 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_expand_close.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_expand_open.png b/2.3-mobile/FHD/images/Controls/core_icon_expand_open.png new file mode 100755 index 0000000..1ce6757 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_expand_open.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_favorite.png b/2.3-mobile/FHD/images/Controls/core_icon_favorite.png new file mode 100755 index 0000000..e91659b Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_favorite.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_down.png b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_down.png new file mode 100755 index 0000000..49ae9b2 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_down.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_left.png b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_left.png new file mode 100644 index 0000000..78cf765 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_left.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_right.png b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_right.png new file mode 100644 index 0000000..945702e Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_right.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_up.png b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_up.png new file mode 100755 index 0000000..9baa803 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_icon_picker_arrow_up.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h.#.png new file mode 100755 index 0000000..640365b Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h_ef.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..96751c8 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v.#.png new file mode 100755 index 0000000..ce52305 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v_ef.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..3f229ca Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_01.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_01.png new file mode 100755 index 0000000..d642b6b Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_01.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_02.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_02.png new file mode 100755 index 0000000..b41393e Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_h_02.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_01.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_01.png new file mode 100755 index 0000000..92771df Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_01.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_02.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_02.png new file mode 100755 index 0000000..72a3d3c Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_handler_v_02.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg.#.png new file mode 100755 index 0000000..4402bd8 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_ef.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_ef.#.png new file mode 100755 index 0000000..cef0c23 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_stroke.#.png b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_stroke.#.png new file mode 100755 index 0000000..80aed76 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_index_scroll_popup_bg_stroke.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_list_button_bg.#.png b/2.3-mobile/FHD/images/Controls/core_list_button_bg.#.png new file mode 100755 index 0000000..ea6c926 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_list_button_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_progress_bar.#.png b/2.3-mobile/FHD/images/Controls/core_progress_bar.#.png new file mode 100755 index 0000000..1c8573f Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_progress_bar.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_progress_bar_v.#.png b/2.3-mobile/FHD/images/Controls/core_progress_bar_v.#.png new file mode 100755 index 0000000..862fa12 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_progress_bar_v.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_01.png b/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_01.png new file mode 100755 index 0000000..fad55dd Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_01.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_02.png b/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_02.png new file mode 100755 index 0000000..c4fcd36 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_progress_pending_bg_02.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_radio_bg.png b/2.3-mobile/FHD/images/Controls/core_radio_bg.png new file mode 100755 index 0000000..e5da4e9 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_radio_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_radio_bg_stroke.png b/2.3-mobile/FHD/images/Controls/core_radio_bg_stroke.png new file mode 100644 index 0000000..d6db6ae Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_radio_bg_stroke.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_radio_icon.png b/2.3-mobile/FHD/images/Controls/core_radio_icon.png new file mode 100755 index 0000000..c29a5a0 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_radio_icon.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_radio_stroke.png b/2.3-mobile/FHD/images/Controls/core_radio_stroke.png new file mode 100755 index 0000000..e94dab6 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_radio_stroke.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_scroll_bar_h.#.png b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h.#.png new file mode 100755 index 0000000..a04d041 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_ef.#.png b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..bfe3cbe Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_tab.#.png b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_tab.#.png new file mode 100644 index 0000000..7d25917 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_scroll_bar_h_tab.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_scroll_bar_v.#.png b/2.3-mobile/FHD/images/Controls/core_scroll_bar_v.#.png new file mode 100755 index 0000000..fd6cb7d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_scroll_bar_v.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_scroll_bar_v_ef.#.png b/2.3-mobile/FHD/images/Controls/core_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..a93893b Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg.png b/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg.png new file mode 100755 index 0000000..f9eee46 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg_v.png b/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg_v.png new file mode 100755 index 0000000..9b16ca4 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_center_point_bg_v.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_handle_normal.png b/2.3-mobile/FHD/images/Controls/core_slider_handle_normal.png new file mode 100755 index 0000000..061c0d3 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_handle_normal.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_handle_press.png b/2.3-mobile/FHD/images/Controls/core_slider_handle_press.png new file mode 100755 index 0000000..795e156 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_handle_press.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_popup_bg.png b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg.png new file mode 100755 index 0000000..fcc2cb2 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_ef.png b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_ef.png new file mode 100755 index 0000000..f25dda0 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_ef.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_stroke.png b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_stroke.png new file mode 100755 index 0000000..da8bd11 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_slider_popup_bg_stroke.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_toggle_bg.png b/2.3-mobile/FHD/images/Controls/core_toggle_bg.png new file mode 100755 index 0000000..8c05b5d Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_toggle_bg.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_toggle_icon_off.png b/2.3-mobile/FHD/images/Controls/core_toggle_icon_off.png new file mode 100755 index 0000000..bc94427 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_toggle_icon_off.png differ diff --git a/2.3-mobile/FHD/images/Controls/core_toggle_icon_on.png b/2.3-mobile/FHD/images/Controls/core_toggle_icon_on.png new file mode 100755 index 0000000..66d1f74 Binary files /dev/null and b/2.3-mobile/FHD/images/Controls/core_toggle_icon_on.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier.#.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier.#.png new file mode 100644 index 0000000..1706aa9 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier.#.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png new file mode 100644 index 0000000..450175f Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_circle.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_circle.png new file mode 100644 index 0000000..e794a3e Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_circle.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_line.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_line.png new file mode 100644 index 0000000..569e3f2 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_center_line.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_bottom.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_bottom.png new file mode 100644 index 0000000..048c247 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_bottom.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_top.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_top.png new file mode 100644 index 0000000..0cd7cad Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_circle_top.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_bottom.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_bottom.png new file mode 100644 index 0000000..bc1b344 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_bottom.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_top.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_top.png new file mode 100644 index 0000000..3153d0b Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_handler_line_top.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg.#.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg.#.png new file mode 100644 index 0000000..55447cd Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png new file mode 100644 index 0000000..b89651c Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_line.#.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_line.#.png new file mode 100644 index 0000000..0b5c2b1 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_bg_line.#.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png new file mode 100644 index 0000000..f0b6c4e Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_copy.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_copy.png new file mode 100644 index 0000000..4583c8d Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_copy.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_cut.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_cut.png new file mode 100644 index 0000000..6dd0044 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_cut.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_paste.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_paste.png new file mode 100644 index 0000000..48e7f50 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_paste.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select.png new file mode 100755 index 0000000..c61bb35 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select_all.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select_all.png new file mode 100755 index 0000000..e4b2346 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_icon_select_all.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom.png new file mode 100644 index 0000000..197dca2 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png new file mode 100644 index 0000000..654a596 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png new file mode 100644 index 0000000..261c0a3 Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up.png new file mode 100644 index 0000000..f25155f Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up.png differ diff --git a/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up_line.png b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up_line.png new file mode 100644 index 0000000..2a54dcb Binary files /dev/null and b/2.3-mobile/FHD/images/Copy_Paste/copy&paste_popup_tail_up_line.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-angry-shout.png b/2.3-mobile/FHD/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-angry-shout.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-angry.png b/2.3-mobile/FHD/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-angry.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-guilty.png b/2.3-mobile/FHD/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-guilty.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-haha.png b/2.3-mobile/FHD/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-haha.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-half-smile.png b/2.3-mobile/FHD/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-half-smile.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-happy.png b/2.3-mobile/FHD/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-happy.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-kiss.png b/2.3-mobile/FHD/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-kiss.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-little-bit-sorry.png b/2.3-mobile/FHD/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-love.png b/2.3-mobile/FHD/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-love.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-minimal-smile.png b/2.3-mobile/FHD/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-omg.png b/2.3-mobile/FHD/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-omg.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-smile.png b/2.3-mobile/FHD/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-smile.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-sorry.png b/2.3-mobile/FHD/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-sorry.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-surprised.png b/2.3-mobile/FHD/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-surprised.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-tongue-dangling.png b/2.3-mobile/FHD/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-very-sorry.png b/2.3-mobile/FHD/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-very-sorry.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-wink.png b/2.3-mobile/FHD/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-wink.png differ diff --git a/2.3-mobile/FHD/images/Emoticon/emo-worried.png b/2.3-mobile/FHD/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.3-mobile/FHD/images/Emoticon/emo-worried.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container.#.png b/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container.#.png new file mode 100755 index 0000000..286d3e0 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container.#.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container_outer.#.png b/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container_outer.#.png new file mode 100755 index 0000000..2befb01 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_icon_badge_container_outer.#.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_icon_drawer.png b/2.3-mobile/FHD/images/Navigation_elements/core_icon_drawer.png new file mode 100755 index 0000000..a785208 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_icon_drawer.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_bg.png b/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_bg.png new file mode 100755 index 0000000..3445ae1 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_bg.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_icon_arrow.png b/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_icon_arrow.png new file mode 100755 index 0000000..0897dd9 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_navigation_bar_icon_arrow.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off.png b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off.png new file mode 100755 index 0000000..abe508b Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off_ef.png b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off_ef.png new file mode 100644 index 0000000..21709ed Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_off_ef.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_on.png b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_on.png new file mode 100755 index 0000000..7964af6 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_page_indicator_on.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_title_button_bg.png b/2.3-mobile/FHD/images/Navigation_elements/core_title_button_bg.png new file mode 100755 index 0000000..8498fba Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_title_button_bg.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_title_button_focus.png b/2.3-mobile/FHD/images/Navigation_elements/core_title_button_focus.png new file mode 100755 index 0000000..94b6372 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_title_button_focus.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_cancel.png b/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_cancel.png new file mode 100755 index 0000000..9a17863 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_cancel.png differ diff --git a/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_done.png b/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_done.png new file mode 100755 index 0000000..b85e4f9 Binary files /dev/null and b/2.3-mobile/FHD/images/Navigation_elements/core_title_icon_done.png differ diff --git a/2.3-mobile/FHD/images/Popups/core_popup_noti_bg.#.png b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg.#.png new file mode 100644 index 0000000..63460ff Binary files /dev/null and b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg.#.png differ diff --git a/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_ef.#.png b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_ef.#.png new file mode 100755 index 0000000..3205401 Binary files /dev/null and b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_ef.#.png differ diff --git a/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_stroke.#.png b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_stroke.#.png new file mode 100755 index 0000000..0afeb12 Binary files /dev/null and b/2.3-mobile/FHD/images/Popups/core_popup_noti_bg_stroke.#.png differ diff --git a/2.3-mobile/FHD/images/Popups/core_popup_top.#.png b/2.3-mobile/FHD/images/Popups/core_popup_top.#.png new file mode 100755 index 0000000..3cc4fe3 Binary files /dev/null and b/2.3-mobile/FHD/images/Popups/core_popup_top.#.png differ diff --git a/2.3-mobile/HD-inc.edc b/2.3-mobile/HD-inc.edc new file mode 100644 index 0000000..37ad997 --- /dev/null +++ b/2.3-mobile/HD-inc.edc @@ -0,0 +1,885 @@ +/* + * 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. + */ + +//****************************************************************************// +// This file defines the width, height (not color!) for each widgets +// We can define different INC file by Resolution (HD, WVGA, HVGA) +// +// ************* Naming Rule ************ // +// {WIDGET}_{GROUP}_{PART}_{STATE}_{TYPE} +// WIDGET: NAVIFRAME, LIST, DATETIME, POPUP, etc. +// GROUP: INDEX +// PART: TEXT, ICON, BG, PADDING, DIVIDER, ICON, etc. +// STATE: LEFT, RIGHT, TOP, BOTTOM, MIN, MAX, +// TYPE: HEIGHT, WIDTH, SIZE +// e.g. LIST_PADDING_LEFT_HEIGHT +//****************************************************************************// +#define BASE_SCALE_INC 2.4 +#define SMALL "WVGA/" +#define MEDIUM "HD/" +#define DEFAULT_IMAGE "WVGA/" +//****************************************************************************// +// Colorselector +//****************************************************************************// +#define COLORSELECTOR_PALETTE_COLORPLANE_HEIGHT_INC 238 +#define COLORSELECTOR_PALETTE_COLORPLANE_WIDTH_INC 720 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC "7" +#define COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC "10" +#define COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC 90 90 +#define COLORPLANE_MIN_HEIGHT_INC 80 +#define COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC 24 +//****************************************************************************// +// Naviframe +//****************************************************************************// +#define NAVIFRAME_TITLE_HEIGHT_INC 108 +#define NAVIFRAME_SUBTITLE_HEIGHT_INC 42 +#define NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC 4 +#define NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC 4 +#define NAVIFRAME_TABBAR_HEIGHT_INC 108 +#define NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC 76 +#define NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TABBAR2_HEIGHT_INC 156 +#define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 2 +#define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 22 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 114 108 +#define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 22 +#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 22 +#define NAVIFRAME_BADGE_HEIGHT_INC 48 +#define NAVIFRAME_BADGE2_PADDING_WIDTH_INC (NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC) +#define NAVIFRAME_DRAWERS_WIDTH_INC 82 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 162 +#define NAVIFRAME_TOOLBAR_COLOR_INC 245 245 245 255 + +#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 114 108 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_PADDING_WIDTH_INC 22 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 70 70 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_PADDING_WIDTH_INC 22 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 70 70 +#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 82 +#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 82 108 + +//****************************************************************************// +// Label +//****************************************************************************// +#define LABEL_FONT_SIZE_INC 24 + +//****************************************************************************// +// Layout +//****************************************************************************// +#define LAYOUT_INDICATOR_HEIGHT_INC 60 // FIXME: indicator UX is not updated yet. +#define SEARCHBAR_CANCEL_BUTTON_W_INC 30 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 +#define SEARCHBAR_H_INC 63 +#define SEARCHBAR_HEIGHT_INC 63 +#define SEARCHBAR_BASE_HEIGHT_INC 63 +#define SEARCHBAR_WIDTH_INC 320 +#define SEARCHBAR_TOP_PADDING_INC 0 +#define SEARCHBAR_BOTTOM_PADDING_INC 0 +#define SEARCHBAR_LEFT_PADDING_INC 0 +#define SEARCHBAR_RIGHT_PADDING_INC 0 + +//****************************************************************************// +// Ctxpopup +//****************************************************************************// +#define CTXPOPUP_MOVE_PAD 40 +#define CTXPOPUP_OUTLINE_SIZE 1 +#define CTXPOPUP_WIDTH 720 +#define CTXPOPUP_TEXT_MAX 676 +#define CTXPOPUP_ITEM_TEXT_SIZE 20 +#define CTXPOPUP_ITEM_TEXT_MAX_SIZE 40 +#define CTXPOPUP_ITEM_HEIGHT_MIN 140 +#define CTXPOPUP_ITEM_HEIGHT_MAX 153 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING 22 +#define CTXPOPUP_ITEM_TEXT_TB_PADDING 41 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN 58 +#define CTXPOPUP_DROPDOWN_WIDTH 674 +#define CTXPOPUP_DROPDOWN_TEXT_MAX 630 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE 40 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE (CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE*2) +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN 108 +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX 138 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 22 +#define CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING 1 +#define CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING 1 +#define CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT 2 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 94 +#define CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 15 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 +#define CTXPOPUP_ITEM_ICON_HORIZONTAL_WIDTH_INC 124 +#define CTXPOPUP_ITEM_BOTTOM_PADDING_INC 23 +#define CTXPOPUP_ITEM_TOP_PADDING_INC 23 +#define CTXPOPUP_ITEM_HEIGHT_INC 154 +#define CTXPOPUP_CONTENT_PADDING 1 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC 106 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MAX_INC 136 +#define CTXPOPUP_ITEM_HORIZONTAL_TEXT_HEIGHT_MIN 48 +#define CTXPOPUP_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC +#define CTXPOPUP_SEPARATOR_MAX_SIZE_INC 1 -1 +#define CTXPOPUP_ICON_WIDTH_INC 45 +#define CTXPOPUP_ICON_HEIGHT_INC 45 +#define CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC 9 +#define CTXPOPUP_TEXT_SIZE_INC 26 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 23 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 23 + +//****************************************************************************// +// Copypaste +//****************************************************************************// +#define CTXPOPUP_SHADOW_TOP_PADDING 0 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 0 +#define CTXPOPUP_SHADOW_LEFT_PADDING 7 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 7 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 15 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 88 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_CONTENT_TOP_PADDING 3 +#define CTXPOPUP_CONTENT_BOTTOM_PADDING 5 +#define CTXPOPUP_CONTENT_LEFT_PADDING 3 +#define CTXPOPUP_CONTENT_RIGHT_PADDING 3 +#define CTXPOPUP_ARROW_PADDING 0 +#define CTXPOPUP_ARROW_SIZE_INC 30 30 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 128 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 192 +#define CTXPOPUP_COPYPASTE_TEXT_SIZE_INC 26 +#define CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC (CTXPOPUP_COPYPASTE_TEXT_SIZE_INC * 2) +#define CTXPOPUP_COPYPASTE_WIDTH_MAX_INC 706 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 132 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 45 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 45 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC 23 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 10 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 15 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 23 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +//****************************************************************************// +// Tabbar +//****************************************************************************// +#define TABBAR_TWO_ITEMS_SIZE_INC 360 0; +#define TABBAR_THREE_ITEMS_SIZE_INC 240 0; +#define TABBAR_FOUR_ITEMS_SIZE_INC 180 0; +#define TABBAR_SCROLLABLE_ITEMS_SIZE_INC 202 0; +#define TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC 640 0; +#define TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC 427 0; +#define TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC 320 0; +#define TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC 280 0; +#define TABBAR_SELECTED_LINE_SIZE_INC 0 5 +#define TABBAR_TEXT_CENTER_PADDING_SIZE_INC 0 2 +#define TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC 12 27 +#define TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 12 20 +#define TABBAR_ICON_TEXT_LEFT_TOP_PADDING_SIZE_INC 12 20 +#define TABBAR_ICON_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 12 15 +#define TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC 12 27 +#define TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC 12 20 +#define TABBAR_ICON_SIZE_INC 70 70 +#define TABBAR_ICON_TEXT_PAD_INC 22 0 +#define TABBAR_ICON_RECT_SIZE_INC 92 70 +#define TABBAR_TEXT_TEXT_SIZE_INC 0 56 +#define TABBAR_ICON_TEXT_TEXT_SIZE_INC 0 47 +#define TABBAR_ICON_TEXT_LAND_TEXT_SIZE_INC 0 56 +//Navigation style +#define TOOLBAR_NAVI_HEIGHT_INC 78 +#define TOOLBAR_NAVI_PADDING_INC 22 +#define TOOLBAR_NAVI_DIVIDER_INC 64 + +//****************************************************************************// +// Genlist +//****************************************************************************// +// Group index +#define LIST_INDEX_PADDING_LEFT_SIZE 22 +#define LIST_INDEX_PADDING_RIGHT_SIZE 22 +#define LIST_INDEX_PADDING_TOP_SIZE 11 +#define LIST_INDEX_PADDING_BOTTOM_SIZE 11 + +#define LIST_INDEX_HEIGHT 54 + +#define LIST_INDEX_TEXT_MAIN_SIZE 40 +#define LIST_INDEX_TEXT_SUB_SIZE 40 +#define LIST_INDEX_TEXT_SUB_WIDTH_MAX 240 +#define LIST_INDEX_TEXT_PADDING_SIZE 22 +#define LIST_INDEX_BOTTOMLINE_HEIGHT 2 + +// Normal style +#define LIST_ITEM_HEIGHT 140 +#define LIST_PADDING_TOP_SIZE 42 // FIXME: please check font height +#define LIST_PADDING_BOTTOM_SIZE 42 // FIXME: please check font height +#define LIST_2LINE_PADDING_TOP_SIZE 18 // FIXME: please check font height +#define LIST_2LINE_PADDING_BOTTOM_SIZE 18 // FIXME: please check font height +#define LIST_PADDING_CENTER_LEFT_SIZE 22 +#define LIST_PADDING_CENTER_RIGHT_SIZE 22 +#define LIST_PADDING_TEXT_SIZE 22 +#define LIST_PADDING_DEFAULT_SIZE 22 + +#define LIST_TEXT_MAIN_HEIGHT 56 +#define LIST_TEXT_SUB_HEIGHT 48 + +#define LIST_TEXT_MAIN_SIZE 44 +#define LIST_TEXT_SUB_SIZE 36 +#define LIST_TEXT_SUB_WIDTH_MAX 194 + +// Multiline style +#define LIST_WRAP_PADDING_LEFT_SIZE 22 +#define LIST_WRAP_PADDING_RIGHT_SIZE 22 +#define LIST_WRAP_PADDING_TOP_SIZE 20 +#define LIST_WRAP_PADDING_BOTTOM_SIZE 20 +#define LIST_MULTILINE_ICON_SIZE 90 90 +#define LIST_MULTILINE_ICON_SIZE1 60 60 + +// Editfield style +#define LIST_ENTRY_PADDING_LEFT_SIZE 0 +#define LIST_ENTRY_PADDING_RIGHT_SIZE 0 +#define LIST_ENTRY_PADDING_TOP_SIZE 0 +#define LIST_ENTRY_PADDING_BOTTOM_SIZE 0 + +#define LIST_ENTRY_PADDING_ICON_RIGHT_SIZE 22 +#define LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE 18 + +#define LIST_ENTRY_ENTRY_HEIGHT 140 +#define LIST_ENTRY_TEXT_SUB_WIDTH_MAX 240 +#define LIST_ENTRY_ICON_SIZE 70 70 + +// Bar style +#define LIST_BAR_PADDING_TOP_SIZE 20 +#define LIST_BAR_PADDING_BOTTOM_SIZE 20 +#define LIST_SLIDER_PADDING_CENTER_SIZE 14 +#define LIST_PROGRESSBAR_HEIGHT 134 +#define LIST_PROGRESSBAR_PADDING_CENTER_SIZE 14 + +// List A +#define LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 22 +#define LIST_A_LEFTICON_SIZE 48 48 +#define LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 22 +#define LIST_A_RIGHTICON_SIZE 48 48 +#define LIST_B_TYPE1_ICON_SIZE 140 140 +#define LIST_B_TYPE2_LEFT_PADDING_WIDTH 22 +#define LIST_B_TYPE2_ICON_SIZE 110 110 +#define LIST_B_TYPE3_LEFT_PADDING_WIDTH 20 +#define LIST_B_TYPE3_ICON_SIZE 70 70 +#define LIST_B_TYPE4_LEFT_PADDING_WIDTH 22 +#define LIST_B_TYPE4_RIGHT_PADDING_WIDTH 8 +#define LIST_B_TYPE4_ICON_SIZE 60 60 +#define LIST_C_TYPE1_RIGHT_PADDING_WIDTH 22 +#define LIST_C_TYPE1_ICON_SIZE 70 70 +#define LIST_C_TYPE2_RIGHT_PADDING_WIDTH 22 +#define LIST_C_TYPE2_ICON_SIZE 60 60 +#define LIST_C_TYPE3_RIGHT_PADDING_WIDTH 22 +#define LIST_C_TYPE3_ICON_SIZE 90 90 +#define LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE 1 60 +#define LIST_C_TYPE4_LEFT_PADDING_WIDTH 22 +#define LIST_C_TYPE4_RIGHT_PADDING_WIDTH 22 +#define LIST_C_TYPE4_ICON_SIZE 90 90 + +// Need to delete the following 6 +#define LIST_GROUP_HEIGHT 15 +#define LIST_DESC_PADDING_TOP_SIZE 15 +#define LIST_DESC_PADDING_BOTTOM_SIZE 48 +#define LIST_DESC_PADDING_LEFT_RIGHT_SIZE 23 +#define LIST_DESC_TEXT_PART_SIZE 48 +#define LIST_DESC_TEXT_SIZE 36 +// Need to delete the above 6 + +#define LIST_SELECT_ALL_PADDING_LEFT_SIZE 22 +#define LIST_SELECT_ALL_PADDING_RIGHT_SIZE 22 +#define LIST_SELECT_ALL_PADDING_BOTTOM_SIZE 2 +#define LIST_SELECT_ALL_ICON_SIZE 60 60 +#define LIST_SELECT_ALL_PADDING_CENTER_SIZE 22 +#define LIST_SELECT_ALL_HEIGHT 126 + +//Expand style +#define GENLIST_TREESIZE_DEFAULT 32 + +//Expand style +#define GENLIST_TREESIZE_DEFAULT 22 + + +//****************************************************************************// +// SCROLLER +//****************************************************************************// +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 12 32 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 12 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 32 12 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 12 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT 20 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC 3 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 6 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 38 70 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 70 38 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 30 30 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 30 30 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 66 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 44 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE 22 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 44 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 29 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE 15 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 22 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 14 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE 8 + +//****************************************************************************// +// Entry +//****************************************************************************// +// Normal Entry +#define ENTRY_TEXT_SIZE_INC 24 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 3 +#define ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC 51 +#define ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC 51 +#define ENTRY_CURSOR_SIZE_INC 3 0 +#define MAGNIFIER_WIDTH_FIXED_INC 264 +#define MAGNIFIER_HEIGHT_MIN 78 +#define MAGNIFIER_HEIGHT_MAX 108 +#define MAGNIFIER_ARROW_HEIGHT_INC 10 +#define MAGNIFIER_LEFT_OFFSET_INC 11 11 +#define MAGNIFIER_RIGHT_OFFSET_INC 11 22 +#define ENTRY_EMOTICON_SIZE 26 26 + +// Editfield +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 34 0 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC 0 1 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC 0 7 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT 0 15 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT 0 15 +#define ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_LEFT_RIGHT_PADDING 8 0 +#define ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN 8 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT_MULTILINE 0 15 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT_MULTILINE 0 24 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_MULTILINE 0 15 +// Clear Button +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 54 54 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 54 54 + +// Editfield Layout +#define EDITFIELD_BASE_HEIGHT_INC 140 +#define EDITFIELD_TOP_LEFT_PADDING_MIN_INC 22 15 +#define EDITFIELD_MULTILINE_TOP_LEFT_PADDING_MIN_INC 22 42 +#define EDITFIELD_BOTTOM_RIGHT_PADDING_MIN_INC 22 24 +#define EDITFIELD_MULTILINE_BOTTOM_RIGHT_PADDING_MIN_INC 22 42 +#define EDITFIELD_BUTTON_FIELD_MIN_INC 54 54 +#define EDITFIELD_FOCUSED_BOTTOM_RIGHT_PADDING_MIN_INC 22+54+22 24 +#define EDITFIELD_ENTRY_FIELD_MIN_INC 0 56 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_INC 0 15 +#define EDITFIELD_LINE_RECT_MIN_INC 0 3 +#define EDITFIELD_ENTRY_SWALLOW_ALIGN 0.5 1.0-(15/24/2) +#define EDITFIELD_BASE_HEIGHT_MULTILINE_INC 96 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_MULTILINE_INC 0 15 + +#define BUTTON_OPTION_MIN_MAX_INC 70 70 +#define BUTTON_OPTION_IMAGE_MIN_MAX_INC 70 70 + +//Slider +#define SLIDER_BASE_HEIGHT_INC 10 +#define SLIDER_INDICATOR_SIZE_INC 64 +#define SLIDER_SWALLOWBAR_HEIGHT_INC 64 +#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 32 0 +#define SLIDER_ICON_PADDING_SIZE_INC 6 0 +#define SLIDER_CENTER_POINT_SIZE_INC 16 36 + +//Slider vertical +#define SLIDER_VERTICAL_BASE_HEIGHT_INC 10 +#define SLIDER_SWALLOWBAR_WIDTH_INC 64 +#define SLIDER_VERTICAL_CENTER_POINT_SIZE_INC 36 16 +#define SLIDER_VERTICAL_ICON_PADDING_SIZE_INC 28 4 +#define SLIDER_TOP_BOTTOM_PADDING_SIZE_INC 64 32 + +#define SLIDER_POPUP_WIDTH_INC 120 +#define SLIDER_POPUP_HEIGHT_INC 138 +#define SLIDER_INDICATOR_PADDING_TOP 30 +#define SLIDER_INDICATOR_PADDING_BOTTOM 48 +#define SLIDER_INDICATOR_TEXT_SIZE_HEIGHT 30 +#define SLIDER_INDICATOR_TEXT_SIZE_WIDTH 30 + +//Progressbar +#define PROGRESSBAR_BG_DEFAULT_HEIGHT_INC 63 +#define PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC 72 +#define PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC 114 +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 10 +#define PROGRESSBAR_PADDING_HEIGHT_INC 10 +#define PROCESS_LARGE_IMAGE_HEIGHT_INC 100 +#define PROCESS_LARGE_IMAGE_WIDTH_INC 100 +#define PROCESS_MEDIUM_IMAGE_HEIGHT_INC 54 +#define PROCESS_MEDIUM_IMAGE_WIDTH_INC 54 +#define PROCESS_SMALL_IMAGE_HEIGHT_INC 42 +#define PROCESS_SMALL_IMAGE_WIDTH_INC 42 + +//Check and Radio +#define CHECK_GEN_SIZE 90 90 +#define CHECK_SIZE 40 40 +#define CHECK_ICON_SIZE 46 46 +#define CHECK_BG_SIZE 60 60 +#define CHECK_BG_STROKE_SIZE 60 60 +#define RADIO_SIZE 46 46 +#define RADIO_BG_SIZE 60 60 +#define RADIO_BG_STROKE_SIZE 60 60 +#define CHECK_TEXT_FONT_SIZE_INC 22 +#define CHECK_PAD_BEFORE_TEXT_INC 23 0 +// No Content +#define NO_CONTENT_WIDTH_INC 720 +#define NO_CONTENT_WIDTH_LANDSCAPE_INC 800 +#define NO_CONTENT_BG_HEIGHT_INC 373 +#define NO_CONTENT_BG_LANDSCAPE_HEIGHT_INC 200 +#define NO_CONTENT_MAX_HEIGHT_INC 504 +#define NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 20 +#define NO_CONTENT_TITLE_TEXT_HEIGHT_INC 51 +#define NO_CONTENT_TEXT_PADDING_HEIGHT_INC 26 +#define NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC 40 +#define NO_CONTENT_TEXT_FONT_SIZE_INC 32 +//Button +#define BUTTON_BOTTOM_MIN_HEIGHT 110 +#define BUTTON_MIN_WIDTH 92 +#define BUTTON_MIN_HEIGHT 86 +#define BUTTON_MAX_WIDTH 676 +#define BUTTON_ICON_DEFAULT_WIDTH 45 +#define BUTTON_ICON_DEFAULT_HEIGHT 45 +#define BUTTON_PADDING_ICON_RIGHT 18 +#define BUTTON_BOTTOM_PADDING_LEFT_RIGHT 12 +#define BUTTON_PADDING_LEFT_RIGHT 5 +#define BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 22 +#define BUTTON_DROPDOWN_ICON_SIZE 36 36 +#define BUTTON_DROPDOWN_MIN_HEIGHT 108 +#define BUTTON_DROPDOWN_UNDERLINE_HEIGHT 2 +#define BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 12 +#define BUTTON_ICON_HEIGHT 70 +#define BUTTON_ICON_WIDTH 70 +#define BUTTON_CIRCLE_SIZE 110 110 +#define BUTTON_CIRCLE_ICON_SIZE 70 70 +#define BUTTON_CIRCLE_LABEL_SIZE 180 258 +#define BUTTON_CIRCLE_TOP_PADDING_HEIGHT 22 +#define BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 12 +#define BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT 15 +#define BUTTON_CIRCLE_BOTTOM_PADDING_HEIGHT 15 +#define BUTTON_CIRCLE_TEXT_HEIGHT 96 +#define BUTTON_TEXT_SIZE 36 +#define BUTTON_BOTTOM_TEXT_SIZE 44 +#define BUTTON_DATE_TEXT_SIZE 20 +#define BUTTON_AMPM_TEXT_SIZE 81 +#define BUTTON_TEXT_CIRCLE_SIZE 36 +#define BUTTON_POPUP_TEXT_SIZE 43 +#define BUTTON_DROPDOWN_TEXT_SIZE 40 +//Multibuttonentry +#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 22 +#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 22 +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 22 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 22 +#define MULTIBUTTONENTRY_BOTTOM_HEIGHT_PAD_INC 22 +#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 84 +#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_PAD_INC 32 +#define MULTIBUTTONENTRY_BUTTON_WIDTH_INC 105 +#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 84 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 84 // same as button +#define MULTIBUTTONENTRY_LABEL_PAD_INC 0 + +//****************************************************************************// +// Index +//****************************************************************************// +// FastScrol +#define INDEX_ITEM_WIDTH_INC 50 +#define INDEX_ITEM_HEIGHT_INC 42 +#define INDEX_POPUP_TEXT_SIZE_INC 50 +#define INDEX_DIVIDER_WIDTH_INC 0 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 0 +#define INDEX_TEXT_LEFT_PADDING_SIZE_INC 0 +#define INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0 +#define INDEX_PADDING_SIZE_INC 4 +#define INDEX_ITEM_PADDING_SIZE_INC 0 +#define INDEX_SCROLL_DRAG_PART_SIZE 50 42 +#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 +#define INDEX_SCROLL_POPUP_SIZE 152 152 +#define INDEX_SCROLL_POPUP_ACTIVE_SIZE 152 152 +#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 96 96 +#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 96 96 + +// Page Control +#define INDEX_PAGECONTROL_IND_INC 48 40 +#define INDEX_PAGECONTROL_IND_MIN_INC 40 40 + +//****************************************************************************// +// Popup +//****************************************************************************// +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 44 +#define POPUP_SUBTITLE_TEXT_FONT_SIZE_INC 32 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 44 + +#define POPUP_OUTSIDE_PADDING "72" +#define POPUP_TITLE_AREA_HEIGHT "108" + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 720 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 720 1208 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 720 0 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 720 648 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 720 108 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 676 162 +#define POPUP_BASE_DEFAULT_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_SUBTITLE_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 720 0 +#define POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC 720 0 + +#define POPUP_TITLE_LEFT_PADDING 22 +#define POPUP_TITLE_RIGHT_PADDING 22 +#define POPUP_TITLE_TOP_PADDING 4 +#define POPUP_TITLE_BOTTOM_PADDING 4 +#define POPUP_SUBTITLE_HEIGHT 42 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 40 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 22 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 22 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 40 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "162" +#define POPUP_BUTTON1_DEFAULT_HEIGHT_INC 110 +#define POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 22 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 110 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 22 110 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 22 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 110 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 22 110 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 22 + +#define POPUP_TOAST_BG_MAX_WIDTH_INC 676 +#define POPUP_TOAST_BG_MAX_HEIGHT_INC 1074 +#define POPUP_TOAST_BOTTOM_PAD_INC 0 +#define POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC 26 +#define POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 42 +#define POPUP_TOAST_TEXT_MAX_WIDTH_INC 432 +#define POPUP_TOAST_TEXT_MIN_HEIGHT_INC 48 +#define POPUP_TOAST_TEXT_MAX_HEIGHT_INC 628 +#define POPUP_TOAST_CONTENT_HEIGHT_MIN_INC 100 + +#define STYLE_TAGS \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T1067"; + +styles { + // ************* list main text ********** // + style { name: "list_text_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list sub text ********** // + style { name: "list_text_sub_01"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024S text_class=T024S ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1 text_class=T024L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T025 text_class=T025 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T025 text_class=T025 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2P text_class=T024L2P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list index text ********** // + style { name: "list_text_index_main"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027 text_class=T027 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027 text_class=T027 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T028 text_class=T028 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T028 text_class=T028 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // multiline text + style { name: "list_text_multiline_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024S text_class=T024S wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_desc"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_select"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* button text ********** // + style { name: "button_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2 text_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2D text_class=T051L2D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2P text_class=T051L2P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_dropdown"; + base: "font=Tizen:style=Regular font_size="BUTTON_DROPDOWN_TEXT_SIZE" color=#ffffff color_class=T1235 text_class=T1235 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_date"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234 text_class=T1234 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234D text_class=T1234D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234P text_class=T1234P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_bottom"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_trans"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff color_class=T1221 text_class=T1221 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_circle"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_CIRCLE_SIZE" align=center color=#ffffff color_class=T127 text_class=T127 wrap=mixed"; + STYLE_TAGS + } + style { name: "button_contacts"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2 text_class=T051L2 wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2D text_class=T051L2D wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2P text_class=T051L2P wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup_dim"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + } + // ************* no Content text ********** // + style { name: "empty_state_1"; + base: "font=Tizen:style=Regular font_size="NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L1 text_class=T0222L1 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } + style { name: "empty_state_2"; + base: "font=Tizen:style=Light font_size="NO_CONTENT_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L2 text_class=T0222L2 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } +} + + +//****************************************************************************// +// Gengrid +//****************************************************************************// + +#define GRID_PADDING_LEFT_TOP_SIZE 1 1 +#define GRID_PADDING_RIGHT_BOTTOM_SIZE 1 1 +#define GRID_POPUP_PADDING_LEFT_TOP_SIZE 63 30 +#define GRID_POPUP_PADDING_RIGHT_BOTTOM_SIZE 63 15 +#define GRID_POPUP_ITEM_REAL_BG_SIZE 234 250 +#define GRID_POPUP_SWALLOW_ICON_SIZE 108 108 +#define GRID_POPUP_TEXT_SIZE 194 97 +#define GENGRID_POPUP_CONTENT_TOP_PADDING 27 +#define GENGRID_POPUP_CONTENT_BOTTOM_PADDING 27 + +//**************************DATETIME SPINNER****************// + +#define DATETIME_WIDGET_HEIGHT 84 //FIXME : widget UX not provided +#define DATETIME_WIDGET_PADDING_SIZE_INC 22 84 //FIXME : widget UX not provided + + +#define DATETIME_LAYOUT_CONTENT_SIZE_INC 720 334 +#define TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 128 +#define TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 56 +#define TIME_LAYOUT_CONTENT_COLON_WIDTH_INC 36 + +#define DATETIME_AMPM_BUTTON_SIZE_INC 158 166 +#define DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC 158 102 +#define DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC 32 +#define DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 18 + +#define TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 68 +#define TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 38 +#define TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 158 +#define TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 33 + +#define DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 210 +#define DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 36 +#define DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 36 +#define DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 9 + +#define SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC 64 90 +#define SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC 64 90 +#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 90 64 +#define SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC 90 64 +#define SPINNER_TEXT_HEIGHT_INC 166 +#define SPINNER_TEXT_TOP_BOTTOM_PADDING_HEIGHT_INC 20 +#define SPINNER_UP_DOWN_BG_EVENT_AREA_HEIGHT_INC 84 +#define SPINNER_VERTICAL_BG_WIDTH_INC 158 +#define SPINNER_VERTICAL_BG_HEIGHT_INC 334 + +#define ENTRY_TIME_LAYOUT_TEXT_SIZE_INC 60 +#define ENTRY_DATE_LAYOUT_TEXT_SIZE_INC 40 + +//***************************DATETIME SPINNER*************************// + + diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_00.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_00.png new file mode 100755 index 0000000..36ed207 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_00.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_01.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_01.png new file mode 100755 index 0000000..5c34a61 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_01.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_02.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_02.png new file mode 100755 index 0000000..29e23ae Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_02.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_03.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_03.png new file mode 100755 index 0000000..2acc106 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_03.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_04.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_04.png new file mode 100755 index 0000000..090b989 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_04.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_05.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_05.png new file mode 100755 index 0000000..09ac57e Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_05.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_06.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_06.png new file mode 100755 index 0000000..1ffdd7b Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_06.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_07.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_07.png new file mode 100755 index 0000000..db98da1 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_07.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_08.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_08.png new file mode 100755 index 0000000..d45130c Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_08.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_09.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_09.png new file mode 100755 index 0000000..d247227 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_09.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_10.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_10.png new file mode 100755 index 0000000..b578a9c Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_10.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_11.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_11.png new file mode 100755 index 0000000..e3b9d5b Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_11.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_12.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_12.png new file mode 100755 index 0000000..80e80dc Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_12.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_13.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_13.png new file mode 100755 index 0000000..1bce0c9 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_13.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_14.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_14.png new file mode 100755 index 0000000..8a3eb7b Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_14.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_15.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_15.png new file mode 100755 index 0000000..509be7f Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_15.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_16.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_16.png new file mode 100755 index 0000000..3a31be0 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_16.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_17.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_17.png new file mode 100755 index 0000000..b94cb41 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_17.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_18.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_18.png new file mode 100755 index 0000000..45b7085 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_18.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_19.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_19.png new file mode 100755 index 0000000..f5c94f2 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_19.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_20.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_20.png new file mode 100755 index 0000000..b993d43 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_20.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_21.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_21.png new file mode 100755 index 0000000..88612b2 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_21.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_22.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_22.png new file mode 100755 index 0000000..fcb4946 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_22.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_23.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_23.png new file mode 100755 index 0000000..78fa32a Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_23.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_24.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_24.png new file mode 100755 index 0000000..3abfe67 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_24.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_25.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_25.png new file mode 100755 index 0000000..a248971 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_25.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_26.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_26.png new file mode 100755 index 0000000..46b244f Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_26.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_27.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_27.png new file mode 100755 index 0000000..215a389 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_27.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_28.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_28.png new file mode 100755 index 0000000..c598d27 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_28.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_29.png b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_29.png new file mode 100755 index 0000000..02266dc Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/large/core_activity_Indicator_large_29.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png new file mode 100755 index 0000000..104bcf3 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png new file mode 100755 index 0000000..7853e63 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png new file mode 100755 index 0000000..ab04674 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png new file mode 100755 index 0000000..0b547aa Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png new file mode 100755 index 0000000..61b1487 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png new file mode 100755 index 0000000..73f89f1 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png new file mode 100755 index 0000000..8c0284b Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png new file mode 100755 index 0000000..7bcbdec Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png new file mode 100755 index 0000000..5756d57 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png new file mode 100755 index 0000000..7988b1b Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png new file mode 100755 index 0000000..1459685 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png new file mode 100755 index 0000000..66fc124 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png new file mode 100755 index 0000000..3cb81e7 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png new file mode 100755 index 0000000..9b7fd49 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png new file mode 100755 index 0000000..e55e53d Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png new file mode 100755 index 0000000..a7a3b7c Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png new file mode 100755 index 0000000..f6de10f Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png new file mode 100755 index 0000000..0bff864 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png new file mode 100755 index 0000000..9e16c82 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png new file mode 100755 index 0000000..9d19c88 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png new file mode 100755 index 0000000..759e192 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png new file mode 100755 index 0000000..522bdc5 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png new file mode 100755 index 0000000..5d44f9e Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png new file mode 100755 index 0000000..cedc8c8 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png new file mode 100755 index 0000000..fdcf855 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png new file mode 100755 index 0000000..cba3e51 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png new file mode 100755 index 0000000..e705441 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png new file mode 100755 index 0000000..fb50a26 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png new file mode 100755 index 0000000..2977221 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png new file mode 100755 index 0000000..24a00cb Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_00.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_00.png new file mode 100755 index 0000000..7ea575e Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_00.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_01.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_01.png new file mode 100755 index 0000000..a5b63d3 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_01.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_02.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_02.png new file mode 100755 index 0000000..3712f78 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_02.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_03.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_03.png new file mode 100755 index 0000000..5f69bda Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_03.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_04.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_04.png new file mode 100755 index 0000000..d60e8cd Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_04.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_05.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_05.png new file mode 100755 index 0000000..86815cb Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_05.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_06.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_06.png new file mode 100755 index 0000000..853527c Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_06.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_07.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_07.png new file mode 100755 index 0000000..2805cc0 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_07.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_08.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_08.png new file mode 100755 index 0000000..37415fa Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_08.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_09.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_09.png new file mode 100755 index 0000000..fde593e Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_09.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_10.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_10.png new file mode 100755 index 0000000..6d1d7fa Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_10.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_11.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_11.png new file mode 100755 index 0000000..e74574a Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_11.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_12.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_12.png new file mode 100755 index 0000000..e194d76 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_12.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_13.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_13.png new file mode 100755 index 0000000..72c0ffc Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_13.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_14.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_14.png new file mode 100755 index 0000000..9363e34 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_14.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_15.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_15.png new file mode 100755 index 0000000..838c585 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_15.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_16.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_16.png new file mode 100755 index 0000000..5263fa7 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_16.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_17.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_17.png new file mode 100755 index 0000000..254a085 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_17.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_18.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_18.png new file mode 100755 index 0000000..950beda Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_18.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_19.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_19.png new file mode 100755 index 0000000..53e1190 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_19.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_20.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_20.png new file mode 100755 index 0000000..ed7c871 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_20.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_21.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_21.png new file mode 100755 index 0000000..6f23607 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_21.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_22.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_22.png new file mode 100755 index 0000000..359674c Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_22.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_23.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_23.png new file mode 100755 index 0000000..1f026e8 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_23.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_24.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_24.png new file mode 100755 index 0000000..955ec83 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_24.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_25.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_25.png new file mode 100755 index 0000000..6e6db92 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_25.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_26.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_26.png new file mode 100755 index 0000000..663d482 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_26.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_27.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_27.png new file mode 100755 index 0000000..b1c4cd4 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_27.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_28.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_28.png new file mode 100755 index 0000000..c4c47e9 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_28.png differ diff --git a/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_29.png b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_29.png new file mode 100755 index 0000000..d39d807 Binary files /dev/null and b/2.3-mobile/HD/images/Activity_indicator/small/core_activity_Indicator_small_29.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_button_icon_clear.png b/2.3-mobile/HD/images/Content_views/core_button_icon_clear.png new file mode 100755 index 0000000..ae9c80d Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_button_icon_clear.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg.#.png b/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg.#.png new file mode 100755 index 0000000..17e88fc Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg.#.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg_stroke.#.png b/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg_stroke.#.png new file mode 100755 index 0000000..36f4c34 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_dropdown_label_bg_stroke.#.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_dropdown_label_icon_arrow.png b/2.3-mobile/HD/images/Content_views/core_dropdown_label_icon_arrow.png new file mode 100755 index 0000000..8baacdc Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_dropdown_label_icon_arrow.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_focus.#.png b/2.3-mobile/HD/images/Content_views/core_focus.#.png new file mode 100755 index 0000000..bf36686 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_focus.#.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_folder_icon_folder.png b/2.3-mobile/HD/images/Content_views/core_folder_icon_folder.png new file mode 100755 index 0000000..e230b0e Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_folder_icon_folder.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_folder_icon_minus.png b/2.3-mobile/HD/images/Content_views/core_folder_icon_minus.png new file mode 100755 index 0000000..0cb1cc6 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_folder_icon_minus.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_folder_icon_plus.png b/2.3-mobile/HD/images/Content_views/core_folder_icon_plus.png new file mode 100755 index 0000000..144f3ed Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_folder_icon_plus.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_group_list_bg_ef.#.png b/2.3-mobile/HD/images/Content_views/core_group_list_bg_ef.#.png new file mode 100644 index 0000000..d7424ef Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_group_list_bg_ef.#.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg.png b/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg.png new file mode 100644 index 0000000..1a87134 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg_h.png b/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg_h.png new file mode 100644 index 0000000..eeab302 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_pattern_empty_bg_h.png differ diff --git a/2.3-mobile/HD/images/Content_views/core_title_icon_option.png b/2.3-mobile/HD/images/Content_views/core_title_icon_option.png new file mode 100755 index 0000000..1d18a02 Binary files /dev/null and b/2.3-mobile/HD/images/Content_views/core_title_icon_option.png differ diff --git a/2.3-mobile/HD/images/Controls/core_activity_Indicator_large.png b/2.3-mobile/HD/images/Controls/core_activity_Indicator_large.png new file mode 100755 index 0000000..bff05ab Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_activity_Indicator_large.png differ diff --git a/2.3-mobile/HD/images/Controls/core_activity_Indicator_medium.png b/2.3-mobile/HD/images/Controls/core_activity_Indicator_medium.png new file mode 100755 index 0000000..edaf0fe Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_activity_Indicator_medium.png differ diff --git a/2.3-mobile/HD/images/Controls/core_activity_Indicator_small.png b/2.3-mobile/HD/images/Controls/core_activity_Indicator_small.png new file mode 100755 index 0000000..a70c405 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_activity_Indicator_small.png differ diff --git a/2.3-mobile/HD/images/Controls/core_button_add.png b/2.3-mobile/HD/images/Controls/core_button_add.png new file mode 100755 index 0000000..ff9e0b1 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_button_add.png differ diff --git a/2.3-mobile/HD/images/Controls/core_button_bg.#.png b/2.3-mobile/HD/images/Controls/core_button_bg.#.png new file mode 100755 index 0000000..fb8e2d4 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_button_bg.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_button_delete.png b/2.3-mobile/HD/images/Controls/core_button_delete.png new file mode 100755 index 0000000..854e600 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_button_delete.png differ diff --git a/2.3-mobile/HD/images/Controls/core_button_reorder.png b/2.3-mobile/HD/images/Controls/core_button_reorder.png new file mode 100755 index 0000000..80946b1 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_button_reorder.png differ diff --git a/2.3-mobile/HD/images/Controls/core_check_bg.png b/2.3-mobile/HD/images/Controls/core_check_bg.png new file mode 100755 index 0000000..d2d3792 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_check_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_check_bg_stroke.png b/2.3-mobile/HD/images/Controls/core_check_bg_stroke.png new file mode 100755 index 0000000..4dee1e7 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_check_bg_stroke.png differ diff --git a/2.3-mobile/HD/images/Controls/core_check_icon.png b/2.3-mobile/HD/images/Controls/core_check_icon.png new file mode 100755 index 0000000..037e759 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_check_icon.png differ diff --git a/2.3-mobile/HD/images/Controls/core_color_picker_color_shadow.png b/2.3-mobile/HD/images/Controls/core_color_picker_color_shadow.png new file mode 100755 index 0000000..a9cc9d5 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_color_picker_color_shadow.png differ diff --git a/2.3-mobile/HD/images/Controls/core_color_picker_palette.png b/2.3-mobile/HD/images/Controls/core_color_picker_palette.png new file mode 100755 index 0000000..94ff4cc Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_color_picker_palette.png differ diff --git a/2.3-mobile/HD/images/Controls/core_color_picker_palette_focused.png b/2.3-mobile/HD/images/Controls/core_color_picker_palette_focused.png new file mode 100755 index 0000000..6c616ca Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_color_picker_palette_focused.png differ diff --git a/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected.png b/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected.png new file mode 100755 index 0000000..e70de27 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected.png differ diff --git a/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected_bg.png b/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected_bg.png new file mode 100755 index 0000000..a76b524 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_color_picker_palette_selected_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_brightness.png b/2.3-mobile/HD/images/Controls/core_icon_brightness.png new file mode 100755 index 0000000..03ee94b Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_brightness.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_container.png b/2.3-mobile/HD/images/Controls/core_icon_container.png new file mode 100755 index 0000000..3a356d2 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_container.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_expand_close.png b/2.3-mobile/HD/images/Controls/core_icon_expand_close.png new file mode 100755 index 0000000..5144bfd Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_expand_close.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_expand_open.png b/2.3-mobile/HD/images/Controls/core_icon_expand_open.png new file mode 100755 index 0000000..fad7ece Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_expand_open.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_favorite.png b/2.3-mobile/HD/images/Controls/core_icon_favorite.png new file mode 100755 index 0000000..9c76602 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_favorite.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_down.png b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_down.png new file mode 100755 index 0000000..a9180e6 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_down.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_left.png b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_left.png new file mode 100644 index 0000000..86dd9f5 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_left.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_right.png b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_right.png new file mode 100644 index 0000000..ca413c9 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_right.png differ diff --git a/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_up.png b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_up.png new file mode 100755 index 0000000..8ad131e Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_icon_picker_arrow_up.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h.#.png new file mode 100755 index 0000000..46dd4aa Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h_ef.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..d27ce3f Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v.#.png new file mode 100755 index 0000000..f49f7f5 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v_ef.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..3f9555c Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_01.png b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_01.png new file mode 100755 index 0000000..55a59ce Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_01.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_02.png b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_02.png new file mode 100755 index 0000000..550c14c Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_h_02.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_01.png b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_01.png new file mode 100755 index 0000000..00f6f72 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_01.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_02.png b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_02.png new file mode 100755 index 0000000..7da518d Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_handler_v_02.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg.#.png new file mode 100755 index 0000000..2c38e2a Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_ef.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_ef.#.png new file mode 100755 index 0000000..0e35ec8 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_ef.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_stroke.#.png b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_stroke.#.png new file mode 100755 index 0000000..5b91618 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_index_scroll_popup_bg_stroke.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_list_button_bg.#.png b/2.3-mobile/HD/images/Controls/core_list_button_bg.#.png new file mode 100755 index 0000000..6e326fc Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_list_button_bg.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_progress_bar.#.png b/2.3-mobile/HD/images/Controls/core_progress_bar.#.png new file mode 100755 index 0000000..f6ae946 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_progress_bar.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_progress_bar_v.#.png b/2.3-mobile/HD/images/Controls/core_progress_bar_v.#.png new file mode 100755 index 0000000..9b86e6d Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_progress_bar_v.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_progress_pending_bg_01.png b/2.3-mobile/HD/images/Controls/core_progress_pending_bg_01.png new file mode 100755 index 0000000..8354a32 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_progress_pending_bg_01.png differ diff --git a/2.3-mobile/HD/images/Controls/core_progress_pending_bg_02.png b/2.3-mobile/HD/images/Controls/core_progress_pending_bg_02.png new file mode 100755 index 0000000..1dc90ca Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_progress_pending_bg_02.png differ diff --git a/2.3-mobile/HD/images/Controls/core_radio_bg.png b/2.3-mobile/HD/images/Controls/core_radio_bg.png new file mode 100755 index 0000000..1528918 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_radio_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_radio_bg_stroke.png b/2.3-mobile/HD/images/Controls/core_radio_bg_stroke.png new file mode 100755 index 0000000..f7200f9 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_radio_bg_stroke.png differ diff --git a/2.3-mobile/HD/images/Controls/core_radio_icon.png b/2.3-mobile/HD/images/Controls/core_radio_icon.png new file mode 100755 index 0000000..215391b Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_radio_icon.png differ diff --git a/2.3-mobile/HD/images/Controls/core_scroll_bar_h.#.png b/2.3-mobile/HD/images/Controls/core_scroll_bar_h.#.png new file mode 100755 index 0000000..ae7efb6 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_scroll_bar_h.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_scroll_bar_h_ef.#.png b/2.3-mobile/HD/images/Controls/core_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..c6614b1 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_scroll_bar_h_tab.#.png b/2.3-mobile/HD/images/Controls/core_scroll_bar_h_tab.#.png new file mode 100644 index 0000000..7d25917 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_scroll_bar_h_tab.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_scroll_bar_v.#.png b/2.3-mobile/HD/images/Controls/core_scroll_bar_v.#.png new file mode 100755 index 0000000..b93567f Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_scroll_bar_v.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_scroll_bar_v_ef.#.png b/2.3-mobile/HD/images/Controls/core_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..64378ff Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_center_point_bg.png b/2.3-mobile/HD/images/Controls/core_slider_center_point_bg.png new file mode 100755 index 0000000..b657145 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_center_point_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_center_point_bg_v.png b/2.3-mobile/HD/images/Controls/core_slider_center_point_bg_v.png new file mode 100755 index 0000000..0183dc8 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_center_point_bg_v.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_handle_normal.png b/2.3-mobile/HD/images/Controls/core_slider_handle_normal.png new file mode 100755 index 0000000..6623b51 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_handle_normal.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_handle_press.png b/2.3-mobile/HD/images/Controls/core_slider_handle_press.png new file mode 100755 index 0000000..e131d60 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_handle_press.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_popup_bg.png b/2.3-mobile/HD/images/Controls/core_slider_popup_bg.png new file mode 100755 index 0000000..6649c23 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_popup_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_popup_bg_ef.png b/2.3-mobile/HD/images/Controls/core_slider_popup_bg_ef.png new file mode 100755 index 0000000..ba289a1 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_popup_bg_ef.png differ diff --git a/2.3-mobile/HD/images/Controls/core_slider_popup_bg_stroke.png b/2.3-mobile/HD/images/Controls/core_slider_popup_bg_stroke.png new file mode 100755 index 0000000..70fd660 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_slider_popup_bg_stroke.png differ diff --git a/2.3-mobile/HD/images/Controls/core_toggle_bg.png b/2.3-mobile/HD/images/Controls/core_toggle_bg.png new file mode 100755 index 0000000..563d126 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_toggle_bg.png differ diff --git a/2.3-mobile/HD/images/Controls/core_toggle_icon_off.png b/2.3-mobile/HD/images/Controls/core_toggle_icon_off.png new file mode 100755 index 0000000..37fe4e6 Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_toggle_icon_off.png differ diff --git a/2.3-mobile/HD/images/Controls/core_toggle_icon_on.png b/2.3-mobile/HD/images/Controls/core_toggle_icon_on.png new file mode 100755 index 0000000..6f56f9a Binary files /dev/null and b/2.3-mobile/HD/images/Controls/core_toggle_icon_on.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier.#.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier.#.png new file mode 100644 index 0000000..1706aa9 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier.#.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png new file mode 100644 index 0000000..450175f Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_Magnifier_mask.#.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_circle.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_circle.png new file mode 100755 index 0000000..cd9d8df Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_circle.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_line.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_line.png new file mode 100755 index 0000000..314ece6 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_center_line.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_bottom.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_bottom.png new file mode 100644 index 0000000..048c247 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_bottom.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_top.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_top.png new file mode 100644 index 0000000..0cd7cad Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_circle_top.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_bottom.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_bottom.png new file mode 100644 index 0000000..bc1b344 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_bottom.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_top.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_top.png new file mode 100644 index 0000000..3153d0b Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_handler_line_top.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg.#.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg.#.png new file mode 100644 index 0000000..17feee1 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg.#.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png new file mode 100644 index 0000000..a44eea3 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_ef.#.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_line.#.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_line.#.png new file mode 100644 index 0000000..226b744 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_bg_line.#.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png new file mode 100755 index 0000000..e3554fc Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_clipboard.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_copy.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_copy.png new file mode 100755 index 0000000..d3ab99c Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_copy.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_cut.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_cut.png new file mode 100755 index 0000000..0fc85ea Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_cut.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_paste.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_paste.png new file mode 100755 index 0000000..5b20dbc Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_paste.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select.png new file mode 100755 index 0000000..b483da8 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select_all.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select_all.png new file mode 100755 index 0000000..05e8796 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_icon_select_all.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom.png new file mode 100644 index 0000000..197dca2 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png new file mode 100644 index 0000000..654a596 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png new file mode 100644 index 0000000..261c0a3 Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up.png new file mode 100644 index 0000000..f25155f Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up.png differ diff --git a/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up_line.png b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up_line.png new file mode 100644 index 0000000..2a54dcb Binary files /dev/null and b/2.3-mobile/HD/images/Copy_Paste/copy&paste_popup_tail_up_line.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-angry-shout.png b/2.3-mobile/HD/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-angry-shout.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-angry.png b/2.3-mobile/HD/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-angry.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-guilty.png b/2.3-mobile/HD/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-guilty.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-haha.png b/2.3-mobile/HD/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-haha.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-half-smile.png b/2.3-mobile/HD/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-half-smile.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-happy.png b/2.3-mobile/HD/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-happy.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-kiss.png b/2.3-mobile/HD/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-kiss.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-little-bit-sorry.png b/2.3-mobile/HD/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-love.png b/2.3-mobile/HD/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-love.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-minimal-smile.png b/2.3-mobile/HD/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-omg.png b/2.3-mobile/HD/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-omg.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-smile.png b/2.3-mobile/HD/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-smile.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-sorry.png b/2.3-mobile/HD/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-sorry.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-surprised.png b/2.3-mobile/HD/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-surprised.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-tongue-dangling.png b/2.3-mobile/HD/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-very-sorry.png b/2.3-mobile/HD/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-very-sorry.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-wink.png b/2.3-mobile/HD/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-wink.png differ diff --git a/2.3-mobile/HD/images/Emoticon/emo-worried.png b/2.3-mobile/HD/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.3-mobile/HD/images/Emoticon/emo-worried.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container.#.png b/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container.#.png new file mode 100755 index 0000000..e710234 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container.#.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container_outer.#.png b/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container_outer.#.png new file mode 100755 index 0000000..5fd0143 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_icon_badge_container_outer.#.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_icon_drawer.png b/2.3-mobile/HD/images/Navigation_elements/core_icon_drawer.png new file mode 100755 index 0000000..f58e677 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_icon_drawer.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_bg.png b/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_bg.png new file mode 100755 index 0000000..28503a5 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_bg.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_icon_arrow.png b/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_icon_arrow.png new file mode 100755 index 0000000..3930164 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_navigation_bar_icon_arrow.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off.png b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off.png new file mode 100755 index 0000000..7b8fabd Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off_ef.png b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off_ef.png new file mode 100755 index 0000000..e3d999f Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_off_ef.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_on.png b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_on.png new file mode 100755 index 0000000..eb256e1 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_page_indicator_on.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_title_button_bg.png b/2.3-mobile/HD/images/Navigation_elements/core_title_button_bg.png new file mode 100755 index 0000000..1e22522 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_title_button_bg.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_title_button_focus.png b/2.3-mobile/HD/images/Navigation_elements/core_title_button_focus.png new file mode 100755 index 0000000..cdbcea0 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_title_button_focus.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_title_icon_cancel.png b/2.3-mobile/HD/images/Navigation_elements/core_title_icon_cancel.png new file mode 100755 index 0000000..98fe29a Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_title_icon_cancel.png differ diff --git a/2.3-mobile/HD/images/Navigation_elements/core_title_icon_done.png b/2.3-mobile/HD/images/Navigation_elements/core_title_icon_done.png new file mode 100755 index 0000000..ecc3061 Binary files /dev/null and b/2.3-mobile/HD/images/Navigation_elements/core_title_icon_done.png differ diff --git a/2.3-mobile/HD/images/Popups/core_popup_noti_bg.#.png b/2.3-mobile/HD/images/Popups/core_popup_noti_bg.#.png new file mode 100755 index 0000000..74e6dda Binary files /dev/null and b/2.3-mobile/HD/images/Popups/core_popup_noti_bg.#.png differ diff --git a/2.3-mobile/HD/images/Popups/core_popup_noti_bg_ef.#.png b/2.3-mobile/HD/images/Popups/core_popup_noti_bg_ef.#.png new file mode 100755 index 0000000..0df0511 Binary files /dev/null and b/2.3-mobile/HD/images/Popups/core_popup_noti_bg_ef.#.png differ diff --git a/2.3-mobile/HD/images/Popups/core_popup_noti_bg_stroke.#.png b/2.3-mobile/HD/images/Popups/core_popup_noti_bg_stroke.#.png new file mode 100755 index 0000000..78efbcf Binary files /dev/null and b/2.3-mobile/HD/images/Popups/core_popup_noti_bg_stroke.#.png differ diff --git a/2.3-mobile/HD/images/Popups/core_popup_top.#.png b/2.3-mobile/HD/images/Popups/core_popup_top.#.png new file mode 100755 index 0000000..003ec20 Binary files /dev/null and b/2.3-mobile/HD/images/Popups/core_popup_top.#.png differ diff --git a/2.3-mobile/HVGA-inc.edc b/2.3-mobile/HVGA-inc.edc new file mode 100644 index 0000000..58de046 --- /dev/null +++ b/2.3-mobile/HVGA-inc.edc @@ -0,0 +1,889 @@ +/* + * 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. + */ + +//****************************************************************************// +// This file defines the width, height (not color!) for each widgets +// We can define different INC file by Resolution (HD, WVGA, HVGA) +// +// ************* Naming Rule ************ // +// {WIDGET}_{GROUP}_{PART}_{STATE}_{TYPE} +// WIDGET: NAVIFRAME, LIST, DATETIME, POPUP, etc. +// GROUP: INDEX +// PART: TEXT, ICON, BG, PADDING, DIVIDER, ICON, etc. +// STATE: LEFT, RIGHT, TOP, BOTTOM, MIN, MAX, +// TYPE: HEIGHT, WIDTH, SIZE +// e.g. LIST_PADDING_LEFT_HEIGHT +//****************************************************************************// +#define BASE_SCALE_INC 1.0 +//****************************************************************************// +// Colorselector +//****************************************************************************// +#define COLORSELECTOR_PALETTE_COLORPLANE_HEIGHT_INC 223 +#define COLORSELECTOR_PALETTE_COLORPLANE_WIDTH_INC 320 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC "1" +#define COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC "1" +#define COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC 42 42 +#define COLORPLANE_MIN_HEIGHT_INC 80 +#define COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC 10 +//****************************************************************************// +// Naviframe +//****************************************************************************// +#define NAVIFRAME_TITLE_HEIGHT_INC 48 +#define NAVIFRAME_SUBTITLE_HEIGHT_INC 17 +#define NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC 2 +#define NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC 2 +#define NAVIFRAME_TABBAR_HEIGHT_INC 48 +#define NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC 34 +#define NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TABBAR2_HEIGHT_INC 69 +#define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 10 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 54 48 +#define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 10 +#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 7 +#define NAVIFRAME_BADGE_HEIGHT_INC 22 +#define NAVIFRAME_BADGE2_PADDING_WIDTH_INC (NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC) +#define NAVIFRAME_DRAWERS_WIDTH_INC 36 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 72 +#define NAVIFRAME_TOOLBAR_COLOR_INC 245 245 245 255 + +#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 54 48 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_PADDING_WIDTH_INC 14 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 30 30 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_PADDING_WIDTH_INC 14 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 30 30 +#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 36 +#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 26 30 + +//****************************************************************************// +// Label +//****************************************************************************// +#define LABEL_FONT_SIZE_INC 24 + +//****************************************************************************// +// Layout +//****************************************************************************// +#define LAYOUT_INDICATOR_HEIGHT_INC 24 // FIXME: indicator UX is not updated yet. + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 30 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 +#define SEARCHBAR_H_INC 63 +#define SEARCHBAR_HEIGHT_INC 63 +#define SEARCHBAR_BASE_HEIGHT_INC 63 +#define SEARCHBAR_WIDTH_INC 320 +#define SEARCHBAR_TOP_PADDING_INC 0 +#define SEARCHBAR_BOTTOM_PADDING_INC 0 +#define SEARCHBAR_LEFT_PADDING_INC 0 +#define SEARCHBAR_RIGHT_PADDING_INC 0 + +//****************************************************************************// +// Ctxpopup +//****************************************************************************// +#define CTXPOPUP_MOVE_PAD 40 +#define CTXPOPUP_OUTLINE_SIZE 1 +#define CTXPOPUP_WIDTH 320 +#define CTXPOPUP_TEXT_MAX 292 +#define CTXPOPUP_ITEM_TEXT_SIZE 20 +#define CTXPOPUP_ITEM_TEXT_MAX_SIZE 40 +#define CTXPOPUP_ITEM_HEIGHT_MIN 64 +#define CTXPOPUP_ITEM_HEIGHT_MAX 84 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING 14 +#define CTXPOPUP_ITEM_TEXT_TB_PADDING 20 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN 24 +#define CTXPOPUP_DROPDOWN_WIDTH 300 +#define CTXPOPUP_DROPDOWN_TEXT_MAX 278 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE 18 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE 36 +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN 48 +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX 68 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 10 +#define CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING 1 +#define CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING 1 +#define CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT 1 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 40 +#define CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 7 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 +#define CTXPOPUP_ITEM_ICON_HORIZONTAL_WIDTH_INC 54 +#define CTXPOPUP_ITEM_BOTTOM_PADDING_INC 12 +#define CTXPOPUP_ITEM_TOP_PADDING_INC 12 +#define CTXPOPUP_ITEM_HEIGHT_INC 68 +#define CTXPOPUP_CONTENT_PADDING 1 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC 70 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MAX_INC 90 +#define CTXPOPUP_ITEM_HORIZONTAL_TEXT_HEIGHT_MIN 21 +#define CTXPOPUP_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC +#define CTXPOPUP_SEPARATOR_MAX_SIZE_INC 1 -1 +#define CTXPOPUP_ICON_WIDTH_INC 20 +#define CTXPOPUP_ICON_HEIGHT_INC 20 +#define CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC 4 +#define CTXPOPUP_TEXT_SIZE_INC 11 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 10 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 10 + +//****************************************************************************// +// Copypaste +//****************************************************************************// +#define CTXPOPUP_SHADOW_TOP_PADDING 3 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 5 +#define CTXPOPUP_SHADOW_LEFT_PADDING 3 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 3 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 20 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_CONTENT_TOP_PADDING 3 +#define CTXPOPUP_CONTENT_BOTTOM_PADDING 5 +#define CTXPOPUP_CONTENT_LEFT_PADDING 3 +#define CTXPOPUP_CONTENT_RIGHT_PADDING 3 +#define CTXPOPUP_ARROW_PADDING 0 +#define CTXPOPUP_ARROW_SIZE_INC 20 16 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 86 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 110 +#define CTXPOPUP_COPYPASTE_TEXT_SIZE_INC 17 +#define CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC (CTXPOPUP_COPYPASTE_TEXT_SIZE_INC * 2) +#define CTXPOPUP_COPYPASTE_WIDTH_MAX_INC 800 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 80 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 30 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 30 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC 10 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 6 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 10 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 9 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +//****************************************************************************// +// Tabbar +//****************************************************************************// +#define TABBAR_TWO_ITEMS_SIZE_INC 160 0; +#define TABBAR_THREE_ITEMS_SIZE_INC 106 0; +#define TABBAR_FOUR_ITEMS_SIZE_INC 80 0; +#define TABBAR_SCROLLABLE_ITEMS_SIZE_INC 90 0; +#define TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC 240 0; +#define TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC 160 0; +#define TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC 120 0; +#define TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC 135 0; +#define TABBAR_SELECTED_LINE_SIZE_INC 0 2 +#define TABBAR_TEXT_CENTER_PADDING_SIZE_INC 0 1 +#define TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC 10 18 +#define TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 10 13 +#define TABBAR_ICON_TEXT_LEFT_TOP_PADDING_SIZE_INC 5 7 +#define TABBAR_ICON_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 5 4 +#define TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC 5 14 +#define TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC 5 9 +#define TABBAR_ICON_SIZE_INC 30 30 +#define TABBAR_ICON_TEXT_PAD_INC 10 0 +#define TABBAR_ICON_RECT_SIZE_INC 40 30 +#define TABBAR_TEXT_TEXT_SIZE_INC 0 21 +#define TABBAR_ICON_TEXT_TEXT_SIZE_INC 0 16 +#define TABBAR_ICON_TEXT_LAND_TEXT_SIZE_INC 0 23 +//Navigation style +#define TOOLBAR_NAVI_HEIGHT_INC 34 +#define TOOLBAR_NAVI_PADDING_INC 10 +#define TOOLBAR_NAVI_DIVIDER_INC 28 + +//****************************************************************************// +// Genlist +//****************************************************************************// +// Group index +#define LIST_INDEX_PADDING_LEFT_SIZE 10 +#define LIST_INDEX_PADDING_RIGHT_SIZE 10 +#define LIST_INDEX_PADDING_TOP_SIZE 6 +#define LIST_INDEX_PADDING_BOTTOM_SIZE 6 + +#define LIST_INDEX_HEIGHT 20 + +#define LIST_INDEX_TEXT_MAIN_SIZE 18 +#define LIST_INDEX_TEXT_SUB_SIZE 18 +#define LIST_INDEX_TEXT_SUB_WIDTH_MAX 110 +#define LIST_INDEX_TEXT_PADDING_SIZE 10 +#define LIST_INDEX_BOTTOMLINE_HEIGHT 1 + +// Normal style +#define LIST_ITEM_HEIGHT 64 +#define LIST_PADDING_TOP_SIZE 20 // FIXME: please check font height +#define LIST_PADDING_BOTTOM_SIZE 20 // FIXME: please check font height +#define LIST_2LINE_PADDING_TOP_SIZE 9 // FIXME: please check font height +#define LIST_2LINE_PADDING_BOTTOM_SIZE 9 // FIXME: please check font height +#define LIST_PADDING_CENTER_LEFT_SIZE 10 +#define LIST_PADDING_CENTER_RIGHT_SIZE 10 +#define LIST_PADDING_TEXT_SIZE 10 +#define LIST_PADDING_DEFAULT_SIZE 10 + +#define LIST_TEXT_MAIN_HEIGHT 24 +#define LIST_TEXT_SUB_HEIGHT 22 + +#define LIST_TEXT_MAIN_SIZE 20 +#define LIST_TEXT_SUB_SIZE 16 +#define LIST_TEXT_SUB_WIDTH_MAX 110 + +// Multiline style +#define LIST_WRAP_PADDING_LEFT_SIZE 10 +#define LIST_WRAP_PADDING_RIGHT_SIZE 10 +#define LIST_WRAP_PADDING_TOP_SIZE 9 +#define LIST_WRAP_PADDING_BOTTOM_SIZE 9 +#define LIST_MULTILINE_ICON_SIZE 40 40 +#define LIST_MULTILINE_ICON_SIZE1 26 26 + +// Editfield style +#define LIST_ENTRY_PADDING_LEFT_SIZE 0 +#define LIST_ENTRY_PADDING_RIGHT_SIZE 0 +#define LIST_ENTRY_PADDING_TOP_SIZE 0 +#define LIST_ENTRY_PADDING_BOTTOM_SIZE 0 + +#define LIST_ENTRY_PADDING_ICON_RIGHT_SIZE 10 +#define LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE 9 + +#define LIST_ENTRY_ENTRY_HEIGHT 64 +#define LIST_ENTRY_TEXT_SUB_WIDTH_MAX 62 +#define LIST_ENTRY_ICON_SIZE 30 30 + +// Bar style +#define LIST_BAR_PADDING_TOP_SIZE 9 +#define LIST_BAR_PADDING_BOTTOM_SIZE 9 +#define LIST_SLIDER_PADDING_CENTER_SIZE 10 +#define LIST_PROGRESSBAR_HEIGHT 62 +#define LIST_PROGRESSBAR_PADDING_CENTER_SIZE 10 + +// List A +#define LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 10 +#define LIST_A_LEFTICON_SIZE 22 22 +#define LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 10 +#define LIST_A_RIGHTICON_SIZE 22 22 +#define LIST_B_TYPE1_ICON_SIZE 64 64 +#define LIST_B_TYPE2_LEFT_PADDING_WIDTH 10 +#define LIST_B_TYPE2_ICON_SIZE 49 49 +#define LIST_B_TYPE3_LEFT_PADDING_WIDTH 10 +#define LIST_B_TYPE3_ICON_SIZE 40 30 +#define LIST_B_TYPE4_LEFT_PADDING_WIDTH 13 +#define LIST_B_TYPE4_RIGHT_PADDING_WIDTH 3 +#define LIST_B_TYPE4_ICON_SIZE 24 24 +#define LIST_C_TYPE1_RIGHT_PADDING_WIDTH 10 +#define LIST_C_TYPE1_ICON_SIZE 30 30 +#define LIST_C_TYPE2_RIGHT_PADDING_WIDTH 10 +#define LIST_C_TYPE2_ICON_SIZE 24 24 +#define LIST_C_TYPE3_RIGHT_PADDING_WIDTH 10 +#define LIST_C_TYPE3_ICON_SIZE 40 40 +#define LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE 1 27 +#define LIST_C_TYPE4_LEFT_PADDING_WIDTH 10 +#define LIST_C_TYPE4_RIGHT_PADDING_WIDTH 10 +#define LIST_C_TYPE4_ICON_SIZE 40 40 + +// Need to delete the following 6 +#define LIST_GROUP_HEIGHT 7 +#define LIST_DESC_PADDING_TOP_SIZE 7 +#define LIST_DESC_PADDING_BOTTOM_SIZE 21 +#define LIST_DESC_PADDING_LEFT_RIGHT_SIZE 10 +#define LIST_DESC_TEXT_PART_SIZE 21 +#define LIST_DESC_TEXT_SIZE 16 +// Need to delete the above 6 + +#define LIST_SELECT_ALL_PADDING_LEFT_SIZE 10 +#define LIST_SELECT_ALL_PADDING_RIGHT_SIZE 18 +#define LIST_SELECT_ALL_PADDING_BOTTOM_SIZE 1 +#define LIST_SELECT_ALL_ICON_SIZE 24 24 +#define LIST_SELECT_ALL_PADDING_CENTER_SIZE 8 +#define LIST_SELECT_ALL_HEIGHT 48 + +//Expand style +#define GENLIST_TREESIZE_DEFAULT 15 + +//****************************************************************************// +// SCROLLER +//****************************************************************************// +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 16 3 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 3 16 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT 20 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC 3 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 9 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 9 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 22 98 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 88 22 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 14 14 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 14 14 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 4 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 30 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 20 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE 10 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 20 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 13 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE 7 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 10 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 6 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE 4 + +//****************************************************************************// +// Entry +//****************************************************************************// +// Normal Entry +#define ENTRY_TEXT_SIZE_INC 24 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 3 +#define ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC 51 +#define ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC 51 +#define ENTRY_CURSOR_SIZE_INC 3 0 +#define MAGNIFIER_WIDTH_FIXED_INC 165 +#define MAGNIFIER_HEIGHT_MIN 78 +#define MAGNIFIER_HEIGHT_MAX 108 +#define MAGNIFIER_ARROW_HEIGHT_INC 10 +#define MAGNIFIER_LEFT_OFFSET_INC 11 11 +#define MAGNIFIER_RIGHT_OFFSET_INC 11 22 +#define ENTRY_EMOTICON_SIZE 26 26 + +// Editfield +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 34 0 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC 0 1 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC 0 7 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT 0 7 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT 0 7 +#define ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT 10 0 +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_LEFT_RIGHT_PADDING 3 0 +#define ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN 3 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT_MULTILINE 0 7 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT_MULTILINE 0 11 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_MULTILINE 0 7 +// Clear Button +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 24 24 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 24 24 + +// Editfield Layout +#define EDITFIELD_BASE_HEIGHT_INC 140 +#define EDITFIELD_TOP_LEFT_PADDING_MIN_INC 22 15 +#define EDITFIELD_MULTILINE_TOP_LEFT_PADDING_MIN_INC 22 42 +#define EDITFIELD_BOTTOM_RIGHT_PADDING_MIN_INC 22 24 +#define EDITFIELD_MULTILINE_BOTTOM_RIGHT_PADDING_MIN_INC 22 42 +#define EDITFIELD_BUTTON_FIELD_MIN_INC 54 54 +#define EDITFIELD_FOCUSED_BOTTOM_RIGHT_PADDING_MIN_INC 22+54+22 24 +#define EDITFIELD_ENTRY_FIELD_MIN_INC 0 56 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_INC 0 15 +#define EDITFIELD_LINE_RECT_MIN_INC 0 3 +#define EDITFIELD_ENTRY_SWALLOW_ALIGN 0.5 1.0-(15/24/2) +#define EDITFIELD_BASE_HEIGHT_MULTILINE_INC 43 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_MULTILINE_INC 0 7 + +#define BUTTON_OPTION_MIN_MAX_INC 30 30 +#define BUTTON_OPTION_IMAGE_MIN_MAX_INC 30 30 + +//Slider +#define SLIDER_BASE_HEIGHT_INC 4 +#define SLIDER_INDICATOR_SIZE_INC 28 +#define SLIDER_SWALLOWBAR_HEIGHT_INC 28 +#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 14 0 +#define SLIDER_ICON_PADDING_SIZE_INC 4 0 +#define SLIDER_CENTER_POINT_SIZE_INC 7 16 + +//Slider vertical +#define SLIDER_VERTICAL_BASE_HEIGHT_INC 4 +#define SLIDER_SWALLOWBAR_WIDTH_INC 28 +#define SLIDER_VERTICAL_CENTER_POINT_SIZE_INC 16 7 +#define SLIDER_VERTICAL_ICON_PADDING_SIZE_INC 28 4 +#define SLIDER_TOP_BOTTOM_PADDING_SIZE_INC 28 14 + +#define SLIDER_POPUP_WIDTH_INC 53 +#define SLIDER_POPUP_HEIGHT_INC 61 +#define SLIDER_INDICATOR_PADDING_TOP 13 +#define SLIDER_INDICATOR_PADDING_BOTTOM 21 +#define SLIDER_INDICATOR_TEXT_SIZE_HEIGHT 13 +#define SLIDER_INDICATOR_TEXT_SIZE_WIDTH 13 + +//Progressbar +#define PROGRESSBAR_BG_DEFAULT_HEIGHT_INC 28 +#define PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC 32 +#define PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC 50 +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 4 +#define PROGRESSBAR_PADDING_HEIGHT_INC 6 +#define PROCESS_LARGE_IMAGE_HEIGHT_INC 44 +#define PROCESS_LARGE_IMAGE_WIDTH_INC 44 +#define PROCESS_MEDIUM_IMAGE_HEIGHT_INC 24 +#define PROCESS_MEDIUM_IMAGE_WIDTH_INC 24 +#define PROCESS_SMALL_IMAGE_HEIGHT_INC 18 +#define PROCESS_SMALL_IMAGE_WIDTH_INC 18 + +//Check and Radio +#define CHECK_GEN_SIZE 40 40 +#define CHECK_SIZE 18 18 +#define CHECK_ICON_SIZE 18 18 +#define CHECK_BG_SIZE 24 24 +#define CHECK_BG_STROKE_SIZE 24 24 +#define RADIO_SIZE 18 18 +#define RADIO_BG_SIZE 24 24 +#define RADIO_BG_STROKE_SIZE 24 24 +#define CHECK_TEXT_FONT_SIZE_INC 22 +#define CHECK_PAD_BEFORE_TEXT_INC 10 0 +// No Content +#define NO_CONTENT_WIDTH_INC 320 +#define NO_CONTENT_WIDTH_LANDSCAPE_INC 480 +#define NO_CONTENT_BG_HEIGHT_INC 185 +#define NO_CONTENT_BG_LANDSCAPE_HEIGHT_INC 132 +#define NO_CONTENT_MAX_HEIGHT_INC 244 +#define NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 10 +#define NO_CONTENT_TITLE_TEXT_HEIGHT_INC 22 +#define NO_CONTENT_TEXT_PADDING_HEIGHT_INC 14 +#define NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC 20 +#define NO_CONTENT_TEXT_FONT_SIZE_INC 16 +//Button +#define BUTTON_BOTTOM_MIN_HEIGHT 50 +#define BUTTON_MIN_WIDTH 92 +#define BUTTON_MIN_HEIGHT 38 +#define BUTTON_MAX_WIDTH 292 +#define BUTTON_ICON_DEFAULT_WIDTH 20 +#define BUTTON_ICON_DEFAULT_HEIGHT 20 +#define BUTTON_PADDING_ICON_RIGHT 8 +#define BUTTON_BOTTOM_PADDING_LEFT_RIGHT 5 +#define BUTTON_PADDING_LEFT_RIGHT 5 +#define BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 10 +#define BUTTON_DROPDOWN_ICON_SIZE 16 16 +#define BUTTON_DROPDOWN_MIN_HEIGHT 48 +#define BUTTON_DROPDOWN_UNDERLINE_HEIGHT 1 +#define BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 5 +#define BUTTON_ICON_HEIGHT 40 +#define BUTTON_ICON_WIDTH 40 +#define BUTTON_CIRCLE_SIZE 50 50 +#define BUTTON_CIRCLE_ICON_SIZE 30 30 +#define BUTTON_CIRCLE_LABEL_SIZE 80 111 +#define BUTTON_CIRCLE_TOP_PADDING_HEIGHT 10 +#define BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 5 +#define BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT 7 +#define BUTTON_CIRCLE_BOTTOM_PADDING_HEIGHT 8 +#define BUTTON_CIRCLE_TEXT_HEIGHT 36 +#define BUTTON_TEXT_SIZE 20 +#define BUTTON_BOTTOM_TEXT_SIZE 22 +#define BUTTON_DATE_TEXT_SIZE 20 +#define BUTTON_AMPM_TEXT_SIZE 34 +#define BUTTON_TEXT_CIRCLE_SIZE 16 +#define BUTTON_POPUP_TEXT_SIZE 22 +#define BUTTON_DROPDOWN_TEXT_SIZE 20 +//Multibuttonentry +#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 10 +#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 10 +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 10 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 10 +#define MULTIBUTTONENTRY_BOTTOM_HEIGHT_PAD_INC 10 +#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 38 +#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_BUTTON_PAD_INC 15 +#define MULTIBUTTONENTRY_BUTTON_WIDTH_INC 46 +#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 38 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 20 +#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 38 // same as button +#define MULTIBUTTONENTRY_LABEL_PAD_INC 10 + +//****************************************************************************// +// Index +//****************************************************************************// +// FastScrol +#define INDEX_ITEM_WIDTH_INC 22 +#define INDEX_ITEM_HEIGHT_INC 17 +#define INDEX_POPUP_TEXT_SIZE_INC 128 +#define INDEX_DIVIDER_WIDTH_INC 0 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 0 +#define INDEX_TEXT_LEFT_PADDING_SIZE_INC 0 +#define INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0 +#define INDEX_PADDING_SIZE_INC 2 +#define INDEX_ITEM_PADDING_SIZE_INC 0 +#define INDEX_SCROLL_DRAG_PART_SIZE 20 40 +#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 +#define INDEX_SCROLL_POPUP_SIZE 66 66 +#define INDEX_SCROLL_POPUP_ACTIVE_SIZE 66 66 +#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 66 30 +#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 66 30 + +// Page Control +#define INDEX_PAGECONTROL_IND_INC 22 15 +#define INDEX_PAGECONTROL_IND_MIN_INC 22 15 + +//****************************************************************************// +// Popup +//****************************************************************************// +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 20 +#define POPUP_SUBTITLE_TEXT_FONT_SIZE_INC 14 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 20 + +#define POPUP_OUTSIDE_PADDING "48" +#define POPUP_TITLE_AREA_HEIGHT "48" + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 320 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 320 432 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 320 0 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 320 288 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 320 48 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 292 72 +#define POPUP_BASE_DEFAULT_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_SUBTITLE_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 320 0 +#define POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC 320 0 + +#define POPUP_TITLE_LEFT_PADDING 10 +#define POPUP_TITLE_RIGHT_PADDING 10 +#define POPUP_TITLE_TOP_PADDING 2 +#define POPUP_TITLE_BOTTOM_PADDING 2 +#define POPUP_SUBTITLE_HEIGHT 18 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 18 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 10 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 10 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 18 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "72" +#define POPUP_BUTTON1_DEFAULT_HEIGHT_INC 49 +#define POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 14 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 49 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 12 49 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 14 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 49 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 8 49 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 14 + +#define POPUP_TOAST_BG_MAX_WIDTH_INC 300 +#define POPUP_TOAST_BG_MAX_HEIGHT_INC 446 +#define POPUP_TOAST_BOTTOM_PAD_INC 0 +#define POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC 10 +#define POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 20 +#define POPUP_TOAST_TEXT_MAX_WIDTH_INC 192 +#define POPUP_TOAST_TEXT_MIN_HEIGHT_INC 23 +#define POPUP_TOAST_TEXT_MAX_HEIGHT_INC 424 +#define POPUP_TOAST_CONTENT_HEIGHT_MIN_INC 44 + +#define STYLE_TAGS \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T1067"; + +styles { + // ************* list main text ********** // + style { name: "list_text_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list sub text ********** // + style { name: "list_text_sub_01"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D text_class=T024D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P text_class=T024P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1 text_class=T024L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1D text_class=T024L1D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1P text_class=T024L1P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2 text_class=T024L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2D text_class=T024L2D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2P text_class=T024L2P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list index text ********** // + style { name: "list_text_index_main"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // multiline text + style { name: "list_text_multiline_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D text_class=T024D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P text_class=T024P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_desc"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_select"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* button text ********** // + style { name: "button_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2 text_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2D text_class=T051L2D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2P text_class=T051L2P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_dropdown"; + base: "font=Tizen:style=Regular font_size="BUTTON_DROPDOWN_TEXT_SIZE" color=#ffffff color_class=T1235 text_class=T1235 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_date"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234 text_class=T1234 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234D text_class=T1234D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234P text_class=T1234P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_bottom"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_trans"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff color_class=T1221 text_class=T1221 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_circle"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_CIRCLE_SIZE" align=center color=#ffffff color_class=T127 text_class=T127 wrap=mixed"; + STYLE_TAGS + } + style { name: "button_contacts"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2 text_class=T051L2 wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2D text_class=T051L2D wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2P text_class=T051L2P wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup_dim"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + } + // ************* no Content text ********** // + style { name: "empty_state_1"; + base: "font=Tizen:style=Regular font_size="NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L1 text_class=T0222L1 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } + style { name: "empty_state_2"; + base: "font=Tizen:style=Light font_size="NO_CONTENT_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L2 text_class=T0222L2 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } +} + + +//****************************************************************************// +// Gengrid +//****************************************************************************// + +#define GRID_PADDING_LEFT_TOP_SIZE 1 1 +#define GRID_PADDING_RIGHT_BOTTOM_SIZE 1 1 +#define GRID_POPUP_PADDING_LEFT_TOP_SIZE 25 16 +#define GRID_POPUP_PADDING_RIGHT_BOTTOM_SIZE 25 10 +#define GRID_POPUP_ITEM_REAL_BG_SIZE 100 110 +#define GRID_POPUP_SWALLOW_ICON_SIZE 50 50 +#define GRID_POPUP_TEXT_SIZE 74 32 +#define GENGRID_POPUP_CONTENT_TOP_PADDING 12 +#define GENGRID_POPUP_CONTENT_BOTTOM_PADDING 12 + +//**************************DATETIME SPINNER****************// + +#define DATETIME_WIDGET_HEIGHT 33 //FIXME : widget UX not provided +#define DATETIME_WIDGET_PADDING_SIZE_INC 7 33 //FIXME : widget UX not provided + + +#define DATETIME_LAYOUT_CONTENT_SIZE_INC 320 148 +#define TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 57 +#define TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 25 +#define TIME_LAYOUT_CONTENT_COLON_WIDTH_INC 16 + +#define DATETIME_AMPM_BUTTON_SIZE_INC 70 68 +#define DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC 70 36 +#define DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC 16 +#define DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 8 + +#define TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 30 +#define TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 17 +#define TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 70 +#define TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 15 + +#define DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 92 +#define DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 17 +#define DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 17 +#define DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 5 + +#define SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC 28 40 +#define SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC 28 40 +#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 40 28 +#define SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC 40 28 +#define SPINNER_TEXT_HEIGHT_INC 68 +#define SPINNER_TEXT_TOP_BOTTOM_PADDING_HEIGHT_INC 12 +#define SPINNER_UP_DOWN_BG_EVENT_AREA_HEIGHT_INC 40 +#define SPINNER_VERTICAL_BG_WIDTH_INC 70 +#define SPINNER_VERTICAL_BG_HEIGHT_INC 148 + +#define ENTRY_TIME_LAYOUT_TEXT_SIZE_INC 60 +#define ENTRY_DATE_LAYOUT_TEXT_SIZE_INC 40 + +//***************************DATETIME SPINNER*************************// + + diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png new file mode 100644 index 0000000..05cb547 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png new file mode 100644 index 0000000..53cff68 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png new file mode 100644 index 0000000..525f882 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png new file mode 100644 index 0000000..580012e Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png new file mode 100644 index 0000000..b40035f Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png new file mode 100644 index 0000000..0cbddc6 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png new file mode 100644 index 0000000..2db5b51 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png new file mode 100644 index 0000000..bd4bab1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png new file mode 100644 index 0000000..67cace6 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png new file mode 100644 index 0000000..3d041c0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png new file mode 100644 index 0000000..4628958 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png new file mode 100644 index 0000000..de400e3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png new file mode 100644 index 0000000..2097cb5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png new file mode 100644 index 0000000..ded8909 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png new file mode 100644 index 0000000..61d9be0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png new file mode 100644 index 0000000..ef6bebb Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png new file mode 100644 index 0000000..ec370e6 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png new file mode 100644 index 0000000..1e29848 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png new file mode 100644 index 0000000..c8fcd13 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png new file mode 100644 index 0000000..892bebe Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png new file mode 100644 index 0000000..a46231f Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png new file mode 100644 index 0000000..67424cd Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png new file mode 100644 index 0000000..1551b12 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png new file mode 100644 index 0000000..1ae3057 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png new file mode 100644 index 0000000..7a2049b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png new file mode 100644 index 0000000..8f65001 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png new file mode 100644 index 0000000..105f5e0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png new file mode 100644 index 0000000..10f45b2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png new file mode 100644 index 0000000..7077710 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png new file mode 100644 index 0000000..a882859 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png new file mode 100644 index 0000000..37b7a90 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png new file mode 100644 index 0000000..c14c54b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png new file mode 100644 index 0000000..693f8f2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png new file mode 100644 index 0000000..0270a40 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png new file mode 100644 index 0000000..6fc5587 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png new file mode 100644 index 0000000..ee5d96b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png new file mode 100644 index 0000000..46e3964 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png new file mode 100644 index 0000000..93ebf9e Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png new file mode 100644 index 0000000..8e4c688 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png new file mode 100644 index 0000000..007218f Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png new file mode 100644 index 0000000..75cb0f8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png new file mode 100644 index 0000000..5df320a Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png new file mode 100644 index 0000000..c28de6b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png new file mode 100644 index 0000000..2fd2e51 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png new file mode 100644 index 0000000..9e07a5d Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png new file mode 100644 index 0000000..5fccce5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png new file mode 100644 index 0000000..5bdbcdd Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png new file mode 100644 index 0000000..88becef Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png new file mode 100644 index 0000000..ef23ee0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png new file mode 100644 index 0000000..e8a6dba Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png new file mode 100644 index 0000000..79e50b1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png new file mode 100644 index 0000000..2f9f472 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png new file mode 100644 index 0000000..9f77e60 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png new file mode 100644 index 0000000..bea093d Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png new file mode 100644 index 0000000..dcad32d Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png new file mode 100644 index 0000000..46cdca2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png new file mode 100644 index 0000000..62071df Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png new file mode 100644 index 0000000..55b2cab Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png new file mode 100644 index 0000000..85868f5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png new file mode 100644 index 0000000..6e358a1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png new file mode 100644 index 0000000..d62fae7 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png new file mode 100644 index 0000000..63cb531 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png new file mode 100644 index 0000000..de3e25b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png new file mode 100644 index 0000000..ee57d11 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png new file mode 100644 index 0000000..6656462 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png new file mode 100644 index 0000000..7be533c Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png new file mode 100644 index 0000000..ee5c682 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png new file mode 100644 index 0000000..3294b3a Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png new file mode 100644 index 0000000..fa8a2c1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png new file mode 100644 index 0000000..430be0a Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png new file mode 100644 index 0000000..25e1121 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png new file mode 100644 index 0000000..0da56d0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png new file mode 100644 index 0000000..3c7c428 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png new file mode 100644 index 0000000..62d0767 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png new file mode 100644 index 0000000..ba7da28 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png new file mode 100644 index 0000000..02da45a Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png new file mode 100644 index 0000000..cf9ff13 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png new file mode 100644 index 0000000..86db1e1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png new file mode 100644 index 0000000..7d33fb2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png new file mode 100644 index 0000000..fa016c0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png new file mode 100644 index 0000000..a62ad25 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png new file mode 100644 index 0000000..78fa3aa Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png new file mode 100644 index 0000000..2bb086b Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png new file mode 100644 index 0000000..37aa26f Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png new file mode 100644 index 0000000..d3f6f4d Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png new file mode 100644 index 0000000..85a2b81 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png new file mode 100644 index 0000000..ac459c9 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png new file mode 100644 index 0000000..4271b3c Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png new file mode 100644 index 0000000..d035977 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png differ diff --git a/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png new file mode 100644 index 0000000..db892f8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_button_icon_clear.png b/2.3-mobile/HVGA/images/Content_views/core_button_icon_clear.png new file mode 100644 index 0000000..1941ce8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_button_icon_clear.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg.#.png b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg.#.png new file mode 100755 index 0000000..26cd6f6 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png new file mode 100755 index 0000000..557c707 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_icon_arrow.png b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_icon_arrow.png new file mode 100644 index 0000000..4792ba3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_dropdown_label_icon_arrow.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_focus.#.png b/2.3-mobile/HVGA/images/Content_views/core_focus.#.png new file mode 100755 index 0000000..4a9dec9 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_focus.#.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_folder_icon_folder.png b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_folder.png new file mode 100755 index 0000000..208f134 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_folder.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_folder_icon_minus.png b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_minus.png new file mode 100755 index 0000000..193c6c2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_minus.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_folder_icon_plus.png b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_plus.png new file mode 100755 index 0000000..c135e1c Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_folder_icon_plus.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_group_list_bg_ef.#.png b/2.3-mobile/HVGA/images/Content_views/core_group_list_bg_ef.#.png new file mode 100644 index 0000000..d7424ef Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_group_list_bg_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg.png b/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg.png new file mode 100755 index 0000000..591d90d Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg_h.png b/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg_h.png new file mode 100755 index 0000000..7c48b3d Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_pattern_empty_bg_h.png differ diff --git a/2.3-mobile/HVGA/images/Content_views/core_title_icon_option.png b/2.3-mobile/HVGA/images/Content_views/core_title_icon_option.png new file mode 100755 index 0000000..762a7d4 Binary files /dev/null and b/2.3-mobile/HVGA/images/Content_views/core_title_icon_option.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_large.png b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_large.png new file mode 100644 index 0000000..0c5dcfb Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_large.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_medium.png b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_medium.png new file mode 100644 index 0000000..a3deba4 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_medium.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_small.png b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_small.png new file mode 100644 index 0000000..08d8aae Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_activity_Indicator_small.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_button_add.png b/2.3-mobile/HVGA/images/Controls/core_button_add.png new file mode 100755 index 0000000..d2b5db5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_button_add.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_button_bg.#.png b/2.3-mobile/HVGA/images/Controls/core_button_bg.#.png new file mode 100644 index 0000000..1bcf37a Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_button_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_button_delete.png b/2.3-mobile/HVGA/images/Controls/core_button_delete.png new file mode 100755 index 0000000..37d3e5f Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_button_delete.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_button_reorder.png b/2.3-mobile/HVGA/images/Controls/core_button_reorder.png new file mode 100755 index 0000000..85c6d10 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_button_reorder.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_check_bg.png b/2.3-mobile/HVGA/images/Controls/core_check_bg.png new file mode 100755 index 0000000..7686483 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_check_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_check_bg_stroke.png b/2.3-mobile/HVGA/images/Controls/core_check_bg_stroke.png new file mode 100644 index 0000000..54f7e13 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_check_bg_stroke.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_check_icon.png b/2.3-mobile/HVGA/images/Controls/core_check_icon.png new file mode 100755 index 0000000..d044bdc Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_check_icon.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_color_picker_color_shadow.png b/2.3-mobile/HVGA/images/Controls/core_color_picker_color_shadow.png new file mode 100644 index 0000000..e2b1fb2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_color_picker_color_shadow.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_color_picker_palette.png b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette.png new file mode 100644 index 0000000..497cc75 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_focused.png b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_focused.png new file mode 100644 index 0000000..cd27c93 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_focused.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected.png b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected.png new file mode 100644 index 0000000..12f47ca Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected_bg.png b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected_bg.png new file mode 100755 index 0000000..d6b76d5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_color_picker_palette_selected_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_brightness.png b/2.3-mobile/HVGA/images/Controls/core_icon_brightness.png new file mode 100644 index 0000000..f7dfb29 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_brightness.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_container.png b/2.3-mobile/HVGA/images/Controls/core_icon_container.png new file mode 100644 index 0000000..bf9451a Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_container.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_expand_close.png b/2.3-mobile/HVGA/images/Controls/core_icon_expand_close.png new file mode 100644 index 0000000..ee76506 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_expand_close.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_expand_open.png b/2.3-mobile/HVGA/images/Controls/core_icon_expand_open.png new file mode 100644 index 0000000..1c73cd7 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_expand_open.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_favorite.png b/2.3-mobile/HVGA/images/Controls/core_icon_favorite.png new file mode 100644 index 0000000..292bad2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_favorite.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_down.png b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_down.png new file mode 100644 index 0000000..2815342 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_down.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_left.png b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_left.png new file mode 100644 index 0000000..fa02f61 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_left.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_right.png b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_right.png new file mode 100644 index 0000000..020f2c3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_right.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_up.png b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_up.png new file mode 100644 index 0000000..6d347ff Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_icon_picker_arrow_up.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h.#.png new file mode 100755 index 0000000..f5053d4 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h_ef.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..0ec1d23 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v.#.png new file mode 100755 index 0000000..1178069 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v_ef.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..0027e19 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_01.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_01.png new file mode 100755 index 0000000..191c8fa Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_01.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_02.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_02.png new file mode 100755 index 0000000..467042b Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_h_02.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_01.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_01.png new file mode 100755 index 0000000..74022e8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_01.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_02.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_02.png new file mode 100755 index 0000000..d02a748 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_handler_v_02.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg.#.png new file mode 100755 index 0000000..2e92b24 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png new file mode 100755 index 0000000..f4dfefb Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png new file mode 100755 index 0000000..6caf5e7 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_list_button_bg.#.png b/2.3-mobile/HVGA/images/Controls/core_list_button_bg.#.png new file mode 100644 index 0000000..1227c9a Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_list_button_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_progress_bar.#.png b/2.3-mobile/HVGA/images/Controls/core_progress_bar.#.png new file mode 100644 index 0000000..ead779c Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_progress_bar.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_progress_bar_v.#.png b/2.3-mobile/HVGA/images/Controls/core_progress_bar_v.#.png new file mode 100755 index 0000000..e03c8ce Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_progress_bar_v.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_01.png b/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_01.png new file mode 100644 index 0000000..3b2ffb3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_01.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_02.png b/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_02.png new file mode 100644 index 0000000..1d6f047 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_progress_pending_bg_02.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_radio_bg.png b/2.3-mobile/HVGA/images/Controls/core_radio_bg.png new file mode 100755 index 0000000..42fa055 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_radio_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_radio_bg_stroke.png b/2.3-mobile/HVGA/images/Controls/core_radio_bg_stroke.png new file mode 100644 index 0000000..d6db6ae Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_radio_bg_stroke.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_radio_icon.png b/2.3-mobile/HVGA/images/Controls/core_radio_icon.png new file mode 100755 index 0000000..edc16fd Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_radio_icon.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h.#.png b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h.#.png new file mode 100755 index 0000000..5d074d1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_ef.#.png b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..9425eb5 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_tab.#.png b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_tab.#.png new file mode 100644 index 0000000..7d25917 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_h_tab.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v.#.png b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v.#.png new file mode 100755 index 0000000..f7bfbf0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v_ef.#.png b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..f259577 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg.png b/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg.png new file mode 100644 index 0000000..6da64cb Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg_v.png b/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg_v.png new file mode 100755 index 0000000..fcfa8dd Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_center_point_bg_v.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_handle_normal.png b/2.3-mobile/HVGA/images/Controls/core_slider_handle_normal.png new file mode 100644 index 0000000..ef1fb70 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_handle_normal.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_handle_press.png b/2.3-mobile/HVGA/images/Controls/core_slider_handle_press.png new file mode 100644 index 0000000..202454d Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_handle_press.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg.png b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg.png new file mode 100644 index 0000000..444a23e Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_ef.png b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_ef.png new file mode 100644 index 0000000..4505abc Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_ef.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_stroke.png b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_stroke.png new file mode 100644 index 0000000..e6b27fe Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_slider_popup_bg_stroke.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_toggle_bg.png b/2.3-mobile/HVGA/images/Controls/core_toggle_bg.png new file mode 100644 index 0000000..0b9cc16 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_toggle_bg.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_toggle_icon_off.png b/2.3-mobile/HVGA/images/Controls/core_toggle_icon_off.png new file mode 100644 index 0000000..b4764dd Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_toggle_icon_off.png differ diff --git a/2.3-mobile/HVGA/images/Controls/core_toggle_icon_on.png b/2.3-mobile/HVGA/images/Controls/core_toggle_icon_on.png new file mode 100644 index 0000000..b92f512 Binary files /dev/null and b/2.3-mobile/HVGA/images/Controls/core_toggle_icon_on.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier.#.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier.#.png new file mode 100644 index 0000000..1706aa9 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier.#.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png new file mode 100644 index 0000000..450175f Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_circle.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_circle.png new file mode 100644 index 0000000..e794a3e Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_circle.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_line.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_line.png new file mode 100644 index 0000000..569e3f2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_center_line.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png new file mode 100644 index 0000000..048c247 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_top.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_top.png new file mode 100644 index 0000000..0cd7cad Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_circle_top.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png new file mode 100644 index 0000000..bc1b344 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_top.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_top.png new file mode 100644 index 0000000..3153d0b Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_handler_line_top.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg.#.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg.#.png new file mode 100644 index 0000000..55447cd Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png new file mode 100644 index 0000000..b89651c Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png new file mode 100644 index 0000000..0b5c2b1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png new file mode 100644 index 0000000..f0b6c4e Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png new file mode 100644 index 0000000..4583c8d Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png new file mode 100644 index 0000000..6dd0044 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png new file mode 100644 index 0000000..48e7f50 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select.png new file mode 100755 index 0000000..c61bb35 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png new file mode 100755 index 0000000..e4b2346 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png new file mode 100644 index 0000000..197dca2 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png new file mode 100644 index 0000000..654a596 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png new file mode 100644 index 0000000..261c0a3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up.png new file mode 100644 index 0000000..f25155f Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up.png differ diff --git a/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png new file mode 100644 index 0000000..2a54dcb Binary files /dev/null and b/2.3-mobile/HVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-angry-shout.png b/2.3-mobile/HVGA/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-angry-shout.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-angry.png b/2.3-mobile/HVGA/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-angry.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-guilty.png b/2.3-mobile/HVGA/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-guilty.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-haha.png b/2.3-mobile/HVGA/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-haha.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-half-smile.png b/2.3-mobile/HVGA/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-half-smile.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-happy.png b/2.3-mobile/HVGA/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-happy.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-kiss.png b/2.3-mobile/HVGA/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-kiss.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-little-bit-sorry.png b/2.3-mobile/HVGA/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-love.png b/2.3-mobile/HVGA/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-love.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-minimal-smile.png b/2.3-mobile/HVGA/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-omg.png b/2.3-mobile/HVGA/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-omg.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-smile.png b/2.3-mobile/HVGA/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-smile.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-sorry.png b/2.3-mobile/HVGA/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-sorry.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-surprised.png b/2.3-mobile/HVGA/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-surprised.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-tongue-dangling.png b/2.3-mobile/HVGA/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-very-sorry.png b/2.3-mobile/HVGA/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-very-sorry.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-wink.png b/2.3-mobile/HVGA/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-wink.png differ diff --git a/2.3-mobile/HVGA/images/Emoticon/emo-worried.png b/2.3-mobile/HVGA/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.3-mobile/HVGA/images/Emoticon/emo-worried.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container.#.png b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container.#.png new file mode 100644 index 0000000..e1d064a Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container.#.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png new file mode 100644 index 0000000..ba75ab0 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_icon_drawer.png b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_drawer.png new file mode 100755 index 0000000..b21cfbd Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_icon_drawer.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_bg.png b/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_bg.png new file mode 100644 index 0000000..de9927c Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_bg.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png b/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png new file mode 100644 index 0000000..4d197eb Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off.png b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off.png new file mode 100644 index 0000000..a8c5780 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off_ef.png b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off_ef.png new file mode 100644 index 0000000..21709ed Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_off_ef.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_on.png b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_on.png new file mode 100644 index 0000000..3cabcd4 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_page_indicator_on.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_bg.png b/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_bg.png new file mode 100644 index 0000000..ff5d006 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_bg.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_focus.png b/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_focus.png new file mode 100755 index 0000000..f02c34c Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_title_button_focus.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_cancel.png b/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_cancel.png new file mode 100644 index 0000000..a92b171 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_cancel.png differ diff --git a/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_done.png b/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_done.png new file mode 100644 index 0000000..7c2c071 Binary files /dev/null and b/2.3-mobile/HVGA/images/Navigation_elements/core_title_icon_done.png differ diff --git a/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg.#.png b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg.#.png new file mode 100644 index 0000000..d0b333e Binary files /dev/null and b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg.#.png differ diff --git a/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_ef.#.png b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_ef.#.png new file mode 100644 index 0000000..4bd14ea Binary files /dev/null and b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_ef.#.png differ diff --git a/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_stroke.#.png b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_stroke.#.png new file mode 100755 index 0000000..0afeb12 Binary files /dev/null and b/2.3-mobile/HVGA/images/Popups/core_popup_noti_bg_stroke.#.png differ diff --git a/2.3-mobile/HVGA/images/Popups/core_popup_top.#.png b/2.3-mobile/HVGA/images/Popups/core_popup_top.#.png new file mode 100755 index 0000000..8382782 Binary files /dev/null and b/2.3-mobile/HVGA/images/Popups/core_popup_top.#.png differ diff --git a/2.3-mobile/Makefile b/2.3-mobile/Makefile new file mode 100644 index 0000000..1184d66 --- /dev/null +++ b/2.3-mobile/Makefile @@ -0,0 +1,72 @@ +prefix ?= /usr +INSTALL=install -c +THEME_DIR=$(DESTDIR)/$(prefix)/share/elementary/themes +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = -no-save +SRC=tizen + +all: + for s in $(SIZE); do \ + cp $(SRC).edc $(SRC)-$(TARGET)-$$s.edc; \ + perl -pi -e "s/TIZEN_TMP_INC/\"$$s-inc.edc\"/g" $(SRC)-$(TARGET)-$$s.edc; \ + edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V))\ + -id ./$$s/images/\ + -id ./$$s/images/Activity_indicator/\ + -id ./$$s/images/Activity_indicator/large\ + -id ./$$s/images/Activity_indicator/medium\ + -id ./$$s/images/Activity_indicator/small\ + -id ./$$s/images/Content_views\ + -id ./$$s/images/Controls\ + -id ./$$s/images/Copy_Paste\ + -id ./$$s/images/Emoticon\ + -id ./$$s/images/Navigation_elements\ + -id ./$$s/images/Popups\ + -id ./$$s/images/Indicator\ + -sd ./$$s/sounds -fd ../objects \ + -id ./HD/images/\ + -id ./HD/images/Activity_indicator/\ + -id ./HD/images/Activity_indicator/large\ + -id ./HD/images/Activity_indicator/medium\ + -id ./HD/images/Activity_indicator/small\ + -id ./HD/images/Content_views\ + -id ./HD/images/Controls\ + -id ./HD/images/Copy_Paste\ + -id ./HD/images/Emoticon\ + -id ./HD/images/Navigation_elements\ + -id ./HD/images/Popups\ + -sd ./HD/sounds -fd ../objects \ + $(SRC)-$(TARGET)-$$s.edc $(SRC)-$(TARGET)-$$s.edj; \ + done + edje_cc $(EDJE_FLAGS_$(V)) -id default/images/tizen-hd -sd default/sounds -fd ../objects \ + -id ./WVGA/images/\ + -id ./WVGA/images/Activity_indicator/\ + -id ./WVGA/images/Activity_indicator/large\ + -id ./WVGA/images/Activity_indicator/medium\ + -id ./WVGA/images/Activity_indicator/small\ + -id ./WVGA/images/Content_views\ + -id ./WVGA/images/Controls\ + -id ./WVGA/images/Copy_Paste\ + -id ./WVGA/images/Emoticon\ + -id ./WVGA/images/Navigation_elements\ + -id ./WVGA/images/Popups\ + default.edc default.edj + +clean: + for s in $(SIZE); do \ + rm -rf $(SRC)-$(TARGET)-$$s.*; \ + done + rm -rf default.edj;\ + +install: + mkdir -p $(THEME_DIR) + for s in $(SIZE); do \ + $(INSTALL) $(SRC)-$(TARGET)-$$s.edj $(THEME_DIR); \ + done + $(INSTALL) default.edj $(THEME_DIR); \ + +uninstall: + rm -rf $(THEME_DIR)/ + +distclean: clean diff --git a/2.3-mobile/WVGA-inc.edc b/2.3-mobile/WVGA-inc.edc new file mode 100644 index 0000000..ee65536 --- /dev/null +++ b/2.3-mobile/WVGA-inc.edc @@ -0,0 +1,896 @@ +/* + * 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. + */ + +//****************************************************************************// +// This file defines the width, height (not color!) for each widgets +// We can define different INC file by Resolution (HD, WVGA, HVGA) +// +// ************* Naming Rule ************ // +// {WIDGET}_{GROUP}_{PART}_{STATE}_{TYPE} +// WIDGET: NAVIFRAME, LIST, DATETIME, POPUP, etc. +// GROUP: INDEX +// PART: TEXT, ICON, BG, PADDING, DIVIDER, ICON, etc. +// STATE: LEFT, RIGHT, TOP, BOTTOM, MIN, MAX, +// TYPE: HEIGHT, WIDTH, SIZE +// e.g. LIST_PADDING_LEFT_HEIGHT +//****************************************************************************// +#define BASE_SCALE_INC 1.8 +#define SMALL "WVGA/" +#define MEDIUM "HD/" +#define DEFAULT_IMAGE "WVGA/" +//****************************************************************************// +// Colorselector +//****************************************************************************// +#define COLORSELECTOR_PALETTE_COLORPLANE_HEIGHT_INC 158 +#define COLORSELECTOR_PALETTE_COLORPLANE_WIDTH_INC 480 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC "5" +#define COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC "6" +#define COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC 60 60 +#define COLORPLANE_MIN_HEIGHT_INC 80 +#define COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC 16 +//****************************************************************************// +// Naviframe +//****************************************************************************// +#define NAVIFRAME_TITLE_HEIGHT_INC 72 +#define NAVIFRAME_SUBTITLE_HEIGHT_INC 28 +#define NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC 3 +#define NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC 3 +#define NAVIFRAME_TABBAR_HEIGHT_INC 72 +#define NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC 51 +#define NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TABBAR2_HEIGHT_INC 104 +#define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 1 +#define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 15 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 46 46 +#define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 15 +#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 15 +#define NAVIFRAME_BADGE_HEIGHT_INC 32 +#define NAVIFRAME_BADGE2_PADDING_WIDTH_INC (NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC) +#define NAVIFRAME_DRAWERS_WIDTH_INC 55 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 108 +#define NAVIFRAME_TOOLBAR_COLOR_INC 245 245 245 255 + +#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 46 46 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 46 46 +#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 46 46 +#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 55 +#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 55 72 + +#define NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 36 +#define NAVIFRAME_SUBTITLE_VISIBLE_TEXT_FONT_SIZE_INC 30 +#define NAVIFRAME_VISIBLE_TEXT_FONT_SIZE_INC 21 + +#define NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC "#080808BF" +#define NAVIFRAME_SUBTITLE_VISIBLE_TEXT_SHADOW_COLOR_INC "#080808BF" +#define NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC "#080808BF" + +//****************************************************************************// +// Label +//****************************************************************************// +#define LABEL_FONT_SIZE_INC 24 + +//****************************************************************************// +// Layout +//****************************************************************************// +#define LAYOUT_INDICATOR_HEIGHT_INC 36 + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 46 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 15 +#define SEARCHBAR_H_INC 96 +#define SEARCHBAR_HEIGHT_INC 96 +#define SEARCHBAR_BASE_HEIGHT_INC 96 +#define SEARCHBAR_WIDTH_INC 480 +#define SEARCHBAR_TOP_PADDING_INC 0 +#define SEARCHBAR_BOTTOM_PADDING_INC 0 +#define SEARCHBAR_LEFT_PADDING_INC 0 +#define SEARCHBAR_RIGHT_PADDING_INC 0 + +//****************************************************************************// +// Ctxpopup +//****************************************************************************// +#define CTXPOPUP_MOVE_PAD 40 +#define CTXPOPUP_OUTLINE_SIZE 1 +#define CTXPOPUP_WIDTH 480 +#define CTXPOPUP_TEXT_MAX 438 +#define CTXPOPUP_ITEM_TEXT_SIZE 30 +#define CTXPOPUP_ITEM_TEXT_MAX_SIZE (CTXPOPUP_ITEM_TEXT_SIZE*2) +#define CTXPOPUP_ITEM_HEIGHT_MIN 96 +#define CTXPOPUP_ITEM_HEIGHT_MAX 104 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING 21 +#define CTXPOPUP_ITEM_TEXT_TB_PADDING 29 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN 38 +#define CTXPOPUP_DROPDOWN_WIDTH 450 +#define CTXPOPUP_DROPDOWN_TEXT_MAX 418 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE 27 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE (CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE*2) +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN 72 +#define CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX 92 +#define CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 15 +#define CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING 1 +#define CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING 1 +#define CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT 1 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 62 +#define CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 10 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 +#define CTXPOPUP_ITEM_ICON_HORIZONTAL_WIDTH_INC 82 +#define CTXPOPUP_ITEM_BOTTOM_PADDING_INC 17 +#define CTXPOPUP_ITEM_TOP_PADDING_INC 17 +#define CTXPOPUP_ITEM_HEIGHT_INC 102 +#define CTXPOPUP_CONTENT_PADDING 1 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC 106 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MAX_INC 136 +#define CTXPOPUP_ITEM_HORIZONTAL_TEXT_HEIGHT_MIN 32 +#define CTXPOPUP_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC +#define CTXPOPUP_SEPARATOR_MAX_SIZE_INC 1 -1 +#define CTXPOPUP_ICON_WIDTH_INC 30 +#define CTXPOPUP_ICON_HEIGHT_INC 30 +#define CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC 6 +#define CTXPOPUP_TEXT_SIZE_INC 17 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 15 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 15 + +//****************************************************************************// +// Copypaste +//****************************************************************************// +#define CTXPOPUP_SHADOW_TOP_PADDING 1 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 3 +#define CTXPOPUP_SHADOW_LEFT_PADDING 1 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 1 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 20 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_CONTENT_TOP_PADDING 3 +#define CTXPOPUP_CONTENT_BOTTOM_PADDING 5 +#define CTXPOPUP_CONTENT_LEFT_PADDING 3 +#define CTXPOPUP_CONTENT_RIGHT_PADDING 3 +#define CTXPOPUP_ARROW_PADDING 0 +#define CTXPOPUP_ARROW_SIZE_INC 20 20 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 106 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 136 +#define CTXPOPUP_COPYPASTE_TEXT_SIZE_INC 24 +#define CTXPOPUP_COPYPASTE_TEXT_MAX_SIZE_INC (CTXPOPUP_COPYPASTE_TEXT_SIZE_INC * 2) +#define CTXPOPUP_COPYPASTE_WIDTH_MAX_INC 800 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 62 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 30 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 30 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC 15 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 6 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 10 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 15 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +//****************************************************************************// +// Tabbar +//****************************************************************************// +#define TABBAR_TWO_ITEMS_SIZE_INC 240 50; +#define TABBAR_THREE_ITEMS_SIZE_INC 160 50; +#define TABBAR_FOUR_ITEMS_SIZE_INC 120 50; +#define TABBAR_SCROLLABLE_ITEMS_SIZE_INC 135 50; +#define TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC 400 50; +#define TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC 267 50; +#define TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC 200 50; +#define TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC 175 50; +#define TABBAR_SELECTED_LINE_SIZE_INC 0 3 +#define TABBAR_TEXT_CENTER_PADDING_SIZE_INC 0 1 +#define TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC 8 18 +#define TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 8 18 +#define TABBAR_ICON_TEXT_LEFT_TOP_PADDING_SIZE_INC 8 14 +#define TABBAR_ICON_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC 8 14 +#define TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC 8 20 +#define TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC 8 14 +#define TABBAR_ICON_SIZE_INC 46 46 +#define TABBAR_ICON_TEXT_PAD_INC 15 0 +#define TABBAR_ICON_RECT_SIZE_INC 61 46 +#define TABBAR_TEXT_TEXT_SIZE_INC 0 37 +#define TABBAR_ICON_TEXT_TEXT_SIZE_INC 0 31 +#define TABBAR_ICON_TEXT_LAND_TEXT_SIZE_INC 0 39 +//Navigation style +#define TOOLBAR_NAVI_HEIGHT_INC 51 +#define TOOLBAR_NAVI_PADDING_INC 15 +#define TOOLBAR_NAVI_DIVIDER_INC 42 + +//****************************************************************************// +// Genlist +//****************************************************************************// +// Group index +#define LIST_INDEX_PADDING_LEFT_SIZE 15 +#define LIST_INDEX_PADDING_RIGHT_SIZE 15 +#define LIST_INDEX_PADDING_TOP_SIZE 7 +#define LIST_INDEX_PADDING_BOTTOM_SIZE 8 + +#define LIST_INDEX_HEIGHT 36 + +#define LIST_INDEX_TEXT_MAIN_SIZE 27 +#define LIST_INDEX_TEXT_SUB_SIZE 27 +#define LIST_INDEX_TEXT_SUB_WIDTH_MAX 160 +#define LIST_INDEX_TEXT_PADDING_SIZE 15 +#define LIST_INDEX_BOTTOMLINE_HEIGHT 1 + +// Normal style +#define LIST_ITEM_HEIGHT 96 +#define LIST_PADDING_TOP_SIZE 29 // FIXME: please check font height +#define LIST_PADDING_BOTTOM_SIZE 29 // FIXME: please check font height +#define LIST_2LINE_PADDING_TOP_SIZE 13 // FIXME: please check font height +#define LIST_2LINE_PADDING_BOTTOM_SIZE 13 // FIXME: please check font height +#define LIST_PADDING_CENTER_LEFT_SIZE 15 +#define LIST_PADDING_CENTER_RIGHT_SIZE 15 +#define LIST_PADDING_TEXT_SIZE 22 +#define LIST_PADDING_DEFAULT_SIZE 15 + +#define LIST_TEXT_MAIN_HEIGHT 38 +#define LIST_TEXT_SUB_HEIGHT 32 + +#define LIST_TEXT_MAIN_SIZE 30 +#define LIST_TEXT_SUB_SIZE 24 +#define LIST_TEXT_SUB_WIDTH_MAX 130 + +// Multiline style +#define LIST_WRAP_PADDING_LEFT_SIZE 15 +#define LIST_WRAP_PADDING_RIGHT_SIZE 15 +#define LIST_WRAP_PADDING_TOP_SIZE 14 +#define LIST_WRAP_PADDING_BOTTOM_SIZE 14 +#define LIST_MULTILINE_ICON_SIZE 60 60 +#define LIST_MULTILINE_ICON_SIZE1 40 40 + +// Editfield style +#define LIST_ENTRY_PADDING_LEFT_SIZE 0 +#define LIST_ENTRY_PADDING_RIGHT_SIZE 0 +#define LIST_ENTRY_PADDING_TOP_SIZE 0 +#define LIST_ENTRY_PADDING_BOTTOM_SIZE 0 + +#define LIST_ENTRY_PADDING_ICON_RIGHT_SIZE 15 +#define LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE 12 + +#define LIST_ENTRY_ENTRY_HEIGHT 96 +#define LIST_ENTRY_TEXT_SUB_WIDTH_MAX 160 +#define LIST_ENTRY_ICON_SIZE 46 46 + +// Bar style +#define LIST_BAR_PADDING_TOP_SIZE 14 +#define LIST_BAR_PADDING_BOTTOM_SIZE 14 +#define LIST_SLIDER_PADDING_CENTER_SIZE 10 +#define LIST_PROGRESSBAR_HEIGHT 20 +#define LIST_PROGRESSBAR_PADDING_CENTER_SIZE 10 + +// List A +#define LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 10 +#define LIST_A_LEFTICON_SIZE 32 32 +#define LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 10 +#define LIST_A_RIGHTICON_SIZE 32 32 +#define LIST_B_TYPE1_ICON_SIZE 96 96 +#define LIST_B_TYPE2_LEFT_PADDING_WIDTH 15 +#define LIST_B_TYPE2_ICON_SIZE 74 74 +#define LIST_B_TYPE3_LEFT_PADDING_WIDTH 14 +#define LIST_B_TYPE3_ICON_SIZE 46 46 +#define LIST_B_TYPE4_LEFT_PADDING_WIDTH 15 +#define LIST_B_TYPE4_RIGHT_PADDING_WIDTH 5 +#define LIST_B_TYPE4_ICON_SIZE 40 40 +#define LIST_C_TYPE1_RIGHT_PADDING_WIDTH 15 +#define LIST_C_TYPE1_ICON_SIZE 46 46 +#define LIST_C_TYPE2_RIGHT_PADDING_WIDTH 15 +#define LIST_C_TYPE2_ICON_SIZE 40 40 +#define LIST_C_TYPE3_RIGHT_PADDING_WIDTH 15 +#define LIST_C_TYPE3_ICON_SIZE 60 60 +#define LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE 1 40 +#define LIST_C_TYPE4_LEFT_PADDING_WIDTH 15 +#define LIST_C_TYPE4_RIGHT_PADDING_WIDTH 15 +#define LIST_C_TYPE4_ICON_SIZE 60 60 +#define LIST_GROUP_HEIGHT 10 +#define LIST_DESC_PADDING_TOP_SIZE 10 +#define LIST_DESC_PADDING_BOTTOM_SIZE 32 +#define LIST_DESC_PADDING_LEFT_RIGHT_SIZE 15 +#define LIST_DESC_TEXT_PART_SIZE 32 +#define LIST_DESC_TEXT_SIZE 24 +#define LIST_SELECT_ALL_PADDING_LEFT_SIZE 15 +#define LIST_SELECT_ALL_PADDING_RIGHT_SIZE 15 +#define LIST_SELECT_ALL_PADDING_BOTTOM_SIZE 1 +#define LIST_SELECT_ALL_ICON_SIZE 40 40 +#define LIST_SELECT_ALL_PADDING_CENTER_SIZE 15 +#define LIST_SELECT_ALL_HEIGHT 84 + +//Expand style +#define GENLIST_TREESIZE_DEFAULT 22 + +//No use to Combination +#define LIST_TOP_PADDING_SIZE 29 +#define LIST_BOTTOM_PADDING_SIZE 29 +#define LIST_LEFT_PADDING_SIZE 15 +#define LIST_RIGHT_PADDING_SIZE 15 +#define LIST_TEXT_LEFT_PADDING_SIZE 10 +#define LIST_TEXT_RIGHT_PADDING_SIZE 10 +#define LIST_DEFAULT_PADDING_SIZE 20 +#define LIST_BOTTOMLINE_HEIGHT 2 + + +//****************************************************************************// +// SCROLLER +//****************************************************************************// +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 8 22 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 8 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 22 8 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 8 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT 20 +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC 22 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_TABBAR_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 4 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 4 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 25 47 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 47 25 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 21 21 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 21 21 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 4 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 45 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 30 +#define SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE 15 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 30 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 20 +#define SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE 10 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 15 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 10 +#define SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE 5 + +//****************************************************************************// +// Entry +//****************************************************************************// +// Normal Entry +#define ENTRY_TEXT_SIZE_INC 24 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 2 +#define ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC 51 +#define ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC 51 +#define ENTRY_CURSOR_SIZE_INC 2 0 +#define MAGNIFIER_WIDTH_FIXED_INC 218 +#define MAGNIFIER_HEIGHT_MIN 78 +#define MAGNIFIER_HEIGHT_MAX 108 +#define MAGNIFIER_ARROW_HEIGHT_INC 10 +#define MAGNIFIER_LEFT_OFFSET_INC 11 11 +#define MAGNIFIER_RIGHT_OFFSET_INC 11 22 +#define ENTRY_EMOTICON_SIZE 52 52 + +// Editfield +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 51 0 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC 0 2 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC 0 19 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT 0 24 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT 0 24 +#define ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT 15 0 +#define ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT 15 0 +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 30 +#define ENTRY_EDITFIELD_LEFT_RIGHT_PADDING 5 0 +#define ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN 5 +#define ENTRY_EDITFIELD_TOP_PADDING_HEIGHT_MULTILINE 0 10 +#define ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT_MULTILINE 0 16 +#define ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_MULTILINE 0 10 +// Clear Button +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 36 36 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 36 36 + +// Editfield Layout +#define EDITFIELD_BASE_HEIGHT_INC 96 +#define EDITFIELD_TOP_LEFT_PADDING_MIN_INC 20 29 +#define EDITFIELD_MULTILINE_TOP_LEFT_PADDING_MIN_INC 15 10 +#define EDITFIELD_BOTTOM_RIGHT_PADDING_MIN_INC 20 29 +#define EDITFIELD_MULTILINE_BOTTOM_RIGHT_PADDING_MIN_INC 15 16 +#define EDITFIELD_BUTTON_FIELD_MIN_INC 38 38 +#define EDITFIELD_FOCUSED_BOTTOM_RIGHT_PADDING_MIN_INC 15+36+15 29 +#define EDITFIELD_ENTRY_FIELD_MIN_INC 0 38 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_INC 0 19 +#define EDITFIELD_LINE_RECT_MIN_INC 0 2 +#define EDITFIELD_ENTRY_SWALLOW_ALIGN 0.5 0.5 +#define EDITFIELD_BASE_HEIGHT_MULTILINE_INC 64 +#define EDITFIELD_LINE_BOTTOM_PADDING_MIN_MULTILINE_INC 0 10 + +#define BUTTON_OPTION_MIN_MAX_INC 46 46 +#define BUTTON_OPTION_IMAGE_MIN_MAX_INC 46 46 + +//Slider +#define SLIDER_BASE_HEIGHT_INC 6 +#define SLIDER_INDICATOR_SIZE_INC 42 +#define SLIDER_SWALLOWBAR_HEIGHT_INC 42 +#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0 +#define SLIDER_ICON_PADDING_SIZE_INC 5 0 +#define SLIDER_CENTER_POINT_SIZE_INC 10 24 + +//Slider vertical +#define SLIDER_VERTICAL_BASE_HEIGHT_INC 6 +#define SLIDER_SWALLOWBAR_WIDTH_INC 42 +#define SLIDER_VERTICAL_CENTER_POINT_SIZE_INC 24 10 +#define SLIDER_VERTICAL_ICON_PADDING_SIZE_INC 42 5 +#define SLIDER_TOP_BOTTOM_PADDING_SIZE_INC 42 21 + +#define SLIDER_POPUP_WIDTH_INC 80 +#define SLIDER_POPUP_HEIGHT_INC 92 +#define SLIDER_INDICATOR_PADDING_TOP 20 +#define SLIDER_INDICATOR_PADDING_BOTTOM 32 +#define SLIDER_INDICATOR_TEXT_SIZE_HEIGHT 20 +#define SLIDER_INDICATOR_TEXT_SIZE_WIDTH 20 + +//Progressbar +#define PROGRESSBAR_BG_DEFAULT_HEIGHT_INC 42 +#define PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC 48 +#define PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC 76 +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 6 +#define PROGRESSBAR_PADDING_HEIGHT_INC 7 +#define PROCESS_LARGE_IMAGE_HEIGHT_INC 66 +#define PROCESS_LARGE_IMAGE_WIDTH_INC 66 +#define PROCESS_MEDIUM_IMAGE_HEIGHT_INC 36 +#define PROCESS_MEDIUM_IMAGE_WIDTH_INC 36 +#define PROCESS_SMALL_IMAGE_HEIGHT_INC 28 +#define PROCESS_SMALL_IMAGE_WIDTH_INC 28 + +//Check and Radio +#define CHECK_GEN_SIZE 60 60 +#define CHECK_SIZE 26 26 +#define CHECK_ICON_SIZE 30 30 +#define CHECK_BG_SIZE 40 40 +#define CHECK_BG_STROKE_SIZE 40 40 +#define RADIO_SIZE 30 30 +#define RADIO_BG_SIZE 40 40 +#define RADIO_BG_STROKE_SIZE 40 40 +#define CHECK_TEXT_FONT_SIZE_INC 22 +#define CHECK_PAD_BEFORE_TEXT_INC 15 0 +// No Content +#define NO_CONTENT_WIDTH_INC 480 +#define NO_CONTENT_WIDTH_LANDSCAPE_INC 800 +#define NO_CONTENT_BG_HEIGHT_INC 280 +#define NO_CONTENT_BG_LANDSCAPE_HEIGHT_INC 150 +#define NO_CONTENT_MAX_HEIGHT_INC 378 +#define NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 15 +#define NO_CONTENT_TITLE_TEXT_HEIGHT_INC 38 +#define NO_CONTENT_TEXT_PADDING_HEIGHT_INC 20 +#define NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC 30 +#define NO_CONTENT_TEXT_FONT_SIZE_INC 24 +//Button +#define BUTTON_BOTTOM_MIN_HEIGHT 74 +#define BUTTON_MIN_WIDTH 62 +#define BUTTON_MIN_HEIGHT 58 +#define BUTTON_MAX_WIDTH 450 +#define BUTTON_ICON_DEFAULT_WIDTH 30 +#define BUTTON_ICON_DEFAULT_HEIGHT 30 +#define BUTTON_PADDING_ICON_RIGHT 12 +#define BUTTON_BOTTOM_PADDING_LEFT_RIGHT 12 +#define BUTTON_PADDING_LEFT_RIGHT 12 +#define BUTTON_ICON_HEIGHT 46 +#define BUTTON_ICON_WIDTH 46 +#define BUTTON_CIRCLE_SIZE 74 74 +#define BUTTON_CIRCLE_ICON_SIZE 46 46 +#define BUTTON_CIRCLE_LABEL_SIZE 120 173 +#define BUTTON_CIRCLE_TOP_PADDING_HEIGHT 15 +#define BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 8 +#define BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT 10 +#define BUTTON_CIRCLE_BOTTOM_PADDING_HEIGHT 10 +#define BUTTON_CIRCLE_TEXT_HEIGHT 64 +#define BUTTON_TEXT_SIZE 30 +#define BUTTON_BOTTOM_TEXT_SIZE 33 +#define BUTTON_DATE_TEXT_SIZE 30 +#define BUTTON_AMPM_TEXT_SIZE 54 +#define BUTTON_TEXT_CIRCLE_SIZE 24 +#define BUTTON_POPUP_TEXT_SIZE 33 +//Multibuttonentry +#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 15 +#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 16 +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 15 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 15 +#define MULTIBUTTONENTRY_BOTTOM_HEIGHT_PAD_INC 16 +#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 56 +#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 30 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 30 +#define MULTIBUTTONENTRY_BUTTON_PAD_INC 20 +#define MULTIBUTTONENTRY_BUTTON_WIDTH_INC 70 +#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 56 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 30 +#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 56 // same as button +#define MULTIBUTTONENTRY_LABEL_PAD_INC 0 + +//****************************************************************************// +// Index +//****************************************************************************// +// FastScrol +#define INDEX_ITEM_WIDTH_INC 33 +#define INDEX_ITEM_HEIGHT_INC 30 +#define INDEX_POPUP_TEXT_SIZE_INC 54 +#define INDEX_DIVIDER_WIDTH_INC 0 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 0 +#define INDEX_TEXT_LEFT_PADDING_SIZE_INC 0 +#define INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0 +#define INDEX_PADDING_SIZE_INC 5 +#define INDEX_ITEM_PADDING_SIZE_INC 0 +#define INDEX_SCROLL_DRAG_PART_SIZE 33 28 +#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 +#define INDEX_SCROLL_POPUP_SIZE 100 100 +#define INDEX_SCROLL_POPUP_ACTIVE_SIZE 100 100 +#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 100 64 +#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 100 64 + +// Page Control +#define INDEX_PAGECONTROL_IND_INC 32 26 +#define INDEX_PAGECONTROL_IND_MIN_INC 26 26 + +//****************************************************************************// +// Popup +//****************************************************************************// +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 30 +#define POPUP_SUBTITLE_TEXT_FONT_SIZE_INC 21 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 30 + +#define POPUP_OUTSIDE_PADDING "48" +#define POPUP_TITLE_AREA_HEIGHT "72" +#define POPUP_CONTENT_AREA_LANDSCAPE_WIDTH_INC "480" + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 480 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 99999 752 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 480 0 +#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 480 -1 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 0 72 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 438 108 +#define POPUP_BASE_DEFAULT_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_SUBTITLE_TEXT_SHADOW_COLOR_INC "#08080855" +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 480 0 +#define POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC 480 0 + +#define POPUP_TITLE_LEFT_PADDING 15 +#define POPUP_TITLE_RIGHT_PADDING 15 +#define POPUP_TITLE_TOP_PADDING 3 +#define POPUP_TITLE_BOTTOM_PADDING 3 +#define POPUP_SUBTITLE_HEIGHT 28 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 27 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 27 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "108" +#define POPUP_BUTTON1_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 21 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 12 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 21 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 12 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 21 + +#define POPUP_TOAST_BG_MAX_WIDTH_INC 450 +#define POPUP_TOAST_BG_MAX_HEIGHT_INC 668 +#define POPUP_TOAST_BOTTOM_PAD_INC 0 +#define POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC 16 +#define POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 28 +#define POPUP_TOAST_TEXT_MAX_WIDTH_INC 394 +#define POPUP_TOAST_TEXT_MIN_HEIGHT_INC 34 +#define POPUP_TOAST_TEXT_MAX_HEIGHT_INC 636 +#define POPUP_TOAST_CONTENT_HEIGHT_MIN_INC 66 + +#define STYLE_TAGS \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T1067"; + +styles { + // ************* list main text ********** // + style { name: "list_text_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list sub text ********** // + style { name: "list_text_sub_01"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D text_class=T024D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P text_class=T024P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1 text_class=T024L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1D text_class=T024L1D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1P text_class=T024L1P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2 text_class=T024L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2D text_class=T024L2D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2P text_class=T024L2P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list index text ********** // + style { name: "list_text_index_main"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 text_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 text_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // multiline text + style { name: "list_text_multiline_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 text_class=T023 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D text_class=T023D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P text_class=T023P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 text_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D text_class=T024D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P text_class=T024P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_desc"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_select"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 text_class=T129 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* button text ********** // + style { name: "button_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2 text_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2D text_class=T051L2D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2P text_class=T051L2P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_date"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234 text_class=T1234 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234D text_class=T1234D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234P text_class=T1234P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_bottom"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_trans"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff color_class=T1221 text_class=T1221 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_circle"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_CIRCLE_SIZE" align=center color=#ffffff color_class=T127 text_class=T127 wrap=mixed"; + STYLE_TAGS + } + style { name: "button_contacts"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2 text_class=T051L2 wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2D text_class=T051L2D wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2P text_class=T051L2P wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup_dim"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + } + // ************* no Content text ********** // + style { name: "empty_state_1"; + base: "font=Tizen:style=Regular font_size="NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L1 text_class=T0222L1 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } + style { name: "empty_state_2"; + base: "font=Tizen:style=Light font_size="NO_CONTENT_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L2 text_class=T0222L2 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } +} + + +//****************************************************************************// +// Gengrid +//****************************************************************************// + +#define GRID_PADDING_LEFT_TOP_SIZE 1 1 +#define GRID_PADDING_RIGHT_BOTTOM_SIZE 1 1 +#define GRID_POPUP_PADDING_LEFT_TOP_SIZE 42 21 +#define GRID_POPUP_PADDING_RIGHT_BOTTOM_SIZE 42 11 +#define GRID_POPUP_ITEM_REAL_BG_SIZE 156 167 +#define GRID_POPUP_SWALLOW_ICON_SIZE 72 72 +#define GRID_POPUP_TEXT_SIZE 124 60 +#define GENGRID_POPUP_CONTENT_TOP_PADDING 18 +#define GENGRID_POPUP_CONTENT_BOTTOM_PADDING 18 + +//**************************DATETIME SPINNER****************// + +#define DATETIME_WIDGET_HEIGHT 49 //FIXME : widget UX not provided +#define DATETIME_WIDGET_PADDING_SIZE_INC 11 49 //FIXME : widget UX not provided + + +#define DATETIME_LAYOUT_CONTENT_SIZE_INC 480 222 +#define TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 85 +#define TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 38 +#define TIME_LAYOUT_CONTENT_COLON_WIDTH_INC 24 + +#define DATETIME_AMPM_BUTTON_SIZE_INC 105 110 +#define DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC 105 68 +#define DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC 21 +#define DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 12 + +#define TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 45 +#define TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 26 +#define TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 105 +#define TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 22 + +#define DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 140 +#define DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 24 +#define DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 24 +#define DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 6 + +#define SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC 42 60 +#define SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC 42 60 +#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 60 42 +#define SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC 60 42 +#define SPINNER_TEXT_HEIGHT_INC 110 +#define SPINNER_TEXT_TOP_BOTTOM_PADDING_HEIGHT_INC 14 +#define SPINNER_UP_DOWN_BG_EVENT_AREA_HEIGHT_INC 56 +#define SPINNER_VERTICAL_BG_WIDTH_INC 105 +#define SPINNER_VERTICAL_BG_HEIGHT_INC 222 + +#define ENTRY_TIME_LAYOUT_TEXT_SIZE_INC 60 +#define ENTRY_DATE_LAYOUT_TEXT_SIZE_INC 40 + +//***************************DATETIME SPINNER*************************// + + diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png new file mode 100644 index 0000000..05cb547 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_00.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png new file mode 100644 index 0000000..53cff68 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_01.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png new file mode 100644 index 0000000..525f882 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_02.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png new file mode 100644 index 0000000..580012e Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_03.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png new file mode 100644 index 0000000..b40035f Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_04.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png new file mode 100644 index 0000000..0cbddc6 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_05.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png new file mode 100644 index 0000000..2db5b51 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_06.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png new file mode 100644 index 0000000..bd4bab1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_07.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png new file mode 100644 index 0000000..67cace6 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_08.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png new file mode 100644 index 0000000..3d041c0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_09.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png new file mode 100644 index 0000000..4628958 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_10.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png new file mode 100644 index 0000000..de400e3 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_11.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png new file mode 100644 index 0000000..2097cb5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_12.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png new file mode 100644 index 0000000..ded8909 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_13.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png new file mode 100644 index 0000000..61d9be0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_14.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png new file mode 100644 index 0000000..ef6bebb Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_15.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png new file mode 100644 index 0000000..ec370e6 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_16.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png new file mode 100644 index 0000000..1e29848 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_17.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png new file mode 100644 index 0000000..c8fcd13 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_18.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png new file mode 100644 index 0000000..892bebe Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_19.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png new file mode 100644 index 0000000..a46231f Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_20.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png new file mode 100644 index 0000000..67424cd Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_21.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png new file mode 100644 index 0000000..1551b12 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_22.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png new file mode 100644 index 0000000..1ae3057 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_23.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png new file mode 100644 index 0000000..7a2049b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_24.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png new file mode 100644 index 0000000..8f65001 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_25.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png new file mode 100644 index 0000000..105f5e0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_26.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png new file mode 100644 index 0000000..10f45b2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_27.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png new file mode 100644 index 0000000..7077710 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_28.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png new file mode 100644 index 0000000..a882859 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/large/core_activity_Indicator_large_29.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png new file mode 100644 index 0000000..37b7a90 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_00.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png new file mode 100644 index 0000000..c14c54b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_01.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png new file mode 100644 index 0000000..693f8f2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_02.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png new file mode 100644 index 0000000..0270a40 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_03.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png new file mode 100644 index 0000000..6fc5587 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_04.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png new file mode 100644 index 0000000..ee5d96b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_05.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png new file mode 100644 index 0000000..46e3964 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_06.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png new file mode 100644 index 0000000..93ebf9e Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_07.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png new file mode 100644 index 0000000..8e4c688 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_08.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png new file mode 100644 index 0000000..007218f Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_09.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png new file mode 100644 index 0000000..75cb0f8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_10.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png new file mode 100644 index 0000000..5df320a Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_11.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png new file mode 100644 index 0000000..c28de6b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_12.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png new file mode 100644 index 0000000..2fd2e51 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_13.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png new file mode 100644 index 0000000..9e07a5d Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_14.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png new file mode 100644 index 0000000..5fccce5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_15.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png new file mode 100644 index 0000000..5bdbcdd Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_16.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png new file mode 100644 index 0000000..88becef Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_17.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png new file mode 100644 index 0000000..ef23ee0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_18.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png new file mode 100644 index 0000000..e8a6dba Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_19.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png new file mode 100644 index 0000000..79e50b1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_20.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png new file mode 100644 index 0000000..2f9f472 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_21.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png new file mode 100644 index 0000000..9f77e60 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_22.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png new file mode 100644 index 0000000..bea093d Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_23.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png new file mode 100644 index 0000000..dcad32d Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_24.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png new file mode 100644 index 0000000..46cdca2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_25.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png new file mode 100644 index 0000000..62071df Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_26.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png new file mode 100644 index 0000000..55b2cab Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_27.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png new file mode 100644 index 0000000..85868f5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_28.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png new file mode 100644 index 0000000..6e358a1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/medium/core_activity_Indicator_medium_29.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png new file mode 100644 index 0000000..d62fae7 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_00.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png new file mode 100644 index 0000000..63cb531 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_01.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png new file mode 100644 index 0000000..de3e25b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_02.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png new file mode 100644 index 0000000..ee57d11 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_03.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png new file mode 100644 index 0000000..6656462 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_04.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png new file mode 100644 index 0000000..7be533c Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_05.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png new file mode 100644 index 0000000..ee5c682 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_06.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png new file mode 100644 index 0000000..3294b3a Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_07.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png new file mode 100644 index 0000000..fa8a2c1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_08.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png new file mode 100644 index 0000000..430be0a Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_09.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png new file mode 100644 index 0000000..25e1121 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_10.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png new file mode 100644 index 0000000..0da56d0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_11.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png new file mode 100644 index 0000000..3c7c428 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_12.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png new file mode 100644 index 0000000..62d0767 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_13.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png new file mode 100644 index 0000000..ba7da28 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_14.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png new file mode 100644 index 0000000..02da45a Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_15.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png new file mode 100644 index 0000000..cf9ff13 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_16.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png new file mode 100644 index 0000000..86db1e1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_17.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png new file mode 100644 index 0000000..7d33fb2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_18.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png new file mode 100644 index 0000000..fa016c0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_19.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png new file mode 100644 index 0000000..a62ad25 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_20.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png new file mode 100644 index 0000000..78fa3aa Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_21.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png new file mode 100644 index 0000000..2bb086b Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_22.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png new file mode 100644 index 0000000..37aa26f Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_23.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png new file mode 100644 index 0000000..d3f6f4d Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_24.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png new file mode 100644 index 0000000..85a2b81 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_25.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png new file mode 100644 index 0000000..ac459c9 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_26.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png new file mode 100644 index 0000000..4271b3c Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_27.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png new file mode 100644 index 0000000..d035977 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_28.png differ diff --git a/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png new file mode 100644 index 0000000..db892f8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Activity_indicator/small/core_activity_Indicator_small_29.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_button_icon_clear.png b/2.3-mobile/WVGA/images/Content_views/core_button_icon_clear.png new file mode 100644 index 0000000..89702e8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_button_icon_clear.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg.#.png b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg.#.png new file mode 100644 index 0000000..8d669ee Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png new file mode 100644 index 0000000..557c707 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_bg_stroke.#.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_icon_arrow.png b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_icon_arrow.png new file mode 100644 index 0000000..fb111b0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_dropdown_label_icon_arrow.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_focus.#.png b/2.3-mobile/WVGA/images/Content_views/core_focus.#.png new file mode 100644 index 0000000..16a3b7d Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_focus.#.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_folder_icon_folder.png b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_folder.png new file mode 100644 index 0000000..dc379fa Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_folder.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_folder_icon_minus.png b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_minus.png new file mode 100644 index 0000000..a94a9f1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_minus.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_folder_icon_plus.png b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_plus.png new file mode 100644 index 0000000..9dc8402 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_folder_icon_plus.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_group_list_bg_ef.#.png b/2.3-mobile/WVGA/images/Content_views/core_group_list_bg_ef.#.png new file mode 100644 index 0000000..d7424ef Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_group_list_bg_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg.png b/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg.png new file mode 100755 index 0000000..fff3c00 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg_h.png b/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg_h.png new file mode 100644 index 0000000..c67291d Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_pattern_empty_bg_h.png differ diff --git a/2.3-mobile/WVGA/images/Content_views/core_title_icon_option.png b/2.3-mobile/WVGA/images/Content_views/core_title_icon_option.png new file mode 100755 index 0000000..762a7d4 Binary files /dev/null and b/2.3-mobile/WVGA/images/Content_views/core_title_icon_option.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_button_add.png b/2.3-mobile/WVGA/images/Controls/core_button_add.png new file mode 100644 index 0000000..b091148 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_button_add.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_button_bg.#.png b/2.3-mobile/WVGA/images/Controls/core_button_bg.#.png new file mode 100644 index 0000000..eba1fe5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_button_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_button_delete.png b/2.3-mobile/WVGA/images/Controls/core_button_delete.png new file mode 100644 index 0000000..b93030b Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_button_delete.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_button_reorder.png b/2.3-mobile/WVGA/images/Controls/core_button_reorder.png new file mode 100755 index 0000000..21a06ec Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_button_reorder.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_check_bg.png b/2.3-mobile/WVGA/images/Controls/core_check_bg.png new file mode 100644 index 0000000..8a29528 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_check_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_check_bg_stroke.png b/2.3-mobile/WVGA/images/Controls/core_check_bg_stroke.png new file mode 100644 index 0000000..54f7e13 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_check_bg_stroke.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_check_icon.png b/2.3-mobile/WVGA/images/Controls/core_check_icon.png new file mode 100644 index 0000000..1ad477a Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_check_icon.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_color_picker_color_shadow.png b/2.3-mobile/WVGA/images/Controls/core_color_picker_color_shadow.png new file mode 100644 index 0000000..1dcb359 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_color_picker_color_shadow.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_color_picker_palette.png b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette.png new file mode 100644 index 0000000..be0bc79 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_focused.png b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_focused.png new file mode 100644 index 0000000..cd27c93 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_focused.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected.png b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected.png new file mode 100644 index 0000000..5245cf2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected_bg.png b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected_bg.png new file mode 100644 index 0000000..d6b76d5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_color_picker_palette_selected_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_brightness.png b/2.3-mobile/WVGA/images/Controls/core_icon_brightness.png new file mode 100644 index 0000000..0ab208c Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_brightness.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_container.png b/2.3-mobile/WVGA/images/Controls/core_icon_container.png new file mode 100644 index 0000000..570a91e Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_container.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_expand_close.png b/2.3-mobile/WVGA/images/Controls/core_icon_expand_close.png new file mode 100644 index 0000000..f386dd8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_expand_close.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_expand_open.png b/2.3-mobile/WVGA/images/Controls/core_icon_expand_open.png new file mode 100644 index 0000000..2e608cf Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_expand_open.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_favorite.png b/2.3-mobile/WVGA/images/Controls/core_icon_favorite.png new file mode 100644 index 0000000..292bad2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_favorite.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_down.png b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_down.png new file mode 100644 index 0000000..e16bb8b Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_down.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_left.png b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_left.png new file mode 100755 index 0000000..78f6081 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_left.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_right.png b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_right.png new file mode 100755 index 0000000..84a8832 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_right.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_up.png b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_up.png new file mode 100644 index 0000000..465c91d Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_icon_picker_arrow_up.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h.#.png new file mode 100755 index 0000000..f607cc9 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h_ef.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h_ef.#.png new file mode 100755 index 0000000..b1555dc Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v.#.png new file mode 100755 index 0000000..ebf2b35 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v_ef.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v_ef.#.png new file mode 100755 index 0000000..51cb22b Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_01.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_01.png new file mode 100644 index 0000000..2e85775 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_01.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_02.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_02.png new file mode 100644 index 0000000..23db633 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_h_02.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_01.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_01.png new file mode 100644 index 0000000..165ae07 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_01.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_02.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_02.png new file mode 100644 index 0000000..b844d4b Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_handler_v_02.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg.#.png new file mode 100644 index 0000000..b264f4a Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png new file mode 100644 index 0000000..7cbda50 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png new file mode 100755 index 0000000..6caf5e7 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_index_scroll_popup_bg_stroke.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_list_button_bg.#.png b/2.3-mobile/WVGA/images/Controls/core_list_button_bg.#.png new file mode 100644 index 0000000..ea6c926 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_list_button_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_progress_bar.#.png b/2.3-mobile/WVGA/images/Controls/core_progress_bar.#.png new file mode 100644 index 0000000..233f0da Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_progress_bar.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_progress_bar_v.#.png b/2.3-mobile/WVGA/images/Controls/core_progress_bar_v.#.png new file mode 100755 index 0000000..e03c8ce Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_progress_bar_v.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_01.png b/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_01.png new file mode 100755 index 0000000..1342d40 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_01.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_02.png b/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_02.png new file mode 100755 index 0000000..f993692 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_progress_pending_bg_02.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_radio_bg.png b/2.3-mobile/WVGA/images/Controls/core_radio_bg.png new file mode 100644 index 0000000..98623ee Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_radio_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_radio_bg_stroke.png b/2.3-mobile/WVGA/images/Controls/core_radio_bg_stroke.png new file mode 100644 index 0000000..d6db6ae Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_radio_bg_stroke.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_radio_icon.png b/2.3-mobile/WVGA/images/Controls/core_radio_icon.png new file mode 100644 index 0000000..ee0f0d3 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_radio_icon.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h.#.png b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h.#.png new file mode 100644 index 0000000..6f7000e Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_ef.#.png b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_ef.#.png new file mode 100644 index 0000000..b268272 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_tab.#.png b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_tab.#.png new file mode 100644 index 0000000..7d25917 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_h_tab.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v.#.png b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v.#.png new file mode 100644 index 0000000..3ce4093 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v_ef.#.png b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v_ef.#.png new file mode 100644 index 0000000..54e4bd3 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_scroll_bar_v_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg.png b/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg.png new file mode 100644 index 0000000..6405989 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg_v.png b/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg_v.png new file mode 100755 index 0000000..fcfa8dd Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_center_point_bg_v.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_handle_normal.png b/2.3-mobile/WVGA/images/Controls/core_slider_handle_normal.png new file mode 100644 index 0000000..ec63c33 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_handle_normal.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_handle_press.png b/2.3-mobile/WVGA/images/Controls/core_slider_handle_press.png new file mode 100644 index 0000000..2c34d83 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_handle_press.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg.png b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg.png new file mode 100644 index 0000000..444a23e Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_ef.png b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_ef.png new file mode 100644 index 0000000..4505abc Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_ef.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_stroke.png b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_stroke.png new file mode 100644 index 0000000..e6b27fe Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_slider_popup_bg_stroke.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_toggle_bg.png b/2.3-mobile/WVGA/images/Controls/core_toggle_bg.png new file mode 100644 index 0000000..5716656 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_toggle_bg.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_toggle_icon_off.png b/2.3-mobile/WVGA/images/Controls/core_toggle_icon_off.png new file mode 100644 index 0000000..68011e0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_toggle_icon_off.png differ diff --git a/2.3-mobile/WVGA/images/Controls/core_toggle_icon_on.png b/2.3-mobile/WVGA/images/Controls/core_toggle_icon_on.png new file mode 100644 index 0000000..0e11eff Binary files /dev/null and b/2.3-mobile/WVGA/images/Controls/core_toggle_icon_on.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier.#.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier.#.png new file mode 100644 index 0000000..1706aa9 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier.#.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png new file mode 100644 index 0000000..450175f Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_Magnifier_mask.#.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_circle.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_circle.png new file mode 100644 index 0000000..e794a3e Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_circle.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_line.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_line.png new file mode 100644 index 0000000..569e3f2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_center_line.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png new file mode 100644 index 0000000..048c247 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_bottom.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_top.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_top.png new file mode 100644 index 0000000..0cd7cad Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_circle_top.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png new file mode 100644 index 0000000..bc1b344 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_bottom.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_top.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_top.png new file mode 100644 index 0000000..3153d0b Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_handler_line_top.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg.#.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg.#.png new file mode 100644 index 0000000..55447cd Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png new file mode 100644 index 0000000..b89651c Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png new file mode 100644 index 0000000..0b5c2b1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_bg_line.#.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png new file mode 100644 index 0000000..f0b6c4e Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_clipboard.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png new file mode 100644 index 0000000..4583c8d Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_copy.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png new file mode 100644 index 0000000..6dd0044 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_cut.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png new file mode 100644 index 0000000..48e7f50 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_paste.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select.png new file mode 100755 index 0000000..c61bb35 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png new file mode 100755 index 0000000..e4b2346 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_icon_select_all.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png new file mode 100644 index 0000000..197dca2 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png new file mode 100644 index 0000000..654a596 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_ef.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png new file mode 100644 index 0000000..261c0a3 Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_bottom_line.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up.png new file mode 100644 index 0000000..f25155f Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up.png differ diff --git a/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png new file mode 100644 index 0000000..2a54dcb Binary files /dev/null and b/2.3-mobile/WVGA/images/Copy_Paste/copy&paste_popup_tail_up_line.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-angry-shout.png b/2.3-mobile/WVGA/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-angry-shout.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-angry.png b/2.3-mobile/WVGA/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-angry.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-guilty.png b/2.3-mobile/WVGA/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-guilty.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-haha.png b/2.3-mobile/WVGA/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-haha.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-half-smile.png b/2.3-mobile/WVGA/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-half-smile.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-happy.png b/2.3-mobile/WVGA/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-happy.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-kiss.png b/2.3-mobile/WVGA/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-kiss.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-little-bit-sorry.png b/2.3-mobile/WVGA/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-love.png b/2.3-mobile/WVGA/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-love.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-minimal-smile.png b/2.3-mobile/WVGA/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-omg.png b/2.3-mobile/WVGA/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-omg.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-smile.png b/2.3-mobile/WVGA/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-smile.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-sorry.png b/2.3-mobile/WVGA/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-sorry.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-surprised.png b/2.3-mobile/WVGA/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-surprised.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-tongue-dangling.png b/2.3-mobile/WVGA/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-very-sorry.png b/2.3-mobile/WVGA/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-very-sorry.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-wink.png b/2.3-mobile/WVGA/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-wink.png differ diff --git a/2.3-mobile/WVGA/images/Emoticon/emo-worried.png b/2.3-mobile/WVGA/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Emoticon/emo-worried.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container.#.png b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container.#.png new file mode 100644 index 0000000..4f533f4 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container.#.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png new file mode 100644 index 0000000..748fa8e Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_badge_container_outer.#.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_icon_drawer.png b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_drawer.png new file mode 100644 index 0000000..a10ff93 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_icon_drawer.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_bg.png b/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_bg.png new file mode 100644 index 0000000..d609b33 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_bg.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png b/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png new file mode 100644 index 0000000..4ca4418 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_navigation_bar_icon_arrow.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off.png b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off.png new file mode 100644 index 0000000..3ab25a7 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off_ef.png b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off_ef.png new file mode 100644 index 0000000..21709ed Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_off_ef.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_on.png b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_on.png new file mode 100644 index 0000000..815ddc5 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_page_indicator_on.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_bg.png b/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_bg.png new file mode 100755 index 0000000..6cfbcb8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_bg.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_focus.png b/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_focus.png new file mode 100644 index 0000000..f02c34c Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_title_button_focus.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_cancel.png b/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_cancel.png new file mode 100644 index 0000000..fe94c3e Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_cancel.png differ diff --git a/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_done.png b/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_done.png new file mode 100755 index 0000000..988dae8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Navigation_elements/core_title_icon_done.png differ diff --git a/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg.#.png b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg.#.png new file mode 100644 index 0000000..6362748 Binary files /dev/null and b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg.#.png differ diff --git a/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_ef.#.png b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_ef.#.png new file mode 100755 index 0000000..85636f8 Binary files /dev/null and b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_ef.#.png differ diff --git a/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_stroke.#.png b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_stroke.#.png new file mode 100755 index 0000000..0afeb12 Binary files /dev/null and b/2.3-mobile/WVGA/images/Popups/core_popup_noti_bg_stroke.#.png differ diff --git a/2.3-mobile/WVGA/images/Popups/core_popup_top.#.png b/2.3-mobile/WVGA/images/Popups/core_popup_top.#.png new file mode 100644 index 0000000..8382782 Binary files /dev/null and b/2.3-mobile/WVGA/images/Popups/core_popup_top.#.png differ diff --git a/2.3-mobile/default.edc b/2.3-mobile/default.edc new file mode 100644 index 0000000..de0ffb4 --- /dev/null +++ b/2.3-mobile/default.edc @@ -0,0 +1,135 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +// 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. + +// theme configuration file for each theme (tizen, tizen-black, ...) +#include "default/inc/tmp-inc.edc" +#include "default/inc/tizen-default-inc.edc" + +#define INDICATOR_H 27 +#define CONTROLBAR_LARGE_H 78 +#define CONTROLBAR_SMALL_H 65 +#define CONTROLBAR_W 78 +#define SOFTKEY_H 72 +#define SEGMENT_H 50 +#define PART_RECT(NAME, REFER_PART, COLOR) \ + part { name: NAME; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: REFER_PART; \ + rel2.to: REFER_PART; \ + color: COLOR; \ + } \ + } + +externals { + external: "elm"; +} + +collections { + base_scale: 2.4; + +#include "widgets_default/map.edc" +//#include "widgets_default/multisense_ui.edc" +#include "widgets_default/panes.edc" +#include "widgets_default/photocam.edc" +#include "widgets_default/segmentedcontrol.edc" + +#include "widgets_default/actionslider.edc" +#include "widgets_default/bubble.edc" +#include "widgets_default/clock.edc" +#include "widgets_default/entry.edc" +#include "widgets_default/fileselector.edc" +#include "widgets_default/panel.edc" +#include "widgets_default/check.edc" +#include "widgets_default/genlist.edc" +#include "widgets_default/hover.edc" +#include "widgets_default/button.edc" +#include "widgets_default/ews.edc" +#include "widgets_default/layout.edc" +#include "widgets_default/spinner.edc" +#include "widgets_default/progressbar.edc" +#include "widgets_default/menu.edc" +#include "widgets_default/frame.edc" +#include "widgets_default/border.edc" +#include "widgets_default/toolbar.edc" + +#include "widgets_default/index.edc" +#include "widgets_default/gengrid.edc" +#include "widgets_default/tooltip.edc" +#include "widgets_default/separator.edc" +#include "widgets_default/colorselector.edc" +#include "widgets_default/list.edc" +#include "widgets_default/thumb.edc" +#include "widgets_default/photo.edc" +#include "widgets_default/pointer.edc" +#include "widgets_default/player.edc" +#include "widgets_default/focus_highlight.edc" +#include "widgets_default/flipselector.edc" +#include "widgets_default/slider.edc" +#include "widgets_default/win.edc" +#include "widgets_default/naviframe.edc" +#include "widgets_default/icon.edc" +#include "widgets_default/notify.edc" +/* +sounds{ + sound : "drag-start.wav" 0 100; + sound :"drag-accept.wav" 0 100; + sound :"button-pressed.wav" 0 100; + sound :"Waterdrop.wav" 0 100; +} + +haptics{ + haptic { + name:"1_haptic" ; + magnitude: 8000 ; + duration: 120 ; + attack_level: 123 ; + attack_time: 122 ; + fade_level: 16 ; + fade_time: 12 ; + type: MAGSWEEP ; + pattern:"01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic{ + name: "2_haptic" ; + magnitude: 10000 ; + duration: 12 ; + attack_level: 123 ; + attack_time: 120 ; + fade_level: 16 ; + fade_time: 12 ; + type: MAGSWEEP ; + pattern: "01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1, E0, 02, E2, 01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ; + } +} +*/ + color_classes { + color_class { + name: "transparent"; + color: 0 0 0 0; + } +} + diff --git a/2.3-mobile/default/images/tizen-hd/00_badge_bg.png b/2.3-mobile/default/images/tizen-hd/00_badge_bg.png new file mode 100644 index 0000000..6dda2a8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_badge_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_button_02.png b/2.3-mobile/default/images/tizen-hd/00_button_02.png new file mode 100644 index 0000000..c18a83b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_button_02.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_button_02_dim.png b/2.3-mobile/default/images/tizen-hd/00_button_02_dim.png new file mode 100644 index 0000000..c18a83b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_button_02_dim.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_button_02_press.png b/2.3-mobile/default/images/tizen-hd/00_button_02_press.png new file mode 100644 index 0000000..674d467 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_button_02_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_divider_line.png b/2.3-mobile/default/images/tizen-hd/00_divider_line.png new file mode 100644 index 0000000..fa2f19e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_divider_line.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_message_button_add_recipient.png b/2.3-mobile/default/images/tizen-hd/00_message_button_add_recipient.png new file mode 100644 index 0000000..93da581 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_message_button_add_recipient.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_scroll_bar.png b/2.3-mobile/default/images/tizen-hd/00_scroll_bar.png new file mode 100644 index 0000000..9930bbf Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_scroll_bar.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_slider_handle.png b/2.3-mobile/default/images/tizen-hd/00_slider_handle.png new file mode 100644 index 0000000..d81b935 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_slider_handle.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_slider_handle_dim.png b/2.3-mobile/default/images/tizen-hd/00_slider_handle_dim.png new file mode 100644 index 0000000..83600a8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_slider_handle_dim.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_slider_handle_press.png b/2.3-mobile/default/images/tizen-hd/00_slider_handle_press.png new file mode 100644 index 0000000..7e9485f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_slider_handle_press.png differ diff --git a/mobile/themes/images/HD/light/Controls/00_splite_handler_bg_h.png b/2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_h.png similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_splite_handler_bg_h.png rename to 2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_h.png diff --git a/mobile/themes/images/HD/light/Controls/00_splite_handler_bg_press.png b/2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_press.png similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_splite_handler_bg_press.png rename to 2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_press.png diff --git a/mobile/themes/images/HD/light/Controls/00_splite_handler_bg_v.png b/2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_v.png similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_splite_handler_bg_v.png rename to 2.3-mobile/default/images/tizen-hd/00_splite_handler_bg_v.png diff --git a/mobile/themes/images/HD/light/Controls/00_splite_handler_h.png b/2.3-mobile/default/images/tizen-hd/00_splite_handler_h.png similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_splite_handler_h.png rename to 2.3-mobile/default/images/tizen-hd/00_splite_handler_h.png diff --git a/mobile/themes/images/HD/light/Controls/00_splite_handler_v.png b/2.3-mobile/default/images/tizen-hd/00_splite_handler_v.png similarity index 100% rename from mobile/themes/images/HD/light/Controls/00_splite_handler_v.png rename to 2.3-mobile/default/images/tizen-hd/00_splite_handler_v.png diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_bg_focus.png b/2.3-mobile/default/images/tizen-hd/00_thumbs_bg_focus.png similarity index 100% rename from mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_bg_focus.png rename to 2.3-mobile/default/images/tizen-hd/00_thumbs_bg_focus.png diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_line_bg.png b/2.3-mobile/default/images/tizen-hd/00_thumbs_line_bg.png similarity index 100% rename from mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_line_bg.png rename to 2.3-mobile/default/images/tizen-hd/00_thumbs_line_bg.png diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_loading_bg.png b/2.3-mobile/default/images/tizen-hd/00_thumbs_loading_bg.png similarity index 100% rename from mobile/themes/images/HD/light/Content_views/Gengrid/00_thumbs_loading_bg.png rename to 2.3-mobile/default/images/tizen-hd/00_thumbs_loading_bg.png diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_01.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_01.png new file mode 100644 index 0000000..5c8fbb4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_01.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_02.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_02.png new file mode 100644 index 0000000..eeec62e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_02.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_03.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_03.png new file mode 100644 index 0000000..45f82b9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_03.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_04.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_04.png new file mode 100644 index 0000000..251e3ba Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_04.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_05.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_05.png new file mode 100644 index 0000000..e278217 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_05.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_06.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_06.png new file mode 100644 index 0000000..1e47db8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_06.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_07.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_07.png new file mode 100644 index 0000000..18d5db9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_07.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_08.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_08.png new file mode 100644 index 0000000..0cabf18 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_08.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_09.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_09.png new file mode 100644 index 0000000..94bba2b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_09.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_10.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_10.png new file mode 100644 index 0000000..2e5b2b7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_10.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_11.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_11.png new file mode 100644 index 0000000..264e6b5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_11.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_12.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_12.png new file mode 100644 index 0000000..c49841e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_12.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_13.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_13.png new file mode 100644 index 0000000..cdec394 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_13.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_14.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_14.png new file mode 100644 index 0000000..aeb2852 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_14.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_15.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_15.png new file mode 100644 index 0000000..b37ee4a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_15.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_16.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_16.png new file mode 100644 index 0000000..5bb072b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_16.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_17.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_17.png new file mode 100644 index 0000000..b7e6eb6 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_17.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_18.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_18.png new file mode 100644 index 0000000..e5ce36b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_18.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_19.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_19.png new file mode 100644 index 0000000..40b4e7d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_19.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_20.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_20.png new file mode 100644 index 0000000..b50abde Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_20.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_21.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_21.png new file mode 100644 index 0000000..e7cc057 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_21.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_22.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_22.png new file mode 100644 index 0000000..35e93e3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_22.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_23.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_23.png new file mode 100644 index 0000000..50990db Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_23.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_24.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_24.png new file mode 100644 index 0000000..3dfea10 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_24.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_25.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_25.png new file mode 100644 index 0000000..4878a78 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_25.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_26.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_26.png new file mode 100644 index 0000000..b57750f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_26.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_27.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_27.png new file mode 100644 index 0000000..c8cee33 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_27.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_28.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_28.png new file mode 100644 index 0000000..db51809 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_28.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_29.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_29.png new file mode 100644 index 0000000..2fb304e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_29.png differ diff --git a/2.3-mobile/default/images/tizen-hd/00_winset_list_process_30.png b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_30.png new file mode 100644 index 0000000..9868089 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/00_winset_list_process_30.png differ diff --git a/2.3-mobile/default/images/tizen-hd/action_slider_bg.png b/2.3-mobile/default/images/tizen-hd/action_slider_bg.png new file mode 100644 index 0000000..5d1573b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/action_slider_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/action_slider_btn.png b/2.3-mobile/default/images/tizen-hd/action_slider_btn.png new file mode 100644 index 0000000..d9c20c5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/action_slider_btn.png differ diff --git a/2.3-mobile/default/images/tizen-hd/action_slider_guage_off.png b/2.3-mobile/default/images/tizen-hd/action_slider_guage_off.png new file mode 100644 index 0000000..837d8d1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/action_slider_guage_off.png differ diff --git a/2.3-mobile/default/images/tizen-hd/action_slider_guage_on.png b/2.3-mobile/default/images/tizen-hd/action_slider_guage_on.png new file mode 100644 index 0000000..cd06b1d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/action_slider_guage_on.png differ diff --git a/2.3-mobile/default/images/tizen-hd/bt_sm_hilight.png b/2.3-mobile/default/images/tizen-hd/bt_sm_hilight.png new file mode 100644 index 0000000..63899ca Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bt_sm_hilight.png differ diff --git a/2.3-mobile/default/images/tizen-hd/bt_sm_shine.png b/2.3-mobile/default/images/tizen-hd/bt_sm_shine.png new file mode 100644 index 0000000..23bf311 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bt_sm_shine.png differ diff --git a/mobile/themes/images/HD/dark/Map/bubble.png b/2.3-mobile/default/images/tizen-hd/bubble.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/bubble.png rename to 2.3-mobile/default/images/tizen-hd/bubble.png diff --git a/2.3-mobile/default/images/tizen-hd/bubble_1.png b/2.3-mobile/default/images/tizen-hd/bubble_1.png new file mode 100644 index 0000000..3931db3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bubble_1.png differ diff --git a/2.3-mobile/default/images/tizen-hd/bubble_2.png b/2.3-mobile/default/images/tizen-hd/bubble_2.png new file mode 100644 index 0000000..9578553 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bubble_2.png differ diff --git a/2.3-mobile/default/images/tizen-hd/bubble_3.png b/2.3-mobile/default/images/tizen-hd/bubble_3.png new file mode 100644 index 0000000..c3ad266 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bubble_3.png differ diff --git a/2.3-mobile/default/images/tizen-hd/bubble_4.png b/2.3-mobile/default/images/tizen-hd/bubble_4.png new file mode 100644 index 0000000..e232b5e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/bubble_4.png differ diff --git a/mobile/themes/images/HD/dark/Map/bubble_shine.png b/2.3-mobile/default/images/tizen-hd/bubble_shine.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/bubble_shine.png rename to 2.3-mobile/default/images/tizen-hd/bubble_shine.png diff --git a/2.3-mobile/default/images/tizen-hd/emo-angry-shout.png b/2.3-mobile/default/images/tizen-hd/emo-angry-shout.png new file mode 100644 index 0000000..09df0a0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-angry-shout.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-angry.png b/2.3-mobile/default/images/tizen-hd/emo-angry.png new file mode 100644 index 0000000..8ac4de1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-angry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-crazy-laugh.png b/2.3-mobile/default/images/tizen-hd/emo-crazy-laugh.png new file mode 100644 index 0000000..cca7d0f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-crazy-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-evil-laugh.png b/2.3-mobile/default/images/tizen-hd/emo-evil-laugh.png new file mode 100644 index 0000000..345570c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-evil-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-evil.png b/2.3-mobile/default/images/tizen-hd/emo-evil.png new file mode 100644 index 0000000..fd37758 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-evil.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-goggle-smile.png b/2.3-mobile/default/images/tizen-hd/emo-goggle-smile.png new file mode 100644 index 0000000..4a8e630 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-goggle-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-grumpy-smile.png b/2.3-mobile/default/images/tizen-hd/emo-grumpy-smile.png new file mode 100644 index 0000000..09f326f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-grumpy-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-grumpy.png b/2.3-mobile/default/images/tizen-hd/emo-grumpy.png new file mode 100644 index 0000000..c7ee046 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-grumpy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-guilty-smile.png b/2.3-mobile/default/images/tizen-hd/emo-guilty-smile.png new file mode 100644 index 0000000..6892c81 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-guilty-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-guilty.png b/2.3-mobile/default/images/tizen-hd/emo-guilty.png new file mode 100644 index 0000000..b5f3cda Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-guilty.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-haha.png b/2.3-mobile/default/images/tizen-hd/emo-haha.png new file mode 100644 index 0000000..a8f28c7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-haha.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-half-smile.png b/2.3-mobile/default/images/tizen-hd/emo-half-smile.png new file mode 100644 index 0000000..4f1014c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-half-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-happy-panting.png b/2.3-mobile/default/images/tizen-hd/emo-happy-panting.png new file mode 100644 index 0000000..cf714a7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-happy-panting.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-happy.png b/2.3-mobile/default/images/tizen-hd/emo-happy.png new file mode 100644 index 0000000..f4b208c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-happy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-indifferent.png b/2.3-mobile/default/images/tizen-hd/emo-indifferent.png new file mode 100644 index 0000000..539582d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-indifferent.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-kiss.png b/2.3-mobile/default/images/tizen-hd/emo-kiss.png new file mode 100644 index 0000000..2ab85df Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-kiss.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-knowing-grin.png b/2.3-mobile/default/images/tizen-hd/emo-knowing-grin.png new file mode 100644 index 0000000..7d77c52 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-knowing-grin.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-laugh.png b/2.3-mobile/default/images/tizen-hd/emo-laugh.png new file mode 100644 index 0000000..e3342d7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-little-bit-sorry.png b/2.3-mobile/default/images/tizen-hd/emo-little-bit-sorry.png new file mode 100644 index 0000000..b0dad6c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-love-lots.png b/2.3-mobile/default/images/tizen-hd/emo-love-lots.png new file mode 100644 index 0000000..c6e83d1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-love-lots.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-love.png b/2.3-mobile/default/images/tizen-hd/emo-love.png new file mode 100644 index 0000000..d55f6bf Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-love.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-minimal-smile.png b/2.3-mobile/default/images/tizen-hd/emo-minimal-smile.png new file mode 100644 index 0000000..fe36d10 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-minimal-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-not-happy.png b/2.3-mobile/default/images/tizen-hd/emo-not-happy.png new file mode 100644 index 0000000..603826a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-not-happy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-not-impressed.png b/2.3-mobile/default/images/tizen-hd/emo-not-impressed.png new file mode 100644 index 0000000..4a0bd5a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-not-impressed.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-omg.png b/2.3-mobile/default/images/tizen-hd/emo-omg.png new file mode 100644 index 0000000..8e08c18 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-omg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-opensmile.png b/2.3-mobile/default/images/tizen-hd/emo-opensmile.png new file mode 100644 index 0000000..4c3ec25 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-opensmile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-smile.png b/2.3-mobile/default/images/tizen-hd/emo-smile.png new file mode 100644 index 0000000..b982187 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-sorry.png b/2.3-mobile/default/images/tizen-hd/emo-sorry.png new file mode 100644 index 0000000..aa75221 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-squint-laugh.png b/2.3-mobile/default/images/tizen-hd/emo-squint-laugh.png new file mode 100644 index 0000000..b54a063 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-squint-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-surprised.png b/2.3-mobile/default/images/tizen-hd/emo-surprised.png new file mode 100644 index 0000000..08a0509 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-surprised.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-suspicious.png b/2.3-mobile/default/images/tizen-hd/emo-suspicious.png new file mode 100644 index 0000000..68d441e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-suspicious.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-tongue-dangling.png b/2.3-mobile/default/images/tizen-hd/emo-tongue-dangling.png new file mode 100644 index 0000000..a03883f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-tongue-dangling.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-tongue-poke.png b/2.3-mobile/default/images/tizen-hd/emo-tongue-poke.png new file mode 100644 index 0000000..12ca308 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-tongue-poke.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-uh.png b/2.3-mobile/default/images/tizen-hd/emo-uh.png new file mode 100644 index 0000000..5eac52c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-uh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-unhappy.png b/2.3-mobile/default/images/tizen-hd/emo-unhappy.png new file mode 100644 index 0000000..2fda0d5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-unhappy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-very-sorry.png b/2.3-mobile/default/images/tizen-hd/emo-very-sorry.png new file mode 100644 index 0000000..7cb6ce6 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-very-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-what.png b/2.3-mobile/default/images/tizen-hd/emo-what.png new file mode 100644 index 0000000..cc0031b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-what.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-wink.png b/2.3-mobile/default/images/tizen-hd/emo-wink.png new file mode 100644 index 0000000..cf6b42a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-wink.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-worried.png b/2.3-mobile/default/images/tizen-hd/emo-worried.png new file mode 100644 index 0000000..76f50fb Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-worried.png differ diff --git a/2.3-mobile/default/images/tizen-hd/emo-wtf.png b/2.3-mobile/default/images/tizen-hd/emo-wtf.png new file mode 100644 index 0000000..a2c84de Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/emo-wtf.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_apps.png b/2.3-mobile/default/images/tizen-hd/icon_apps.png new file mode 100644 index 0000000..aed4067 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_apps.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_arrow_down.png b/2.3-mobile/default/images/tizen-hd/icon_arrow_down.png new file mode 100644 index 0000000..d1b7476 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_arrow_down.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_arrow_left.png b/2.3-mobile/default/images/tizen-hd/icon_arrow_left.png new file mode 100644 index 0000000..85615c7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_arrow_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_arrow_right.png b/2.3-mobile/default/images/tizen-hd/icon_arrow_right.png new file mode 100644 index 0000000..10c7457 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_arrow_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_arrow_up.png b/2.3-mobile/default/images/tizen-hd/icon_arrow_up.png new file mode 100644 index 0000000..1b548e9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_arrow_up.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_back.png b/2.3-mobile/default/images/tizen-hd/icon_back.png new file mode 100644 index 0000000..f27dd1e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_back.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_chat.png b/2.3-mobile/default/images/tizen-hd/icon_chat.png new file mode 100644 index 0000000..39a75ac Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_chat.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_clock.png b/2.3-mobile/default/images/tizen-hd/icon_clock.png new file mode 100644 index 0000000..a87b4f1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_clock.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_close.png b/2.3-mobile/default/images/tizen-hd/icon_close.png new file mode 100644 index 0000000..4f0d677 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_close.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_close_small.png b/2.3-mobile/default/images/tizen-hd/icon_close_small.png new file mode 100644 index 0000000..dced2e2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_close_small.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_delete.png b/2.3-mobile/default/images/tizen-hd/icon_delete.png new file mode 100644 index 0000000..418a24b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_delete.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_edit.png b/2.3-mobile/default/images/tizen-hd/icon_edit.png new file mode 100644 index 0000000..ad302bf Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_edit.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_file.png b/2.3-mobile/default/images/tizen-hd/icon_file.png new file mode 100644 index 0000000..f75e0e8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_file.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_folder.png b/2.3-mobile/default/images/tizen-hd/icon_folder.png new file mode 100644 index 0000000..b87c819 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_folder.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_home.png b/2.3-mobile/default/images/tizen-hd/icon_home.png new file mode 100644 index 0000000..7d8fb7a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_home.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_ff.png b/2.3-mobile/default/images/tizen-hd/icon_media_ff.png new file mode 100644 index 0000000..953b5f7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_ff.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_info.png b/2.3-mobile/default/images/tizen-hd/icon_media_info.png new file mode 100644 index 0000000..f56ab85 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_info.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_next.png b/2.3-mobile/default/images/tizen-hd/icon_media_next.png new file mode 100644 index 0000000..000c610 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_next.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_pause.png b/2.3-mobile/default/images/tizen-hd/icon_media_pause.png new file mode 100644 index 0000000..e1533b5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_pause.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_play.png b/2.3-mobile/default/images/tizen-hd/icon_media_play.png new file mode 100644 index 0000000..d9b9c6e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_play.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_prev.png b/2.3-mobile/default/images/tizen-hd/icon_media_prev.png new file mode 100644 index 0000000..883fa15 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_prev.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_rew.png b/2.3-mobile/default/images/tizen-hd/icon_media_rew.png new file mode 100644 index 0000000..a0d31b4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_rew.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_media_stop.png b/2.3-mobile/default/images/tizen-hd/icon_media_stop.png new file mode 100644 index 0000000..edcab71 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_media_stop.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_noimage.png b/2.3-mobile/default/images/tizen-hd/icon_noimage.png new file mode 100644 index 0000000..28327c2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_noimage.png differ diff --git a/2.3-mobile/default/images/tizen-hd/icon_refresh.png b/2.3-mobile/default/images/tizen-hd/icon_refresh.png new file mode 100644 index 0000000..395509b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/icon_refresh.png differ diff --git a/mobile/themes/images/HD/dark/Map/map_circle.png b/2.3-mobile/default/images/tizen-hd/map_circle.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/map_circle.png rename to 2.3-mobile/default/images/tizen-hd/map_circle.png diff --git a/mobile/themes/images/HD/dark/Map/map_item.png b/2.3-mobile/default/images/tizen-hd/map_item.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/map_item.png rename to 2.3-mobile/default/images/tizen-hd/map_item.png diff --git a/mobile/themes/images/HD/dark/Map/map_item_2.png b/2.3-mobile/default/images/tizen-hd/map_item_2.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/map_item_2.png rename to 2.3-mobile/default/images/tizen-hd/map_item_2.png diff --git a/mobile/themes/images/HD/dark/Map/map_scale.png b/2.3-mobile/default/images/tizen-hd/map_scale.png similarity index 100% rename from mobile/themes/images/HD/dark/Map/map_scale.png rename to 2.3-mobile/default/images/tizen-hd/map_scale.png diff --git a/2.3-mobile/default/images/tizen-hd/sb_runnerh.png b/2.3-mobile/default/images/tizen-hd/sb_runnerh.png new file mode 100644 index 0000000..a483ce8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/sb_runnerh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/sb_runnerv.png b/2.3-mobile/default/images/tizen-hd/sb_runnerv.png new file mode 100644 index 0000000..cb2da6f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/sb_runnerv.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_bg.png new file mode 100644 index 0000000..5d1573b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_btn.png b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_btn.png new file mode 100644 index 0000000..d9c20c5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_btn.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_off.png b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_off.png new file mode 100644 index 0000000..837d8d1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_off.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_on.png b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_on.png new file mode 100644 index 0000000..cd06b1d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/action_slider_guage_on.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_nor.png new file mode 100644 index 0000000..5b3558d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_sel.png new file mode 100644 index 0000000..a6f2595 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_bottom_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_nor.png new file mode 100644 index 0000000..cbc1f3b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_sel.png new file mode 100644 index 0000000..16a435c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_left_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_nor.png new file mode 100644 index 0000000..fb78508 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_sel.png new file mode 100644 index 0000000..c8732c8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_right_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_nor.png new file mode 100644 index 0000000..d7683b9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_sel.png new file mode 100644 index 0000000..e58be93 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_top_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_nor.png new file mode 100644 index 0000000..3d55b4f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_sel.png new file mode 100644 index 0000000..38b1df4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_arrow_updown_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_nor.png new file mode 100644 index 0000000..fc4e2df Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_sel.png new file mode 100644 index 0000000..46e572f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/btn_style_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_1.png b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_1.png new file mode 100644 index 0000000..3931db3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_1.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_2.png b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_2.png new file mode 100644 index 0000000..9578553 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_2.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_3.png b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_3.png new file mode 100644 index 0000000..c3ad266 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_3.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_4.png b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_4.png new file mode 100644 index 0000000..e232b5e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/bubble_4.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/check_btn.png b/2.3-mobile/default/images/tizen-hd/whitetheme/check_btn.png new file mode 100644 index 0000000..52d7978 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/check_btn.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/check_cover.png b/2.3-mobile/default/images/tizen-hd/whitetheme/check_cover.png new file mode 100644 index 0000000..5d1f7f4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/check_cover.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_bg.png new file mode 100644 index 0000000..3d15bce Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_gradient.png b/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_gradient.png new file mode 100644 index 0000000..5ef2e4a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/color_selector_gradient.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry-shout.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry-shout.png new file mode 100644 index 0000000..525dc27 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry-shout.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry.png new file mode 100644 index 0000000..53615e7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-angry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-crazy-laugh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-crazy-laugh.png new file mode 100644 index 0000000..4c95c90 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-crazy-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil-laugh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil-laugh.png new file mode 100644 index 0000000..9ca38da Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil.png new file mode 100644 index 0000000..49b6b9d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-evil.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-goggle-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-goggle-smile.png new file mode 100644 index 0000000..5487827 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-goggle-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy-smile.png new file mode 100644 index 0000000..856737e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy.png new file mode 100644 index 0000000..ad4abba Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-grumpy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty-smile.png new file mode 100644 index 0000000..8db8100 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty.png new file mode 100644 index 0000000..3465de3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-guilty.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-haha.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-haha.png new file mode 100644 index 0000000..4e4c472 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-haha.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-half-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-half-smile.png new file mode 100644 index 0000000..023c09f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-half-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy-panting.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy-panting.png new file mode 100644 index 0000000..6e6d96e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy-panting.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy.png new file mode 100644 index 0000000..306220e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-happy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-indifferent.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-indifferent.png new file mode 100644 index 0000000..76f4e44 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-indifferent.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-kiss.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-kiss.png new file mode 100644 index 0000000..b20a3fa Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-kiss.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-knowing-grin.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-knowing-grin.png new file mode 100644 index 0000000..087272d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-knowing-grin.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-laugh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-laugh.png new file mode 100644 index 0000000..ae84ca9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-little-bit-sorry.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-little-bit-sorry.png new file mode 100644 index 0000000..e865e19 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-little-bit-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love-lots.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love-lots.png new file mode 100644 index 0000000..26b1c51 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love-lots.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love.png new file mode 100644 index 0000000..e248e06 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-love.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-minimal-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-minimal-smile.png new file mode 100644 index 0000000..4b034d0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-minimal-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-happy.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-happy.png new file mode 100644 index 0000000..cbc13b8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-happy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-impressed.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-impressed.png new file mode 100644 index 0000000..2c5ac8d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-not-impressed.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-omg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-omg.png new file mode 100644 index 0000000..9b04bc0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-omg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-opensmile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-opensmile.png new file mode 100644 index 0000000..cd8c47f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-opensmile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-smile.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-smile.png new file mode 100644 index 0000000..15f2339 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-smile.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-sorry.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-sorry.png new file mode 100644 index 0000000..af6ea7b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-squint-laugh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-squint-laugh.png new file mode 100644 index 0000000..9e0e63b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-squint-laugh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-surprised.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-surprised.png new file mode 100644 index 0000000..e6c8acd Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-surprised.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-suspicious.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-suspicious.png new file mode 100644 index 0000000..2e53a79 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-suspicious.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-dangling.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-dangling.png new file mode 100644 index 0000000..ec7c8ff Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-dangling.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-poke.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-poke.png new file mode 100644 index 0000000..6106c24 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-tongue-poke.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-uh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-uh.png new file mode 100644 index 0000000..d321cac Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-uh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-unhappy.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-unhappy.png new file mode 100644 index 0000000..e92ff5f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-unhappy.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-very-sorry.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-very-sorry.png new file mode 100644 index 0000000..bfba95a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-very-sorry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-what.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-what.png new file mode 100644 index 0000000..076a690 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-what.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wink.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wink.png new file mode 100644 index 0000000..090fcb1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wink.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-worried.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-worried.png new file mode 100644 index 0000000..8441c47 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-worried.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wtf.png b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wtf.png new file mode 100644 index 0000000..faf72fa Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/emo-wtf.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/ews_bg_shadow.png b/2.3-mobile/default/images/tizen-hd/whitetheme/ews_bg_shadow.png new file mode 100644 index 0000000..6557830 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/ews_bg_shadow.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_entry.png b/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_entry.png new file mode 100644 index 0000000..43f060e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_entry.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_root_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_root_bg.png new file mode 100644 index 0000000..ddf7264 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/file_selector_root_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/fileselector_icon.png b/2.3-mobile/default/images/tizen-hd/whitetheme/fileselector_icon.png new file mode 100644 index 0000000..69e560e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/fileselector_icon.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0b.png new file mode 100644 index 0000000..f314843 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0t.png new file mode 100644 index 0000000..5d1c15d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_0t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1b.png new file mode 100644 index 0000000..2281d1a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1t.png new file mode 100644 index 0000000..e626671 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_1t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2b.png new file mode 100644 index 0000000..b126795 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2t.png new file mode 100644 index 0000000..2f63d61 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_2t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3b.png new file mode 100644 index 0000000..d58ecd1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3t.png new file mode 100644 index 0000000..9278cdc Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_3t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4b.png new file mode 100644 index 0000000..b0862d9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4t.png new file mode 100644 index 0000000..31e491d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_4t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5b.png new file mode 100644 index 0000000..cddf79a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5t.png new file mode 100644 index 0000000..5e74da7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_5t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6b.png new file mode 100644 index 0000000..5038b88 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6t.png new file mode 100644 index 0000000..24d64b0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_6t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7b.png new file mode 100644 index 0000000..e298e39 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7t.png new file mode 100644 index 0000000..5dc68bc Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_7t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8b.png new file mode 100644 index 0000000..8a146cc Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8t.png new file mode 100644 index 0000000..1cb1a19 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_8t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9b.png new file mode 100644 index 0000000..926bf93 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9t.png new file mode 100644 index 0000000..46da8fd Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_9t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amb.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amb.png new file mode 100644 index 0000000..567351d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amb.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amt.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amt.png new file mode 100644 index 0000000..048284f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_amt.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_b.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_b.png new file mode 100644 index 0000000..b9af5ec Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_b.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_base.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_base.png new file mode 100644 index 0000000..c9339ca Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_base.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_down.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_down.png new file mode 100644 index 0000000..17e547b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_down.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_up.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_up.png new file mode 100644 index 0000000..97512b2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_btn_up.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_colon.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_colon.png new file mode 100644 index 0000000..1121e1d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_colon.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmb.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmb.png new file mode 100644 index 0000000..65bc01b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmb.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmt.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmt.png new file mode 100644 index 0000000..6f0791a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_pmt.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_shad.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_shad.png new file mode 100644 index 0000000..f359a2b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_shad.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/flip_t.png b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_t.png new file mode 100644 index 0000000..9d4e538 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/flip_t.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/focus_highlight_icon.png b/2.3-mobile/default/images/tizen-hd/whitetheme/focus_highlight_icon.png new file mode 100644 index 0000000..3d37a0c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/focus_highlight_icon.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/frame_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_bg.png new file mode 100644 index 0000000..b1f9ea2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_bottom.png b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_bottom.png new file mode 100644 index 0000000..c14f204 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_bottom.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_top.png b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_top.png new file mode 100644 index 0000000..4daa1ef Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/frame_outdent_top.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_selected.png b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_selected.png new file mode 100644 index 0000000..524c6f1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_selected.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_shadow.png b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_shadow.png new file mode 100644 index 0000000..dd2c63c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_shadow.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_stroke.png b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_stroke.png new file mode 100644 index 0000000..35fdb93 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/gengrid_thumb_stroke.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hover_bottom_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_bottom_bg.png new file mode 100644 index 0000000..51343f2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_bottom_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hover_center_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_center_bg.png new file mode 100644 index 0000000..21c67a0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_center_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hover_left_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_left_bg.png new file mode 100644 index 0000000..8de4023 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_left_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hover_right_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_right_bg.png new file mode 100644 index 0000000..7d741af Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_right_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hover_top_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_top_bg.png new file mode 100644 index 0000000..3466431 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hover_top_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg.png new file mode 100644 index 0000000..a92848b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_2.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_2.png new file mode 100644 index 0000000..c8f882b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_2.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow.png new file mode 100644 index 0000000..7670135 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow_2.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow_2.png new file mode 100644 index 0000000..7398cd4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_bg_shadow_2.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_sel.png b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_sel.png new file mode 100644 index 0000000..2f5bd98 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/hoversel_sel.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_apps.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_apps.png new file mode 100644 index 0000000..aed4067 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_apps.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down.png new file mode 100644 index 0000000..d1b7476 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left.png new file mode 100644 index 0000000..ae897e2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left_press.png new file mode 100644 index 0000000..9f72c79 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_down_left_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_left.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_left.png new file mode 100644 index 0000000..85615c7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_right.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_right.png new file mode 100644 index 0000000..10c7457 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up.png new file mode 100644 index 0000000..1b548e9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right.png new file mode 100644 index 0000000..8b023ee Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right_press.png new file mode 100644 index 0000000..5398364 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_arrow_up_right_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_back.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_back.png new file mode 100644 index 0000000..f27dd1e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_back.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_chat.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_chat.png new file mode 100644 index 0000000..bc1aa37 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_chat.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_clock.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_clock.png new file mode 100644 index 0000000..a87b4f1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_clock.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close.png new file mode 100644 index 0000000..4f0d677 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small.png new file mode 100644 index 0000000..d18b9be Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small_press.png new file mode 100644 index 0000000..3fc2904 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_close_small_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_delete.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_delete.png new file mode 100644 index 0000000..418a24b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_delete.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_edit.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_edit.png new file mode 100644 index 0000000..6352dff Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_edit.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_file.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_file.png new file mode 100644 index 0000000..f75e0e8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_file.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_folder.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_folder.png new file mode 100644 index 0000000..b87c819 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_folder.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_home.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_home.png new file mode 100644 index 0000000..7d8fb7a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_home.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_ff.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_ff.png new file mode 100644 index 0000000..953b5f7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_ff.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_info.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_info.png new file mode 100644 index 0000000..f56ab85 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_info.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_next.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_next.png new file mode 100644 index 0000000..000c610 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_next.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_pause.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_pause.png new file mode 100644 index 0000000..e1533b5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_pause.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_play.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_play.png new file mode 100644 index 0000000..d9b9c6e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_play.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_prev.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_prev.png new file mode 100644 index 0000000..883fa15 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_prev.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_rew.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_rew.png new file mode 100644 index 0000000..a0d31b4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_rew.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_stop.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_stop.png new file mode 100644 index 0000000..edcab71 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_media_stop.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_noimage.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_noimage.png new file mode 100644 index 0000000..28327c2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_noimage.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/icon_refresh.png b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_refresh.png new file mode 100644 index 0000000..51ea8dc Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/icon_refresh.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg0.png b/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg0.png new file mode 100644 index 0000000..cf3d69c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg0.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg1.png b/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg1.png new file mode 100644 index 0000000..e49b277 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/index_pagecontrol_bar_bg1.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_h.png b/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_h.png new file mode 100644 index 0000000..8d76ca0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_h.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_v.png b/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_v.png new file mode 100644 index 0000000..3589ce5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/index_rollover_bg_v.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/index_scroll_popup_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/index_scroll_popup_bg.png new file mode 100644 index 0000000..fecf254 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/index_scroll_popup_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/line_h_2px.png b/2.3-mobile/default/images/tizen-hd/whitetheme/line_h_2px.png new file mode 100644 index 0000000..0c9c212 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/line_h_2px.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/line_v_2px.png b/2.3-mobile/default/images/tizen-hd/whitetheme/line_v_2px.png new file mode 100644 index 0000000..8472d40 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/line_v_2px.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/list_2nd.png b/2.3-mobile/default/images/tizen-hd/whitetheme/list_2nd.png new file mode 100644 index 0000000..ad396a1 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/list_2nd.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/list_move.png b/2.3-mobile/default/images/tizen-hd/whitetheme/list_move.png new file mode 100644 index 0000000..4ccb33d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/list_move.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_left.png b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_left.png new file mode 100644 index 0000000..2d4f344 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_right.png b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_right.png new file mode 100644 index 0000000..ee47880 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_arrow_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_nor.png b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_nor.png new file mode 100644 index 0000000..ef1523b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_nor.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_press.png new file mode 100644 index 0000000..9b6b7ee Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_btn_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/menu_separator.png b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_separator.png new file mode 100644 index 0000000..745625b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/menu_separator.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_bottom.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_bottom.png new file mode 100644 index 0000000..87accef Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_bottom.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_left.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_left.png new file mode 100644 index 0000000..682dffa Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_right.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_right.png new file mode 100644 index 0000000..e83e511 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_top.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_top.png new file mode 100644 index 0000000..77bb0bb Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_arrow_top.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr.png new file mode 100644 index 0000000..fc45081 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr_press.png new file mode 100644 index 0000000..79ed219 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_lr_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb.png new file mode 100644 index 0000000..fabc0f0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb_press.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb_press.png new file mode 100644 index 0000000..345e323 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_bg_tb_press.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_drag_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_drag_bg.png new file mode 100644 index 0000000..593e60e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_drag_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_bottom.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_bottom.png new file mode 100644 index 0000000..6363c6e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_bottom.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_left.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_left.png new file mode 100644 index 0000000..58e9961 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_left.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_right.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_right.png new file mode 100644 index 0000000..a489c82 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_right.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_top.png b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_top.png new file mode 100644 index 0000000..cd9d54f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/panel_btn_selected_top.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer.png new file mode 100644 index 0000000..37ee725 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_01.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_01.png new file mode 100644 index 0000000..36fb4f4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_01.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_02.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_02.png new file mode 100644 index 0000000..96bf6bb Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_02.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_03.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_03.png new file mode 100644 index 0000000..68f45e3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_03.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_04.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_04.png new file mode 100644 index 0000000..16421ab Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_04.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_05.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_05.png new file mode 100644 index 0000000..d0277b0 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_05.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_06.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_06.png new file mode 100644 index 0000000..689b7cb Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_06.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_07.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_07.png new file mode 100644 index 0000000..5c902b7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_07.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_08.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_08.png new file mode 100644 index 0000000..0ef8914 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_08.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_09.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_09.png new file mode 100644 index 0000000..62947bd Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_09.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_10.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_10.png new file mode 100644 index 0000000..0af04b3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_10.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_11.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_11.png new file mode 100644 index 0000000..b0ca3ed Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_11.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_12.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_12.png new file mode 100644 index 0000000..dfcfc69 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glint_12.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glow.png b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glow.png new file mode 100644 index 0000000..bce47fe Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/pointer_glow.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bar_v.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bar_v.png new file mode 100644 index 0000000..b7ea99a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bar_v.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bg_v.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bg_v.png new file mode 100644 index 0000000..a2862a7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_slider_bg_v.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_0.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_0.png new file mode 100644 index 0000000..45f82b9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_0.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_1.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_1.png new file mode 100644 index 0000000..251e3ba Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_1.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_10.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_10.png new file mode 100644 index 0000000..cdec394 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_10.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_11.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_11.png new file mode 100644 index 0000000..aeb2852 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_11.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_12.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_12.png new file mode 100644 index 0000000..b37ee4a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_12.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_13.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_13.png new file mode 100644 index 0000000..5bb072b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_13.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_14.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_14.png new file mode 100644 index 0000000..b7e6eb6 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_14.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_15.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_15.png new file mode 100644 index 0000000..e5ce36b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_15.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_16.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_16.png new file mode 100644 index 0000000..40b4e7d Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_16.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_17.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_17.png new file mode 100644 index 0000000..b50abde Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_17.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_18.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_18.png new file mode 100644 index 0000000..e7cc057 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_18.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_19.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_19.png new file mode 100644 index 0000000..35e93e3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_19.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_2.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_2.png new file mode 100644 index 0000000..e278217 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_2.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_20.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_20.png new file mode 100644 index 0000000..50990db Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_20.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_21.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_21.png new file mode 100644 index 0000000..3dfea10 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_21.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_22.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_22.png new file mode 100644 index 0000000..4878a78 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_22.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_23.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_23.png new file mode 100644 index 0000000..b57750f Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_23.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_24.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_24.png new file mode 100644 index 0000000..c8cee33 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_24.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_25.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_25.png new file mode 100644 index 0000000..db51809 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_25.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_26.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_26.png new file mode 100644 index 0000000..2fb304e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_26.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_27.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_27.png new file mode 100644 index 0000000..9868089 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_27.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_28.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_28.png new file mode 100644 index 0000000..5c8fbb4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_28.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_29.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_29.png new file mode 100644 index 0000000..eeec62e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_29.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_3.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_3.png new file mode 100644 index 0000000..1e47db8 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_3.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_4.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_4.png new file mode 100644 index 0000000..18d5db9 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_4.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_5.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_5.png new file mode 100644 index 0000000..0cabf18 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_5.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_6.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_6.png new file mode 100644 index 0000000..94bba2b Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_6.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_7.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_7.png new file mode 100644 index 0000000..2e5b2b7 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_7.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_8.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_8.png new file mode 100644 index 0000000..264e6b5 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_8.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_9.png b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_9.png new file mode 100644 index 0000000..c49841e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/progress_wheel_9.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_bottom.png b/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_bottom.png new file mode 100644 index 0000000..82ebec4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_bottom.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_title.png b/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_title.png new file mode 100644 index 0000000..8cba3e4 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/shadow_title.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_bg.png new file mode 100644 index 0000000..b8b02cf Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_guage.png b/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_guage.png new file mode 100644 index 0000000..7ccd077 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/slider_v_guage.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/spinner_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/spinner_bg.png new file mode 100644 index 0000000..b1f9ea2 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/spinner_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/toast_popup.png b/2.3-mobile/default/images/tizen-hd/whitetheme/toast_popup.png new file mode 100644 index 0000000..da6d760 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/toast_popup.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/toolbar_more_bg.png b/2.3-mobile/default/images/tizen-hd/whitetheme/toolbar_more_bg.png new file mode 100644 index 0000000..f65461a Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/toolbar_more_bg.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-base.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-base.png new file mode 100644 index 0000000..d76fb5c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-base.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-left-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-left-tip.png new file mode 100644 index 0000000..ee76b7c Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-left-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-right-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-right-tip.png new file mode 100644 index 0000000..d2144df Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-bottom-right-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-left-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-left-tip.png new file mode 100644 index 0000000..a012adb Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-left-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-right-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-right-tip.png new file mode 100644 index 0000000..121f524 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-corner-top-right-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-bottom-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-bottom-tip.png new file mode 100644 index 0000000..bf26db3 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-bottom-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-left-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-left-tip.png new file mode 100644 index 0000000..e35db09 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-left-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-right-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-right-tip.png new file mode 100644 index 0000000..5a7e26e Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-right-tip.png differ diff --git a/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-top-tip.png b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-top-tip.png new file mode 100644 index 0000000..93ba925 Binary files /dev/null and b/2.3-mobile/default/images/tizen-hd/whitetheme/tooltip-edge-top-tip.png differ diff --git a/2.3-mobile/default/inc/tizen-default-inc.edc b/2.3-mobile/default/inc/tizen-default-inc.edc new file mode 100644 index 0000000..16216a9 --- /dev/null +++ b/2.3-mobile/default/inc/tizen-default-inc.edc @@ -0,0 +1,863 @@ +// ****************************************************** // +// TOOLBAR DEFAULT +// ****************************************************** // +#define TOOLBAR_MORE_BG_BORDER_INC 1 1 47 47 + + +// ****************************************************** // +// gengrid +// ****************************************************** // + +#define GENGRID_ITEM_DEFAULT_REORDER_BG_NOR 0 0 0 0 +#define GENGRID_ITEM_DEFAULT_REORDER_BG_SEL 255 255 255 255 +#define GENGRID_ITEM_DEFAULT_BG_COLOR 0 0 0 0 +#define GENGRID_ITEM_DEFAULT_IMAGE_PADDING_LEFT_TOP 1 1 +#define GENGRID_ITEM_DEFAULT_IMAGE_PADDING_RIGHT_BOTTOM 1 1 +#define GENGRID_ITEM_DEFAULT_ICON_PADDING_LEFT_TOP 2 8 +#define GENGRID_ITEM_DEFAULT_ICON_PADDING_RIGHT_BOTTOM 2 8 +#define GENGRID_ITEM_DEFAULT_TEXT_PADDING_BOTTOM 39 +#define GENGRID_ITEM_DEFAULT_IMAGE_BORDER 10 10 10 10 +#define GENGRID_ITEM_DEFAULT_TEXT_COLOR 0 0 0 255 +#define GENGRID_ITEM_DEFAULT_TEXT_SIZE 20 + +#define GENGRID_GROUP_INDEX_BG_SIZE 100 +#define GENGRID_GROUP_INDEX_UNDERLINE_SIZE 4 +#define GENGRID_GROUP_INDEX_TEXT_SIZE 36 +#define GENGRID_GROUP_INDEX_PADDIG_LEFT 15 +#define GENGRID_GROUP_INDEX_PADDIG_RIGHT 15 +#define GENGRID_GROUP_INDEX_ICON_PADDIG_TOP 0 +#define GENGRID_GROUP_INDEX_ICON_PADDIG_BOTTOM 0 + +#define GENGRID_EDIT_MODE_CHECK_WHITE_SIZE_INC 60 60 + + +//****************************************************************************// +// Genlist +//****************************************************************************// +// Group index +#define LIST_INDEX_PADDING_LEFT_SIZE 20 +#define LIST_INDEX_PADDING_RIGHT_SIZE 20 +#define LIST_INDEX_PADDING_TOP_SIZE 9 +#define LIST_INDEX_PADDING_BOTTOM_SIZE 11 + +#define LIST_INDEX_HEIGHT 48 + +#define LIST_INDEX_TEXT_MAIN_SIZE 36 +#define LIST_INDEX_TEXT_SUB_SIZE 36 +#define LIST_INDEX_TEXT_SUB_WIDTH_MAX 213 +#define LIST_INDEX_TEXT_PADDING_SIZE 20 +#define LIST_INDEX_BOTTOMLINE_HEIGHT 1 + +// Normal style +#define LIST_ITEM_HEIGHT 128 +#define LIST_PADDING_TOP_SIZE 38 // FIXME: please check font height +#define LIST_PADDING_BOTTOM_SIZE 39 // FIXME: please check font height +#define LIST_2LINE_PADDING_TOP_SIZE 17 // FIXME: please check font height +#define LIST_2LINE_PADDING_BOTTOM_SIZE 17 // FIXME: please check font height +#define LIST_PADDING_CENTER_LEFT_SIZE 20 +#define LIST_PADDING_CENTER_RIGHT_SIZE 20 +#define LIST_PADDING_TEXT_SIZE 29 +#define LIST_PADDING_DEFAULT_SIZE 20 + +#define LIST_TEXT_MAIN_HEIGHT 51 +#define LIST_TEXT_SUB_HEIGHT 43 + +#define LIST_TEXT_MAIN_SIZE 40 +#define LIST_TEXT_SUB_SIZE 32 +#define LIST_TEXT_SUB_WIDTH_MAX 173 + +// Multiline style +#define LIST_WRAP_PADDING_LEFT_SIZE 20 +#define LIST_WRAP_PADDING_RIGHT_SIZE 20 +#define LIST_WRAP_PADDING_TOP_SIZE 19 +#define LIST_WRAP_PADDING_BOTTOM_SIZE 19 +#define LIST_MULTILINE_ICON_SIZE 80 80 +#define LIST_MULTILINE_ICON_SIZE1 53 53 + +// Editfield style +#define LIST_ENTRY_PADDING_LEFT_SIZE 0 +#define LIST_ENTRY_PADDING_RIGHT_SIZE 0 +#define LIST_ENTRY_PADDING_TOP_SIZE 0 +#define LIST_ENTRY_PADDING_BOTTOM_SIZE 0 + +#define LIST_ENTRY_PADDING_ICON_RIGHT_SIZE 20 +#define LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE 16 + +#define LIST_ENTRY_ENTRY_HEIGHT 128 +#define LIST_ENTRY_TEXT_SUB_WIDTH_MAX 213 +#define LIST_ENTRY_ICON_SIZE 61 61 + +// Bar style +#define LIST_BAR_PADDING_TOP_SIZE 19 +#define LIST_BAR_PADDING_BOTTOM_SIZE 19 +#define LIST_SLIDER_PADDING_CENTER_SIZE 13 +#define LIST_PROGRESSBAR_HEIGHT 27 +#define LIST_PROGRESSBAR_PADDING_CENTER_SIZE 13 + +// List A +#define LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 13 +#define LIST_A_LEFTICON_SIZE 43 43 +#define LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 13 +#define LIST_A_RIGHTICON_SIZE 43 43 +#define LIST_B_TYPE1_ICON_SIZE 128 128 +#define LIST_B_TYPE2_LEFT_PADDING_WIDTH 20 +#define LIST_B_TYPE2_ICON_SIZE 99 99 +#define LIST_B_TYPE3_LEFT_PADDING_WIDTH 19 +#define LIST_B_TYPE3_ICON_SIZE 61 61 +#define LIST_B_TYPE4_LEFT_PADDING_WIDTH 20 +#define LIST_B_TYPE4_RIGHT_PADDING_WIDTH 7 +#define LIST_B_TYPE4_ICON_SIZE 53 53 +#define LIST_C_TYPE1_RIGHT_PADDING_WIDTH 20 +#define LIST_C_TYPE1_ICON_SIZE 61 61 +#define LIST_C_TYPE2_RIGHT_PADDING_WIDTH 20 +#define LIST_C_TYPE2_ICON_SIZE 53 53 +#define LIST_C_TYPE3_RIGHT_PADDING_WIDTH 20 +#define LIST_C_TYPE3_ICON_SIZE 80 80 +#define LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE 1 53 +#define LIST_C_TYPE4_LEFT_PADDING_WIDTH 20 +#define LIST_C_TYPE4_RIGHT_PADDING_WIDTH 20 +#define LIST_C_TYPE4_ICON_SIZE 80 80 +#define LIST_GROUP_HEIGHT 13 +#define LIST_DESC_PADDING_TOP_SIZE 13 +#define LIST_DESC_PADDING_BOTTOM_SIZE 43 +#define LIST_DESC_PADDING_LEFT_RIGHT_SIZE 20 +#define LIST_DESC_TEXT_PART_SIZE 43 +#define LIST_DESC_TEXT_SIZE 32 +#define LIST_SELECT_ALL_PADDING_LEFT_SIZE 20 +#define LIST_SELECT_ALL_PADDING_RIGHT_SIZE 20 +#define LIST_SELECT_ALL_PADDING_BOTTOM_SIZE 1 +#define LIST_SELECT_ALL_ICON_SIZE 53 53 +#define LIST_SELECT_ALL_PADDING_CENTER_SIZE 20 +#define LIST_SELECT_ALL_HEIGHT 112 + +//Expand style +//#define GENLIST_TREESIZE_DEFAULT 22 + +//No use to Combination +#define LIST_TOP_PADDING_SIZE 39 +#define LIST_BOTTOM_PADDING_SIZE 39 +#define LIST_LEFT_PADDING_SIZE 20 +#define LIST_RIGHT_PADDING_SIZE 20 +#define LIST_TEXT_LEFT_PADDING_SIZE 13 +#define LIST_TEXT_RIGHT_PADDING_SIZE 13 +#define LIST_DEFAULT_PADDING_SIZE 27 +#define LIST_BOTTOMLINE_HEIGHT 3 + +// ****************************************************** // +// genlist DEFAULT +// ****************************************************** // + +#define GENLIST_DISCLIP_COLOR 255 255 255 102 // opacity 40% +#define GENLIST_LIST_MAIN_TEXT_DIM_COLOR 174 174 174 255 +#define GENLIST_LIST_SUB_TEXT_DIM_COLOR 174 174 174 255 +#define GENLIST_LIST_MAIN_TEXT_DEFAULT_COLOR 0 0 0 255 + +#define GENLIST_TREE_DEFAULT_TEXT_NOR_COLOR 0 0 0 255 +#define GENLIST_TREE_DEFAULT_TEXT_SEL_COLOR 255 255 255 255 +#define GENLIST_TREE_DEFAULT_TEXT_SIZE 40 + +#define GENLIST_ITEM_DEFAULT_BG_COLOR 248 246 239 255 +#define GENLIST_ITEM_DEFAULT_BG_PRESS_COLOR 87 135 194 255 + +#define GENLIST_ITEM_DEFAULT_ICON_WIDTH 68 +#define GENLIST_ITEM_DEFAULT_ICON_HEIGHT 68 +#define GENLIST_ITEM_DEFAULT_ICON_SIZE 68 68 + +#define GENLIST_ITEM_DEFAULT_HEIGHT 112 +#define GENLIST_ITEM_DEFAULT_PADDING_SIZE_DEFAULT 20 +#define GENLIST_ITEM_DEFAULT_PADDING_LEFT 20 +#define GENLIST_ITEM_DEFAULT_PADDING_LEFT_PAD 19 +#define GENLIST_ITEM_DEFAULT_PADDING_RIGHT 20 +#define GENLIST_ITEM_DEFAULT_PADDING_TOP 20 +#define GENLIST_ITEM_DEFAULT_PADDING_BOTTOM 20 +#define GENLIST_ITEM_DEFAULT_ICON_PADDING_TOP 22 +#define GENLIST_ITEM_DEFAULT_ICON_PADDING_BOTTOM 22 +#define GENLIST_ITEM_DEFAULT_MAIN_TEXT_SIZE 44 + +#define GENLIST_ITEM_DEFAULT_TEXT_COLOR 0 0 0 255 +#define GENLIST_ITEM_DEFAULT_TEXT_DIM_COLOR 174 174 174 255 +#define GENLIST_ITEM_DEFAULT_TEXT_FOCUS_COLOR 255 255 255 255 +#define GENLIST_ITEM_DEFAULT_TEXT_COLOR_STYLE "#000000FF" +#define GENLIST_ITEM_DEFAULT_TEXT_DIM_COLOR_STYLE "#AEAEAEFF" +#define GENLIST_ITEM_DEFAULT_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" + + +#define GENLIST_ITEM_DOUBLE_LABEL_PADDING_TOP 5 +#define GENLIST_ITEM_DOUBLE_LABEL_PADDING_BOTTOM 5 +#define GENLIST_ITEM_DOUBLE_LABEL_MAIN_TEXT_SIZE 40 +#define GENLIST_ITEM_DOUBLE_LABEL_SUB_TEXT_SIZE 30 +#define GENLIST_ITEM_DOUBLE_LABEL_SUB_TEXT_COLOR 128 128 128 255 + +#define GENLIST_ITEM_MEDIA_PADDING_TEXT_TOP 12 +#define GENLIST_ITEM_MEDIA_PADDING_TEXT_BOTTOM 12 + +#define GENLIST_ITEM_MESSAGE_DEFAULT_HEIGHT 134 +#define GENLIST_ITEM_MESSAGE_PADDING_TOP 1 +#define GENLIST_ITEM_MESSAGE_PADDING_BOTTOM 5 + +#define GENLIST_ITEM_ICON_TOP_TEXT_BOTTOM_PADDING_BOTTOM 12 + +#define GENLIST_ITEM_EDIT_PADDING_LEFT 10 +#define GENLIST_ITEM_EDIT_PADDING_RIGHT 10 + +#define GENLIST_ITEM_EDIT_ICON_PADDING_LEFT 5 +#define GENLIST_ITEM_EDIT_ICON_PADDING_RIGHT 5 + +#define GENLIST_ITEM_MODE_BG_BORDER 30 30 30 30 +#define GENLIST_ITEM_REORDER_MOVE_BG_BORDER 30 30 30 30 + +#define GENLIST_ITEM_GROUP_INDEX_HEIGHT 100 +#define GENLIST_ITEM_GROUP_INDEX_PADDING_TOP 20 +#define GENLIST_ITEM_GROUP_INDEX_PADDING_BOTTOM 12 +#define GENLIST_ITEM_GROUP_INDEX_UNDERLINE_HEIGHT 4 +#define GENLIST_ITEM_GROUP_INDEX_TEXT_SIZE 32 + +#define GENLIST_ITEM_GROUP_INDEX_TEXT_COLOR 59 115 182 255 + +// ****************************************************** // +// BUTTON DEFAULT +// ****************************************************** // + +#define BUTTON_TEXT_SIZE 40 + +#define BUTTON_MIN_WIDTH 92 + +#define BUTTON_COLOR_TRANPARENT 0 0 0 0 +#define BUTTON_COLOR_VISIBLE 255 255 255 255 + +#define BUTTON_HOVERSEL_HEIGHT 77 +#define BUTTON_HOVERSEL_SEL_BG_BORDER 10 10 10 10 +#define BUTTON_HOVERSEL_PADDING_SIZE_DEFAULT 20 +#define BUTTON_HOVERSEL_CONTENT_WIDTH 20 +#define BUTTON_HOVERSEL_CONTENT_HEIGHT 20 +#define BUTTON_HOVERSEL_TEXT_COLOR 255 255 255 255 +#define BUTTON_HOVERSEL_TEXT_SIZE 32 +#define BUTTON_HOVERSEL_ICON_SIZE 48 + +#define BUTTON_ANCHOR_COLOR_TRANSPARENT 0 0 0 0 +#define BUTTON_ANCHOR_BG_BORDER 20 20 22 22 +#define BUTTON_ANCHOR_PADDING_DEFAULT_SIZE 10 +#define BUTTON_ANCHOR_TEXT_COLOR 0 0 0 255 +#define BUTTON_ANCHOR_TEXT_SIZE 32 +#define BUTTON_ANCHOR_DISABLE_COLOR 0 0 0 128 + +#define BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 22 +#define BUTTON_DROPDOWN_ICON_SIZE 36 36 +#define BUTTON_DROPDOWN_MIN_HEIGHT 108 +#define BUTTON_DROPDOWN_UNDERLINE_HEIGHT 2 +#define BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 12 + +// ****************************************************** // +// HOVERSEL +// ****************************************************** // + +#define HOVER_COLOR_TRANSPARENT 0 0 0 0 +#define HOVER_DEFAULT_DIM_COLOR 0 0 0 64 +#define HOVER_DEFAULT_PADDING_SIZE_DEFAULT 4 +#define HOVER_DEFAULT_IMG_BORDER_LEFT 19 0 20 20 +#define HOVER_DEFAULT_IMG_BORDER_RIGHT 0 19 20 20 +#define HOVER_DEFAULT_IMG_BORDER_TOP 20 20 19 0 +#define HOVER_DEFAULT_IMG_BORDER_BOTTOM 20 20 0 19 +#define HOVER_DEFAULT_IMG_BORDER_CENTER 9 9 9 9 + +#define HOVER_MENU_CLIP_PADDING_TOP 7 +#define HOVER_MENU_SLOT_PADDING_LEFT_TOP 23 23 +#define HOVER_MENU_SLOT_PADDING_RIGHT_BOTTOM 23 23 +#define HOVER_MENU_IMG_BG_BORDER 40 40 40 40 +#define HOVER_MENU_SLOT_MIDDLE_PADDING_LEFT_TOP 23 1 + +#define HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT 18 +#define HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_TOP 21 + +// ****************************************************** // +// LIST +// ****************************************************** // + +#define LIST_HORIZONTAL_COLOR_TRANSPARENT 0 0 0 0 + +// ****************************************************** // +// ACTIONSLIDER +// ****************************************************** // + +#define ACTIONSLIDER_TRANSPARENT 255 255 255 0 +#define ACTIONSLIDER_COLOR_VISIBLE 255 255 255 255 +#define ACTIONSLIDER_MIN_WIDTH_INC 77 +#define ACTIONSLIDER_MIN_HEIGHT_INC 76 +#define ACTIONSLIDER_BUTTON_MIN_WIDTH_INC 76 +#define ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC 76 +#define ACTIONSLIDER_BAR_MIN_HEIGHT_INC 46 +#define ACTIONSLIDER_BG_BORDER 41 41 32 32 +#define ACTIONSLIDER_BAR_BORDER 26 26 22 22 +#define ACTIONSLIDER_BUTTON_BORDER 7 7 7 7 +#define ACTIONSLIDER_PADDING_TEXT_LEFT 31 +#define ACTIONSLIDER_PADDING_TEXT_RIGHT 31 +#define ACTIONSLIDER_PADDING_BAR_LEFT_TOP 16 16 +#define ACTIONSLIDER_PADDING_BAR_BOTTOM 16 +#define ACTIONSLIDER_TEXT_COLOR 255 255 255 255 +#define ACTIONSLIDER_TEXT_SHADOW_COLOR 0 0 0 204 +#define ACTIONSLIDER_TEXT_SIZE 22 +#define ACTIONSLIDER_TEXT_INDICATOR_COLOR 142 142 142 255 + +// ****************************************************** // +// BUBBLE DEFAULT +// ****************************************************** // +#define BUBBLE_TEXT_SIZE_INC 39 +#define BUBBLE_TITLE_TEXT_SIZE_INC 44 +#define BUBBLE_INFO_TEXT_SIZE_INC 34 +#define BUBBLE_INFO_TEXT_COLOR_INC 112 111 108 255 +#define BUBBLE_BG_BORDER_INC 120 120 99 99 +#define BUBBLE_PADDING_WIDTH 15 +#define BUBBLE_PADDING_HEIGHT 68 +#define BUBBLE_PADDING_TEXT_WIDTH_INC 40 +#define BUBBLE_PADDING_TEXT_TOP_TOP_HEIGHT_INC 77 +#define BUBBLE_PADDING_TEXT_TOP_BOTTOM_HEIGHT_INC 78 +#define BUBBLE_PADDING_TEXT_BOTTOM_TOP_HEIGHT_INC 77 +#define BUBBLE_PADDING_TEXT_BOTTOM_BOTTOM_HEIGHT_INC 78 + +// ****************************************************** // +// FRAME DEFAULT +// ****************************************************** // +#define FRAME_BG_BORDER_INC 15 15 15 15 +#define FRAME_DEFAULT_PADDING_WIDTH_INC 30 +#define FRAME_DEFAULT_PADDING_HEIGHT_INC 10 +#define FRAME_DEFAULT_SWALLOW_PADDING_HEIGHT_INC 6 +#define FRAME_DEFAULT_TEXT_COLOR_INC 148 147 142 255 +#define FRAME_DEFAULT_TEXT_SIZE_INC 26 +#define FRAME_PADDING_SMALL_SIZE_INC 10 +#define FRAME_PADDING_MEDIUM_SIZE_INC 20 +#define FRAME_PADDING_LARGE_SIZE_INC 30 +#define FRAME_PADDING_HUGE_SIZE_INC 40 +#define FRAME_PADDING_OUTDENT_SIZE_INC 14 + +// ****************************************************** // +// EWS DEFAULT +// ****************************************************** // +#define EWS_SHADOW_BG_BORDER_INC 30 30 30 30 +#define EWS_BG_COLOR_INC 248 246 239 255 +#define EWS_TITLE_FONT_SIZE_INC 42 +#define EWS_TITLE_FONT_COLOR_INC 59 115 182 255 +#define EWS_TITLE_HEIGHT_INC 80 +#define EWS_TITLE_SHADOW_HEIGHT_INC 20 +#define EWS_ICON_SIZE_INC 36 36 +#define EWS_PADDING_WIDTH_INC 20 +#define EWS_ICON_PADDING_WIDTH_INC 8 +#define EWS_SHADOW_BG_SIZE_INC 15 15 + +// ****************************************************** // +// CHECK TOGGLE DEFAULT +// ****************************************************** // +#define CHECK_TOGGLE_COLOR_TRANSPARENT 0 0 0 0; +#define CHECK_TOGGLE_COLOR_BLACK 0 0 0 255; +#define CHECK_TOGGLE_COLOR_VISIBLE 255 255 255 255; +#define CHECK_TOGGLE_BG_MIN_WIDTH_INC 155 +#define CHECK_TOGGLE_BG_MIN_HEIGHT_INC 42 +#define CHECK_TOGGLE_BUTTON_MIN_WIDTH_INC 42 +#define CHECK_TOGGLE_BUTTON_MIN_HEIGHT_INC 42 +#define CHECK_TOGGLE_PADDING_BAR_LEFT_TOP_INC 11 11 +#define CHECK_TOGGLE_PADDING_BAR_RIGHT_BOTTOM_INC 11 11 +#define CHECK_TOGGLE_BAR_MIN_HEIGHT_INC 0 20 +#define CHECK_TOGGLE_BAR_BORDER_INC 23 23 0 0 +#define CHECK_TOGGLE_PADDING_TEXT_ON_MIN_INC 10 0 +#define CHECK_TOGGLE_PADDING_TEXT_OFF_MIN_INC 31 0 +#define CHECK_TOGGLE_TEXT_ON_MIN_INC 31 0 +#define CHECK_TOGGLE_TEXT_OFF_MIN_INC 56 0 +#define CHECK_TOGGLE_TEXT_ON_COLOR_INC 255 255 255 255 +#define CHECK_TOGGLE_TEXT_ON_SHADOW_COLOR_INC 0 0 0 204 +#define CHECK_TOGGLE_TEXT_OFF_COLOR_INC 255 255 255 255 +#define CHECK_TOGGLE_TEXT_OFF_SHADOW_COLOR_INC 0 0 0 191 +#define CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC 128 128 128 128 +#define CHECK_TOGGLE_TEXT_SIZE_INC 14 +#define CHECK_TOGGLE_OFF_TEXT_SIZE_INC 20 +#define CHECK_TOGGLE_BG_BORDER_INC 24 24 20 20 + +// ****************************************************** // +// CLOCK DEFAULT +// ****************************************************** // +#define CLOCK_BG_WIDTH_INC 60 +#define CLOCK_BG_HEIGHT_INC 80 +#define CLOCK_BG_HALF_HEIGHT_INC 40 +#define CLOCK_PADDING_WIDTH_INC 20 +#define CLOCK_COLON_WIDTH_INC 8 +#define CLOCK_COLON_HEIGHT_INC 39 + +// ****************************************************** // +// LAYOUT +// ****************************************************** // +#define LAYOUT_TITLE_SIZE_INC 100 +#define LAYOUT_TOOLBAR_SIZE_INC 100 +#define LAYOUT_TITLE_FONT_SIZE_INC 44 +#define LAYOUT_TITLE_FONT_COLOR_INC 59 115 182 255 +#define LAYOUT_TITLE_SHADOW_HEIGHT_INC 20 +#define LAYOUT_TITLE_ICON_LEFT_PADDING_INC 15 +#define LAYOUT_TITLE_ICON_RIGHT_PADDING_INC 20 +#define LAYOUT_TITLE_ICON_HEIGHT_INC 68 +#define LAYOUT_TITLE_ICON_SIZE_INC 68 68 +#define LAYOUT_MAX_WIDTH_INC 2560 + +// ****************************************************** // +// HOVERSEL +// ****************************************************** // + +#define MENU_BTN_BORDER_INC 10 10 0 0 +#define MENU_PADDING_TEXT_WIDTH_INC 20 +#define MENU_PADDING_TEXT_HEIGHT_INC 80 +#define MENU_TEXT_COLOR_INC 255 255 255 255 +#define MENU_TEXT_SIZE_INC 42 +#define MENU_ARROW_WIDTH_INC 10 +#define MENU_ARROW_HEIGHT_INC 14 +#define MENU_PADDING_SEPARATOR_SIZE_INC 6 + +// ****************************************************** // +// PANEL +// ****************************************************** // +#define PANEL_BTN_BORDER_INC 0 0 1 1 +#define PANEL_BTN_SIZE_INC 20 +#define PANEL_ICON_WIDTH_INC 20 +#define PANEL_ICON_HEIGHT_INC 20 +#define PANEL_FOCUS_SIZE_INC 9 +#define PANEL_FOCUS_BORDER_INC 4 4 1 1 +#define PANEL_BASE_BORDER_INC 4 4 4 4 + + +// ****************************************************** // +// SLIDER +// ****************************************************** // + +#define SLIDER_BASE_WIDTH_LIMIT_INC 99999 +#define SLIDER_VERTICAL_BG_BORDER 16 16 20 20 +#define SLIDER_VERTICAL_GUAGE_BORDER 0 0 10 10 +#define SLIDER_VERTICAL_PADDING_SIZE_DEFAULT 10 +#define SLIDER_VERTICAL_LEVEL_PADDING_LEFT_TOP 6 6 +#define SLIDER_VERTICAL_LEVEL_PADDING_RIGHT_BOTTOM 7 6 +#define SLIDER_HIDDEN_FONT_SIZE 42 + +// ****************************************************** // +// SEPARATOR +// ****************************************************** // + +#define SEPARATOR_PADDING_LEFT_INC 8 8 +#define SEPARATOR_PADDING_RIGHT_INC 9 9 +#define SEPARATOR_PADDING_MIN_SIZE 2 2 + + +// ****************************************************** // +// SPINNER +// ****************************************************** // +#define SPINNER_FONT_SIZE_INC 34 +#define SPINNER_NORMAL_ARROW_HEIGHT_INC 48 +#define SPINNER_NORMAL_ARROW_WIDTH_INC 48 +#define SPINNER_NORMAL_BUTTON_BORDER_INC 20 20 22 22 +#define SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC 70 +#define SPINNER_NORMAL_BUTTON_MIN_WIDTH_INC 70 +#define SPINNER_VERTICAL_BUTTON_MIN_HEIGHT_INC 50 +#define SPINNER_VERTICAL_BUTTON_MIN_WIDTH_INC 70 +#define SPINNER_BG_BORDER_INC 15 15 15 15 + +// ****************************************************** // +// PLAYER +// ****************************************************** // + +#define PLAYER_PADDING_DEFAULT_INC 5 +#define PLAYER_BUTTON_WIDTH 68 +#define PLAYER_BUTTON_HEIGHT 68 + +// ****************************************************** // +// PHOTO +// ****************************************************** // + +#define PHOTO_DEFAULT_COLOR_VISIBLE 255 255 255 255 +#define PHOTO_DEFAULT_SHADOW_BORDER 10 10 10 10 +#define PHOTO_DEFAULT_STROKE_BORDER 10 10 10 10 +#define PHOTO_DEFAULT_CLIP_PADDING_LEFT_TOP 3 3 +#define PHOTO_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM 3 3 + +// ****************************************************** // +// PROGRESSBAR DEFAULT +// ****************************************************** // +#define PROGRESSBAR_BAR_SIZE_INC 18 +#define PROGRESSBAR_TEXT_COLOR_INC 0 0 0 255 +#define PROGRESSBAR_TITLE_FONT_SIZE_INC 28 +#define PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC 20 +#define PROGRESSBAR_BG_BORDER_INC 3 3 2 2 +#define PROGRESSBAR_WHEEL_SIZE_INC 64 + +// ****************************************************** // +// THUMB +// ****************************************************** // + +#define THUMB_DEFAULT_COLOR_VISIBLE 255 255 255 255 +#define THUMB_DEFAULT_SHADOW_BORDER 10 10 10 10 +#define THUMB_DEFAULT_STROKE_BORDER 10 10 10 10 +#define THUMB_DEFAULT_CLIP_PADDING_LEFT_TOP 3 3 +#define THUMB_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM 3 3 +#define THUMB_DEFAULT_PROGRESS_BG_SIZE 32 32 +#define THUMB_DEFAULT_PROGRESS_BG_BORDER 4 4 4 4 + +// ****************************************************** // +// TOOLTIP +// ****************************************************** // +#define TOOLTIP_BG_BORDER_INC 40 40 40 40 +#define TOOLTIP_ARROW_MIN_WIDTH_INC 62 +#define TOOLTIP_ARROW_MIN_HEIGHT_INC 62 +#define TOOLTIP_BG_PADDING_TOP_LEFT_WIDTH 40 +#define TOOLTIP_BG_PADDING_TOP_LEFT_HEIGHT 50 +#define TOOLTIP_BG_PADDING_BOTTOM_RIGHT_WIDTH 40 +#define TOOLTIP_BG_PADDING_BOTTOM_RIGHT_HEIGHT 50 + +// ****************************************************** // +// FLIP_SELECTOR +// ****************************************************** // + +#define FLIP_SELECTOR_COLOR_TRANSPARENT 0 0 0 0 +#define FLIP_SELECTOR_BG_MIN_INC 60 80 +#define FLIP_SELECTOR_BG_BORDER_INC 28 28 39 39 +#define FLIP_SELECTOR_BG_PARTS_BORDER_INC 23 23 19 19 +#define FLIP_SELECTOR_TEXT_COLOR_INC 51 51 51 255 +#define FLIP_SELECTOR_TEXT_SHADOW_COLOR_INC 255 255 255 255 +#define FLIP_SELECTOR_TEXT_SIZE_INC 24 +#define FLIP_SELECTOR_SHRINK_INC 128 128 128 255 +#define FLIP_SELECTOR_ARROW_MIN_INC 15 15 +#define FLIP_SELECTOR_ARROW_MAX_INC 15 15 +#define FLIP_SELECTOR_DISCLIP_DEFAULT_COLOR_INC 255 255 255 255 +#define FLIP_SELECTOR_DISCLIP_ENABLE_COLOR_INC 100 100 100 100 +#define FLIP_SELECTOR_COLOR_TRANSPARENT 0 0 0 0 +#define FLIP_SELECTOR_TEXT_PADDING_SIZE_DEFAULT 15 +#define FLIP_SELECTOR_ARROW_SIZE 48 30 + + +// ****************************************************** // +// FILE_SELECTOR +// ****************************************************** // + +#define FILESELECTOR_SEPARATOR_SIZE 48 48 +#define FILESELECTOR_COLOR_TRANSPARENT 0 0 0 0; +#define FILESELECTOR_COLOR_VISIBLE 255 255 255 255; +#define FILESELECTOR_DEFAULT_BG_COLOR 248 246 239 255 +#define FILESELECTOR_DEFAULT_BG_TOP_HEIGHT 99 +#define FILESELECTOR_DEFAULT_BG_BOTTOM_HEIGHT 90 +#define FILESELECTOR_DEFAULT_SHADOW_HEIGHT 20 +#define FILESELECTOR_DEFAULT_SHADOW_BORDER 1 1 0 0 +#define FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 10 +#define FILESELECTOR_DEFAULT_PADDING_TOP_BUTTON_LEFT_TOP 10 10 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_HEIGHT 84 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_BORDER 1 1 29 29 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_BOTTOM 20 +#define FILESELECTOR_DEFAULT_PADDING_PATH_LEFT_TOP 36 12 +#define FILESELECTOR_DEFAULT_PADDING_PATH_RIGHT_BOTTOM 36 12 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_LEFT 36 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_RIGHT 36 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_BOTTOM 20 +#define FILESELECTOR_DEFAULT_PADDING_BOTTOM_BUTTON_RIGHT_BOTTOM 10 10 +#define FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE 220 74 +#define FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 10 +#define FILESELECTOR_FILES_LIST_SIZE 112 + + + +// ****************************************************** // +// Index +// ****************************************************** // + +#define INDEX_VERTICAL_ITEM_WIDTH_INC 70 +#define INDEX_VERTICAL_ITEM_HEIGHT_INC 44 +#define INDEX_HORIZONTAL_ITEM_WIDTH_INC 47 +#define INDEX_HORIZONTAL_ITEM_HEIGHT_INC 70 +#define INDEX_LEVEL_PADDING_INC 70 +#define INDEX_1ST_LEVEL_POPUP_WIDTH_INC 140 +#define INDEX_2ND_LEVEL_POPUP_WIDTH_INC 140 +#define INDEX_POPUP_HEIGHT_INC 242 +#define INDEX_ROLLOVER_TEXT_COLOR_INC 160 159 154 255 +#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 59 115 182 255 +#define INDEX_POPUP_TEXT_COLOR_INC 255 255 255 255 +#define INDEX_SCROLL_BG_COLOR_INC 230 227 216 255 + +#define INDEX_PAGECONTROL_FONT_SIZE_INC 28 +#define INDEX_PAGECONTROL_FONT_COLOR_INC 120 120 120 + +// ****************************************************** // +// InWin +// ****************************************************** // +#define INWIN_BG_BORDER_INC 30 30 30 30 +#define INWIN_PADDING_CONTENT_SIZE_INC 50 + + +// ****************************************************** // +// FocusHighlight +// ****************************************************** // +#define FOCUSHIGHLIGHT_BG_BORDER 15 15 15 15 + +// ****************************************************** // +// Emoticon +// ****************************************************** // +#define EMOTICON_SIZE 128 128 + +// ****************************************************** // +// Border DEFAULT +// ****************************************************** // +//#define EWS_SHADOW_BG_BORDER_INC 30 30 30 30 +#define BORDER_BG_COLOR_INC 248 246 239 255 +#define BORDER_FONT_SIZE_INC 42 +#define BORDER_FONT_COLOR_INC 59 115 182 255 +#define BORDER_HEIGHT_INC 80 +#define BORDER_PADDING_WIDTH 20 +#define BORDER_ICON_PADDING_WIDTH 8 +#define BORDER_ICON_SIZE 36 36 +#define BORDER_SHADOW_HEIGHT 20 + + + +// ****************************************************** // +// STYLE +// ****************************************************** // +#define STYLE_TAGS \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T1067"; + + +styles { + // ************* list main text ********** // + style { name: "list_text_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list sub text ********** // + style { name: "list_text_sub_01"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_01_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_02_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L1P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2D ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_sub_03_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024L2P ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* list index text ********** // + style { name: "list_text_index_main"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_MAIN_SIZE" color=#ffffff color_class=T027L1 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_index_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_INDEX_TEXT_SUB_SIZE" color=#ffffff color_class=T027L2 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // multiline text + style { name: "list_text_multiline_main"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T023P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024D wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T024P wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_desc"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 wrap=mixed"; + STYLE_TAGS + STYLE_TAG_MATCH + } + style { name: "list_text_select"; + base: "font=Tizen:style=Regular font_size="LIST_DESC_TEXT_SIZE" color=#ffffff color_class=T129 ellipsis=1.0"; + STYLE_TAGS + STYLE_TAG_MATCH + } + // ************* button text ********** // + style { name: "button_hoversel_entry_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#000000 color_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_main_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#ffffff color_class=T051L2P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_dropdown"; + base: "font=Tizen:style=Regular font_size=40 align=center color=#ffffff color_class=T1235 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_date"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_date_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_DATE_TEXT_SIZE" color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234 text_class=T1234 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234D text_class=T1234D ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_ampm_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_AMPM_TEXT_SIZE" color=#ffffff color_class=T1234P text_class=T1234P ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_bottom"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_bottom_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_BOTTOM_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1 text_class=T051L1 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1D text_class=T051L1D ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_popup_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_POPUP_TEXT_SIZE" align=center color=#ffffff color_class=T051L1P text_class=T051L1P ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_trans"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff color_class=T1221 text_class=T1221 ellipsis=0.0"; + STYLE_TAGS + } + style { name: "button_circle"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_CIRCLE_SIZE" align=center color=#ffffff color_class=T127 text_class=T127 wrap=mixed"; + STYLE_TAGS + } + style { name: "button_contacts"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2 text_class=T051L2 wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2D text_class=T051L2D wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "button_contacts_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" color=#ffffff align=center color_class=T051L2P text_class=T051L2P wrap=none ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023 text_class=T023 ellipsis=1.0"; + STYLE_TAGS + } + style { name: "check_popup_dim"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_FONT_SIZE_INC" color=#ffffff color_class=T023D text_class=T023D ellipsis=1.0"; + STYLE_TAGS + } + // ************* no Content text ********** // + style { name: "empty_state_1"; + base: "font=Tizen:style=Regular font_size="NO_CONTENT_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L1 text_class=T0222L1 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } + style { name: "empty_state_2"; + base: "font=Tizen:style=Light font_size="NO_CONTENT_TEXT_FONT_SIZE_INC" align=center color=#ffffff color_class=T0222L2 text_class=T0222L2 wrap=mixed ellipsis=1.0"; + STYLE_TAGS + } +} diff --git a/2.3-mobile/default/inc/tizen-hd-inc.edc b/2.3-mobile/default/inc/tizen-hd-inc.edc new file mode 100644 index 0000000..c319a71 --- /dev/null +++ b/2.3-mobile/default/inc/tizen-hd-inc.edc @@ -0,0 +1,1044 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ +#define BG_DEFAULT_COLOR_INC 248 246 239 255 + +#define LAYOUT_BG_COLOR_INC 248 246 239 255 + +#define NAVIFRAME_TITLE_BG_COLOR_INC 248 246 239 255 +#define NAVIFRAME_OVERLAP_TITLE_BG_COLOR_INC 248 246 239 128 +#define NAVIFRAME_TOOLBAR_BG_COLOR_INC 248 246 239 255 +#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 32 +#define NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC 0 33 +#define NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC 0 8 +#define NAVIFRAME_TITLE_H_INC 111 +#define NAVIFRAME_TAB_TITLE_H_INC 165 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 68 68 +#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 60 60 +#define NAVIFRAME_TITLE_TAB_H_INC 68 +#define NAVIFRAME_TITLE_TAB_LARGE_H_INC 111 +#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44 +#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 87 +#define NAVIFRAME_TITLE_FONT_SIZE_INC 56 +#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 44 +#define NAVIFRAME_ICON_SIZE_INC 38 38 +#define NAVIFRAME_PADDING_INC 16 0 +#define NAVIFRAME_PADDING2_INC 18 0 +#define NAVIFRAME_PADDING3_INC 8 0 +#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 11 +#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 26 11 +#define NAVIFRAME_BOTTOM_PADDING_INC 0 10 +#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 115 0 +#define NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 15 +#define NAVIFRAME_ICON_PADDING_INC 70 0 +#define NAVIFRAME_TITLE_TEXT_COLOR_INC 59 115 182 255 +#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 59 115 182 255 +#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 32 + +#define POPUP_ITEM_BG_DEFAULT_MIN_INC 648 112 +#define POPUP_ITEM_LEFT_MIN_PADDING_INC 26 0 +#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 26 0 +#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0 +#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 128 128 128 255 +#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 128 128 128 255 + +#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#3b73b6" +#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000" +#define POPUP_DIM_BG_DEFAULT_COLOR_INC 0 0 0 0 +#define POPUP_DIM_BG_COLOR_INC 0 0 0 127 +#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 127 +#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0 +#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50 + +#define CTXPOPUP_WIDTH_MIN_INC 386 +#define CTXPOPUP_WIDTH_MAX_INC 620 +#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 22 22 20 28 +#define CTXPOPUP_SHADOW_LEFT_PADDING 10 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 10 +#define CTXPOPUP_SHADOW_TOP_PADDING 8 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 16 +#define CTXPOPUP_CONTENT_PADDING 4 +#define CTXPOPUP_SCROLLER_PADDING 8 +#define CTXPOPUP_SCROLLER_MIN_SIZE_INC 9 12 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 20 +#define CTXPOPUP_BG_COLOR_INC 0 0 0 0 +#define CTXPOPUP_BG_PRESS_COLOR_INC 42 137 194 255 +#define CTXPOPUP_MAIN_TEXT_COLOR_INC 255 255 255 255 +#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178 +#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 +#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 255 255 255 255 +#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178 +#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 +#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 +#define CTXPOPUP_SEPARATOR_PADDING_INC 20 +#define CTXPOPUP_SEPARATOR_COLOR_INC 45 45 45 255 +#define CTXPOPUP_SEPARATOR2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 45 45 45 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 74 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 74 +#define CTXPOPUP_TP_BG_COLOR_INC 7 180 211 255 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40 +#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32 +#define CTXPOPUP_ITEM_HEIGHT_INC 110 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC 128 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 +#define CTXPOPUP_ICON_WIDTH_INC 64 +#define CTXPOPUP_ICON_HEIGHT_INC 64 +#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 48 +#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 48 +#define CTXPOPUP_ARROW_SIZE_INC 48 48 +#define CTXPOPUP_VERTICAL_ARROW_SIZE_INC 40 30 +#define CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC 30 40 +#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20 +#define CTXPOPUP_ITEM_ICON_PADDING_INC 16 +#define CTXPOPUP_IE_ARROW_SIZE_INC 52 +#define CTXPOPUP_IE_FONT_SIZE_INC 40 +#define CTXPOPUP_IE_ITEM_PADDING_INC 22 +#define CTXPOPUP_IE_ITEM_HEIGHT_INC 75 +#define CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC 720 +#define CTXPOPUP_IE_ICON_WIDTH_INC 60 +#define CTXPOPUP_IE_ICON_HEIGHT_INC 60 +#define CTXPOPUP_TP_ARROW_SIZE_INC 30 +#define CTXPOPUP_TP_HEIGHT_INC 106 +#define CTXPOPUP_MORE_WIDTH_MIN_INC 502 +#define CTXPOPUP_MORE_ITEM_PADDING_INC 16 +#define CTXPOPUP_MORE_ITEM_HEIGHT_INC 110 +#define CTXPOPUP_MORE_ICON_WIDTH_INC 72 +#define CTXPOPUP_MORE_ICON_HEIGHT_INC 72 +#define CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC 40 +#define CTXPOPUP_MORE_SEPARATOR_PADDING_INC 20 +#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC 336 +#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_INC 90 + +#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178 +#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255 +#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106; +#define DISKSELECTOR_DF_FONT_SIZE_INC 48 +#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106" + +#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000" +#define LABEL_FONT_SIZE_INC 36 +#define LABEL_MIN_FONT_SIZE_INC 27 +#define LABEL_MAX_FONT_SIZE_INC 90 + +#define GENGRID_FONT_STYLE_18_INC "26" +#define GENGRID_PART_BG_COLOR_INC 0 0 0 0 +#define GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC 0 0 0 77 +#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 77 +#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000" +#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0 +#define GENGRID_EDIT_MODE_CHECK_TOP_RIGHT_INC 6 6 +#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 54 54 +#define GENGRID_EDIT_MODE_CHECK_BG_COLOR_INC 0 0 0 154 +#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 6 6 + +#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2 +#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2 +#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC 2 2 +#define GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 + +#define GENGRID_LANDSCAPE_LEFT_TOP_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_LEFT_TOP_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 5 59 +#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 60 + +#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 62 + +#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 + +// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +#define GENLIST_HEIGHT_1_INC 1 +#define GENLIST_PADDING_5_INC 5 +#define GENLIST_PADDING_24_INC 24 +#define GENLIST_PADDING_64_INC 64 +#define GENLIST_PADDING_88_INC 88 +#define GENLIST_PADDING_34_INC 34 +#define GENLIST_PADDING_32_INC 32 +#define GENLIST_PADDING_16_INC 16 +#define GENLIST_SIZE_80_INC 80 + +#define BUBBLE_DISCLIP_COLOR 255 255 255 102 // opacity 40% + +// List bg color +#define GENLIST_LIST_BG_COLOR 248 246 239 255 +#define GENLIST_DIALOGUE_BG_COLOR 248 246 239 255 +#define GENLIST_LIST_PRESS_COLOR 87 135 194 255 +#define GENLIST_LIST_DIM_COLOR 219 217 212 255 +#define GENLIST_LIST_LINE1_COLOR 211 209 203 255 +#define GENLIST_LIST_LINE2_COLOR 255 255 255 255 +#define GENLIST_LIST_DIVIDER1_COLOR 185 184 178 255 +#define GENLIST_LIST_DIVIDER2_COLOR 255 255 255 255 +#define GENLIST_LIST_CENTERLINE1_COLOR 206 205 202 255 +#define GENLIST_SELECT_ALL_BG_COLOR 220 218 211 255 + +// Group Index +#define GENLIST_GROUPINDEX_LIST_SIZE 32 +#define GENLIST_GROUPINDEX_LIST_COLOR 59 115 182 255 +#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR 255 255 255 255 + +#define GENLIST_GROUPINDEX_LIST_BG_COLOR 248 246 239 255 +#define GENLIST_GROUPINDEX_LIST_PRESS_COLOR 132 162 198 255 +#define GENLIST_GROUPINDEX_LINE_COLOR 59 115 182 255 +#define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR 255 255 255 255 + +// Genlist Text +#define GENLIST_LIST_MAIN_TEXT_SIZE 44 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR 0 0 0 255 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF" +#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR 0 0 0 102 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000066" +#define GENLIST_LIST_MAIN_TEXT_READ_COLOR 128 128 128 255 +#define GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR 128 128 128 204 +#define GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR 255 255 255 255 +#define GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" + +#define GENLIST_LIST_SUB_TEXT_SIZE 32 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR 128 128 128 255 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE "#808080FF" +#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR 128 128 128 204 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE "#808080CC" +#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR 59 115 182 255 +#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE "#3B73B6FF" +#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR 59 115 182 76 +#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE "#3B73B64C" +#define GENLIST_LIST_SUB_TEXT_FOCUS_COLOR 255 255 255 255 +#define GENLIST_LIST_SUB_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" + +#define GENLIST_CONTENTS_TEXT_SIZE 28 +#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255 +#define GENLIST_CONTENTS_TEXT_COLOR_STYLE "#808080FF" + +#define GENLIST_LIST_BUBBLE_TEXT_SIZE 32 +#define GENLIST_LIST_BUBBLE_TEXT_COLOR 249 249 249 255 + +// Dialogue group +#define GENLIST_DIALOGUE_GROUP_TITLE_SIZE 32 +#define GENLIST_DIALOGUE_GROUP_TITLE_COLOR 59 115 182 255 + +#define GENLIST_APPS_NAME_SIZE 30 +#define GENLIST_APPS_NAME_COLOR 128 128 128 255 +#define GENLIST_APPS_INC_SIZE 30 +#define GENLIST_APPS_INC_COLOR 0 0 0 255 +#define GENLIST_APPS_RATING_SIZE 24 +#define GENLIST_APPS_RATING_COLOR 128 128 128 255 +#define GENLIST_APPS_PRICE_SIZE 24 +#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 59 115 182 255 +#define GENLIST_APPS_PRICE_SALE_COLOR 229 33 52 255 +#define GENLIST_APPS_PRICE_FREE_COLOR 59 115 182 255 + +#define DIALOGUE_PASSWORD_TITLE_SIZE 32 +#define DIALOGUE_PASSWORD_TITLE_COLOR 128 128 128 255 + +#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32 +#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE "#808080FF" +#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#3F8DAD" + +#define BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_TEXT_SHADOW_DIM_COLOR_INC 255 255 255 255 +#define BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 255 + +#define BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_NAVIFRAME_TEXT_SHADOW_DIM_COLOR_INC 0 0 0 163 + +#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127 +#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127 + +#define BUTTON_NUMBER_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define BUTTON_NUMBER_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_NUMBER_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_NUMBER_TEXT_DISABLE_VISIBLE_COLOR_INC 50 50 50 76 + +#define BUTTON_SEARCH_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SEARCH_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 +#define BUTTON_SEARCH_BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 163 + +#define BUTTON_SEARCH_BUTTON_SEND_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_SEARCH_BUTTON_SEND_SHADOW_NORMAL_COLOR_INC 0 0 0 163 + +#define BUTTON_SEARCH_BUTTON_CANCEL_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_SEARCH_BUTTON_CANCEL_SHADOW_NORMAL_COLOR_INC 0 0 0 163 + +#define BUTTON_SEND_BUBBLE_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_PRESSED_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_FOCUSED_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_DISABLED_COLOR_INC 58 58 58 76 +#define BUTTON_SEND_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 153 + +#define BUTTON_RECEIVE_BUBBLE_TEXT_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_RECEIVE_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 153 + +#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_EXPAND_BUTTON_NORMAL_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_PRESSED_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_FOCUSED_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_DISABLED_COLOR_INC 48 49 50 255 + +#define BUTTON_DELETE_BUTTON_TEXT_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_DISABLED_COLOR_INC 248 246 239 76 + +#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_DISABLED_COLOR_INC 50 50 50 255 + +#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 255 255 255 76 + +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 101 101 101 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 64 147 247 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 101 101 101 76 + +#define BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC 77 77 77 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_DATETIME_AMPM_BG_MIN_INC 106 56 + +#define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66 +#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 148 66 +#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 66 66 +#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 30 + +#define BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC 74 74 +#define BUTTON_BUBBLE_CIRCLE_MIN_WIDTH_INC 74 +#define BUTTON_BUBBLE_CIRCLE_MIN_HEIGHT_INC 74 + +#define BUTTON_SENT_BUBBLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SENT_BUBBLE_TEXT_FONT_SIZE_INC 36 +#define BUTTON_SENT_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28 + +#define BUTTON_RECEIVE_BUBBLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_RECEIVE_BUBBLE_TEXT_FONT_SIZE_INC 36 +#define BUTTON_RECEIVE_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28 + +#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74 +#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74 +#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74 +#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36 + +#define BUTTON_TEXT_STYLE2_BG_MIN_INC 100 74 +#define BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC 148 74 +#define BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC 74 74 +#define BUTTON_TEXT_STYLE2_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TEXT_STYLE2_PADDING_MIN_INC 12 0 +#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_FONT_SIZE_INC 36 + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 74 74 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 44 44 + +#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 74 +#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 74 +#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110 +#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110 + +#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 74 +#define BUTTON_POPUP_BG_BORDER_INC 12 12 12 12 +#define BUTTON_POPUP_PADDING_MIN_INC 12 3 +#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 44 44 +#define BUTTON_POPUP_TEXT_MIN_INC 64 20 +#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36 + +#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 74 74 +#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 74 74 + +#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 74 +#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 74 +#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90 +#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90 + +#define BUTTON_SWEEP_BG_NORMAL_MIN_INC 74 74 +#define BUTTON_SWEEP_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SWEEP_PADDING_MIN_INC 12 0 +#define BUTTON_SWEEP_ICON_RECT_MIN_INC 0 44 +#define BUTTON_SWEEP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_SWEEP_ICONONLY_ICON_MIN_INC 44 44 +#define BUTTON_SWEEP_TEXT_MIN_INC 50 26 +#define BUTTON_SWEEP_FONT_SIZE_INC 26 + +#define BUTTON_EXPAND_BUTTON_TEXT_SIZE_INC 30 + +#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 98 46 +#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 12 12 12 12 +#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1 +#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 24 46 +#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 46 +#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28 + +#if 0 +#define BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC 50 74 +#define BUTTON_CONTACT_DELETE_BG_BORDER_INC 8 0 5 5 +#define BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC 36 2 +#define BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC 14 2 +#define BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0 +#define BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC 42 42 +#define BUTTON_CONTACT_DELETE_FONT_SIZE_INC 32 + +#define BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC 74 74 + +#define BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC 249 249 249 255 +#define BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC 249 249 249 255 +#define BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC 0 0 0 128 +#endif + +#define BUTTON_CONTACT_BG_MIN_INC 30 48 +#define BUTTON_CONTACT_BG_BORDER_INC 12 16 0 0 +#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 28 0 +#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 16 0 +#define BUTTON_CONTACT_FONT_SIZE_INC 32 + +#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 60 60 + +#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 249 249 249 255 +#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 249 249 249 255 + +#define BUTTON_NAVITFRAME_TITLE_ICON_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 68 68 + +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC 182 70 +#define BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC 126 70 +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC 36 36 0 0 +#define BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC 28 5 +#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32 +#define BUTTON_NAVIFRAME_TITLE_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_NAVIFRAME_TITLE_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_NAVIFRAME_TITLE_VISIBLE_PADDING_ICON_TEXT_MIN_INC 8 0 +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_COLOR_INC 249 249 249 255 + +#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 60 60 + +#define BUTTON_TICKERNOTI_BG_MIN_MAX_INC 154 74 +#define BUTTON_TICKERNOTI_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TICKERNOTI_PADDING_MIN_INC 12 0 +#define BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_FONT_SIZE_INC 36 + +#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74 +#define BUTTON_COLORSELECTOR_BG_BORDER_INC 12 12 12 12 +#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 74 74 + +#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 100 74 +#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 12 5 +#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 44 44 +#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 144 36 +#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 36 + +#define BUTTON_DEFAULT_STYLE_MULTILINE_BG_MIN_INC 100 80 +#define BUTTON_DEFAULT_STYLE_MULTILINE_PADDING_MIN_INC 12 0 + +#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 249 249 249 255 +#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 249 249 249 255 + +#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36 + +#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 132 70 +#define CHECK_ONOFF_ON_FONT_SIZE_INC 24 +#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24 + +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 74 +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 74 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100 +#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 74 74 + +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64 +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91 +#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 64 64 + +#define CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC 74 74 +#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC 124 74 +#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5 +#define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32 + +#define INDEX_BG_NINEPATCH_INC 4 4 4 4 +#define INDEX_ITEM_WIDTH_INC 47 +#define INDEX_ITEM_HEIGHT_INC 47 +#define INDEX_ROLLOVER_TEXT_SIZE_INC 32 +#define INDEX_POPUP_BG_NINEPATCH_INC 24 24 24 24 +#define INDEX_POPUP_TEXT_SIZE_INC 140 +#define INDEX_BOTTOM_LINE_COLOR_INC 213 210 201 255 +#define INDEX_LEFT_LINE_COLOR_INC 59 115 182 255 +#define INDEX_PAGECONTROL_IND_INC 52 52 +#define INDEX_PAGECONTROL_IND_MIN_INC 24 24 + +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64 +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 64 64 +#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36 + +#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 60 +#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 25 +#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 22 +#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26 +#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 52 + +#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255 + +#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30 +#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12 +#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28 +#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 2 32 +#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 18 0 +#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 40 40 +#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45 +#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47 +#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255; +#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26; + +#define EDITFIELD_TITLE_SIZE_INC 32 +#define EDITFIELD_TITLE_COLOR_INC 42 137 194 255 +#define EDITFIELD_GUIDE_TEXT_COLOR_INC 121 131 138 255 +#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70 +#define EDITFIELD_SEARCHBAR_ERASER_MINW_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_MINH_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC 50 +#define EDITFIELD_DEFAULT_MINH_INC 112 +#define EDITFIELD_TITLE_MINH_INC 128 +#define EDITFIELD_SEARCHBAR_MINH_INC 50 +#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27 +#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56 +#define EDITFIELD_DEFAULT_TOP2_INC 8 +#define EDITFIELD_DEFAULT_LEFT1_INC 0 +#define EDITFIELD_DEFAULT_LEFT2_INC 0 +#define EDITFIELD_DEFAULT_LEFT3_INC 1 +#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56 +#define EDITFIELD_DEFAULT_RIGHT2_INC 0 +#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25 +#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8 +#define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 32 +#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12 +#define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85 +#define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60 +#define EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC 6 +#define EDITFIELD_SEARCHBAR_TOP1_MULTI_INC 10 +#define EDITFIELD_SEARCHBAR_TOP2_INC 10 +#define EDITFIELD_SEARCHBAR_LEFT1_INC 0 +#define EDITFIELD_SEARCHBAR_LEFT2_INC 0 +#define EDITFIELD_SEARCHBAR_LEFT3_INC 1 +#define EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 56 +#define EDITFIELD_SEARCHBAR_RIGHT2_INC 5 +#define EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC 8 +#define EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC 2 +#define EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC 16 +#define EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC 2 +#define EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC 50 +#define EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC 50 + +#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 225 215 215 255 +#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 225 215 215 76 + +#define BUTTON_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define CHECK_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76 +#define CHECK_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define CHECK_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define RADIO_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76 +#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define CONTROLBAR_LARGE_HEIGHT_INC 122 +#define CONTROLBAR_SMALL_HEIGHT_INC 114 +#define CONTROLBAR_WIDTH_INC 122 +#define CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC 23 34 38 255 +#define CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC 58 68 74 255 + +#define MULTIBUTTONENTRY_NORMAL_BUTTON_COLOR_INC 8 158 185 255 +#define MULTIBUTTONENTRY_PRESSED_BUTTON_COLOR_INC 2 85 100 255 +#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC 102 102 102 255 +#define MULTIBUTTONENTRY_TEXT_COLOR_INC "#666666" +#define MULTIBUTTONENTRY_GUIDETEXT_COLOR_INC 70 70 70 255 +#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC "#FFFFFF" +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 13 +#define MULTIBUTTONENTRY_BUTTON_MAX_SIZE_INC 330 +#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 64 +#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 12 16 0 0 +#define MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC 8 +#define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 24 +#define MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 16 +#define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 27 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32 +#define MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 1 +#define MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC 60 +#define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 26 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_LABEL_MIN_HEIGHT_INC 64 + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 136 +#define SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 150 +#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166 +#define SEARCHBAR_TOP_PADDING_INC 10 +#define SEARCHBAR_BOTTOM_PADDING_INC 10 +#define SEARCHBAR_HEIGHT_INC 66 +#define SEARCHBAR_LEFT_PADDING_INC 26 +#define SEARCHBAR_RIGHT_PADDING_INC 26 +#define SEARCHBAR_INPUTFIELD_BORDER_INC 9 9 9 9 +#define SEARCHBAR_LEFT_ICON_PADDING_INC 16 +#define SEARCHBAR_ICON_MIN_W_INC 44 +#define SEARCHBAR_ICON_MIN_H_INC 44 +#define SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 16 +#define SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 8 +#define SEARCHBAR_SEARCH_TEXTFIELD_H_INC 60 +#define SEARCHBAR_H_INC 86 + +#define SELECTION_INFO_BACKGROUND_COLOR_INC 68 68 68 255 +#define SELECTION_INFO_TEXT_COLOR_INC 255 255 255 255 +#define SELECTION_INFO_MIN_VER_W_INC 720 +#define SELECTION_INFO_MIN_HORZ_W_INC 1280 +#define SELECTION_INFO_VER_PADDING_INC 48 +#define SELECTION_INFO_LEFT_PADDING_INC 16 +#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32 +#define SELECTION_INFO_SHADOW_VER_W_INC 720 +#define SELECTION_INFO_SHADOW_VER_H_INC 10 +#define SELECTION_INFO_SHADOW_HORZ_W_INC 1280 +#define SELECTION_INFO_SHADOW_HORZ_H_INC 10 +#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150 +#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186 + +#define POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC 648 300 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 42 + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 720 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 720 1120 +#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 18 18 32 52 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 648 80 +#define POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC 720 68 +#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 16 0 +#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 64 64 +#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 648 300 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 648 114 +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 50 + +#define POPUP_DESC_LEFT_PADDING 0 +#define POPUP_DESC_RIGHT_PADDING 0 +#define POPUP_DESC_TOP_PADDING 14 +#define POPUP_DESC_BOTTOM_PADDING 34 +#define POPUP_LABEL_DESC_TOP_PADDING 39 +#define POPUP_LABEL_DESC_BOTTOM_PADDING 39 +#define POPUP_TITLE_TOP_PADDING 18 +#define POPUP_TITLE_BOTTOM_PADDING 0 +#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 0 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 20 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 36 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 36 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 20 +#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 648 0 + +#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 114 +#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 80 + +#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 648 294 + +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 20 +#define POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT "294" +#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 74 +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 16 +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 16 + +#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 3 3 +#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 300 +#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0 + +#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 614 0 +#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 668 300 +#define POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC 668 250 +#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 668 134 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "114" +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 394 74 +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 648 74 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 270 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 202 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36 + +#define PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROCESS_WIDTH_INC 66 +#define PROGRESSBAR_LIST_PROCESS_HEIGHT_INC 66 +#define PROGRESSBAR_LIST_PROCESS_SMALL_INC 35 +#define PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE "32x32" +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 36 +#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 34 +#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 128 128 + +#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 128 128 128 255 +#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 32 +#define NOCONTENT_MIDDLE_PADDING_INC 38 +#define NOCONTENT_BASE_SEARCH_PADDING_INC 40 +#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 280 280 +#define NOCONTENT_BG_COLOR_INC 0 0 0 0 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 76 + +#define ENTRY_TEXT_SIZE_INC 44 +#define ENTRY_TEXT_COLOR_INC "#000000" +#define ENTRY_CURSOR_COLOR_INC 59 115 182 255 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#FFFFFF" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#000000" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BG_COLOR 90 123 138 127 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 48 67 +#define MAGNIFIER_HEIGHT_FILL 182 +#define MAGNIFIER_HEIGHT_FIXED 108 +#define MAGNIFIER_WIDTH_FIXED 358 + +#define ENTRY_BUBBLE_EX_PAD 58 +#define ENTRY_BUBBLE_EX_CALLERID_PAD 178 +#define ENTRY_BUBBLE_IX_PAD 20 +#define ENTRY_BUBBLE_Y_PAD 15 +#define ENTRY_BUBBLE_BOTTOM_PAD 24 +#define ENTRY_BUBBLE_CALLERID_PAD 16 +#define ENTRY_BUBBLE_CALLERID_WIDTH 104 +#define ENTRY_BUBBLE_CALLERID_HEIGHT 104 +#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26 +#define ENTRY_BUBBLE_TEXT_SIZE 38 + +#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000" +#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "far_shadow,bottom" +#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f" +#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#FFFFFF" +#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "far_shadow,top" +#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#0000009f" +#define ENTRY_BUBBLE_RECEV_BG_BORDER_INC 58 24 62 20 +#define ENTRY_BUBBLE_SENT_BG_BORDER_INC 24 58 62 20 +#define ENTRY_BUBBLE_CALLERID_RELATIVE_INC 0.0 0.0 +#define ENTRY_BUBBLE_RECEV_CALLERID_REL_INC 1.0 0.0 +#define ENTRY_BUBBLE_BOTTOMRIGHT_PAD 120 +#define ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC "elm.rect.right.pad" +#define ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC "elm.rect.left.pad" +#define ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC "elm.rect.groupchat.text.pad" +#define ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 14 +#define ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC 0.0 1.0 +#define ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC 1.0 1.0 +#define ENTRY_BUBBLE_STATUS_TIME_SIZE_INC 22 +#define ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 24 +#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_GROUPCHART_ENABLE_INC 1 +#define ENTRY_BUBBLE_GROUPCHART_PAD 36 30 +#define ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD 158 30 +#define ENTRY_BUBBLE_READ_STATUS_REL_INC 1.0 0.0 +#define ENTRY_BUBBLE_READ_TIME_REL_INC 1.0 1.0 + +#define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255 + +#define DAYSELECTOR_BACKGROUND_COLOR_INC 82 84 87 255 +#define DAYSELECTOR_WEEKDAY_COLOR_INC 249 249 249 255 +#define DAYSELECTOR_SATURDAY_COLOR_INC 0 168 231 255 +#define DAYSELECTOR_SUNDAY_COLOR_INC 7 180 211 255 +#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 249 249 249 255 +#define DAYSELECTOR_DAY_FONT_SIZE_INC 32 +#define DAYSELECTOR_CHECK_WIDTH_INC 94 +#define DAYSELECTOR_CHECK_HEIGHT_INC 90 + +#define SLIDER_INDICATOR_TEXT_COLOR_INC 42 137 194 255 +#define SLIDER_UNITS_TEXT_COLOR_INC 0 0 0 255 +#define SLIDER_UNITS_TEXT_SIZE_INC 30 +#define SLIDER_INDICATOR_TEXT_SIZE_INC 40 +#define SLIDER_BASE_HEIGHT_INC 34 +#define SLIDER_BASE_MIN_WIDTH_INC 375 +#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72 +#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74 +#define SLIDER_INDICATOR_MAX_WIDTH_INC 90 +#define SLIDER_INDICATOR_WIDTH_INC 72 +#define SLIDER_INDICATOR_HEIGHT_INC 72 +#define SLIDER_EBOOK_HEIGHT_INC 23 +#define SLIDER_EBOOK_UNITS_TEXT_COLOR_INC 164 160 149 255 +#define SLIDER_EBOOK_UNITS_TEXT_SIZE_INC 48 +#define SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC 7 180 211 255 +#define SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC 36 +#define SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC 48 +#define SLIDER_EBOOK_INDICATOR_WIDTH_INC 54 +#define SLIDER_EBOOK_INDICATOR_HEIGHT_INC 54 + +#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#ffffff" +#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#ffffff" + +#define DATETIME_FIELD_MIN_SIZE_INC 40 60 +#define DATETIME_SEPARATOR_MIN_SIZE_INC 40 60 +#define DATETIME_TEXT_FONT_SIZE_INC 36 +#define DATETIME_TEXT_NORMAL_COLOR_INC 0 0 0 255 +#define DATETIME_SEPARATOR_TEXT_COLOR_INC 150 150 150 255 +#define DATETIME_TEXT_SELECTED_COLOR_INC 255 255 255 255 +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 0 0 0 255 +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 59 115 182 255 + +#define COLORSELECTOR_MIN_W_INC 688 +#define COLORSELECTOR_MIN_H_INC 336 +#define COLORSELECTOR_MAX_W_INC 1014 +#define COLORSELECTOR_COLORBAR_HEIGHT 112 +#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122 +#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122 +#define COLORSELECTOR_BUTTON_TOP_PADDING 19 +#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120 +#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120 +#define COLORSELECTOR_ARROW_MIN_WIDTH 22 +#define COLORSELECTOR_ARROW_MIN_HEIGHT 70 +#define COLORSELECTOR_ARROW_REL1_OFFSET 0 5 +#define COLORSELECTOR_ARROW_REL2_OFFSET 0 5 +#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80 +#define COLORSELECTOR_BUTTON_LEFT_PADDING 32 +#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32 +#define COLORSELECTOR_BUTTON_WIDTH 74 +#define COLORSELECTOR_BUTTON_HEIGHT 74 +#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6 +#define COLORSELECTOR_PADDING_COLOR_INC 225 223 218 255 + +#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "60" +#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20" +#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36" +#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0" +#define COLORSELECTOR_PALETTE_BORDER_INC 11 11 11 11 + +#define CALENDAR_DAY_FONT_SIZE_INC 24 +#define CALENDAR_DATE_FONT_SIZE_INC 32 +#define CALENDAR_MONTH_FONT_SIZE_INC 38 +#define CALENDAR_MONTH_FONT_COLOR_INC 249 249 249 255 +#define CALENDAR_SATURDAY_FONT_COLOR_INC 47 120 220 255 +#define CALENDAR_SUNDAY_FONT_COLOR_INC 226 20 20 255 +#define CALENDAR_WEEKDAY_FONT_COLOR_INC 249 249 249 255 +#define CALENDAR_SELECTED_DATE_FONT_COLOR_INC 255 255 255 255 +#define CALENDAR_SEPERATOR_FONT_COLOR_INC 68 68 68 255 +#define CALENDAR_BACKGROUND_COLOR_INC 89 89 89 255 +#define CALENDAR_BUTTON_HEIGHT_INC 66 +#define CALENDAR_BUTTON_WIDTH_INC 74 +#define CALENDAR_ARROW_WIDTH_INC 30 +#define CALENDAR_ARROW_HEIGHT_INC 36 +#define CALENDAR_BASE_MIN_WIDTH_INC 692 +#define CALENDAR_BASE_MIN_HEIGHT_INC 420 +#define CALENDAR_HEADER_MIN_WIDTH_INC 98 +#define CALENDAR_HEADER_MIN_HEIGHT_INC 90 + +#define CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER 12 12 9 9 +#define CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 12 +#define CTXPOPUP_ENTRY_ITEM_TEXT_COLOR 249 249 249 255 +#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 68 68 68 255 +#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 0 0 0 255 +#define CTXPOPUP_ENTRY_SEPARATOR_WIDTH 1 +#define CTXPOPUP_ENTRY_SEPARATOR_HEIGHT 50 +#define CTXPOPUP_ENTRY_ITEM_HEIGHT 74 +#define CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH 14 +#define CTXPOPUP_ENTRY_ITEM_FONT_SIZE 28 +#define CTXPOPUP_ENTRY_ICON_SIZE 58 +#define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 240 +#define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3 +#define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127 +#define CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 18 +#define CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH 29 + +#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100 +#define TICKERNOTI_DEFAULT_BG_BOTTOM_MIN_HEIGHT_INC 12 +#define TICKERNOTI_DEFAULT_BG_BORDER_INC 2 2 2 14 +#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 18 +#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 18 +#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60 +#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 74 +#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 74 +#define TICKERNOTI_DEFAULT_ICON_MIN_INC 64 64 +#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 30 +#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 24 +#define TICKERNOTI_INFO_BG_MIN_HEIGHT_INC 60 +#define TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC 8 5 +#define TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC 8 5 +#define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0 +#define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28 +#define TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC 0 64 + +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 54 220 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 220 54 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 54 26 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 26 54 +#define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10 + +#define TOOLBAR_ITEM_SEPARATOR_LEFT_COLOR_INC 53 53 53 255 +#define TOOLBAR_ITEM_SEPARATOR_MIDDLE_COLOR_INC 0 0 0 255 +#define TOOLBAR_ITEM_SEPARATOR_RIGHT_COLOR_INC 25 25 25 255 +#define TOOLBAR_ITEM_BG_REL1_OFFSET_INC 4 4 +#define TOOLBAR_ITEM_BG_REL2_OFFSET_INC -5 -5 +#define TOOLBAR_ITEM_BG_SELECTED_BORDER_INC 3 3 3 3 +#define TABBAR_ITEM_TEXTBLOCK_COLOR_INC "#999999" +#define TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC "#3b73b6" +#define TABBAR_ITEM_BG_DEFAULT_BORDER_INC 9 9 9 9 +#define TABBAR_ITEM_BG_DEFAULT_VISIBLE_INC 0 +#define TABBAR_ITEM_BG_DEFAULT_COLOR_INC 255 255 255 0 +#define TABBAR_DEFAULT_HEIGHT_INC 111 +#define TABBAR_ICON_TEXT_HEIGHT_INC 111 +#define TABBAR_HORIZONTAL_HEIGHT_INC 91 +#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 91 +#define TABBAR_ITEM_ICON_SIZE_INC 68 68 +#define TABBAR_ITEM_SMALL_ICON_SIZE_INC 44 44 + +#define CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC 52 52 50 255 +#define CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC 0 0 0 125 +#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0 diff --git a/2.3-mobile/default/inc/tmp-inc.edc b/2.3-mobile/default/inc/tmp-inc.edc new file mode 100644 index 0000000..4654c77 --- /dev/null +++ b/2.3-mobile/default/inc/tmp-inc.edc @@ -0,0 +1,1054 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ +#define BG_DEFAULT_COLOR_INC 248 246 239 255 +#define BG_EDIT_MODE_COLOR_INC 248 246 239 255 +#define BG_GROUP_LIST_COLOR_INC 248 246 239 255 +#define BG_TRANSPARENT_COLOR_INC 0 0 0 0 + +#define LAYOUT_BG_COLOR_INC 248 246 239 255 +#define LAYOUT_EDIT_MODE_BG_COLOR_INC 248 246 239 255 +#define LAYOUT_GROUP_LIST_BG_COLOR_INC 248 246 239 255 +#define LAYOUT_INDICATOR_HEIGHT_INC 50 +#define LAYOUT_INDICATOR_COLOR_INC 0 0 0 255 + +#define BORDER_TITLE_FONT_SIZE_INC 12 +#define BORDER_TITLE_HEIGHT_INC 22 + +#define NAVIFRAME_TITLE_BG_COLOR_INC 248 246 239 255 +#define NAVIFRAME_OVERLAP_TITLE_BG_COLOR_INC 248 246 239 128 +#define NAVIFRAME_TOOLBAR_BG_COLOR_INC 248 246 239 255 +#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 32 +#define NAVIFRAME_TITLE_TOOLBAR_TOP_PADDING_INC 0 33 +#define NAVIFRAME_TITLE_TOOLBAR_BOTTOM_PADDING_INC 0 8 +#define NAVIFRAME_TITLE_H_INC 111 +#define NAVIFRAME_TAB_TITLE_H_INC 165 +#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98 +#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 68 68 +#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 60 60 +#define NAVIFRAME_TITLE_TAB_H_INC 68 +#define NAVIFRAME_TITLE_TAB_LARGE_H_INC 111 +#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44 +#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 87 +#define NAVIFRAME_TITLE_FONT_SIZE_INC 56 +#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 44 +#define NAVIFRAME_ICON_SIZE_INC 38 38 +#define NAVIFRAME_PADDING_INC 16 0 +#define NAVIFRAME_PADDING2_INC 18 0 +#define NAVIFRAME_PADDING3_INC 8 0 +#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 11 +#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 26 11 +#define NAVIFRAME_BOTTOM_PADDING_INC 0 10 +#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 115 0 +#define NAVIFRAME_TOOLBAR_BUTTONS_PADDING_INC 15 +#define NAVIFRAME_ICON_PADDING_INC 70 0 +#define NAVIFRAME_TITLE_TEXT_COLOR_INC 59 115 182 255 +#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 59 115 182 255 +#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 32 + +#define POPUP_ITEM_BG_DEFAULT_MIN_INC 648 112 +#define POPUP_ITEM_LEFT_MIN_PADDING_INC 26 0 +#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 26 0 +#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0 +#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 128 128 128 255 +#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 128 128 128 255 + +#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#3b73b6" +#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000" +#define POPUP_DIM_BG_DEFAULT_COLOR_INC 0 0 0 0 +#define POPUP_DIM_BG_COLOR_INC 0 0 0 127 +#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 127 +#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0 +#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50 + +#define CTXPOPUP_WIDTH_MIN_INC 386 +#define CTXPOPUP_WIDTH_MAX_INC 620 +#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 22 22 20 28 +#define CTXPOPUP_SHADOW_LEFT_PADDING 10 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 10 +#define CTXPOPUP_SHADOW_TOP_PADDING 8 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 16 +#define CTXPOPUP_CONTENT_PADDING 4 +#define CTXPOPUP_SCROLLER_PADDING 8 +#define CTXPOPUP_SCROLLER_MIN_SIZE_INC 9 12 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 20 +#define CTXPOPUP_BG_COLOR_INC 0 0 0 0 +#define CTXPOPUP_BG_PRESS_COLOR_INC 42 137 194 255 +#define CTXPOPUP_MAIN_TEXT_COLOR_INC 255 255 255 255 +#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178 +#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 +#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 255 255 255 255 +#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178 +#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 +#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 +#define CTXPOPUP_SEPARATOR_PADDING_INC 20 +#define CTXPOPUP_SEPARATOR_COLOR_INC 45 45 45 255 +#define CTXPOPUP_SEPARATOR2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 45 45 45 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 74 +#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 74 +#define CTXPOPUP_TP_BG_COLOR_INC 7 180 211 255 +#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 +#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40 +#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32 +#define CTXPOPUP_ITEM_HEIGHT_INC 110 +#define CTXPOPUP_ITEM_HORIZONTAL_WIDTH_INC 128 +#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 +#define CTXPOPUP_ICON_WIDTH_INC 64 +#define CTXPOPUP_ICON_HEIGHT_INC 64 +#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 48 +#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 48 +#define CTXPOPUP_ARROW_SIZE_INC 48 48 +#define CTXPOPUP_VERTICAL_ARROW_SIZE_INC 40 30 +#define CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC 30 40 +#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20 +#define CTXPOPUP_ITEM_ICON_PADDING_INC 16 +#define CTXPOPUP_IE_ARROW_SIZE_INC 52 +#define CTXPOPUP_IE_FONT_SIZE_INC 40 +#define CTXPOPUP_IE_ITEM_PADDING_INC 22 +#define CTXPOPUP_IE_ITEM_HEIGHT_INC 75 +#define CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC 720 +#define CTXPOPUP_IE_ICON_WIDTH_INC 60 +#define CTXPOPUP_IE_ICON_HEIGHT_INC 60 +#define CTXPOPUP_TP_ARROW_SIZE_INC 30 +#define CTXPOPUP_TP_HEIGHT_INC 106 +#define CTXPOPUP_MORE_WIDTH_MIN_INC 502 +#define CTXPOPUP_MORE_ITEM_PADDING_INC 16 +#define CTXPOPUP_MORE_ITEM_HEIGHT_INC 110 +#define CTXPOPUP_MORE_ICON_WIDTH_INC 72 +#define CTXPOPUP_MORE_ICON_HEIGHT_INC 72 +#define CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC 40 +#define CTXPOPUP_MORE_SEPARATOR_PADDING_INC 20 +#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC 336 +#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_INC 90 + +#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178 +#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255 +#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106; +#define DISKSELECTOR_DF_FONT_SIZE_INC 48 +#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106" + +#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000" +#define LABEL_FONT_SIZE_INC 36 +#define LABEL_MIN_FONT_SIZE_INC 27 +#define LABEL_MAX_FONT_SIZE_INC 90 + +#define GENGRID_FONT_STYLE_18_INC "26" +#define GENGRID_PART_BG_COLOR_INC 0 0 0 0 +#define GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC 0 0 0 77 +#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 77 +#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000" +#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0 +#define GENGRID_EDIT_MODE_CHECK_TOP_RIGHT_INC 6 6 +#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 54 54 +#define GENGRID_EDIT_MODE_CHECK_BG_COLOR_INC 0 0 0 154 +#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 6 6 + +#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2 +#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2 +#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC 2 2 +#define GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 + +#define GENGRID_LANDSCAPE_LEFT_TOP_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_LEFT_TOP_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_PADDING_INC 5 5 +#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 5 59 +#define GENGRID_LANDSCAPE_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 4 4 +#define GENGRID_LANDSCAPE_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 60 + +#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 62 + +#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 2 2 +#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 +#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 +#define GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC 2 62 +#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 + +// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +#define GENLIST_HEIGHT_1_INC 1 +#define GENLIST_PADDING_5_INC 5 +#define GENLIST_PADDING_24_INC 24 +#define GENLIST_PADDING_64_INC 64 +#define GENLIST_PADDING_88_INC 88 +#define GENLIST_PADDING_34_INC 34 +#define GENLIST_PADDING_32_INC 32 +#define GENLIST_PADDING_16_INC 16 +#define GENLIST_SIZE_80_INC 80 + +#define BUBBLE_DISCLIP_COLOR 255 255 255 102 // opacity 40% + +// List bg color +#define GENLIST_LIST_BG_COLOR 248 246 239 255 +#define GENLIST_DIALOGUE_BG_COLOR 248 246 239 255 +#define GENLIST_LIST_PRESS_COLOR 87 135 194 255 +#define GENLIST_LIST_DIM_COLOR 219 217 212 255 +#define GENLIST_LIST_LINE1_COLOR 211 209 203 255 +#define GENLIST_LIST_LINE2_COLOR 255 255 255 255 +#define GENLIST_LIST_DIVIDER1_COLOR 185 184 178 255 +#define GENLIST_LIST_DIVIDER2_COLOR 255 255 255 255 +#define GENLIST_LIST_CENTERLINE1_COLOR 206 205 202 255 +#define GENLIST_SELECT_ALL_BG_COLOR 220 218 211 255 + +// Group Index +#define GENLIST_GROUPINDEX_LIST_SIZE 32 +#define GENLIST_GROUPINDEX_LIST_COLOR 59 115 182 255 +#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR 255 255 255 255 + +#define GENLIST_GROUPINDEX_LIST_BG_COLOR 248 246 239 255 +#define GENLIST_GROUPINDEX_LIST_PRESS_COLOR 132 162 198 255 +#define GENLIST_GROUPINDEX_LINE_COLOR 59 115 182 255 +#define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR 255 255 255 255 + +// Genlist Text +#define GENLIST_LIST_MAIN_TEXT_SIZE 44 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR 0 0 0 255 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF" +#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR 0 0 0 102 +#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000066" +#define GENLIST_LIST_MAIN_TEXT_READ_COLOR 128 128 128 255 +#define GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR 128 128 128 204 +#define GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR 255 255 255 255 +#define GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" + +#define GENLIST_LIST_SUB_TEXT_SIZE 32 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR 128 128 128 255 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE "#808080FF" +#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR 128 128 128 204 +#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE "#808080CC" +#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR 59 115 182 255 +#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE "#3B73B6FF" +#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR 59 115 182 76 +#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE "#3B73B64C" +#define GENLIST_LIST_SUB_TEXT_FOCUS_COLOR 255 255 255 255 +#define GENLIST_LIST_SUB_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" + +#define GENLIST_CONTENTS_TEXT_SIZE 28 +#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255 +#define GENLIST_CONTENTS_TEXT_COLOR_STYLE "#808080FF" + +#define GENLIST_LIST_BUBBLE_TEXT_SIZE 32 +#define GENLIST_LIST_BUBBLE_TEXT_COLOR 249 249 249 255 + +// Dialogue group +#define GENLIST_DIALOGUE_GROUP_TITLE_SIZE 32 +#define GENLIST_DIALOGUE_GROUP_TITLE_COLOR 59 115 182 255 + +#define GENLIST_APPS_NAME_SIZE 30 +#define GENLIST_APPS_NAME_COLOR 128 128 128 255 +#define GENLIST_APPS_INC_SIZE 30 +#define GENLIST_APPS_INC_COLOR 0 0 0 255 +#define GENLIST_APPS_RATING_SIZE 24 +#define GENLIST_APPS_RATING_COLOR 128 128 128 255 +#define GENLIST_APPS_PRICE_SIZE 24 +#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 59 115 182 255 +#define GENLIST_APPS_PRICE_SALE_COLOR 229 33 52 255 +#define GENLIST_APPS_PRICE_FREE_COLOR 59 115 182 255 + +#define DIALOGUE_PASSWORD_TITLE_SIZE 32 +#define DIALOGUE_PASSWORD_TITLE_COLOR 128 128 128 255 + +#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32 +#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE "#808080FF" +#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#3F8DAD" + +#define BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_TEXT_SHADOW_DIM_COLOR_INC 255 255 255 255 +#define BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 255 + +#define BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_NAVIFRAME_TEXT_SHADOW_DIM_COLOR_INC 0 0 0 163 + +#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127 +#define BUTTON_TICKER_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 127 + +#define BUTTON_NUMBER_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define BUTTON_NUMBER_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_NUMBER_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_NUMBER_TEXT_DISABLE_VISIBLE_COLOR_INC 50 50 50 76 + +#define BUTTON_SEARCH_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SEARCH_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 +#define BUTTON_SEARCH_BUTTON_TEXT_SHADOW_PRESSED_COLOR_INC 0 0 0 163 + +#define BUTTON_SEARCH_BUTTON_SEND_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_SEND_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_SEARCH_BUTTON_SEND_SHADOW_NORMAL_COLOR_INC 0 0 0 163 + +#define BUTTON_SEARCH_BUTTON_CANCEL_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SEARCH_BUTTON_CANCEL_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_SEARCH_BUTTON_CANCEL_SHADOW_NORMAL_COLOR_INC 0 0 0 163 + +#define BUTTON_SEND_BUBBLE_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_PRESSED_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_FOCUSED_COLOR_INC 58 58 58 255 +#define BUTTON_SEND_BUBBLE_TEXT_DISABLED_COLOR_INC 58 58 58 76 +#define BUTTON_SEND_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 255 255 255 153 + +#define BUTTON_RECEIVE_BUBBLE_TEXT_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_RECEIVE_BUBBLE_TEXT_DISABLED_COLOR_INC 248 246 239 76 +#define BUTTON_RECEIVE_BUBBLE_TEXT_SHADOW_NORMAL_COLOR_INC 0 0 0 153 + +#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_EXPAND_BUTTON_NORMAL_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_PRESSED_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_FOCUSED_COLOR_INC 249 249 249 255 +#define BUTTON_EXPAND_BUTTON_DISABLED_COLOR_INC 48 49 50 255 + +#define BUTTON_DELETE_BUTTON_TEXT_NORMAL_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_DELETE_BUTTON_TEXT_DISABLED_COLOR_INC 248 246 239 76 + +#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 58 58 58 255 +#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_DISABLED_COLOR_INC 50 50 50 255 + +#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255 +#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 255 255 255 76 + +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 101 101 101 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 64 147 247 255 +#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 101 101 101 76 + +#define BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC 77 77 77 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC 248 246 239 255 +#define BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC 58 58 58 76 + +#define BUTTON_DATETIME_AMPM_BG_MIN_INC 106 56 + +#define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66 +#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 148 66 +#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 66 66 +#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 30 + +#define BUTTON_BUBBLE_CIRCLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_BUBBLE_CIRCLE_IMAGE_MIN_MAX_INC 74 74 +#define BUTTON_BUBBLE_CIRCLE_MIN_WIDTH_INC 74 +#define BUTTON_BUBBLE_CIRCLE_MIN_HEIGHT_INC 74 + +#define BUTTON_SENT_BUBBLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SENT_BUBBLE_TEXT_FONT_SIZE_INC 36 +#define BUTTON_SENT_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28 + +#define BUTTON_RECEIVE_BUBBLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_RECEIVE_BUBBLE_TEXT_FONT_SIZE_INC 36 +#define BUTTON_RECEIVE_BUBBLE_TEXT_MULTILINE_FONT_SIZE_INC 28 + +#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74 +#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74 +#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74 +#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36 + +#define BUTTON_TEXT_STYLE2_BG_MIN_INC 100 74 +#define BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC 148 74 +#define BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC 74 74 +#define BUTTON_TEXT_STYLE2_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TEXT_STYLE2_PADDING_MIN_INC 12 0 +#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TEXT_STYLE2_FONT_SIZE_INC 36 + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 74 74 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 44 44 + +#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 74 +#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 74 +#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110 +#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110 + +#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 74 +#define BUTTON_POPUP_BG_BORDER_INC 12 12 12 12 +#define BUTTON_POPUP_PADDING_MIN_INC 12 3 +#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 44 44 +#define BUTTON_POPUP_TEXT_MIN_INC 64 20 +#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36 + +#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 74 74 +#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 74 74 + +#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 74 +#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 74 +#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90 +#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90 + +#define BUTTON_SWEEP_BG_NORMAL_MIN_INC 74 74 +#define BUTTON_SWEEP_BG_BORDER_INC 12 12 12 12 +#define BUTTON_SWEEP_PADDING_MIN_INC 12 0 +#define BUTTON_SWEEP_ICON_RECT_MIN_INC 0 44 +#define BUTTON_SWEEP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_SWEEP_ICONONLY_ICON_MIN_INC 44 44 +#define BUTTON_SWEEP_TEXT_MIN_INC 50 26 +#define BUTTON_SWEEP_FONT_SIZE_INC 26 + +#define BUTTON_EXPAND_BUTTON_TEXT_SIZE_INC 30 + +#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 98 46 +#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 12 12 12 12 +#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1 +#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 24 46 +#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 46 +#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28 + +#if 0 +#define BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC 50 74 +#define BUTTON_CONTACT_DELETE_BG_BORDER_INC 8 0 5 5 +#define BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC 36 2 +#define BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC 14 2 +#define BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0 +#define BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC 42 42 +#define BUTTON_CONTACT_DELETE_FONT_SIZE_INC 32 + +#define BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC 74 74 +#define BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC 74 74 + +#define BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC 249 249 249 255 +#define BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC 249 249 249 255 +#define BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC 0 0 0 128 +#endif + +#define BUTTON_CONTACT_BG_MIN_INC 30 48 +#define BUTTON_CONTACT_BG_BORDER_INC 12 16 0 0 +#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 28 0 +#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 16 0 +#define BUTTON_CONTACT_FONT_SIZE_INC 32 + +#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 60 60 + +#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 249 249 249 255 +#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 249 249 249 255 + +#define BUTTON_NAVITFRAME_TITLE_ICON_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 68 68 + +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_MIN_INC 182 70 +#define BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_MIN_INC 126 70 +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC 36 36 0 0 +#define BUTTON_NAVIFRAME_TITLE_TEXT_PADDING_MIN_INC 28 5 +#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32 +#define BUTTON_NAVIFRAME_TITLE_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_NAVIFRAME_TITLE_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_NAVIFRAME_TITLE_VISIBLE_PADDING_ICON_TEXT_MIN_INC 8 0 +#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_NORMAL_COLOR_INC 249 249 249 255 + +#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 80 80 +#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 60 60 + +#define BUTTON_TICKERNOTI_BG_MIN_MAX_INC 154 74 +#define BUTTON_TICKERNOTI_BG_BORDER_INC 12 12 12 12 +#define BUTTON_TICKERNOTI_PADDING_MIN_INC 12 0 +#define BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 +#define BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC 44 44 +#define BUTTON_TICKERNOTI_FONT_SIZE_INC 36 + +#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74 +#define BUTTON_COLORSELECTOR_BG_BORDER_INC 12 12 12 12 +#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 74 74 + +#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 100 74 +#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 12 12 12 12 +#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 12 5 +#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 +#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 44 44 +#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 144 36 +#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 36 + +#define BUTTON_DEFAULT_STYLE_MULTILINE_BG_MIN_INC 100 80 +#define BUTTON_DEFAULT_STYLE_MULTILINE_PADDING_MIN_INC 12 0 + +#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 249 249 249 255 +#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 249 249 249 255 + +#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36 + +#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 132 70 +#define CHECK_ONOFF_ON_FONT_SIZE_INC 24 +#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24 + +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 74 +#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 74 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100 +#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100 +#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 74 74 + +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64 +#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75 +#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91 +#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 64 64 + +#define CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC 74 74 +#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC 124 74 +#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5 +#define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32 + +#define INDEX_BG_NINEPATCH_INC 4 4 4 4 +#define INDEX_ITEM_WIDTH_INC 47 +#define INDEX_ITEM_HEIGHT_INC 47 +#define INDEX_ROLLOVER_TEXT_SIZE_INC 32 +#define INDEX_POPUP_BG_NINEPATCH_INC 24 24 24 24 +#define INDEX_POPUP_TEXT_SIZE_INC 140 +#define INDEX_BOTTOM_LINE_COLOR_INC 213 210 201 255 +#define INDEX_LEFT_LINE_COLOR_INC 59 115 182 255 +#define INDEX_PAGECONTROL_IND_INC 52 52 +#define INDEX_PAGECONTROL_IND_MIN_INC 24 24 + +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64 +#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 +#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 64 64 +#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36 + +#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 60 +#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 25 +#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 22 +#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26 +#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 52 + +#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255 +#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255 + +#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30 +#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12 +#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28 +#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 2 32 +#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 20 0 +#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 53 53 +#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45 +#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47 +#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255; +#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26; + +#define EDITFIELD_TITLE_SIZE_INC 32 +#define EDITFIELD_TITLE_COLOR_INC 42 137 194 255 +#define EDITFIELD_GUIDE_TEXT_COLOR_INC 121 131 138 255 +#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48 +#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70 +#define EDITFIELD_SEARCHBAR_ERASER_MINW_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_MINH_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC 38 +#define EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC 50 +#define EDITFIELD_DEFAULT_MINH_INC 112 +#define EDITFIELD_TITLE_MINH_INC 128 +#define EDITFIELD_SEARCHBAR_MINH_INC 50 +#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27 +#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56 +#define EDITFIELD_DEFAULT_TOP2_INC 8 +#define EDITFIELD_DEFAULT_LEFT1_INC 0 +#define EDITFIELD_DEFAULT_LEFT2_INC 0 +#define EDITFIELD_DEFAULT_LEFT3_INC 1 +#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56 +#define EDITFIELD_DEFAULT_RIGHT2_INC 0 +#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25 +#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8 +#define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 32 +#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12 +#define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85 +#define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60 +#define EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC 6 +#define EDITFIELD_SEARCHBAR_TOP1_MULTI_INC 10 +#define EDITFIELD_SEARCHBAR_TOP2_INC 10 +#define EDITFIELD_SEARCHBAR_LEFT1_INC 0 +#define EDITFIELD_SEARCHBAR_LEFT2_INC 0 +#define EDITFIELD_SEARCHBAR_LEFT3_INC 1 +#define EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 56 +#define EDITFIELD_SEARCHBAR_RIGHT2_INC 5 +#define EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC 8 +#define EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC 2 +#define EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC 16 +#define EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC 2 +#define EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC 50 +#define EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC 50 + +#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 225 215 215 255 +#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 248 246 239 255 +#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 225 215 215 76 + +#define BUTTON_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define BUTTON_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define CHECK_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76 +#define CHECK_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define CHECK_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC 50 50 50 255 +#define RADIO_DEFAULT_TEXT_PRESSED_COLOR_INC 248 246 239 255 +#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC 50 50 50 76 +#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 +#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 76 + +#define CONTROLBAR_LARGE_HEIGHT_INC 122 +#define CONTROLBAR_SMALL_HEIGHT_INC 114 +#define CONTROLBAR_WIDTH_INC 122 +#define CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC 23 34 38 255 +#define CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC 58 68 74 255 + +#define MULTIBUTTONENTRY_NORMAL_BUTTON_COLOR_INC 8 158 185 255 +#define MULTIBUTTONENTRY_PRESSED_BUTTON_COLOR_INC 2 85 100 255 +#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC 102 102 102 255 +#define MULTIBUTTONENTRY_TEXT_COLOR_INC "#666666" +#define MULTIBUTTONENTRY_GUIDETEXT_COLOR_INC 70 70 70 255 +#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC "#FFFFFF" +#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26 +#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 13 +#define MULTIBUTTONENTRY_BUTTON_MAX_SIZE_INC 330 +#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 64 +#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 12 16 0 0 +#define MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC 8 +#define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 24 +#define MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 16 +#define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 27 +#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32 +#define MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 1 +#define MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC 60 +#define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 26 +#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36 +#define MULTIBUTTONENTRY_LABEL_MIN_HEIGHT_INC 64 + +#define SEARCHBAR_CANCEL_BUTTON_W_INC 136 +#define SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 150 +#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166 +#define SEARCHBAR_TOP_PADDING_INC 10 +#define SEARCHBAR_BOTTOM_PADDING_INC 10 +#define SEARCHBAR_HEIGHT_INC 66 +#define SEARCHBAR_LEFT_PADDING_INC 26 +#define SEARCHBAR_RIGHT_PADDING_INC 26 +#define SEARCHBAR_INPUTFIELD_BORDER_INC 9 9 9 9 +#define SEARCHBAR_LEFT_ICON_PADDING_INC 16 +#define SEARCHBAR_ICON_MIN_W_INC 44 +#define SEARCHBAR_ICON_MIN_H_INC 44 +#define SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 16 +#define SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 8 +#define SEARCHBAR_SEARCH_TEXTFIELD_H_INC 60 +#define SEARCHBAR_H_INC 86 + +#define SELECTION_INFO_BACKGROUND_COLOR_INC 68 68 68 255 +#define SELECTION_INFO_TEXT_COLOR_INC 255 255 255 255 +#define SELECTION_INFO_MIN_VER_W_INC 720 +#define SELECTION_INFO_MIN_HORZ_W_INC 1280 +#define SELECTION_INFO_VER_PADDING_INC 48 +#define SELECTION_INFO_LEFT_PADDING_INC 16 +#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32 +#define SELECTION_INFO_SHADOW_VER_W_INC 720 +#define SELECTION_INFO_SHADOW_VER_H_INC 10 +#define SELECTION_INFO_SHADOW_HORZ_W_INC 1280 +#define SELECTION_INFO_SHADOW_HORZ_H_INC 10 +#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150 +#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186 + +#define POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC 648 300 +#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 42 + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 720 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 720 1120 +#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 18 18 32 52 +#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 648 80 +#define POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC 720 68 +#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 16 0 +#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 64 64 +#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 648 300 +#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 648 114 +#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 50 + +#define POPUP_DESC_LEFT_PADDING 0 +#define POPUP_DESC_RIGHT_PADDING 0 +#define POPUP_DESC_TOP_PADDING 14 +#define POPUP_DESC_BOTTOM_PADDING 34 +#define POPUP_LABEL_DESC_TOP_PADDING 39 +#define POPUP_LABEL_DESC_BOTTOM_PADDING 39 +#define POPUP_TITLE_TOP_PADDING 18 +#define POPUP_TITLE_BOTTOM_PADDING 0 +#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 0 + +#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 20 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 36 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 36 +#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 20 +#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 648 0 + +#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 114 +#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 80 + +#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 648 294 + +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 20 +#define POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT "294" +#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 74 +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 16 +#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 16 + +#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 3 3 +#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 300 +#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0 + +#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 614 0 +#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 668 300 +#define POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC 668 250 +#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 668 134 + +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "114" +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 394 74 +#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 648 74 +#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 270 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74 +#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36 +#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 74 +#define POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 202 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 20 74 +#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 36 + +#define PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 +#define PROGRESSBAR_LIST_PROCESS_WIDTH_INC 66 +#define PROGRESSBAR_LIST_PROCESS_HEIGHT_INC 66 +#define PROGRESSBAR_LIST_PROCESS_SMALL_INC 35 +#define PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE "32x32" +#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 36 +#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 34 +#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 128 128 + +#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 128 128 128 255 +#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 32 +#define NOCONTENT_MIDDLE_PADDING_INC 38 +#define NOCONTENT_BASE_SEARCH_PADDING_INC 40 +#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 280 280 +#define NOCONTENT_BG_COLOR_INC 0 0 0 0 +#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 76 + +#define ENTRY_TEXT_SIZE_INC 44 +#define ENTRY_TEXT_COLOR_INC "#000000" +#define ENTRY_CURSOR_COLOR_INC 59 115 182 255 +#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000" +#define ENTRY_PREEDIT_TEXT_COLOR_INC "#FFFFFF" +#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#000000" +#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" +#define ENTRY_SELECTION_BG_COLOR 90 123 138 127 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 48 67 +#define MAGNIFIER_HEIGHT_FILL 182 +#define MAGNIFIER_HEIGHT_FIXED 108 +#define MAGNIFIER_WIDTH_FIXED 358 + +#define ENTRY_BUBBLE_EX_PAD 58 +#define ENTRY_BUBBLE_EX_CALLERID_PAD 178 +#define ENTRY_BUBBLE_IX_PAD 20 +#define ENTRY_BUBBLE_Y_PAD 15 +#define ENTRY_BUBBLE_BOTTOM_PAD 24 +#define ENTRY_BUBBLE_CALLERID_PAD 16 +#define ENTRY_BUBBLE_CALLERID_WIDTH 104 +#define ENTRY_BUBBLE_CALLERID_HEIGHT 104 +#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26 +#define ENTRY_BUBBLE_TEXT_SIZE 38 + +#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000" +#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "far_shadow,bottom" +#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f" +#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#FFFFFF" +#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "far_shadow,top" +#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#0000009f" +#define ENTRY_BUBBLE_RECEV_BG_BORDER_INC 58 24 62 20 +#define ENTRY_BUBBLE_SENT_BG_BORDER_INC 24 58 62 20 +#define ENTRY_BUBBLE_CALLERID_RELATIVE_INC 0.0 0.0 +#define ENTRY_BUBBLE_RECEV_CALLERID_REL_INC 1.0 0.0 +#define ENTRY_BUBBLE_BOTTOMRIGHT_PAD 120 +#define ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC "elm.rect.right.pad" +#define ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC "elm.rect.left.pad" +#define ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC "elm.rect.groupchat.text.pad" +#define ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 14 +#define ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC 0.0 1.0 +#define ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC 1.0 1.0 +#define ENTRY_BUBBLE_STATUS_TIME_SIZE_INC 22 +#define ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 24 +#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 139 139 139 255 +#define ENTRY_BUBBLE_GROUPCHART_ENABLE_INC 1 +#define ENTRY_BUBBLE_GROUPCHART_PAD 36 30 +#define ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD 158 30 +#define ENTRY_BUBBLE_READ_STATUS_REL_INC 1.0 0.0 +#define ENTRY_BUBBLE_READ_TIME_REL_INC 1.0 1.0 + +#define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255 + +#define DAYSELECTOR_BACKGROUND_COLOR_INC 82 84 87 255 +#define DAYSELECTOR_WEEKDAY_COLOR_INC 249 249 249 255 +#define DAYSELECTOR_SATURDAY_COLOR_INC 0 168 231 255 +#define DAYSELECTOR_SUNDAY_COLOR_INC 7 180 211 255 +#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 249 249 249 255 +#define DAYSELECTOR_DAY_FONT_SIZE_INC 32 +#define DAYSELECTOR_CHECK_WIDTH_INC 94 +#define DAYSELECTOR_CHECK_HEIGHT_INC 90 + +#define SLIDER_INDICATOR_TEXT_COLOR_INC 42 137 194 255 +#define SLIDER_UNITS_TEXT_COLOR_INC 0 0 0 255 +#define SLIDER_UNITS_TEXT_SIZE_INC 30 +#define SLIDER_INDICATOR_TEXT_SIZE_INC 40 +#define SLIDER_BASE_HEIGHT_INC 34 +#define SLIDER_BASE_MIN_WIDTH_INC 375 +#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72 +#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74 +#define SLIDER_INDICATOR_MAX_WIDTH_INC 90 +#define SLIDER_INDICATOR_WIDTH_INC 72 +#define SLIDER_INDICATOR_HEIGHT_INC 72 +#define SLIDER_EBOOK_HEIGHT_INC 23 +#define SLIDER_EBOOK_UNITS_TEXT_COLOR_INC 164 160 149 255 +#define SLIDER_EBOOK_UNITS_TEXT_SIZE_INC 48 +#define SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC 7 180 211 255 +#define SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC 36 +#define SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC 48 +#define SLIDER_EBOOK_INDICATOR_WIDTH_INC 54 +#define SLIDER_EBOOK_INDICATOR_HEIGHT_INC 54 + +#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#ffffff" +#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#ffffff" + +#define DATETIME_FIELD_MIN_SIZE_INC 40 60 +#define DATETIME_SEPARATOR_MIN_SIZE_INC 40 60 +#define DATETIME_TEXT_FONT_SIZE_INC 36 +#define DATETIME_TEXT_NORMAL_COLOR_INC 0 0 0 255 +#define DATETIME_SEPARATOR_TEXT_COLOR_INC 150 150 150 255 +#define DATETIME_TEXT_SELECTED_COLOR_INC 255 255 255 255 +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 0 0 0 255 +#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 59 115 182 255 + +#define COLORSELECTOR_MIN_W_INC 688 +#define COLORSELECTOR_MIN_H_INC 336 +#define COLORSELECTOR_MAX_W_INC 1014 +#define COLORSELECTOR_COLORBAR_HEIGHT 112 +#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122 +#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122 +#define COLORSELECTOR_BUTTON_TOP_PADDING 19 +#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120 +#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120 +#define COLORSELECTOR_ARROW_MIN_WIDTH 22 +#define COLORSELECTOR_ARROW_MIN_HEIGHT 70 +#define COLORSELECTOR_ARROW_REL1_OFFSET 0 5 +#define COLORSELECTOR_ARROW_REL2_OFFSET 0 5 +#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80 +#define COLORSELECTOR_BUTTON_LEFT_PADDING 32 +#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32 +#define COLORSELECTOR_BUTTON_WIDTH 74 +#define COLORSELECTOR_BUTTON_HEIGHT 74 +#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6 +#define COLORSELECTOR_PADDING_COLOR_INC 225 223 218 255 + +#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84 +#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84 +#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "60" +#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20" +#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36" +#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0" +#define COLORSELECTOR_PALETTE_BORDER_INC 11 11 11 11 + +#define CALENDAR_DAY_FONT_SIZE_INC 24 +#define CALENDAR_DATE_FONT_SIZE_INC 32 +#define CALENDAR_MONTH_FONT_SIZE_INC 38 +#define CALENDAR_MONTH_FONT_COLOR_INC 249 249 249 255 +#define CALENDAR_SATURDAY_FONT_COLOR_INC 47 120 220 255 +#define CALENDAR_SUNDAY_FONT_COLOR_INC 226 20 20 255 +#define CALENDAR_WEEKDAY_FONT_COLOR_INC 249 249 249 255 +#define CALENDAR_SELECTED_DATE_FONT_COLOR_INC 255 255 255 255 +#define CALENDAR_SEPERATOR_FONT_COLOR_INC 68 68 68 255 +#define CALENDAR_BACKGROUND_COLOR_INC 89 89 89 255 +#define CALENDAR_BUTTON_HEIGHT_INC 66 +#define CALENDAR_BUTTON_WIDTH_INC 74 +#define CALENDAR_ARROW_WIDTH_INC 30 +#define CALENDAR_ARROW_HEIGHT_INC 36 +#define CALENDAR_BASE_MIN_WIDTH_INC 692 +#define CALENDAR_BASE_MIN_HEIGHT_INC 420 +#define CALENDAR_HEADER_MIN_WIDTH_INC 98 +#define CALENDAR_HEADER_MIN_HEIGHT_INC 90 + +#define CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER 12 12 9 9 +#define CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 12 +#define CTXPOPUP_ENTRY_ITEM_TEXT_COLOR 249 249 249 255 +#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 68 68 68 255 +#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 0 0 0 255 +#define CTXPOPUP_ENTRY_SEPARATOR_WIDTH 1 +#define CTXPOPUP_ENTRY_SEPARATOR_HEIGHT 50 +#define CTXPOPUP_ENTRY_ITEM_HEIGHT 74 +#define CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH 14 +#define CTXPOPUP_ENTRY_ITEM_FONT_SIZE 28 +#define CTXPOPUP_ENTRY_ICON_SIZE 58 +#define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 240 +#define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3 +#define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127 +#define CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 18 +#define CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH 29 + +#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100 +#define TICKERNOTI_DEFAULT_BG_BOTTOM_MIN_HEIGHT_INC 12 +#define TICKERNOTI_DEFAULT_BG_BORDER_INC 2 2 2 14 +#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 18 +#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 18 +#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60 +#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 74 +#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 74 +#define TICKERNOTI_DEFAULT_ICON_MIN_INC 64 64 +#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0 +#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 30 +#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 24 +#define TICKERNOTI_INFO_BG_MIN_HEIGHT_INC 60 +#define TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC 8 5 +#define TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC 8 5 +#define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0 +#define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28 +#define TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC 0 64 + +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0 +#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0 +#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 54 220 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 220 54 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 54 26 +#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 26 54 +#define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10 +#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10 + +#define TOOLBAR_ITEM_SEPARATOR_LEFT_COLOR_INC 53 53 53 255 +#define TOOLBAR_ITEM_SEPARATOR_MIDDLE_COLOR_INC 0 0 0 255 +#define TOOLBAR_ITEM_SEPARATOR_RIGHT_COLOR_INC 25 25 25 255 +#define TOOLBAR_ITEM_BG_REL1_OFFSET_INC 4 4 +#define TOOLBAR_ITEM_BG_REL2_OFFSET_INC -5 -5 +#define TOOLBAR_ITEM_BG_SELECTED_BORDER_INC 3 3 3 3 +#define TABBAR_ITEM_TEXTBLOCK_COLOR_INC "#999999" +#define TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC "#3b73b6" +#define TABBAR_ITEM_BG_DEFAULT_BORDER_INC 9 9 9 9 +#define TABBAR_ITEM_BG_DEFAULT_VISIBLE_INC 0 +#define TABBAR_ITEM_BG_DEFAULT_COLOR_INC 255 255 255 0 +#define TABBAR_DEFAULT_HEIGHT_INC 111 +#define TABBAR_ICON_TEXT_HEIGHT_INC 111 +#define TABBAR_HORIZONTAL_HEIGHT_INC 91 +#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 91 +#define TABBAR_ITEM_ICON_SIZE_INC 68 68 +#define TABBAR_ITEM_SMALL_ICON_SIZE_INC 44 44 + +#define CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC 52 52 50 255 +#define CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC 0 0 0 125 +#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0 diff --git a/2.3-mobile/default/sounds/S_Touch_30ms.wav b/2.3-mobile/default/sounds/S_Touch_30ms.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/S_Touch_30ms.wav differ diff --git a/2.3-mobile/default/sounds/Waterdrop.wav b/2.3-mobile/default/sounds/Waterdrop.wav new file mode 100644 index 0000000..adb7da0 Binary files /dev/null and b/2.3-mobile/default/sounds/Waterdrop.wav differ diff --git a/2.3-mobile/default/sounds/button-pressed.wav b/2.3-mobile/default/sounds/button-pressed.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/button-pressed.wav differ diff --git a/2.3-mobile/default/sounds/button-toggle-off.wav b/2.3-mobile/default/sounds/button-toggle-off.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/button-toggle-off.wav differ diff --git a/2.3-mobile/default/sounds/button-toggle-on.wav b/2.3-mobile/default/sounds/button-toggle-on.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/button-toggle-on.wav differ diff --git a/2.3-mobile/default/sounds/dialog-cancel.wav b/2.3-mobile/default/sounds/dialog-cancel.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-cancel.wav differ diff --git a/2.3-mobile/default/sounds/dialog-error.wav b/2.3-mobile/default/sounds/dialog-error.wav new file mode 100644 index 0000000..9ce5f26 Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-error.wav differ diff --git a/2.3-mobile/default/sounds/dialog-information.wav b/2.3-mobile/default/sounds/dialog-information.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-information.wav differ diff --git a/2.3-mobile/default/sounds/dialog-ok.wav b/2.3-mobile/default/sounds/dialog-ok.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-ok.wav differ diff --git a/2.3-mobile/default/sounds/dialog-question.wav b/2.3-mobile/default/sounds/dialog-question.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-question.wav differ diff --git a/2.3-mobile/default/sounds/dialog-warning.wav b/2.3-mobile/default/sounds/dialog-warning.wav new file mode 100644 index 0000000..9ce5f26 Binary files /dev/null and b/2.3-mobile/default/sounds/dialog-warning.wav differ diff --git a/2.3-mobile/default/sounds/drag-accept.wav b/2.3-mobile/default/sounds/drag-accept.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/drag-accept.wav differ diff --git a/2.3-mobile/default/sounds/drag-fail.wav b/2.3-mobile/default/sounds/drag-fail.wav new file mode 100644 index 0000000..9ce5f26 Binary files /dev/null and b/2.3-mobile/default/sounds/drag-fail.wav differ diff --git a/2.3-mobile/default/sounds/drag-start.wav b/2.3-mobile/default/sounds/drag-start.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/drag-start.wav differ diff --git a/2.3-mobile/default/sounds/link-pressed.wav b/2.3-mobile/default/sounds/link-pressed.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/link-pressed.wav differ diff --git a/2.3-mobile/default/sounds/menu-click.wav b/2.3-mobile/default/sounds/menu-click.wav new file mode 100644 index 0000000..99ba74d Binary files /dev/null and b/2.3-mobile/default/sounds/menu-click.wav differ diff --git a/2.3-mobile/default/sounds/menu-popup.wav b/2.3-mobile/default/sounds/menu-popup.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/menu-popup.wav differ diff --git a/2.3-mobile/default/sounds/tooltip-popup.wav b/2.3-mobile/default/sounds/tooltip-popup.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/tooltip-popup.wav differ diff --git a/2.3-mobile/default/sounds/window-new.wav b/2.3-mobile/default/sounds/window-new.wav new file mode 100644 index 0000000..cac3185 Binary files /dev/null and b/2.3-mobile/default/sounds/window-new.wav differ diff --git a/2.3-mobile/tizen.edc b/2.3-mobile/tizen.edc new file mode 100644 index 0000000..4a50dd2 --- /dev/null +++ b/2.3-mobile/tizen.edc @@ -0,0 +1,174 @@ +/* + * 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. + */ + +// 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!!!! +// This file can be shared and used for different resolution. (HD, WVGA) +//****************************************************************************************// + +// Include INC (e.g. HD-inc.edc, HVGA-inc.edc for each resolution) file +#include TIZEN_TMP_INC + +externals { + external: "elm"; + external: "feedback"; +} + +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, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + } + /* + group { name: "elm/focus_highlight/top/default"; + images { + image: "00_focus_01.#.png" COMP; + } + data { + item: "animate" "off"; + } + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + visible: 0; + } + } + part { name: "shine"; + type: IMAGE; + mouse_events: 0; + repeat_events: 1; + ignore_flags: ON_HOLD; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.offset: -4 -4; + rel2.offset: 4 4; + image.normal: "00_focus_01.#.png"; + color_class: "W161"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } + } */ + +#include "widgets/bg.edc" +#include "widgets/button.edc" +#include "widgets/conform.edc" +#include "widgets/ctxpopup.edc" +#include "widgets/datetime.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/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" + + color_classes { + color_class { + name: "transparent"; + color: 0 0 0 0; + } + } +} + diff --git a/2.3-mobile/widgets/bg.edc b/2.3-mobile/widgets/bg.edc new file mode 100644 index 0000000..2ad4172 --- /dev/null +++ b/2.3-mobile/widgets/bg.edc @@ -0,0 +1,105 @@ +/* + * 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. + */ + + +group { name: "elm/bg/base/default"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B0211"; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + + } +} + +group { name: "elm/bg/base/transparent"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/bg/base/indicator/default"; + alias: "elm/bg/base/indicator/headerbg"; + alias: "elm/bg/base/indicator/translucent"; + + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B011"; + } + } + } +} + +group { name: "elm/bg/base/indicator/transparent"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/2.3-mobile/widgets/button.edc b/2.3-mobile/widgets/button.edc new file mode 100755 index 0000000..0634e24 --- /dev/null +++ b/2.3-mobile/widgets/button.edc @@ -0,0 +1,4039 @@ +/* + * 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. + */ + +group { name: "elm/button/base/default"; + script { + public mouse_down = 0; + public multi_down = 0; + public text_visible = 0; + public disabled = 0; + } + images { + set { + name: "core_list_button_bg.#"; + image { + image: SMALL"images/Controls/core_list_button_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_list_button_bg.#.png" COMP; + } + } + } + parts { + part { name: "base"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: BUTTON_MIN_WIDTH BUTTON_MIN_HEIGHT; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "core_list_button_bg.#"; + color_class: "W012"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: (BUTTON_PADDING_LEFT_RIGHT + BUTTON_PADDING_ICON_RIGHT + BUTTON_ICON_DEFAULT_WIDTH) BUTTON_ICON_DEFAULT_HEIGHT; + max: (BUTTON_PADDING_LEFT_RIGHT + BUTTON_PADDING_ICON_RIGHT + BUTTON_ICON_DEFAULT_WIDTH) BUTTON_ICON_DEFAULT_HEIGHT; + fixed: 1 1; + } + } + part { name: "icon_text_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + min: BUTTON_PADDING_ICON_RIGHT BUTTON_ICON_DEFAULT_HEIGHT; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_DEFAULT_WIDTH BUTTON_ICON_DEFAULT_HEIGHT; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "icon_text_padding"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "icon_text_padding"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + visible: 1; + min: BUTTON_ICON_DEFAULT_WIDTH BUTTON_ICON_DEFAULT_HEIGHT; + max: BUTTON_ICON_DEFAULT_WIDTH BUTTON_ICON_DEFAULT_HEIGHT; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "W012i"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012iP"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012iD"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "button_main"; + min: 1 0; + max: 1 0; + } + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_main_dim"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(text_visible, 1); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + if(get_int(disabled) == 0) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(text_visible, 0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "invisible", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + set_state(PART:"icon_rect", "visible", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + /* This transparent button style is used by applications which use webview. */ + group{ name: "elm/button/base/transparent"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "event"; + type: RECT; + scale: 1; + /* Do not remove the following line. + * elm.swallow.content part should receive mouse events. */ + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,unpress", ""); + } + } + } + program { name: "clicked"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,click", ""); + } + } + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group{ name: "elm/button/base/datetime"; + inherit: "elm/button/base/default"; + parts { + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 0; + max: DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + align: 0.0 0.5; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC 0; + max: DATETIME_FIELD_BUTTON_LEFT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + align: 1.0 0.5; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 0 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + text { + style: "button_date"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "button_date_press"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "button_date_dim"; + } + } + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// +#define BUTTON_ICON_STYLES(style_name, image_normal, style_normal , style_press , style_dim ,min_width, min_height) \ + group { name: "elm/button/base/"style_name; \ + images { \ + image: image_normal COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "button_image"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: min_width min_height; \ + max: min_width min_height; \ + } \ + } \ + part { name: "button_center_part"; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + image.normal: image_normal; \ + color_class: style_normal; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: style_press; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: style_dim; \ + } \ + } \ + part { name: "over1"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "button_image"; \ + rel2.to: "button_image"; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over1"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + run_program(PROGRAM:"button_press2"); \ + } \ + } \ + } \ + program { name: "button_press2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_press_anim"; \ + } \ + program { name: "button_press_anim"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "key_press"; \ + signal: "elm,action,pressed"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "key_unpress"; \ + signal: "elm,action,unpressed"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over2"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + run_program(PROGRAM:"button_unpress2"); \ + run_program(PROGRAM:"button_unpress_anim"); \ + } \ + } \ + } \ + program { name: "button_unpress2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + } \ + program { name: "button_unpress_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_center_part"; \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over2"; \ + script { \ + if (get_int(multi_down) == 0) { \ + run_program(PROGRAM:"touch_sound"); \ + run_program(PROGRAM:"button_click2"); \ + } \ + } \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } \ + program { name: "button_click2"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + target: "button_center_part"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } + +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_ICON_STYLES("icon_reorder", "core_button_reorder.png", "F060L1" ,"F060L1P" , "F060L1D" , BUTTON_ICON_WIDTH , BUTTON_ICON_HEIGHT) +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_ICON_STYLES("icon_expand_add", "core_button_add.png", "F060L2" , "F060L2P", "F060L2D", BUTTON_ICON_WIDTH , BUTTON_ICON_HEIGHT) +/////////////////////////////////////////////////////////////////////////////////////// + BUTTON_ICON_STYLES("icon_expand_delete", "core_button_delete.png", "F060L3" , "F060L3P" ,"F060L3D", BUTTON_ICON_WIDTH , BUTTON_ICON_HEIGHT) + +group { name: "elm/button/base/bottom"; + script { + public mouse_down = 0; + public multi_down = 0; + public text_visible = 0; + public disabled = 0; + } + images { + set { + name: "core_button_bg.#"; + image { + image: SMALL"images/Controls/core_button_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_button_bg.#.png" COMP; + } + } + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_MIN_WIDTH BUTTON_BOTTOM_MIN_HEIGHT; + max: BUTTON_MAX_WIDTH BUTTON_BOTTOM_MIN_HEIGHT; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "core_button_bg.#"; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_BOTTOM_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_BOTTOM_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: (BUTTON_ICON_HEIGHT + BUTTON_BOTTOM_PADDING_LEFT_RIGHT) BUTTON_ICON_WIDTH; + max: (BUTTON_ICON_HEIGHT + BUTTON_BOTTOM_PADDING_LEFT_RIGHT) BUTTON_ICON_WIDTH; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + visible: 1; + fixed: 1 1; + min: BUTTON_ICON_HEIGHT BUTTON_ICON_WIDTH; + max: BUTTON_ICON_HEIGHT BUTTON_ICON_WIDTH; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + visible: 1; + min: BUTTON_ICON_HEIGHT BUTTON_ICON_WIDTH; + max: BUTTON_ICON_HEIGHT BUTTON_ICON_WIDTH; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "button_bottom"; + max: 1 0; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_bottom_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_bottom_dim"; + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F032L3"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L3P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L3D"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.swallow.content.clip", "pressed", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.swallow.content.clip", "default", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(text_visible, 1); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + if(get_int(disabled) == 0) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_int(text_visible, 0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "invisible", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + set_state(PART:"icon_rect", "visible", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"elm.swallow.content.clip", "disabled", 0.0); + if ( get_int(text_visible) == 1) + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.swallow.content.clip", "default", 0.0); + if (get_int(text_visible) == 1) + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +group { name: "elm/button/base/popup"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + set { + name: "core_button_bg.#"; + image { + image: SMALL"images/Controls/core_button_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_button_bg.#.png" COMP; + } + } + + } + parts { + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_MIN_WIDTH BUTTON_BOTTOM_MIN_HEIGHT; + max: BUTTON_MAX_WIDTH BUTTON_BOTTOM_MIN_HEIGHT; + image.normal: "core_button_bg.#"; + color_class: "W011E1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 0 ; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "core_button_bg.#"; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + style: "button_popup"; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_popup_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_popup_dim"; + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"base", "pressed", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"base", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +group { name: "elm/button/base/circle"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + set { + name: "core_icon_container"; + image { + image: SMALL"images/Controls/core_icon_container.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_icon_container.png" COMP; + } + } + } + parts { + part { name: "background"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_LABEL_SIZE; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_CIRCLE_TOP_PADDING_HEIGHT; + fixed: 0 1; + align: 0.5 0.0; + rel1.to : "background"; + rel2.relative: 1.0 0.0; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 0; + fixed: 1 0; + align: 0.0 0.0; + rel1.to: "background"; + rel2 { + to: "background"; + relative: 0.0 1.0; + } + } + } + part{ name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_LEFT_RIGHT_PADDING_WIDTH 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { + to: "background"; + relative: 1.0 0.0; + } + rel2.to: "background"; + } + } + part { name: "base"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_SIZE; + max: BUTTON_CIRCLE_SIZE; + rel1 { + relative: 0.0 1.0; + to_y: "top_padding"; + } + align: 0.5 0.0; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "core_icon_container"; + color_class: "W015L6"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W015L6P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W015L6D"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.icon.clipper"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CIRCLE_ICON_SIZE; + max: BUTTON_CIRCLE_ICON_SIZE; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "F032L3"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L3P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L3D"; + } + } + part { name: "mid_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT; + max: -1 BUTTON_CIRCLE_MIDDDLE_PADDING_HEIGHT; + fixed: 0 1; + rel1 { + to_y : "base"; + relative: 0.0 1.0; + } + align: 0.5 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_CIRCLE_TEXT_HEIGHT; + max: -1 BUTTON_CIRCLE_TEXT_HEIGHT; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "mid_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding"; + to_y: "bottom_padding"; + } + text { + min: 0 1; + align: 0.5 0.0; + style: "button_circle"; + } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_CIRCLE_BOTTOM_PADDING_HEIGHT; + rel2.to : "background"; + rel1.relative: 0.0 1.0; + fixed: 0 1; + align: 0.0 1.0; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to:"background"; + rel2.to:"background"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.icon.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.icon.clipper"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +group { name: "elm/button/base/contacts"; + data { + item: "focus_highlight" "on"; + } + images { + set { + name: "core_list_button_bg.#"; + image { + image: SMALL"images/Controls/core_list_button_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_list_button_bg.#.png" COMP; + } + } + } + script { + public button_state = 0; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_image_base"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: 0 BUTTON_MIN_HEIGHT; + max: -1 BUTTON_MIN_HEIGHT; + } + } + part { name: "button_image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "button_image_base"; + rel2.to: "button_image_base"; + image.normal: "core_list_button_bg.#"; + color_class: "W012"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012D"; + } + } + part { name: "padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 0; + rel1 { + to: "button_image_base"; + } + rel2 { + relative: 0.0 1.0; + to: "button_image_base"; + } + align: 0.0 0.0; + } + } + part { name: "padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_PADDING_LEFT_RIGHT 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "button_image_base"; + } + rel2 { + to: "button_image_base"; + } + align: 1.0 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to: "padding.left"; + } + rel2 { + relative: 0.0 1.0; + to: "padding.right"; + } + text { + style: "button_contacts"; + min: 1 1; + max: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "visible" 0.0; + text { + style: "button_contacts_press"; + min: 1 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + text { + style: "button_contacts_dim"; + min: 1 1; + max: 1 1; + } + } + } + part { name: "over1"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "button_image_base"; + rel2.to: "button_image_base"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "button_image_base"; + rel2.to: "button_image_base"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "button_image_base"; + rel2.to: "button_image_base"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over3"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "pressed", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "pressed") ) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if (get_int(button_state) != 1) + set_state(PART:"button_image", "default", 0.0); + run_program(PROGRAM:"button_unpress2"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over3"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + if (get_int(button_state) != 1) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, 0); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/naviframe/title"; + alias: "elm/button/base/naviframe/back_btn/default"; + alias: "elm/button/base/naviframe/prev_btn/default"; + alias: "elm/button/base/naviframe/end_btn/default"; + alias: "elm/button/base/naviframe/more/default"; + script { + public mouse_down = 0; + public multi_down = 0; + public check_disabled = 0; + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC; + fixed: 1 1; + } + } + part { name: "button_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "button_bg_clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + fixed: 1 1; + } + } + part { name: "button_bg_clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button_bg"; + rel2.to: "button_bg"; + color_class: "B0541"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0541P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0541D"; + } + } + part { name: "button_icon"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + fixed: 1 1; + color_class: "B0561L1"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"button_bg_clipper", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + emit("elm,action,click", ""); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_bg_clipper"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_bg_clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_bg_clipper"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_bg_clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/naviframe/title_done"; + inherit: "elm/button/base/naviframe/title"; + images { + set { + name: "core_title_button_bg"; + image { + image: SMALL"images/Navigation_elements/core_title_button_bg.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_title_button_bg.png" COMP; + } + } + set { + name: "core_title_icon_done"; + image { + image: SMALL"images/Navigation_elements/core_title_icon_done.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_title_icon_done.png" COMP; + } + } + } + parts { + part { name: "button_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "button_bg_clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + fixed: 1 1; + image.normal: "core_title_button_bg"; + color_class: "B0541"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0541P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0541D"; + } + } + part { name: "button_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "core_title_icon_done"; + color_class: "B0561L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0561L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0561L1D"; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(check_disabled) == 0) && (get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + set_state(PART:"button_bg", "pressed", 0.0); + set_state(PART:"button_icon", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if ((get_int(check_disabled) == 0) && (get_int(mouse_down) == 1)) + { + set_int(mouse_down, 0); + set_state(PART:"button_bg_clipper", "default", 0.0); + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if ((get_int(check_disabled) == 0) && (get_int(multi_down) == 0)) { + run_program(PROGRAM:"play_sound"); + emit("elm,action,click", ""); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + if (get_int(check_disabled) == 0) + { + set_state(PART:"button_bg", "pressed", 0.0); + set_state(PART:"button_icon", "pressed", 0.0); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + } + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + if (get_int(check_disabled) == 0) + { + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + set_state(PART:"button_bg_clipper", "default", 0.0); + } + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + set_state(PART:"button_bg_clipper", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + set_state(PART:"button_bg", "disabled", 0.0); + set_state(PART:"button_icon", "disabled", 0.0); + set_state(PART:"button_bg_clipper", "disabled", 0.0); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/naviframe/title_cancel"; + inherit: "elm/button/base/naviframe/title"; + images { + set { + name: "core_title_button_bg"; + image { + image: SMALL"images/Navigation_elements/core_title_button_bg.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_title_button_bg.png" COMP; + } + } + set { + name: "core_title_icon_cancel"; + image { + image: SMALL"images/Navigation_elements/core_title_icon_cancel.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_title_icon_cancel.png" COMP; + } + } + } + parts { + part { name: "button_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "button_bg_clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC; + fixed: 1 1; + image.normal: "core_title_button_bg"; + color_class: "B0541"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0541P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0541D"; + } + } + part { name: "button_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + max: BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "core_title_icon_cancel"; + color_class: "B0562L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0562L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0562L1D"; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(check_disabled) == 0) && (get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + set_state(PART:"button_bg", "pressed", 0.0); + set_state(PART:"button_icon", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if ((get_int(check_disabled) == 0) && (get_int(mouse_down) == 1)) + { + set_int(mouse_down, 0); + set_state(PART:"button_bg_clipper", "default", 0.0); + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if ((get_int(check_disabled) == 0) && (get_int(multi_down) == 0)) { + run_program(PROGRAM:"play_sound"); + emit("elm,action,click", ""); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + script { + if (get_int(check_disabled) == 0) + { + set_state(PART:"button_bg", "pressed", 0.0); + set_state(PART:"button_icon", "pressed", 0.0); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + } + } + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + script { + if (get_int(check_disabled) == 0) + { + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + set_state(PART:"button_bg_clipper", "default", 0.0); + } + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + set_state(PART:"button_bg", "default", 0.0); + set_state(PART:"button_icon", "default", 0.0); + set_state(PART:"button_bg_clipper", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + set_state(PART:"button_bg", "disabled", 0.0); + set_state(PART:"button_icon", "disabled", 0.0); + set_state(PART:"button_bg_clipper", "disabled", 0.0); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/naviframe/drawers"; + images { + set { + name: "core_icon_drawer"; + image { + image: SMALL"images/Navigation_elements/core_icon_drawer.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_icon_drawer.png" COMP; + } + } + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "button_bg_clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 0; + max: BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC -1; + fixed: 1 0; + } + } + part { name: "button_bg_clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button_bg"; + rel2.to: "button_bg"; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F043P"; + visible: 1; + } + } + part { name: "button_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "button_icon_clipper"; + description { state: "default" 0.0; + min: BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC; + max: BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { to: "button_bg"; relative: 0.0 0.0; } + rel2 { to: "button_bg"; relative: 0.0 1.0; } + image.normal: "core_icon_drawer"; + } + } + part { name: "button_icon_clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button_icon"; + rel2.to: "button_icon"; + color_class: "F043L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F043L1iD"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "button_bg"; + rel2.to: "button_bg"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "button_bg"; + rel2.to: "button_bg"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "button_bg"; + rel2.to: "button_bg"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_state(PART:"button_bg_clipper", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"button_bg_clipper", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "key_press"; + signal: "elm,action,pressed"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "button_bg_clipper"; + } + program { name: "key_unpress"; + signal: "elm,action,unpressed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_bg_clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_icon_clipper"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_icon_clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +// FIXME: style for focus UI (and temporally, for ctxpopup) +// This style should have focus image for "focus_image" part after the image is added +#define BUTTON_DEFAULT_FOCUS_STYLES(style_name) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + type: RECT; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + color_class: "transparent"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over3"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over2"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + emit("elm,action,press", ""); \ + } \ + } \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over3"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + emit("elm,action,unpress", ""); \ + } \ + } \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over2"; \ + script { \ + if (get_int(multi_down) == 0) { \ + emit("elm,action,click", ""); \ + } \ + } \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } \ + +BUTTON_DEFAULT_FOCUS_STYLES("focus") + + group { name: "elm/button/base/editfield_clear"; + alias: "elm/button/base/search_clear"; + images { + set { + name: "core_button_icon_clear"; + image { + image: SMALL"images/Content_views/core_button_icon_clear.png" COMP; + } + image { + image: MEDIUM"images/Content_views/core_button_icon_clear.png" COMP; + } + } + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "clear_button"; + scale: 1; + mouse_events: 0; + clip_to: "clear_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + image.normal: "core_button_icon_clear"; + } + } + part { name: "clear_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "F053"; + } + description { state: "pressed" 0.0; + color_class: "F053P"; + } + description { state: "disabled" 0.0; + color_class: "F053D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/option"; + images { + set { + name: "core_title_icon_option"; + image { + image: SMALL"images/Content_views/core_title_icon_option.png" COMP; + } + image { + image: MEDIUM"images/Content_views/core_title_icon_option.png" COMP; + } + } + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_OPTION_MIN_MAX_INC; + max: BUTTON_OPTION_MIN_MAX_INC; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "option_button"; + scale: 1; + mouse_events: 0; + clip_to: "option_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_OPTION_IMAGE_MIN_MAX_INC; + max: BUTTON_OPTION_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + image.normal: "core_title_icon_option"; + } + } + part { name: "option_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B0563L1"; + } + description { state: "pressed" 0.0; + color_class: "B0563L1P"; + } + description { state: "disabled" 0.0; + color_class: "B0563L1D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "option_button.clipper"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "option_button.clipper"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + target: "option_button.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + target: "option_button.clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/datetime/ampm"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_AMPM_BUTTON_SIZE_INC; + max: DATETIME_AMPM_BUTTON_SIZE_INC; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC; + max: -1 DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 1.0 0.0; + } + } + } + part { name: "pressed_area"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC; + max: DATETIME_AMPM_BUTTON_PRESSED_AREA_SIZE_INC; + color_class: "transparent"; + align: 0.5 0.0; + fixed: 1 1; + rel1 { + to: "top_padding"; + relative: 0.0 1.0; + } + rel2 { + to: "top_padding"; + relative: 1.0 1.0; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + visible: 1; + rel1.to: "pressed_area"; + rel2.to: "pressed_area"; + fixed: 1 1; + text { + style: "button_ampm"; + min: 1 0; + max: 1 0; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "button_ampm_press"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "button_ampm_dim"; + } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC; + max: -1 DATETIME_AMPM_BUTTON_TOP_BOTTOM_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + to: "pressed_area"; + relative: 0.0 1.0; + } + rel2.to: "bg"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_state(PART:"pressed_area", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"pressed_area", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + emit("elm,action,click", ""); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "pressed_area"; + target: "elm.text"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "pressed_area"; + target: "elm.text"; + target: "disabler"; + } + } + } + +/******************* SPINNER BUTTONS STYLES **********************/ + + group { name: "elm/button/base/spinner/increase/default"; + alias: "elm/button/base/spinner/increase/horizontal"; + data.item: "focus_highlight" "on"; + images { + image: "core_icon_picker_arrow_right.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "arrow.image.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "core_icon_picker_arrow_right.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + part { name: "focus_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over"; + script { + if ((get_int(multi_down) == 0) && + (get_int(mouse_down) == 0)) { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "longpress_sound"; + signal: "elm,action,longpress"; + source: "elm"; + action: RUN_PLUGIN "touch_haptic"; + } + program { name: "action_unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "button_unpress_anim"; + } + program { name: "action_pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "button_press_anim"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "access_pressed"; + signal: "elm,action,anim,activate"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + after: "access_pressed_anim"; + } + program { name: "access_pressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.1; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/spinner/decrease/default"; + inherit: "elm/button/base/spinner/increase/default"; + alias: "elm/button/base/spinner/decrease/horizontal"; + images { + image: "core_icon_picker_arrow_left.png" COMP; + } + parts { + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "core_icon_picker_arrow_left.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + } + } + + group { name: "elm/button/base/spinner/default"; + alias: "elm/button/base/spinner/horizontal"; + data.item: "focus_highlight" "on"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T1233"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + text { + min: 0 0; + max: 1 0; + text_class: "T1233"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0 0 ; + } + } + part { name: "focus_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "elm.text"; + } + } + } + +///////////////////////// +// Vertical ///////////// +///////////////////////// + group { name: "elm/button/base/spinner/increase/vertical"; + alias: "elm/button/base/spinner/increase/vertical_date_picker"; + alias: "elm/button/base/spinner/increase/datetime"; + data.item: "focus_highlight" "on"; + images { + image: "core_icon_picker_arrow_up.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "arrow.image.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B042"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "core_icon_picker_arrow_up.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + part { name: "focus_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over"; + script { + if ((get_int(multi_down) == 0) && + (get_int(mouse_down) == 0)) { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "longpress_sound"; + signal: "elm,action,longpress"; + source: "elm"; + action: RUN_PLUGIN "touch_haptic"; + } + program { name: "action_unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "button_unpress_anim"; + } + program { name: "action_pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "button_press_anim"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "access_pressed"; + signal: "elm,action,anim,activate"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + after: "access_pressed_anim"; + } + program { name: "access_pressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.1; + target: "arrow.image.bg"; + target: "arrow.image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow.image.bg"; + target: "arrow.image"; + target: "disabler"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/spinner/decrease/vertical"; + inherit: "elm/button/base/spinner/increase/vertical"; + alias: "elm/button/base/spinner/decrease/vertical_date_picker"; + alias: "elm/button/base/spinner/decrease/datetime"; + images { + image: "core_icon_picker_arrow_down.png" COMP; + } + parts { + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; + color_class: "F032L1"; + image.normal: "core_icon_picker_arrow_down.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "F032L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F032L1D"; + } + } + } + } + + group { name: "elm/button/base/spinner/vertical"; + data.item: "focus_highlight" "on"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T1233"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + text { + min: 0 0; + max: 1 0; + text_class: "T1233"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0 0 ; + } + } + part { name: "focus_image"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "elm.text"; + } + } + } + +group { name: "elm/button/base/spinner/vertical_date_picker"; + inherit: "elm/button/base/spinner/vertical"; + alias: "elm/button/base/spinner/datetime"; + parts { + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T1233"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + text { + min: 0 0; + max: 1 0; + text_class: "T1233"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} +/***********************SPINNER BUTTONS STYLES******************************/ diff --git a/2.3-mobile/widgets/check.edc b/2.3-mobile/widgets/check.edc new file mode 100644 index 0000000..ddc117b --- /dev/null +++ b/2.3-mobile/widgets/check.edc @@ -0,0 +1,854 @@ +/* + * 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. + */ +group { name: "elm/check/base/default"; + images { + set { + name: "core_check_bg"; + image { + image: SMALL"images/Controls/core_check_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_check_bg.png" COMP; + } + } + set { + name: "core_check_bg_stroke"; + image { + image: SMALL"images/Controls/core_check_bg_stroke.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_check_bg_stroke.png" COMP; + } + } + set { + name: "core_check_icon"; + image { + image: SMALL"images/Controls/core_check_icon.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_check_icon.png" COMP; + } + } + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_BG_SIZE; + align: 0.0 0.5; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_bg"; + color_class: "W013L1E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W013L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L1D"; + } + } + part { name: "bg_stroke"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_BG_STROKE_SIZE; + align: 0.0 0.5; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_bg_stroke"; + color_class: "W013L2E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W013L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L2D"; + } + } + part { name: "check"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_ICON_SIZE; + rel1.to: "bg"; + rel1.relative: 0.125 0.125; + rel2.to: "bg"; + rel2.relative: 0.875 0.875; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_icon"; + color_class:"W013L1i"; + visible:0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class:"W013L1iD"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + emit("elm,action,check,toggle", ""); + run_program(PROGRAM:"touch_sound"); + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"check", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"check", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"check", "on", 0.0); + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"check", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + set_state(PART:"check", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + if (get_int(check_state) == 1) { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + set_state(PART:"check", "on", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + set_state(PART:"check", "default", 0.0); + } + } + } + } +} + +group { name: "elm/check/base/list"; + images { + image: "core_check_bg.png" COMP; + image: "core_check_bg_stroke.png" COMP; + image: "core_check_icon.png" COMP; + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_BG_SIZE; + align: 0.0 0.5; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_bg.png"; + color_class: "W013L1E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W013L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L1D"; + } + } + part { name: "bg_stroke"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_BG_STROKE_SIZE; + align: 0.0 0.5; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_bg_stroke.png"; + color_class: "W013L2E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W013L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L2D"; + } + } + part { name: "check"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_ICON_SIZE; + rel1.to: "bg"; + rel1.relative: 0.125 0.125; + rel2.to: "bg"; + rel2.relative: 0.875 0.875; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_check_icon.png"; + color_class:"W013L1i"; + visible:0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class:"W013L1iD"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"check", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"check", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"check", "on", 0.0); + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"check", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + set_state(PART:"check", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + if (get_int(check_state) == 1) { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + set_state(PART:"check", "on", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + set_state(PART:"check", "default", 0.0); + } + } + } + } +} + +group { name: "elm/check/base/favorite"; + images { + set { + name: "core_icon_favorite"; + image { + image: SMALL"images/Controls/core_icon_favorite.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_icon_favorite.png" COMP; + } + } + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_BG_SIZE ; + max: CHECK_BG_SIZE ; + image.normal: "core_icon_favorite"; + color_class: "W016L1iE1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W016L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W016L1iD"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + emit("elm,action,check,toggle", ""); + run_program(PROGRAM:"touch_sound"); + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"bg", "on", 0.0); + else + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"bg", "on", 0.0); + else + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + set_state(PART:"bg", "on", 0.0); + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + set_state(PART:"bg", "disabled", 0.0); + else + set_state(PART:"bg", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + if (get_int(check_state) == 1) + set_state(PART:"bg", "on", 0.0); + else + set_state(PART:"bg", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + if (get_int(check_state) == 1) + set_state(PART:"bg", "on", 0.0); + else + set_state(PART:"bg", "default", 0.0); + } + } + } +} + +group { name: "elm/check/base/on&off"; + images { + set { + name: "core_toggle_bg"; + image { + image: SMALL"images/Controls/core_toggle_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_toggle_bg.png" COMP; + } + } + set { + name: "core_toggle_icon_off"; + image { + image: SMALL"images/Controls/core_toggle_icon_off.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_toggle_icon_off.png" COMP; + } + } + set { + name: "core_toggle_icon_on"; + image { + image: SMALL"images/Controls/core_toggle_icon_on.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_toggle_icon_on.png" COMP; + } + } + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: CHECK_GEN_SIZE; + max: CHECK_GEN_SIZE; + } + } + part { name: "bg_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "core_toggle_bg"; + color_class: "W015L1E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W015L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W015L1D"; + } + } + part { name: "button"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: CHECK_SIZE ; + max: CHECK_SIZE ; + rel1.to: "bg_image"; + rel2.to: "bg_image"; + image.normal: "core_toggle_icon_off"; + color_class: "W015L1i"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + image.normal: "core_toggle_icon_on"; + color_class: "W015L1i"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + emit("elm,action,check,toggle", ""); + run_program(PROGRAM:"touch_sound"); + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"bg_image", "on", 0.0); + set_state(PART:"button", "on", 0.0); + } + else { + set_state(PART:"bg_image", "default", 0.0); + set_state(PART:"button", "default", 0.0); + } + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) { + set_state(PART:"bg_image", "on", 0.0); + set_state(PART:"button", "on", 0.0) + } + else { + set_state(PART:"bg_image", "default", 0.0); + set_state(PART:"button", "default", 0.0); + } + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + set_state(PART:"bg_image", "disabled", 0.0); + else + set_state(PART:"bg_image", "on", 0.0); + set_state(PART:"button", "on", 0.0) + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + set_state(PART:"bg_image", "disabled", 0.0); + else + set_state(PART:"bg_image", "default", 0.0); + set_state(PART:"button", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(check_disabled, 1); + set_state(PART:"bg_image", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(check_disabled, 0); + if (get_int(check_state) == 1) + set_state(PART:"bg_image", "on", 0.0); + else + set_state(PART:"bg_image", "default", 0.0); + } + } + } +} + +group { name: "elm/check/base/popup"; + inherit: "elm/check/base/default"; + parts { + part { name: "padding_before_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: 0 0; + rel1 { + to_x: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: CHECK_PAD_BEFORE_TEXT_INC; + max: CHECK_PAD_BEFORE_TEXT_INC; + fixed: 1 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + rel1 { + relative: 1.0 0.5; + to_x: "padding_before_text"; + } + rel2 { + relative: 1.0 0.5; + } + align: 0.0 0.5; + text { + style: "check_popup"; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text { + style: "check_popup_dim"; + min: 1 1; + } + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "padding_before_text"; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "padding_before_text"; + target: "elm.text"; + } + } + } diff --git a/2.3-mobile/widgets/colorselector.edc b/2.3-mobile/widgets/colorselector.edc new file mode 100644 index 0000000..c24dcff --- /dev/null +++ b/2.3-mobile/widgets/colorselector.edc @@ -0,0 +1,312 @@ +/* + * 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. + */ + +group { + name: "elm/colorselector/palette/colorplane"; + alias: "elm/colorselector/palette/default"; + data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_COLORPLANE_INC; + data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_COLORPLANE_INC; + + parts { + part { name: "base"; + type: SPACER; + description { state: "default" 0.0; + align: 0.0 0.0; + min: COLORSELECTOR_PALETTE_COLORPLANE_WIDTH_INC COLORSELECTOR_PALETTE_COLORPLANE_HEIGHT_INC; + max: -1 -1; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + to: "base"; + } + align: 0.0 0.0; + } + } + part { name: "palette"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to_y: "top_padding"; + } + rel2.to_y: "top_padding"; + } + } + part{ name: "palette_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 COLORSELECTOR_TOPBOTTOM_PAD_COLORPLANE_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "palette"; + } + rel2.to: "palette"; + align: 0.0 0.0; + } + } + } +} + +group { + name: "elm/colorselector/item/colorplane"; + alias: "elm/colorselector/item/default"; + images { + set { + name: "core_color_picker_palette_selected"; + image { + image: SMALL"images/Controls/core_color_picker_palette_selected.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_color_picker_palette_selected.png" COMP; + } + } + set { + name: "core_color_picker_palette_selected_bg"; + image { + image: SMALL"images/Controls/core_color_picker_palette_selected_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_color_picker_palette_selected_bg.png" COMP; + } + } + set { + name: "core_color_picker_color_shadow"; + image { + image: SMALL"images/Controls/core_color_picker_color_shadow.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_color_picker_color_shadow.png" COMP; + } + } + set { + name: "core_color_picker_palette_focused"; + image { + image: SMALL"images/Controls/core_color_picker_palette_focused.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_color_picker_palette_focused.png" COMP; + } + } + } + parts { + part { + name: "color_bg"; + type: SPACER; + mouse_events:1; + scale: 1; + description { + state: "default" 0.0; + min: COLORSELECTOR_PALETTE_COLORBG_MIN_COLORPLANE_INC; + } + } + part { name: "color_obj"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + } + part { + name: "color_shadow"; + type: IMAGE; + mouse_events: 0; + description{ + state: "default" 0.0; + image.normal: "core_color_picker_color_shadow"; + rel1.to: "color_obj"; + rel2.to: "color_obj"; + } + } + part { + name: "selected_bg_image"; + type: IMAGE; + mouse_events: 0; + description{ + state: "default" 0.0; + visible: 0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + image.normal: "core_color_picker_palette_selected_bg"; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W162"; + } + } + part { + name: "selected_image"; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "color_bg"; + offset: -1 -1; + } + rel2 { + to: "color_bg"; + offset: 0 0; + } + image.normal: "core_color_picker_palette_selected"; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W162L1"; + } + } + part { name: "over1"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + color: 0 0 0 0; + } + } + part { name: "highlight"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image.normal: "core_color_picker_palette_focused"; + color_class: "W161"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_select"; + source: "elm"; + signal: "elm,state,selected"; + script { + set_state(PART:"selected_image", "selected", 0.0); + set_state(PART:"selected_bg_image", "selected", 0.0); + emit("elm,state,up", ""); + } + } + program { name: "item_unselect"; + source: "elm"; + signal: "elm,state,unselected"; + script { + set_state(PART:"selected_image", "default", 0.0); + set_state(PART:"selected_bg_image", "default", 0.0); + } + } + program { name: "item_down"; + signal: "mouse,down,1"; + source: "over1"; + script { + emit("elm,state,down", ""); + } + } + program { name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "over1"; + script { + set_state(PART:"selected_image", "selected", 0.0); + set_state(PART:"selected_bg_image", "selected", 0.0); + emit("elm,state,up", ""); + } + } + program { name: "item_unfocus_all"; + source: "elm"; + signal: "elm,state,unhighlight"; + script { + set_state(PART:"selected_image", "default", 0.0); + set_state(PART:"selected_bg_image", "default", 0.0); + } + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "highlighted" 0.0; + target: "highlight"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + program { name: "touch_sound_over1"; + signal: "mouse,clicked,1"; + source: "over1"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { + name: "elm/colorselector/item/color/colorplane"; + alias: "elm/colorselector/item/color/colorplane_landscape"; + alias: "elm/colorselector/item/color/default"; + images { + set { + name: "core_color_picker_palette"; + image { + image: SMALL"images/Controls/core_color_picker_palette.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_color_picker_palette.png" COMP; + } + } + } + parts { + part { + name: "color_image"; + type: IMAGE; + mouse_events: 1; + scale: 1; + description{ + state: "default" 0.0; + image.normal: "core_color_picker_palette"; + } + } + } +} + diff --git a/2.3-mobile/widgets/conform.edc b/2.3-mobile/widgets/conform.edc new file mode 100644 index 0000000..f8c9c8b --- /dev/null +++ b/2.3-mobile/widgets/conform.edc @@ -0,0 +1,586 @@ +/* + * 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. + */ + +// FIXME: scroller UX is not defined yet +// Ho Sang, do it! + +group { name: "elm/conformant/base/default"; + script { + public indicator_effect = 0; //Indicator need effect + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + public indicator_overlap = 0; //check indicator overlap/nooverlap + public clipboard_disable = 0; //check clipboard enable/disable + public keypad_disable = 0; //check virtualkeypad enable/disable + public landscape = 0; //Landscape mode status + public portrait_overlap = 0; //save portrait_overlap mode + public portrait_opacity = 0; //save portrait_opacity + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "indicator_base"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "indicator_overlap_base"; + type: RECT; + description { state: "default" 0.0; //nooverlap + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 0; + } + description { state: "overlap" 0.0; //content start (0,0) + inherit: "default" 0.0; + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; //sip: enable + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.ug"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.dim"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "indicator_event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } + color: 0 0 0 0; + visible: 1; + } + } + part { name: "indicator_clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 -1.0; to: "indicator_base"; } + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "indicator_bg"; + type: RECT; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + color_class: "B031"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + } + part { name: "sip_area"; + type: RECT; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 0; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.swallow.virtualkeypad"; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.swallow.virtualkeypad"; + visible: 0; + } + description { state: "clipboard_on" 0.0; + inherit: "default" 0.0; + rel1.to_y: "elm.swallow.clipboard"; + rel2.to_y: "elm.swallow.clipboard"; + } + } + part { name: "clipboard_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.clipboard"; + rel2.to: "elm.swallow.clipboard"; + color_class: "B0211"; + } + } + part { name: "elm.swallow.clipboard"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "virtualkeypad_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.virtualkeypad"; + rel2.to: "elm.swallow.virtualkeypad"; + color_class: "B0211"; + } + } + part { name: "elm.swallow.virtualkeypad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "show_indicator"; //show indicator using effect + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"indicator_base", "default", 0.0); + //it is possible app call show after opacity call + /////Portrait + if (get_int(landscape) == 0) { + if (get_int(indicator_opacity) == 0) + run_program(PROGRAM:"opaque_state"); + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + } + /////Landscape + else + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"indicator_base", "hide", 0.0); + } + } + program { + name: "show_indicator_transition"; //show indicator using effect + action: STATE_SET "default" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "hide_indicator_transition"; //show indicator using effect + action: STATE_SET "hide" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "show_indicator_effect"; //show indicator using effect + signal: "indicator,show,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"show_indicator_transition"); + } + } + program { + name: "hide_indicator_effect"; //show indicator using effect + signal: "indicator,hide,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"hide_indicator_transition"); + } + } + program { + name: "opaque_state"; + script { + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + set_state(PART:"indicator_clipper", "default", 0.0); + if (get_int(indicator_overlap) == 0) + { + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + else + { + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + } + program { + name: "transparent_state"; + script { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + set_state(PART:"indicator_clipper", "hide", 0.0); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + } + } + + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if ((get_int(indicator_visible) == 1) && (get_int(landscape) == 0)) + run_program(PROGRAM:"opaque_state"); + } + } + program { + name: "transparent_indicator"; + signal: "elm,state,indicator,transparent"; + source: "elm"; + script { + set_int(indicator_opacity, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "overlap_indicator"; + signal: "elm,state,indicator,overlap"; + source: "elm"; + script { + set_int(indicator_overlap, 1); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + program { + name: "nooverlap_indicator"; + signal: "elm,state,indicator,nooverlap"; + source: "elm"; + script { + //Only portrait state get nooverlap mode + set_int(indicator_overlap, 0); + if (get_int(indicator_visible) == 1) + if (get_int(indicator_opacity) == 0) { //only opaque can be nooverlap + if (get_int(landscape) == 0) { //landscape should be overlap + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + } + } + } + program { name: "enable_clipboard"; + signal: "elm,state,clipboard,enable"; + source: ""; + script { + set_int(clipboard_disable, 0); + //set content state + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_clipboard"; + signal: "elm,state,clipboard,disable"; + source: ""; + script { + set_int(clipboard_disable, 1); + set_state(PART:"sip_area", "default", 0.0); + if (get_int(keypad_disable) == 1) + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "enable_virtualkeypad"; + signal: "elm,state,virtualkeypad,enable"; + source: ""; + script { + set_int(keypad_disable, 0); + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_virtualkeypad"; + signal: "elm,state,virtualkeypad,disable"; + source: ""; + script { + set_int(keypad_disable, 1); + if (get_int(clipboard_disable) == 1) + { + set_state(PART:"sip_area", "clipboard_on", 0.0); + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + } + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { + name: "change_to_landscape"; + script { + if (get_int(landscape) == 0) { + set_int(landscape, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape) == 1) { //content start (0, indicator height) + set_int(landscape, 0); + if (get_int(indicator_visible) == 1) { + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + else + run_program(PROGRAM:"opaque_state"); + } + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { + name: "clipboard_on"; + signal: "elm,state,clipboard,on"; + source: "elm"; + action: STATE_SET "clipboard_on" 0.0; + target: "sip_area"; + } + program { + name: "clipboard_off"; + signal: "elm,state,clipboard,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sip_area"; + } + program { name: "indicator_event_down"; + signal: "mouse,down,1"; + source: "indicator_event"; + action: SIGNAL_EMIT "elm,action,press" ""; + } + } +} + +group { name: "elm/conformant/base/without_resize"; + script { + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.indicator_area"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "elm.swallow.indicator_area"; + } + } + part { name: "indicator_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + color_class: "B031"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + } + programs { + program { + name: "show_indicator"; + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"elm.swallow.indicator", "default", 0.0); + if (get_int(indicator_opacity) == 0) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"elm.swallow.indicator", "hide", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + } + } + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if (get_int(indicator_visible) == 1) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + } +} diff --git a/2.3-mobile/widgets/ctxpopup.edc b/2.3-mobile/widgets/ctxpopup.edc new file mode 100644 index 0000000..b96b76e --- /dev/null +++ b/2.3-mobile/widgets/ctxpopup.edc @@ -0,0 +1,3535 @@ +/* + * 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. + */ + +group { + name: "elm/ctxpopup/layout/default"; + alias: "elm/ctxpopup/layout/copypaste"; + + data.item: "visible_maxw" CTXPOPUP_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_ITEM_HEIGHT_MIN*6); + parts { + part { + name:"top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { + state: "show_up" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_down" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_MOVE_PAD 0; + fixed: 1 0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { + state: "show_left" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_MOVE_PAD 0; + fixed: 1 0; + align: 1 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_right" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} + rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} + align: 0.5 0.0; + } + description { + state: "show_down" 0.0; + rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} + rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} + align: 0.5 1.0; + } + description { + state: "show_left" 0.0; + rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} + rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} + align: 0.0 0.5; + } + description { + state: "show_right" 0.0; + rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} + rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} + align: 1.0 0.5; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + rel1 {to: "swallow"; relative: -0.2 -0.2; } + rel2 {to: "swallow"; relative: 1.2 1.2;} + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + set_state(PART:"top_padding", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "showdown"; + signal: "elm,state,show,down"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_down")) { + set_state(PART:"swallow", "show_down", 0.0); + set_state(PART:"bottom_padding", "show_down", 0.0); + } + } + after: "showdownend"; + } + program { + name: "showleft"; + signal: "elm,state,show,left"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_left")) { + set_state(PART:"swallow", "show_left", 0.0); + set_state(PART:"left_padding", "show_left", 0.0); + } + } + after: "showleftend"; + } + program { + name: "showright"; + signal: "elm,state,show,right"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_right")) { + set_state(PART:"swallow", "show_right", 0.0); + set_state(PART:"right_padding", "show_right", 0.0); + } + } + after: "showrightend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 0.5; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "top_padding"; + } + program { + name: "showdownend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "bottom_padding"; + } + program { + name: "showleftend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "left_padding"; + } + program { + name: "showrightend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "right_padding"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + target: "top_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hidedown"; + signal: "elm,state,hide,down"; + source: "elm"; + action: STATE_SET "show_down" 0.0; + target: "swallow"; + target: "bottom_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hideleft"; + signal: "elm,state,hide,left"; + source: "elm"; + action: STATE_SET "show_left" 0.0; + target: "swallow"; + target: "left_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hideright"; + signal: "elm,state,hide,right"; + source: "elm"; + action: STATE_SET "show_right" 0.0; + target: "swallow"; + target: "right_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; + transition: SIN_FAC 0.13 0.5; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + target: "top_padding"; + target: "bottom_padding"; + target: "left_padding"; + target: "right_padding"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/default"; + inherit: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" CTXPOPUP_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_ITEM_HEIGHT_MIN*4); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/copypaste"; + inherit: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" (CTXPOPUP_COPYPASTE_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC*2); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/more/default"; + + data.item: "visible_maxw" CTXPOPUP_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_ITEM_HEIGHT_MIN*6); + + parts { + part { + name: "swallow"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1.relative: 0.0 1.0; + align: 0.5 0.0; + } + description { + state: "visible" 0.0; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "transition_finished"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.3 1.7; + target: "swallow"; + after:"transition_finished"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + transition: SIN_FAC 0.1 1.1; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/more/default"; + inherit: "elm/ctxpopup/layout/more/default"; + + data.item: "visible_maxw" CTXPOPUP_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_ITEM_HEIGHT_MIN*4); + +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/more/default"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color_class: "B016"; + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "event_blocker"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { + state: "visible" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "transition_finished"; + in: 0.5 0.0; + action: STATE_SET "visible" 0.0; + target: "event_blocker"; + } + program { + name: "clicked_event"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + after:"transition_finished"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/copypaste"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 0; + align: 0.0 0.0; + visible: 1; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/default"; + alias: "elm/ctxpopup/bg/dropdown/list"; + alias: "elm/ctxpopup/bg/dropdown/label"; + + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 0; + align: 0.0 0.0; + visible: 1; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/default"; + parts { + part { + name:"frame_shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + rel2.relative: 0 0; + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + rel1.relative: 1 1; + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to:"frame_shadow_left_top_padding"; + rel2.to:"frame_shadow_right_bottom_padding"; + color_class: "B066"; + } + } + part { + name: "frame_top_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 1.0 0.0;} + min: 0 CTXPOPUP_OUTLINE_SIZE; + max: -1 CTXPOPUP_OUTLINE_SIZE; + color_class: "B067"; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { + name: "frame_bottom_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "frame_bg"; relative: 0.0 1.0;} + rel2.to: "frame_bg"; + min: 0 CTXPOPUP_OUTLINE_SIZE; + max: -1 CTXPOPUP_OUTLINE_SIZE; + color_class: "B067"; + align: 0.5 1.0; + fixed: 0 1; + } + } + part { + name: "frame_left_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 0.0 1.0;} + min: CTXPOPUP_OUTLINE_SIZE 0; + max: CTXPOPUP_OUTLINE_SIZE -1; + color_class: "B067"; + align: 0.0 0.5; + fixed: 1 0; + } + } + part { + name: "frame_right_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "frame_bg"; relative: 1.0 0.0;} + rel2.to: "frame_bg"; + min: CTXPOPUP_OUTLINE_SIZE 0; + max: CTXPOPUP_OUTLINE_SIZE -1; + color_class: "B067"; + align: 1.0 0.5; + fixed: 1 0; + } + } + part { + name: "content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING; + max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 0.0 0.0;} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING; + max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING; + rel1 {to: "frame_bg"; relative: 1.0 1.0;} + rel2.to: "frame_bg"; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to: "content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to: "content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/more/default"; + parts { + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_WIDTH 0; + color_class: "B061L41"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/copypaste"; + images { + image: "copy&paste_popup_bg_line.#.png" COMP; + set { + name: "copy&paste_popup_bg_ef.#"; + image { + image: SMALL"images/Copy_Paste/copy&paste_popup_bg_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Copy_Paste/copy&paste_popup_bg_ef.#.png" COMP; + } + } + } + parts { + part { + name:"frame_shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + rel2 { relative: 0 0; } + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + rel1{relative: 1 1;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to: "content_left_top_padding"; relative: 1.0 1.0; } + rel2 {to: "content_right_bottom_padding"; relative: 0.0 0.0; } + min: CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 0; + color_class: "B061L41"; //FIXME change color code + } + } + part { + name: "frame_line_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + image.normal: "copy&paste_popup_bg_line.#.png"; + color_class: "B067"; + } + } + part { + name: "frame_effect_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "frame_line_bg"; + rel2.to: "frame_line_bg"; + image.normal: "copy&paste_popup_bg_ef.#"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { name: "arrow_area_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 1 0.5; + rel1 { + relative: 1 1; + to_x:"arrow_left_top_padding"; + to_y: "ctxpopup_frame_left_top"; + } + rel2 { + relative: 1 0; + to_x:"arrow_left_top_padding"; + to_y:"ctxpopup_frame_right_bottom"; + } + } + } + part { name: "arrow_area_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0 0.5; + rel1 { + relative: 0 1; + to_x:"arrow_right_bottom_padding"; + to_y:"ctxpopup_frame_left_top"; + } + rel2 { + relative: 0 0; + to_x:"arrow_right_bottom_padding"; + to_y: "ctxpopup_frame_right_bottom"; + } + } + } + part { name: "arrow_area_up"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1; + rel1 { + relative: 1 1; + to_x: "ctxpopup_frame_left_top"; + to_y: "arrow_left_top_padding"; + } + rel2 { + relative: 0 1; + to_x:"ctxpopup_frame_right_bottom"; + to_y: "arrow_left_top_padding"; + } + } + } + part { name: "arrow_area_down"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 1 0; + to_x:"ctxpopup_frame_left_top"; + to_y:"arrow_right_bottom_padding"; + } + rel2 { + relative: 0 0; + to_x: "ctxpopup_frame_right_bottom"; + to_y:"arrow_right_bottom_padding"; + } + } + } + part { name: "elm.swallow.arrow_up"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_up"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_down"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_down"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_left"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_left"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_right"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_right"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { + name: "ctxpopup_frame_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";} + } + } + part { + name: "ctxpopup_frame_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; + rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";} + } + } + part { + name:"content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_LEFT_PADDING CTXPOPUP_CONTENT_TOP_PADDING; + max: CTXPOPUP_CONTENT_LEFT_PADDING CTXPOPUP_CONTENT_TOP_PADDING; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name:"content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_RIGHT_PADDING CTXPOPUP_CONTENT_BOTTOM_PADDING; + max: CTXPOPUP_CONTENT_RIGHT_PADDING CTXPOPUP_CONTENT_BOTTOM_PADDING; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "arrow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + } + } + part { + name: "arrow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/copypaste"; + parts { + part { + name: "ctxpopup_arrow"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + } + } + } + programs { + program { + name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/default"; + alias: "elm/ctxpopup/arrow/more/default"; + } +////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/default"; + alias: "elm/ctxpopup/text_style_item/more/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_TEXT_MAX; + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_WIDTH 1; + max: CTXPOPUP_WIDTH CTXPOPUP_ITEM_HEIGHT_MAX; + color_class: "B061L41"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B061L41P"; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_LR_PADDING CTXPOPUP_ITEM_TEXT_TB_PADDING; + max: CTXPOPUP_ITEM_TEXT_LR_PADDING CTXPOPUP_ITEM_TEXT_TB_PADDING; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN; + max: CTXPOPUP_TEXT_MAX (CTXPOPUP_ITEM_HEIGHT_MAX-CTXPOPUP_ITEM_TEXT_TB_PADDING*2); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T126"; + text { + text_class: "T126"; + size_range: CTXPOPUP_ITEM_TEXT_SIZE CTXPOPUP_ITEM_TEXT_MAX_SIZE; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T126P"; + color_class: "T126P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T126D"; + color_class: "T126D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_TEXT_MAX CTXPOPUP_ITEM_TEXT_HEIGHT_MIN; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T126P"; + color_class: "T126P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T126D"; + color_class: "T126D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_LR_PADDING CTXPOPUP_ITEM_TEXT_TB_PADDING; + max: CTXPOPUP_ITEM_TEXT_LR_PADDING CTXPOPUP_ITEM_TEXT_TB_PADDING; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "elipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item_horizontal/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC-1) CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B066P"; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B069"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + align: 0 0; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC-CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC*2) CTXPOPUP_ITEM_HORIZONTAL_TEXT_HEIGHT_MIN; + rel1 {relative: 1.0 0.0; to: "left_padding";} + rel2 {relative: 0.0 1.0; to: "right_padding";} + text { + text_class: "T130"; + min: 1 1; + } + color_class: "T130"; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + align: 1 1; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "bg"; + scale: 1; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_ITEM_ICON_HORIZONTAL_WIDTH_INC-1) CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B066P"; + } + } + part { + name: "top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: 0 CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0.5 0.0; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B069"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + aspect: 1.0 1.0; + rel1 { relative: 1 1; to: "top_padding"; } + rel2 { relative: 0 0; to: "bottom_padding"; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B068"; + } + } + part { + name: "bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_ITEM_BOTTOM_PADDING_INC; + max: 0 CTXPOPUP_ITEM_BOTTOM_PADDING_INC; + align: 0.5 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC-1) CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B066P"; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B069"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "icon_top_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TOP_PADDING_INC; + max: 1 CTXPOPUP_ITEM_TOP_PADDING_INC; + align: 0.5 0.0; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + align: 0.5 0.0; + aspect: 1.0 1.0; + rel1 { relative: 0.0 1.0; to_y:"icon_top_padding"; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B068"; + } + } + part { + name: "icon_bottom_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC; + max: 1 CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC; + align: 0.5 0.0; + rel1 { relative: 0.0 1.0; to_y:"elm.swallow.icon"; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_HORIZONTAL_WIDTH_MIN_INC-CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC*2) (CTXPOPUP_ITEM_HEIGHT_INC-CTXPOPUP_ICON_HEIGHT_INC-CTXPOPUP_ITEM_TOP_PADDING_INC-CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC-CTXPOPUP_ITEM_BOTTOM_PADDING_INC); + align: 0.5 0.0; + rel1 {relative: 1.0 1.0; to_x: "text_left_padding"; to_y: "icon_bottom_padding";} + rel2 {relative: 0.0 0.0; to_x: "text_right_padding"; to_y:"text_bottom_padding";} + color_class: "T130"; + text { + text_class: "T130"; + min: 1 1; + } + } + } + part { + name: "text_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + align: 0.0 0.5; + } + } + part { + name: "text_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + max: CTXPOPUP_ITEM_TEXT_HORIZONTAL_PADDING_INC 1; + align: 1.0 0.5; + } + } + part { + name: "text_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ITEM_BOTTOM_PADDING_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ITEM_BOTTOM_PADDING_INC; + align: 0.5 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item_horizontal/copypaste"; + alias: "elm/ctxpopup/icon_text_style_item/copypaste"; + alias: "elm/ctxpopup/text_style_item/copypaste"; + alias: "elm/ctxpopup/icon_style_item/copypaste"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING*2); + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC-1) CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B061L41P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B069"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "text_top_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC; + max: 1 CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC*2) (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.0; + rel1 {relative: 1.0 1.0; to_x: "text_left_padding"; to_y: "text_top_padding";} + rel2 {relative: 0.0 0.0; to_x: "text_right_padding"; to_y:"text_bottom_padding";} + color_class: "T130"; + text { + size_range: CTXPOPUP_COPYPASTE_TEXT_SIZE_INC CTXPOPUP_COPYPASTE_TEXT_SIZE_INC; + align: 0.5 0.5; + min: 1 1; + text_class: "T130"; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text { + min: 0 1; + text_class: "T130"; + } + color_class: "T130"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "T130"; + text.text_class: "T130"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC*2) (CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC); + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T130"; + color_class: "T130"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + color_class: "T130"; + text.text_class: "T130"; + } + } + part { + name: "text_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + max: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + fixed: 1 0; + align: 0.0 0.5; + } + } + part { + name: "text_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + max: CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 1; + fixed: 1 0; + align: 1.0 0.5; + } + } + part { + name: "text_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC; + max: 1 CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 0.5 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_ITEM_DISABLED_COLOR; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/dropdown/list"; + alias: "elm/ctxpopup/layout/dropdown/label"; + + data.item: "visible_maxw" CTXPOPUP_DROPDOWN_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN*5+CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT*4); + + parts { + part { + name:"top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_up" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + max: -1 0; + } + } + part { + name:"bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_down" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + max: -1 0; + } + } + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1 {to_y:"top_padding"; relative: 1.0 1.0;} + rel2 {to_y:"top_padding"; relative: 0.0 1.0;} + align: 0.5 0.0; + } + description { + state: "show_down" 0.0; + rel1 {to_y: "bottom_padding"; relative: 1.0 0.0;} + rel2 {to_y: "bottom_padding"; relative: 0.0 0.0;} + align: 0.5 1.0; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + set_state(PART:"top_padding", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "showdown"; + signal: "elm,state,show,down"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_down")) { + set_state(PART:"swallow", "show_down", 0.0); + set_state(PART:"bottom_padding", "show_down", 0.0); + } + } + after: "showdownend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.5 1.7; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.5 1.7; + target: "top_padding"; + } + program { + name: "showdownend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.5 1.7; + target: "bottom_padding"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + target: "top_padding"; + transition: SIN_FAC 0.5 1.7; + after: "be_default"; + } + program { + name: "hidedown"; + signal: "elm,state,hide,down"; + source: "elm"; + action: STATE_SET "show_down" 0.0; + target: "swallow"; + target: "bottom_padding"; + transition: SIN_FAC 0.5 1.7; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; + transition: SIN_FAC 0.5 1.7; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + target: "top_padding"; + target: "bottom_padding"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/dropdown/list"; + inherit: "elm/ctxpopup/layout/dropdown/list"; + alias: "elm/ctxpopup/layout/landscape/dropdown/label"; + + data.item: "visible_maxw" CTXPOPUP_DROPDOWN_WIDTH; + data.item: "visible_maxh" (CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN*5+CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT*4); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/dropdown/list"; + alias: "elm/ctxpopup/base/dropdown/label"; + + parts { + part { + name: "frame_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: 100 0; + color_class: "B0733"; + } + } + part { + name: "frame_bg_outline_left"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_OUTLINE_SIZE 0; + max: CTXPOPUP_OUTLINE_SIZE -1; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 0.0 1.0;} + fixed: 1 0; + align: 0.0 0.5; + color_class: "B0733L1"; + } + } + part { + name: "frame_bg_outline_right"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_OUTLINE_SIZE 0; + max: CTXPOPUP_OUTLINE_SIZE -1; + rel1 {to: "frame_bg"; relative: 1.0 0.0;} + rel2.to: "frame_bg"; + fixed: 1 0; + align: 1.0 0.5; + color_class: "B0733L1"; + } + } + part { + name: "frame_bg_outline_top"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_OUTLINE_SIZE; + max: -1 CTXPOPUP_OUTLINE_SIZE; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 1.0 0.0;} + fixed: 0 1; + align: 0.5 0.0; + color_class: "B0733L1"; + } + } + part { + name: "frame_bg_outline_bottom"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_OUTLINE_SIZE; + max: -1 CTXPOPUP_OUTLINE_SIZE; + rel1 {to: "frame_bg"; relative: 0.0 1.0;} + rel2.to: "frame_bg"; + fixed: 0 1; + align: 0.5 1.0; + color_class: "B0733L1"; + } + } + part { + name: "content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING; + max: CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 0.0 0.0;} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING; + max: CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING CTXPOPUP_DROPDOWN_CONTENT_TB_PADDING; + rel1 {to: "frame_bg"; relative: 1.0 1.0;} + rel2.to: "frame_bg"; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to: "content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to: "content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/dropdown/list"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_DROPDOWN_TEXT_MAX; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_DROPDOWN_WIDTH-CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING*2) 1; + max: (CTXPOPUP_DROPDOWN_WIDTH-CTXPOPUP_DROPDOWN_CONTENT_LR_PADDING*2) CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX; + color_class: "B0733P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "clicked_separator" 0.0; + inherit: "default" 0.0; + rel1 {to_y: "separator"; relative: 0.0 1.0;} + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + max: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT; + max: -1 CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT; + rel1 {to: "left_top_padding"; relative: 1.0 0.0;} + rel2 {to: "right_bottom_padding"; relative: 0.0 0.0;} + align: 0.5 0.0; + color_class: "B0733L2"; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN; + max: CTXPOPUP_DROPDOWN_TEXT_MAX CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX; + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T12351"; + text { + text_class: "T12351"; + size_range: CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T12351P"; + color_class: "T12351P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T12351D"; + color_class: "T12351D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_DROPDOWN_TEXT_MAX CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T12351P"; + color_class: "T12351P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T12351D"; + color_class: "T12351D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + max: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "elipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + get_state(PART:"separator", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"bg", "clicked_separator", 0.0); + else + set_state(PART:"bg", "clicked", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/dropdown/label"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_DROPDOWN_TEXT_MAX; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 0 1; + max: CTXPOPUP_DROPDOWN_WIDTH CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX; + color_class: "B0733P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "clicked_separator" 0.0; + inherit: "default" 0.0; + rel1 {to_y: "separator"; relative: 0.0 1.0;} + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + max: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT; + max: -1 CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT; + rel1 {to: "left_top_padding"; relative: 1.0 0.0;} + rel2 {to: "right_bottom_padding"; relative: 0.0 0.0;} + align: 0.5 0.0; + color_class: "B0733L2"; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN; + max: CTXPOPUP_DROPDOWN_TEXT_MAX CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MAX; + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T12351"; + text { + text_class: "T12351"; + size_range: CTXPOPUP_DROPDOWN_ITEM_TEXT_SIZE CTXPOPUP_DROPDOWN_ITEM_TEXT_MAX_SIZE; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T12351P"; + color_class: "T12351P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T12351D"; + color_class: "T12351D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_DROPDOWN_TEXT_MAX CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T12351P"; + color_class: "T12351P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T12351D"; + color_class: "T12351D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + max: CTXPOPUP_DROPDOWN_ITEM_TEXT_LR_PADDING 0; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + part { + name: "bottom_line"; + type: RECT; + description { + state: "default" 0.0; + min: 1 1; + max: -1 1; + align: 0.5 1.0; + color: 192 213 222 255; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "elipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + get_state(PART:"separator", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"bg", "clicked_separator", 0.0); + else + set_state(PART:"bg", "clicked", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} diff --git a/2.3-mobile/widgets/datetime.edc b/2.3-mobile/widgets/datetime.edc new file mode 100644 index 0000000..00a417d --- /dev/null +++ b/2.3-mobile/widgets/datetime.edc @@ -0,0 +1,632 @@ +/* + * 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. + */ +/////////////////////////////////////////////////////////////////////////////// +// datetime +/////////////////////////////////////////////////////////////////////////////// + +#define size1 70 +#define size2 140 +#define DATETIME_FIELD(_pos,width) \ + part { \ + name: "field"#_pos; type: SWALLOW; \ + scale: 1; \ + clip_to: "clip"; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 0 250; \ + max: 0 250; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1.relative: 1.0 0.0; \ + rel1.to: "separator"#_pos; \ + rel2.relative: 1.0 1.0; \ + rel2.to: "separator"#_pos; \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + min: width 250; \ + max: width 250; \ + visible: 1; \ + } \ + } \ + programs{ \ + program { name: "field_"#_pos"enabled"; \ + signal: "field"#_pos",enable"; source: "elm"; \ + action: STATE_SET "enable" 0.0; \ + target: "field"#_pos; \ + } \ + program { name: "field_"#_pos"disabled"; \ + signal: "field"#_pos",disable"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "field"#_pos; \ + } \ + } +#define DATETIME_SEPARATOR(_pos, _after) \ + part { \ + name: "separator"#_pos; type: TEXT; \ + scale: 1; \ + effect: SHADOW BOTTOM; \ + clip_to: "disclip"; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 0 0; \ + align: 0.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1.0 0.0; \ + to: "field"#_after; \ + } \ + rel2 { \ + relative: 1.0 1.0; \ + to: "field"#_after; \ + } \ + color_class: "T1232"; \ + text { \ + font: "Sans"; size: 100; \ + min: 1 0; \ + ellipsis: 1; \ + align: 0.5 0.5; \ + text_class: "T1232"; \ + } \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + min: 8 10; \ + } \ + } \ + part { \ + name: "separator"#_pos"d"; type: TEXT; \ + scale: 1; \ + effect: SHADOW BOTTOM; \ + clip_to: "disclip2"; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1.to: "separator"#_pos; \ + rel2.to: "separator"#_pos; \ + color_class: "datetime_text"; \ + text { \ + text_source: "separator"#_pos; \ + font: "Sans"; size: 100; \ + } \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + programs { \ + program { \ + signal: "field"#_after",enable"; source: "elm"; \ + action: STATE_SET "enable" 0.0; \ + target: "separator"#_pos; \ + target: "separator"#_pos"d"; \ + } \ + program { \ + signal: "field"#_after",disable"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "separator"#_pos; \ + target: "separator"#_pos"d"; \ + } \ + } + +#undef DATETIME_SEPARATOR +#undef DATETIME_FIELD + +group { name: "elm/datetime/base/default"; + alias: "elm/datetime/base/date_layout"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_LAYOUT_CONTENT_SIZE_INC; + max: DATETIME_LAYOUT_CONTENT_SIZE_INC; + color_class: "B0211"; + } + } + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 0; + max: DATE_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.0; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 0; + max: DATE_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel2.to: "bg"; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 1.0; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + } + part { name: "center.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "field0"; + } + rel2.to: "field0"; + align: 0.0 0.5; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "center.padding1"; + } + rel2 { + relative: 0.0 1.0; + to_x: "center.padding2"; + to_y: "center.padding1"; + } + } + } + part { name: "center.padding2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: DATE_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1.to: "field2"; + rel2 { + relative: 0.0 1.0; + to: "field2"; + } + align: 1.0 0.5; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATE_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + rel1.to: "right.padding"; + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + align: 1.0 0.5; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { + name: "event_area"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/datetime/base/time_layout"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_LAYOUT_CONTENT_SIZE_INC; + max: DATETIME_LAYOUT_CONTENT_SIZE_INC; + color_class: "B0211"; + } + } + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.0; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 1.0; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + } + part { name: "center.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "field3"; + } + rel2.to: "field3"; + align: 0.0 0.5; + } + } + part { name: "text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "center.padding1"; + } + rel2.to: "center.padding1"; + align: 0.0 0.5; + min: TIME_LAYOUT_CONTENT_COLON_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_COLON_WIDTH_INC -1; + fixed: 1 0; + } + } + part { name: "hour.minute.colon"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "text_bg"; + rel2.to: "text_bg"; + color_class: "T1232"; + align: 0.5 0.4; + text { + min: 1 1; + fit: 1 1; + text_class: "T1232"; + text: ":"; + align: 0.5 0.4; + } + } + } + part { name: "center.padding2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "text_bg"; + } + rel2.to: "text_bg"; + align: 0.0 0.5; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + rel1 { + relative: 1.0 0.0; + to: "center.padding2"; + } + rel2.to: "center.padding2"; + align: 0.0 0.5; + } + } + part { name: "center.padding3"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_RIGHT_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "field4"; + } + rel2.to: "field4"; + align: 0.0 0.5; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_FIELD_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "center.padding3"; + } + rel2.to: "center.padding3"; + align: 0.0 0.5; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { + name: "event_area"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/datetime/base/time_layout_24hr"; + inherit: "elm/datetime/base/time_layout"; + + parts { + part { name: "left.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.0; + } + } + part { name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_TIME_24HR_LEFT_RIGHT_PADDING_WIDTH_INC -1; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 1.0; + } + } + part { name: "center.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "field3"; + } + rel2.to: "field3"; + align: 0.0 0.5; + } + } + part { name: "center.padding2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC 0; + max: TIME_LAYOUT_CONTENT_TIME_24HR_CENTER_PADDING_WIDTH_INC -1; + rel1 { + relative: 1.0 0.0; + to: "text_bg"; + } + rel2.to: "text_bg"; + align: 0.0 0.5; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + visible: 0; + rel1.to: "right.padding"; + rel2.to: "right.padding"; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } +} diff --git a/2.3-mobile/widgets/entry.edc b/2.3-mobile/widgets/entry.edc new file mode 100644 index 0000000..23d0517 --- /dev/null +++ b/2.3-mobile/widgets/entry.edc @@ -0,0 +1,6325 @@ +/* + * 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. + */ + +#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" +#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" +#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" +#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" +#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" + +#define ENTRY_EDITFIELD_FOCUS_DATA \ + data.item: "focus_highlight" "on"; + +#define ENTRY_TOP_BOTTOM_PADDING( SIZE1, SIZE2 ) \ + part { name: "top_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: SIZE1; \ + max: SIZE1; \ + align: 0.5 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 0.0; \ + } \ + } \ + part { name: "bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: SIZE2; \ + max: SIZE2; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } + +#define ENTRY_TOP_BOTTOM_REL \ + rel1 { \ + to_y: "top_padding"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to_y: "bottom_padding"; \ + relative: 1.0 0.0; \ + } + +#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \ + rel1 { \ + to_x: "left_padding"; \ + to_y: "top_padding"; \ + relative: 1.0 1.0; \ + } \ + rel2 { \ + to_x: "right_padding"; \ + to_y: "bottom_padding"; \ + relative: 0.0 0.0; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \ + script { \ + public scroll_enabled; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PARTS \ + part { name: "clear_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC; \ + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC; \ + } \ + } \ + part { name: "elm.swallow.clear"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + } \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_MULTILINE_PARTS \ + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT_MULTILINE, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT_MULTILINE) \ + part { name: "focus_underline_bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_MULTILINE; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } \ + part { name: "left_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; \ + max: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 0.0 1.0; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "right_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; \ + max: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1.relative: 1.0 0.0; \ + rel2.relative: 1.0 1.0; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_underline"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "left_padding"; \ + to_y: "focus_underline_bottom_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to_x: "right_padding"; \ + to_y: "focus_underline_bottom_padding"; \ + } \ + color_class: "F059"; \ + visible: 1; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PARTS \ + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) \ + part { name: "focus_underline_bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } \ + part { name: "left_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; \ + max: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 0.0 1.0; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "right_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; \ + max: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1.relative: 1.0 0.0; \ + rel2.relative: 1.0 1.0; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_underline"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1 { \ + relative: 1.0 0.0; \ + to_x: "left_padding"; \ + to_y: "focus_underline_bottom_padding"; \ + } \ + rel2 { \ + relative: 0.0 0.0; \ + to_x: "right_padding"; \ + to_y: "focus_underline_bottom_padding"; \ + } \ + color_class: "F059"; \ + visible: 1; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F057"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "F059"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART \ + part { name: "event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "event_rect"; \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PART \ + part { name: "scroller_event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "scroller_event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "scroller_event_rect"; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \ + program { name: "scroll_enabled"; \ + signal: "elm,state,scroll,enabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 1); \ + set_state(PART:"focus_underline", "hidden", 0.0); \ + set_state(PART:"top_padding", "hidden", 0.0); \ + set_state(PART:"bottom_padding", "hidden", 0.0); \ + set_state(PART:"left_padding", "hidden", 0.0); \ + set_state(PART:"right_padding", "hidden", 0.0); \ + } \ + } \ + program { name: "scroll_disabled"; \ + signal: "elm,state,scroll,disabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 0); \ + set_state(PART:"focus_underline", "default", 0.0); \ + set_state(PART:"top_padding", "default", 0.0); \ + set_state(PART:"bottom_padding", "default", 0.0); \ + set_state(PART:"left_padding", "default", 0.0); \ + set_state(PART:"right_padding", "default", 0.0); \ + } \ + } \ + program { name: "clear_show"; \ + signal: "elm,state,clear,visible"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "visible", 0.0); \ + set_state(PART:"clear_padding", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "clear_hide"; \ + signal: "elm,state,clear,hidden"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "default", 0.0); \ + set_state(PART:"clear_padding", "default", 0.0); \ + } \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PROGRAMS \ + program { name: "action_focus"; \ + signal: "elm,state,focus,on"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_underline", "focused", 0.0); \ + } \ + set_state(PART:"elm.text", "focused", 0.0); \ + } \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,state,focus,off"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_underline", "default", 0.0); \ + } \ + set_state(PART:"elm.text", "default", 0.0); \ + } \ + } \ + program { name: "enable_focus_bg"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_underline", "default", 0.0); \ + } \ + } \ + } \ + program { name: "disable_focus_bg"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_underline", "disabled", 0.0); \ + } \ + } \ + } + +#define ENTRY_SOUND_PROGRAM \ + program { name: "touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "elm.text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (strcmp(st, "disabled")) \ + run_program(PROGRAM:"touch_sound"); \ + } \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +group { name: "elm/entry/emoticon/angry/default"; images.image: + "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-worried.png"; } } } } + + +group { name: "elm/entry/base/default"; + alias: "elm/entry/base-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data.item: "focus_highlight" "on"; + styles { + style { name: "entry_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" wrap=mixed text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" wrap=mixed text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" wrap=mixed text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" wrap=mixed text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base/vcenter_align"; + alias: "elm/entry/base-mixedwrap/vcenter_align"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-charwrap/default"; + alias: "elm/entry/base/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1012"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-charwrap/vcenter_align"; + alias: "elm/entry/base/vcenter_align"; + inherit: "elm/entry/base-charwrap/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } +} + + +group { name: "elm/entry/base-nowrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-nowrap/vcenter_align"; + inherit: "elm/entry/base-nowrap/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base/editfield"; + alias: "elm/entry/base-mixedwrap/editfield"; + alias: "elm/entry/base/editfield/default"; + alias: "elm/entry/base/editfield/lighting"; + alias: "elm/entry/base/editfield/multiline"; + alias: "elm/entry/base/editfield/multiline/default"; + alias: "elm/entry/base/editfield/multiline/lighting"; + alias: "elm/entry/base/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1015"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1014"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" ellipsis=1.0 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_MULTILINE_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_style"; + min: 0 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_focused_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_disabled_style"; + min: 0 1; + max: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield"; + alias: "elm/entry/base-noedit-mixedwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/default"; + alias: "elm/entry/base-noedit/editfield/lighting"; + alias: "elm/entry/base-noedit/editfield/multiline"; + alias: "elm/entry/base-noedit/editfield/multiline/default"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting"; + inherit: "elm/entry/base/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base/editfield/fixed_size"; + alias: "elm/entry/base-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/multiline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1015"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=mixed left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1014"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" ellipsis=1.0 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_MULTILINE_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield/fixed_size"; + alias: "elm/entry/base-noedit-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/fixed_size"; + inherit: "elm/entry/base/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield"; + alias: "elm/entry/base/editfield/char_wrap"; + alias: "elm/entry/base/editfield/default/char_wrap"; + alias: "elm/entry/base/editfield/lighting/char_wrap"; + alias: "elm/entry/base/editfield/multiline/char_wrap"; + alias: "elm/entry/base/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base/editfield/multiline/lighting/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1015"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1014"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" ellipsis=1.0 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_MULTILINE_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/char_wrap"; + alias: "elm/entry/base-noedit/editfield/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/lighting/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting/char_wrap"; + inherit: "elm/entry/base-charwrap/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base/editfield/multiline/char_wrap/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1015"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1013"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=char left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" text_class=T1014"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 left_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" right_margin="ENTRY_EDITFIELD_LEFT_RIGHT_MARGIN" ellipsis=1.0 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_MULTILINE_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap/fixed_size"; + inherit: "elm/entry/base-charwrap/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield"; + alias: "elm/entry/base-single/editfield/default"; + alias: "elm/entry/base-single/editfield/lighting"; + alias: "elm/entry/base-single/editfield/singleline"; + alias: "elm/entry/base-single/editfield/singleline/default"; + alias: "elm/entry/base-single/editfield/singleline/lighting"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=none left_margin=1 right_margin=3 text_class=T1015"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=none left_margin=1 right_margin=3 text_class=T1014"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events:1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield"; + alias: "elm/entry/base-single-noedit/editfield/default"; + alias: "elm/entry/base-single-noedit/editfield/lighting"; + alias: "elm/entry/base-single-noedit/editfield/singleline"; + alias: "elm/entry/base-single-noedit/editfield/singleline/default"; + alias: "elm/entry/base-single-noedit/editfield/singleline/lighting"; + inherit: "elm/entry/base-single/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/fixed_size"; + alias: "elm/entry/base-single/editfield/singleline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1015 wrap=none left_margin=1 right_margin=3 text_class=T1015"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1014 wrap=none left_margin=1 right_margin=3 text_class=T1014"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/singleline/fixed_size"; + inherit: "elm/entry/base-single/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1065 wrap=none left_margin=1 right_margin=3 text_class=T1065"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1064 wrap=none left_margin=1 right_margin=3 text_class=T1064"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1066 wrap=none left_margin=1 right_margin=3 text_class=T1066"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1061 wrap=none left_margin=1 right_margin=3 text_class=T1061 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1062 wrap=none left_margin=1 right_margin=3 text_class=T1062 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/default"; + inherit: "elm/entry/base-single/editfield/searchbar/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single/editfield/popup"; + alias: "elm/entry/base-single/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1065 wrap=none left_margin=1 right_margin=3 text_class=T1065"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1064 wrap=none left_margin=1 right_margin=3 text_class=T1064"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1066 wrap=none left_margin=1 right_margin=3 text_class=T1066"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1061 wrap=none left_margin=1 right_margin=3 text_class=T1061 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T1062 wrap=none left_margin=1 right_margin=3 text_class=T1062 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/popup"; + alias: "elm/entry/base-single-noedit/editfield/password/popup"; + inherit: "elm/entry/base-single/editfield/searchbar/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/default"; + alias: "elm/entry/base-single/vcenter_align"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single/spinner/default"; + alias: "elm/entry/base-single/spinner/horizontal"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_single_spinner_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1232 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1232 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1232 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1232 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_spinner_textblock_guide_style"; + min: 0 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_spinner_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_spinner_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_spinner_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single/spinner/vertical"; + alias: "elm/entry/base-single/spinner/vertical_date_picker"; + alias: "elm/entry/base-single/spinner/datetime"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_single_spinner_textblock_date_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1233 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_date_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1233 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_date_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1233 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "entry_single_spinner_textblock_date_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1233 wrap=none align=center left_margin=1 right_margin=3 text_class=T1233 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_spinner_textblock_date_guide_style"; + min: 0 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_spinner_textblock_date_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_spinner_textblock_date_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_spinner_textblock_date_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single/multibuttonentry"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "multibuttonentry_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1011 wrap=none left_margin=1 right_margin=3 text_class=T1011"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "multibuttonentry_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1013 wrap=none left_margin=1 right_margin=3 text_class=T1013"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "multibuttonentry_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_TEXT_SIZE_INC" color=#ffffff color_class=T1012 wrap=none left_margin=1 right_margin=3 text_class=T1012 ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "multibuttonentry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "multibuttonentry_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "multibuttonentry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/default"; + alias: "elm/entry/base-single-noedit/vcenter_align"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-noedit/vcenter_align"; + inherit: "elm/entry/base-noedit/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit-charwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-noedit-charwrap/vcenter_align"; + inherit: "elm/entry/base-noedit-charwrap/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + } +} + + group { name: "elm/entry/base-noedit-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-noedit-mixedwrap/vcenter_align"; + inherit: "elm/entry/base-noedit-mixedwrap/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-nowrap-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-nowrap-noedit/vcenter_align"; + inherit: "elm/entry/base-nowrap-noedit/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/vcenter_align"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + } + } + + group { name: "elm/entry/base-password/editfield"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events:1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-password/editfield/popup"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/base-password/editfield/fixed_size"; + inherit: "elm/entry/base-password/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_EDITFIELD_TOP_PADDING_HEIGHT, ENTRY_EDITFIELD_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection + source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_single_textblock_fixed_size_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/cursor/default"; + parts { + part { name: "clip2"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clip"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.offset: -10 0; + rel2.offset: 9 9; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: ENTRY_CURSOR_SIZE_INC; + align: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "glow"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + min: ENTRY_CURSOR_SIZE_INC; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 0 -2; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -2; + } + color_class: "F052"; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "show"; + action: STATE_SET "hidden" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show"; + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "clip2"; + after: "show4"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + after: "stop_glow"; + } + program { name: "stop_glow"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + } + program { name: "show_cursor"; + signal: "elm,action,show,cursor"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + after: "show_cursor1"; + } + program { name: "show_cursor1"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "show"; + } + } + } + + + group { name: "elm/entry/selection/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "F065"; + } + } + } + } + + group { name: "elm/entry/selection/block_handle_left"; + data.item: "height" ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + data.item: "gap" ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC; + images { + image: "copy&paste_handler_circle_bottom.png" COMP; + image: "copy&paste_handler_line_bottom.png" COMP; + image: "copy&paste_handler_circle_top.png" COMP; + image: "copy&paste_handler_line_top.png" COMP; + } + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + color_class: F052L2; + image { + normal: "copy&paste_handler_circle_bottom.png"; + border: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_circle_top.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0; + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_circle_top.png"; + } + } + } + part { name: "handler_line"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + color_class: F052L1; + image { + normal: "copy&paste_handler_line_bottom.png"; + border: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_line_top.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0; + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_line_top.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public handler_disabled; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + set_state(PART:"handler_line", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "top_reversed", 0.0); + set_state(PART:"handler_line", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 1); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handler_line", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 0); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handler_line", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "disabled"; + signal: "app,selection,handler,disable"; + source: "app"; + script { + set_int(handler_disabled, 1); + } + } + program { name: "enabled"; + signal: "app,selection,handler,enable"; + source: "app"; + script { + set_int(handler_disabled, 0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_right"; + data.item: "height" ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + data.item: "gap" ENTRY_SELECTION_BLOCK_HANDLE_MIN_WEIGHT_INC; + images { + image: "copy&paste_handler_circle_bottom.png" COMP; + image: "copy&paste_handler_line_bottom.png" COMP; + image: "copy&paste_handler_circle_top.png" COMP; + image: "copy&paste_handler_line_top.png" COMP; + } + + parts { + part { name: "handle"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + color_class: F052L2; + image { + normal: "copy&paste_handler_circle_bottom.png"; + border: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_circle_top.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0; + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_circle_top.png"; + } + } + } + part { name: "handler_line"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0; + min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; + color_class: F052L1; + image { + normal: "copy&paste_handler_line_bottom.png"; + border: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_line_top.png"; + } + } + description { state: "bottom_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0; + } + description { state: "top_reversed" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1; + image { + normal: "copy&paste_handler_line_top.png"; + } + } + } + } + script { + public handler_ontop; + public handler_focused; + public handler_disabled; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_int(handler_focused, 1); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_int(handler_focused, 0); + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + program { name: "top"; + signal: "elm,state,top"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 1); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handler_line", "top", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "bottom"; + signal: "elm,state,bottom"; + source: "elm"; + script { + new focused, disabled; + focused = get_int(handler_focused); + disabled = get_int(handler_disabled); + set_int(handler_ontop, 0); + if ((focused == 1) && (disabled == 0)) + { + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handler_line", "show", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "bottom_reversed"; + signal: "elm,state,bottom,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "bottom_reversed", 0.0); + set_state(PART:"handler_line", "bottom_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "top_reversed"; + signal: "elm,state,top,reversed"; + source: "elm"; + script { + new disabled; + disabled = get_int(handler_disabled); + if (disabled == 0) + { + set_state(PART:"handle", "top_reversed", 0.0); + set_state(PART:"handler_line", "top_reversed", 0.0); + } + else + { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + } + } + } + program { name: "disabled"; + signal: "app,selection,handler,disable"; + source: "app"; + script { + set_int(handler_disabled, 1); + } + } + program { name: "enabled"; + signal: "app,selection,handler,enable"; + source: "app"; + script { + set_int(handler_disabled, 0); + } + } + } + } + + group { name: "elm/entry/cursor_handle/default"; + images { + set { + name: "copy&paste_handler_center_circle"; + image { + image: SMALL"images/Copy_Paste/copy&paste_handler_center_circle.png" COMP; + } + image { + image: MEDIUM"images/Copy_Paste/copy&paste_handler_center_circle.png" COMP; + } + } + set { + name: "copy&paste_handler_center_line"; + image { + image: SMALL"images/Copy_Paste/copy&paste_handler_center_line.png" COMP; + } + image { + image: MEDIUM"images/Copy_Paste/copy&paste_handler_center_line.png" COMP; + } + } + } + parts { + part { name: "sens"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1 { relative: -0.25 0.0; to: "handle";} + rel2 { relative: 1.25 1.0; to: "handle";} + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "handle"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; + align: 0 0; + visible: 0; + align: 0.5 0; + color_class: F052L2; + image { + normal: "copy&paste_handler_center_circle"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + } + } + part { name: "handler_line"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; + max: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; + align: 0 0; + visible: 0; + align: 0.5 0; + color_class: F052L1; + image { + normal: "copy&paste_handler_center_line"; + border: 0 0 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + } + } + } + script { + public on_top; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + new on_top_val = get_int(on_top); + if (on_top_val) + { + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handler_line", "top", 0.0); + } + else + { + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handler_line", "show", 0.0); + } + set_state(PART:"sens", "show", 0.0); + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + set_state(PART:"sens", "default", 0.0); + } + } + program { name: "show"; + signal: "edje,cursor,handle,show"; + source: "edje"; + script { + set_int(on_top, 0); + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handler_line", "show", 0.0); + set_state(PART:"sens", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,cursor,handle,hide"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handler_line", "default", 0.0); + set_state(PART:"sens", "default", 0.0); + } + } + program { name: "top"; + signal: "edje,cursor,handle,top"; + source: "edje"; + script { + set_int(on_top, 1); + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handler_line", "top", 0.0); + set_state(PART:"sens", "show", 0.0); + } + } + } + } + group { name: "elm/entry/selection/block_handle_edge_left"; + parts { + part { name: "align"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0 0; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 0; + color_class: "F052L1"; + min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; + max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; + rel2 { relative: 0 1; to_x: "align"; } + align: 0 0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_state(PART:"bg", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"bg", "default", 0.0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_edge_right"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "F052L1"; + min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; + max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "edje,focus,in"; + source: "edje"; + script { + set_state(PART:"bg", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"bg", "default", 0.0); + } + } + } + } + + group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: SPACER; + description { state: "default" 0.0; + } + } + } + } + + group { name: "elm/entry/preedit/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 128 128 255; + } + } + } + } + + +#define MAGNIFIER_SCALE 1.5 + + group { name: "elm/entry/magnifier/fixed-size"; + data.item: "height" MAGNIFIER_HEIGHT_MIN; + data.item: "scale" MAGNIFIER_SCALE; + data.item: "arrow" MAGNIFIER_ARROW_HEIGHT_INC; + images { + image: "copy&paste_Magnifier.#.png" COMP; + image: "copy&paste_Magnifier_mask.#.png" COMP; + } + parts { + part { name: "bg_mask"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "copy&paste_Magnifier_mask.#.png"; + color: 245 245 245 255; + } + description { state: "custom_cc" 0.0; + inherit: "default" 0.0; + color_class: "mgf_custom_cc"; + } + } + part { name: "bg"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_WIDTH_FIXED_INC MAGNIFIER_HEIGHT_MIN; + max: MAGNIFIER_WIDTH_FIXED_INC MAGNIFIER_HEIGHT_MAX; + image.normal: "copy&paste_Magnifier.#.png"; + align: 0.0 0.0; + } + } + part { name: "left_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_LEFT_OFFSET_INC; + max: MAGNIFIER_LEFT_OFFSET_INC; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + align: 0.0 0.0; + } + } + part { name: "right_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_RIGHT_OFFSET_INC; + max: MAGNIFIER_RIGHT_OFFSET_INC; + rel1 { + to: "bg"; + relative: 1.0 1.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 1.0 1.0; + } + } + part { name: "swallow"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "left_offset"; + relative: 1.0 1.0; + } + rel2 { + to: "right_offset"; + relative: 0.0 0.0; + } + } + } + } + script { + public message(Msg_Type:type, id, ...) { + if (type == MSG_INT_SET) { + new r, g, b, a; + + r = getarg(2); + g = getarg(3); + b = getarg(4); + a = getarg(5); + + set_state(PART:"bg_mask", "custom_cc", 0.0); + set_color_class("mgf_custom_cc", r, g, b, a); + } + } + } + } + +group { name: "elm/scroller/entry/default"; + data { + item: "focus_highlight" "off"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "core_scroll_bar_v.#.png" COMP; + image: "core_scroll_bar_v_ef.#.png" COMP; + image: "core_scroll_bar_h.#.png" COMP; + image: "core_scroll_bar_h_ef.#.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_underline_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_underline"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PART + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "icon_padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.clear"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left_content_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_LEFT_RIGHT_PADDING; + max: ENTRY_EDITFIELD_LEFT_RIGHT_PADDING; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 1.0; + } + } + } + part { name: "right_content_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_LEFT_RIGHT_PADDING; + max: ENTRY_EDITFIELD_LEFT_RIGHT_PADDING; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "contentclipper"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "left_content_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "right_content_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + clip_to: "contentclipper"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_x: "left_content_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "right_content_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "scroller_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; + align: 0.0 0.0; + fixed: 1 0; + rel1 { + to_y: "elm.swallow.content"; + to_x: "clear_padding"; + relative: 1.0 0.0; + } + rel2 { + to_y: "sb_hbar"; + to_x: "clear_padding"; + relative: 1.0 0.0; + } + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "scroller_padding"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "scroller_padding"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + to_y: "elm.swallow.content"; + to_x: "scroller_padding"; + relative: 0.0 0.0; + } + rel2 { + to_y: "sb_hbar"; + to_x: "scroller_padding"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.dragable.vbar"; + scale: 1; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + image { + normal: "core_scroll_bar_v.#.png"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "vbar_effect"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image.normal: "core_scroll_bar_v_ef.#.png"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.swallow.content"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + to_x: "sb_vbar"; + to_y: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.hbar"; + scale: 1; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + image { + normal: "core_scroll_bar_h.#.png"; + middle: DEFAULT; + } + color_class: "B071"; + } + part { name: "hbar_effect"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image.normal: "core_scroll_bar_h_ef.#.png"; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "contentclipper"; + target: "elm.swallow.content"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "contentclipper"; + target: "elm.swallow.content"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PROGRAM + } + } + +group { name: "elm/scroller/entry/editfield"; + inherit: "elm/scroller/entry/default"; + alias: "elm/scroller/entry/editfield/fixed_size"; + alias: "elm/scroller/entry/editfield/searchbar/default"; + alias: "elm/scroller/entry/editfield/searchbar/fixed_size"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; + max: ENTRY_EDITFIELD_LEFT_PADDING_HEIGHT; + fixed: 1 0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; + max: ENTRY_EDITFIELD_RIGHT_PADDING_HEIGHT; + align: 1.0 1.0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "focus_underline_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_BOTTOM_PADDING_SIZE_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + to: "bg"; + relative: 0.0 1.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + } + } + part { name: "focus_underline"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + min: ENTRY_EDITFIELD_FOCUS_UNDERLINE_SIZE_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + to: "focus_underline_bottom_padding"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_underline_bottom_padding"; + relative: 1.0 0.0; + } + color_class: "F059"; + visible: 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F059"; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,state,focus,on"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "focus_underline"; + } + program { name: "action_unfocus"; + signal: "elm,state,focus,off"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "focus_underline"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "focus_underline"; + } + program { name: "enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_underline"; + } + } +} + +//////////////////////////// COPY&PASTE UI /////////////////////////////////// +#define IMAGE_GROUP(GROUP_NAME, IMAGE_NAME) \ + group { name: GROUP_NAME; \ + images.image: IMAGE_NAME COMP; \ + parts { \ + part { name: "image"; \ + description { \ + state: "default" 0.0; \ + visible: 1; \ + image.normal: IMAGE_NAME; \ + aspect: 1 1; \ + aspect_preference: BOTH; \ + } \ + } \ + } \ + } +/////////////////////////////////////////////////////////////////////////////// + +IMAGE_GROUP("elm/copypaste/clipboard/default", "copy&paste_popup_icon_clipboard.png"); +IMAGE_GROUP("elm/copypaste/copy/default", "copy&paste_popup_icon_copy.png"); +IMAGE_GROUP("elm/copypaste/cut/default", "copy&paste_popup_icon_cut.png"); +IMAGE_GROUP("elm/copypaste/paste/default", "copy&paste_popup_icon_paste.png"); +IMAGE_GROUP("elm/copypaste/select/default", "copy&paste_popup_icon_select.png"); +IMAGE_GROUP("elm/copypaste/select_all/default", "copy&paste_popup_icon_select_all.png"); + diff --git a/2.3-mobile/widgets/gengrid.edc b/2.3-mobile/widgets/gengrid.edc new file mode 100644 index 0000000..05edfef --- /dev/null +++ b/2.3-mobile/widgets/gengrid.edc @@ -0,0 +1,431 @@ + +/* + * 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. + */ + +/********************************************************************************/ +/******************************* Gengrid Macros *********************************/ +/********************************************************************************/ + +#define GRID_DEFAULT_BG_COLOR 0 0 0 0 +#define GRID_ICON_PRESSED_COLOR 255 255 255 178 +#define GRID_POPUP_TEXT_FONT_SIZE 24 + +#define GENGRID_PROGRAM_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_bg"; \ + TARGET \ + } \ + +styles { + style { name: "grid_popup_style"; + base: "font=Tizen:style=Regular font_size="GRID_POPUP_TEXT_FONT_SIZE" color=#ffffff color_class=T0601 text_class=T0601 align=center wrap=mixed ellipsis=1.0 linegap=-3"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + + +/********************************************************************************/ +/******************************* Gengrid Groups *********************************/ +/********************************************************************************/ + + + group { name: "elm/gengrid/item/default/default"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "focus_highlight" "on"; + + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: GRID_DEFAULT_BG_COLOR; + } + } + part { name: "left_top_padding"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: GRID_PADDING_LEFT_TOP_SIZE; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GRID_PADDING_RIGHT_BOTTOM_SIZE; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { name: "item_bg"; + type: IMAGE; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + color_class: "B011"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "select_bg"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + color_class: "B011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color: GRID_ICON_PRESSED_COLOR; + } + } + part { name: "reorder_bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + color: 0 0 0 0; + } + } + part { name: "focus_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + color: 0 0 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "touch_sound"; + signal: "mouse,clicked,1"; + source: "reorder_bg"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "select_bg"; + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "select_bg"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + GENGRID_PROGRAM_DEFAULT( + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "select_bg"; + ) + } + } + + + group { name: "elm/gengrid/item/default/popup"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "focus_highlight" "on"; + images { + set { + name: "core_focus.#"; + image { + image: SMALL"images/Content_views/core_focus.#.png" COMP; + } + image { + image: MEDIUM"images/Content_views/core_focus.#.png" COMP; + } + } + } + parts { + part { name: "select_clip"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "selected" 0.0; + visible: 1; + color: GRID_ICON_PRESSED_COLOR; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: GRID_DEFAULT_BG_COLOR; + } + } + part { name: "selected_bg"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_real_bg"; + rel2.to: "item_real_bg"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "item_real_bg"; + type: SPACER; + description { state: "default" 0.0; + align: 0.5 0.0; + min: GRID_POPUP_ITEM_REAL_BG_SIZE; + max: GRID_POPUP_ITEM_REAL_BG_SIZE; + rel2.relative: 1.0 0.0; + } + } + part { name: "left_top_padding"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: GRID_POPUP_PADDING_LEFT_TOP_SIZE; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "item_real_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_real_bg"; + } + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GRID_POPUP_PADDING_RIGHT_BOTTOM_SIZE; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "item_real_bg"; + to_y: "elm.text"; + } + rel2 { + relative: 1.0 0.0; + to_x: "item_real_bg"; + to_y: "elm.text"; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + min: GRID_POPUP_SWALLOW_ICON_SIZE; + max: GRID_POPUP_SWALLOW_ICON_SIZE; + align: 0.5 0.5; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + } + clip_to: "select_clip"; + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GRID_POPUP_TEXT_SIZE; + max: GRID_POPUP_TEXT_SIZE; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to: "item_real_bg"; + } + rel2 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + text { + style: "grid_popup_style"; + align: 0.5 0.0; + } + } + } + part { name: "reorder_bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "selected_bg"; + rel2.to: "selected_bg"; + color: 0 0 0 0; + } + } + part { name: "outline_bg"; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_real_bg"; + rel2.to: "item_real_bg"; + image.normal: "core_focus.#"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "focus_bg"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "item_real_bg"; + rel2.to: "item_real_bg"; + image.normal: "core_focus.#"; + color_class: "W161"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs + { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "reorder_bg"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + script { + set_state(PART:"selected_bg", "default", 0.0); + set_state(PART:"outline_bg", "default", 0.0); + set_state(PART:"select_clip", "selected", 0.0); + } + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "select_clip"; + } + program { name: "select_enabled"; + signal: "elm,select,enabled"; + source: ""; + action: STATE_SET "enabled" 0.0; + target: "selected_bg"; + target: "outline_bg"; + } + program { name: "select_disabled"; + signal: "elm,select,disabled"; + source: ""; + action: STATE_SET "default" 0.0; + target: "selected_bg"; + target: "outline_bg"; + } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + } + GENGRID_PROGRAM_DEFAULT( + target: "selected_bg"; + target: "outline_bg"; + target: "elm.text"; + target: "select_clip"; + ) + } + } diff --git a/2.3-mobile/widgets/genlist.edc b/2.3-mobile/widgets/genlist.edc new file mode 100644 index 0000000..e65612c --- /dev/null +++ b/2.3-mobile/widgets/genlist.edc @@ -0,0 +1,2895 @@ +/* + * 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. + */ + +/* +*********************** WARNING ********************* + +* STYLES IN THIS FILE ARE SUPPORTED ONLY IN TIZEN 2.3. +* THESE STYLES WILL BE DEPRECATED IN THE NEXT RELEASE. +* WE ARE NOT RESPONSIBLE FOR ANY USE OF THESE STYLES +* IN OTHER THAN TIZEN 2.3. + +***************************************************** +*/ + +#include "genlist_macro.edc" +/* not use +// elm_list default style +// ------------------------------------------------ +// | elm.swallow.icon | elm.text | elm.swallow.end | +// ------------------------------------------------ +group { name: "elm/genlist/item/default/default"; + alias: "elm/list/item/default"; + alias: "elm/list/item_odd/default"; + alias: "elm/list/item_compress/default"; + alias: "elm/list/item_compress_odd/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_PADDING_TOP_SIZE; + max: -1 LIST_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_PADDING_BOTTOM_SIZE; + max: -1 LIST_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_L("default" 0.0, + "elm.swallow.pad", + ) + ) + PART(SWALLOW, "elm.swallow.end", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.swallow.icon", + min: LIST_PADDING_CENTER_LEFT_SIZE -0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.swallow.end", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRTB("default" 0.0, + "elm.padding.center.left", "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text"; ) +} +*/ +group { name: "elm/genlist/item/1icon/default"; + + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + align: 0.5 0.5; + min: 0 LIST_ITEM_HEIGHT; + max: -1 LIST_ITEM_HEIGHT; + ) + ) + } +} + +group { name: "elm/genlist/item/1icon/no_padding/default"; + + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.icon", + description { state: "default" 0.0; + align: 0.5 0.5; + min: 0 LIST_ITEM_HEIGHT; + } + ) + } +} + +// 2.1.1 +// ---------------------------------------------- +// | elm.text.main | elm.text.sub | elm.icon | +// ---------------------------------------------- +group { name: "elm/genlist/item/groupindex/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main elm.text.sub"; + data.item: "contents" "elm.icon"; + + parts { + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "W021L1"; + } + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_INDEX_PADDING_TOP_SIZE; + max: -1 LIST_INDEX_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_INDEX_PADDING_BOTTOM_SIZE; + max: -1 LIST_INDEX_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_INDEX_PADDING_LEFT_SIZE 0; + max: LIST_INDEX_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_INDEX_PADDING_RIGHT_SIZE 0; + max: LIST_INDEX_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.text.sub", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_INDEX_HEIGHT; + text.min: 0 1; + text.style: "list_text_index_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_RTB("default" 0.0, + "elm.icon", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_INDEX_HEIGHT; + text.min: 0 1; + text.style: "list_text_index_main"; + // This limits text growing. + rel1.offset: -LIST_INDEX_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 0.5; + //****************************** + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_sub_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_INDEX_BOTTOMLINE_HEIGHT; + max: -1 LIST_INDEX_BOTTOMLINE_HEIGHT; + color_class: "W021L2"; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.main"; target: "elm.text.sub"; ) +} + +// 2.2.3.1 +group { name: "elm/genlist/item/select_all/default"; + alias: "elm/layout/select_all/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main"; + data.item: "contents" "elm.icon"; + + parts { + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B0216"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B0216P"; + } + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_SELECT_ALL_PADDING_LEFT_SIZE 0; + max: LIST_SELECT_ALL_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_SELECT_ALL_PADDING_RIGHT_SIZE 0; + max: LIST_SELECT_ALL_PADDING_RIGHT_SIZE -1; + ) + ) + PART(RECT, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_SELECT_ALL_PADDING_BOTTOM_SIZE; + max: -1 LIST_SELECT_ALL_PADDING_BOTTOM_SIZE; + color_class:"B0216L1"; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_R("default" 0.0, + "elm.padding.right", + min: LIST_SELECT_ALL_ICON_SIZE ; + ) + ) + PART(SPACER, "elm.padding.center", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_SELECT_ALL_PADDING_CENTER_SIZE 0; + max: LIST_SELECT_ALL_PADDING_CENTER_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.center", + min: 0 LIST_SELECT_ALL_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0; + ) + ) + PART(RECT, "event", + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + ) + } + programs{ + program { name: "play_sound"; + signal: "mouse,clicked,1"; + source: "event"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unselect"; + signal: "mouse,up,1"; + source: "event"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "select"; + signal: "mouse,down,1"; + source: "event"; + action: STATE_SET "pressed" 0.0; + target: "bg"; + } + LIST_PROGRAM_DEFAULT( + target: "bg"; + ) + LIST_PROGRAM_SELECT( + target: "bg"; + ) + } +} + +// 2.1.2 +// 2.1.3 +// 2.1.4 +// --------------------------------------------------- +// | elm.text.main | pad | elm.text.sub | elm.icon | +// --------------------------------------------------- +group { name: "elm/genlist/item/groupindex.sub/default"; + inherit: "elm/genlist/item/groupindex/default"; + + parts { + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.text", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_INDEX_HEIGHT; + text.min: 0 1; + text.style: "list_text_index_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_dim"; + } + ) + PART(SPACER, "elm.padding.text", + DSC_RTB("default" 0.0, + "elm.text.sub", "elm.padding.top", "elm.padding.bottom", + min: LIST_INDEX_TEXT_PADDING_SIZE 0; + max: LIST_INDEX_TEXT_PADDING_SIZE -1; + ) + ) + } +} + +// 2.2.1.A2 +// 2.2.1.A17 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// -------------------------------------------------------------------------------------- +// | elm.icon.left | elm.text.main(sub).left | elm.text.sub(main).right | elm.icon.right | +// -------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/1line/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main.left elm.text.main.right elm.text.sub.left elm.text.sub.right"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.left elm.icon.right"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_PADDING_TOP_SIZE; + max: -1 LIST_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_PADDING_BOTTOM_SIZE; + max: -1 LIST_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.1", + DSC_L("default" 0.0, + "elm.swallow.pad", + ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_CENTER_LEFT_SIZE 0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon.left", + DSC_LTB("default" 0.0, + "elm.padding.center.left", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.right", + DSC_RTB("default" 0.0, + "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(TEXTBLOCK, "elm.text.main.left", + DSC_LRTB("default" 0.0, + "elm.icon.left", "elm.text.sub.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.right", + DSC_RTB("default" 0.0, + "elm.icon.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel1.offset: -LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.main.right", + DSC_LRTB("default" 0.0, + "elm.text.sub.left", "elm.icon.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.left", + DSC_LTB("default" 0.0, + "elm.icon.left", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel2.offset: LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 0.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.main.left"; target: "elm.text.main.right"; + target: "elm.text.sub.left"; target: "elm.text.sub.right"; + ) +} + +// FIXME: this style is only made for add padding between two texts +// 2.2.1.A3 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// --------------------------------------------------------------------------------------------- +// | elm.icon.left | elm.text.main(sub).left | pad | elm.text.sub(main).right | elm.icon.right | +// --------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/1line.2/default"; + inherit: "elm/genlist/item/1line/default"; + + parts { + PART(TEXTBLOCK, "elm.text.main.left", + DSC_LRTB("default" 0.0, + "elm.icon.left", "elm.padding.text.main", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.main", + DSC_RTB("default" 0.0, + "elm.text.sub.right", "elm.padding.top", "elm.padding.bottom", + min: LIST_PADDING_TEXT_SIZE 0; + max: LIST_PADDING_TEXT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main.right", + DSC_LRTB("default" 0.0, + "elm.padding.text.sub", "elm.icon.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.sub", + DSC_LTB("default" 0.0, + "elm.text.sub.left", "elm.padding.top", "elm.padding.bottom", + min: LIST_PADDING_TEXT_SIZE 0; + max: LIST_PADDING_TEXT_SIZE -1; + ) + ) + } +} + +// 2.2.1.A7 +// 2.2.1.A9 +// 2.2.1.A10 +// 2.2.1.A11 +// 2.2.1.A20 +// 2.2.1.A28 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// --------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.main(sub).left.top | elm.text.sub(main).right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | ----------------------- --- | ---------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.sub.left.bottom | elm.text.sub.right.bottom | elm.icon.right.bottom | | +// -------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.top/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main.left.top elm.text.sub.right.top elm.text.main.right.top elm.text.sub.left.top elm.text.sub.left.bottom elm.text.sub.right.bottom"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.left elm.icon.right elm.icon.left.top elm.icon.right.top elm.icon.left.bottom elm.icon.right.bottom"; + data.item: "bg_color" "B0211"; + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_2LINE_PADDING_TOP_SIZE; + max: -1 LIST_2LINE_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_2LINE_PADDING_BOTTOM_SIZE; + max: -1 LIST_2LINE_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.1", + DSC_L("default" 0.0, + "elm.swallow.pad", + ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_CENTER_LEFT_SIZE 0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon.left", + DSC_LTB("default" 0.0, + "elm.padding.center.left", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.right", + DSC_RTB("default" 0.0, + "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.left.top", + DSC_LTB("default" 0.0, + "elm.icon.left", "elm.padding.top", "elm.text.sub.left.bottom", + ) + ) + PART(SWALLOW, "elm.icon.left.bottom", + DSC_LTB("default" 0.0, + "elm.icon.left", "elm.text.sub.left.bottom", "elm.padding.bottom", + rel1.relative: 1 0; // to make same height with "elm.text.sub.left.bottom" + ) + ) + PART(SWALLOW, "elm.icon.right.top", + DSC_RTB("default" 0.0, + "elm.icon.right", "elm.padding.top", "elm.text.sub.left.bottom", + ) + ) + PART(SWALLOW, "elm.icon.right.bottom", + DSC_RTB("default" 0.0, + "elm.icon.right", "elm.text.sub.left.bottom", "elm.padding.bottom", + rel1.relative: 0 0; // to make same height with "elm.text.sub.left.bottom" + ) + ) + PART(TEXTBLOCK, "elm.text.main.left.top", + DSC_LRTB("default" 0.0, + "elm.icon.left.top", "elm.text.sub.right.top", "elm.padding.top","elm.text.sub.left.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.right.top", + DSC_RTB("default" 0.0, + "elm.icon.right.top", "elm.padding.top", "elm.text.sub.right.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel1.offset: -LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.main.right.top", + DSC_LRTB("default" 0.0, + "elm.text.sub.left.top", "elm.icon.right.top", "elm.padding.top","elm.text.sub.right.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.left.top", + DSC_LTB("default" 0.0, + "elm.icon.left.top", "elm.padding.top", "elm.text.sub.left.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel2.offset: LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 0.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.left.bottom", + DSC_LRB("default" 0.0, + "elm.icon.left.bottom", "elm.text.sub.right.bottom", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.right.bottom", + DSC_RB("default" 0.0, + "elm.icon.right.bottom", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel1.offset: -LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 1.0; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.main.left.top"; target: "elm.text.sub.right.top"; + target: "elm.text.main.right.top"; target: "elm.text.sub.left.top"; + target: "elm.text.sub.left.bottom"; target: "elm.text.sub.right.bottom"; ) +} + +// 2.2.1.A9 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// --------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.main(sub).left.top | pad | elm.text.sub(main).right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | ------------------------------ | ------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.sub.left.bottom | elm.text.sub.right.bottom | elm.icon.right.bottom | | +// --------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.top.2/default"; + inherit: "elm/genlist/item/2line.top/default"; + + parts { + PART(TEXTBLOCK, "elm.text.main.left.top", + DSC_LRTB("default" 0.0, + "elm.icon.left.top", "elm.padding.text.main.top", "elm.padding.top","elm.text.sub.left.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.main.top", + DSC_RTB("default" 0.0, + "elm.text.sub.right.top", "elm.padding.top", "elm.text.sub.right.bottom", + min: LIST_PADDING_TEXT_SIZE LIST_TEXT_MAIN_HEIGHT; + max: LIST_PADDING_TEXT_SIZE LIST_TEXT_MAIN_HEIGHT; + ) + ) + PART(TEXTBLOCK, "elm.text.main.right.top", + DSC_LRTB("default" 0.0, + "elm.padding.text.sub.top", "elm.icon.right.top", "elm.padding.top","elm.text.sub.right.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.sub.top", + DSC_LTB("default" 0.0, + "elm.text.sub.left.top", "elm.padding.top", "elm.text.sub.right.bottom", + min: LIST_PADDING_TEXT_SIZE LIST_TEXT_MAIN_HEIGHT; + max: LIST_PADDING_TEXT_SIZE LIST_TEXT_MAIN_HEIGHT; + ) + ) + } +} + +// 2.2.1.A10 +// 2.2.1.A26 +// 2.2.1.A28 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// ---------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.main(sub).left.top | elm.text.sub(main).right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | ----------------------- --- | ----------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.sub.left.bottom | pad | elm.text.sub.right.bottom | elm.icon.right.bottom | | +// ---------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.top.3/default"; + inherit: "elm/genlist/item/2line.top/default"; + parts { + PART(TEXTBLOCK, "elm.text.sub.left.bottom", + DSC_LRB("default" 0.0, + "elm.icon.left.bottom", "elm.padding.text.bottom", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(SPACER, "elm.padding.text.bottom", + DSC_RB("default" 0.0, + "elm.text.sub.right.bottom", "elm.padding.bottom", + min: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + max: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + ) + ) + } +} + +// 2.2.1.A11 +// 2.2.1.A29 +// --------------------------------------- +// | elm.icon.1 | CENTER AREA | elm.icon.2 | +// --------------------------------------- +// ************************* CENTER AREA *********************************** // +// --------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.main(sub).left.top | pad | elm.text.sub(main).right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | ------------------------------ | ------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.sub.left.bottom | pad | elm.text.sub.right.bottom | elm.icon.right.bottom | | +// --------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.top.4/default"; + inherit: "elm/genlist/item/2line.top.2/default"; + + parts { + PART(TEXTBLOCK, "elm.text.sub.left.bottom", + DSC_LRB("default" 0.0, + "elm.icon.left.bottom", "elm.padding.text.bottom", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(SPACER, "elm.padding.text.bottom", + DSC_RB("default" 0.0, + "elm.text.sub.right.bottom", "elm.padding.bottom", + min: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + max: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + ) + ) + } +} + +// 2.2.1.A12 +// 2.2.1.A30 +// 2.2.1.A31 +// --------------------------------------- +// | elm.icon.1 | center area | elm.icon.2 | +// --------------------------------------- +// ************************* center area *********************************** // +// -------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.sub.left.top | elm.text.sub.right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | ------------------------------ | ------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.main(sub).left.bottom | elm.text.sub(main).right.bottom | elm.icon.right.bottom | | +// -------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.bottom/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main.left.bottom elm.text.sub.right.bottom elm.text.main.right.bottom elm.text.sub.left.bottom elm.text.sub.left.top elm.text.sub.right.top"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.left elm.icon.right elm.icon.left.top elm.icon.right.top elm.icon.left.bottom elm.icon.right.bottom"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_2LINE_PADDING_TOP_SIZE; + max: -1 LIST_2LINE_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_2LINE_PADDING_BOTTOM_SIZE; + max: -1 LIST_2LINE_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.1", + DSC_L("default" 0.0, + "elm.swallow.pad", + ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_CENTER_LEFT_SIZE 0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon.left", + DSC_LTB("default" 0.0, + "elm.padding.center.left", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.right", + DSC_RTB("default" 0.0, + "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.left.top", + DSC_LTB("default" 0.0, "elm.icon.left", "elm.padding.top", "elm.text.sub.left.top", + rel2.relative: 1 1; // to make same height with "elm.text.sub.left.top" + ) + ) + PART(SWALLOW, "elm.icon.left.bottom", + DSC_LTB("default" 0.0, "elm.icon.left", "elm.text.sub.left.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.icon.right.top", + DSC_RTB("default" 0.0, "elm.icon.right", "elm.padding.top", "elm.text.sub.left.top", + rel2.relative: 0 1; // to make same height with "elm.text.sub.left.top" + ) + ) + PART(SWALLOW, "elm.icon.right.bottom", + DSC_RTB("default" 0.0, "elm.icon.right", "elm.text.sub.left.top", "elm.padding.bottom", + ) + ) + PART(TEXTBLOCK, "elm.text.main.left.bottom", + DSC_LRTB("default" 0.0, + "elm.icon.left.bottom", "elm.text.sub.right.bottom", "elm.text.sub.left.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.right.bottom", + DSC_RTB("default" 0.0, + "elm.icon.right.bottom", "elm.text.sub.right.top", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel1.offset: -LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + /* Right Main */ + PART(TEXTBLOCK, "elm.text.main.right.bottom", + DSC_LRTB("default" 0.0, + "elm.text.sub.left.bottom", "elm.icon.right.bottom", "elm.text.sub.right.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.left.bottom", + DSC_LTB("default" 0.0, + "elm.icon.left.bottom", "elm.text.sub.left.top", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /** This limits text growing. **/ + rel2.offset: LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 0.0 0.5; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.left.top", + DSC_LRT("default" 0.0, + "elm.icon.left.top", "elm.text.sub.right.top", "elm.padding.top", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub.right.top", + DSC_RT("default" 0.0, + "elm.icon.right.top", "elm.padding.top", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /** This limits text growing. **/ + rel1.offset: -LIST_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 1.0 0.0; + /*******************************/ + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_02_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.main.left.bottom"; target: "elm.text.sub.right.top"; + target: "elm.text.main.right.bottom"; target: "elm.text.sub.left.top"; + target: "elm.text.sub.left.bottom"; target: "elm.text.sub.right.bottom"; ) +} + +// Need to delete - hs619.choi@samsung.com(2014/07/24) +// --------------------------------------- +// | elm.icon.1 | center area | elm.icon.2 | +// --------------------------------------- +// ************************* center area *********************************** // +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.sub.left.top | elm.text.sub.right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | --------------------------------- | ---------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.main(sub).left.bottom | pad | elm.text.sub(main).right.bottom | elm.icon.right.bottom | | +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.bottom.2/default"; + inherit: "elm/genlist/item/2line.bottom/default"; + + parts { + PART(TEXTBLOCK, "elm.text.main.left.bottom", + DSC_LRTB("default" 0.0, + "elm.icon.left.bottom", "elm.padding.text.main.bottom", "elm.text.sub.left.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.main.bottom", + DSC_RTB("default" 0.0, + "elm.text.sub.right.bottom", "elm.text.sub.right.top", "elm.padding.bottom", + min: 10 LIST_TEXT_MAIN_HEIGHT; + max: 10 LIST_TEXT_MAIN_HEIGHT; + ) + ) + PART(TEXTBLOCK, "elm.text.main.right.bottom", + DSC_LRTB("default" 0.0, + "elm.padding.text.sub.bottom", "elm.icon.right.bottom", "elm.text.sub.right.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.text.sub.bottom", + DSC_LTB("default" 0.0, + "elm.text.sub.left.bottom", "elm.text.sub.left.top", "elm.padding.bottom", + min: 10 LIST_TEXT_MAIN_HEIGHT; + max: 10 LIST_TEXT_MAIN_HEIGHT; + ) + ) + } +} + +// 2.2.1.A34 +// 2.2.1.A35 +// --------------------------------------- +// | elm.icon.1 | center area | elm.icon.2 | +// --------------------------------------- +// ************************* center area *********************************** // +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.sub.left.top | pad | elm.text.sub.right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | --------------------------------- | ---------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.main(sub).left.bottom | elm.text.sub(main).right.bottom | elm.icon.right.bottom | | +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.bottom.3/default"; + inherit: "elm/genlist/item/2line.bottom/default"; + + parts { + PART(TEXTBLOCK, "elm.text.sub.left.top", + DSC_LRT("default" 0.0, + "elm.icon.left.top", "elm.padding.text.top", "elm.padding.top", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(SPACER, "elm.padding.text.top", + DSC_RT("default" 0.0, + "elm.text.sub.right.top", "elm.padding.top", + min: 10 LIST_TEXT_MAIN_HEIGHT; + max: 10 LIST_TEXT_MAIN_HEIGHT; + ) + ) + } +} + +// 2.2.1.A16 +// --------------------------------------- +// | elm.icon.1 | center area | elm.icon.2 | +// --------------------------------------- +// ************************* center area *********************************** // +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +// | | elm.icon.left.top | elm.text.sub.left.top | pad | elm.text.sub.right.top | elm.icon.right.top | | +// |elm.icon.left | -------------------- | --------------------------------- | ----------------------------------- | --------------------- | elm.icon.right | +// | | elm.icon.left.bottom | elm.text.main(sub).left.bottom | pad | elm.text.sub(main).right.bottom | elm.icon.right.bottom | | +// -------------------------------------------------------------------------------------------------------------------------------------------------------- +group { name: "elm/genlist/item/2line.bottom.4/default"; + inherit: "elm/genlist/item/2line.bottom.2/default"; + + parts { + PART(TEXTBLOCK, "elm.text.sub.left.top", + DSC_LRT("default" 0.0, + "elm.icon.left.top", "elm.padding.text.top", "elm.padding.top", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(SPACER, "elm.padding.text.top", + DSC_RT("default" 0.0, + "elm.text.sub.right.top", "elm.padding.top", + min: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + max: LIST_PADDING_TEXT_SIZE LIST_TEXT_SUB_HEIGHT; + ) + ) + } +} + +// 2.2.1.A40 +group { name: "elm/genlist/item/multiline_sub/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.multiline"; + data.item: "bg_color" "B0211"; + + parts { + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + LIST_PART_BG + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.multiline"; ) +} + +// 2.2.1.A62 +group { name: "elm/genlist/item/multiline_main/default"; + inherit: "elm/genlist/item/multiline_sub/default"; + + data.item: "texts" "elm.text.multiline"; + + parts { + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_main_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.multiline"; ) +} + +// 2.2.1.A41 +group { name: "elm/genlist/item/multiline_sub.main/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main elm.text.multiline"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.main"; target: "elm.text.multiline"; ) +} + +// 2.2.1.A42 +group { name: "elm/genlist/item/multiline_sub.main.sub/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main elm.text.sub elm.text.multiline"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.sub", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.text.multiline", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_03"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_03_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_03_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.main"; target: "elm.text.sub"; target: "elm.text.multiline"; + ) +} + +// 2.2.1.A48 +group { name: "elm/genlist/item/multiline_sub.sub.main/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.sub elm.text.main elm.text.multiline"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.main", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.sub"; target: "elm.text.main"; target: "elm.text.multiline"; + ) +} + +// 2.2.1.A63 +group { name: "elm/genlist/item/multiline_main.sub/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.sub elm.text.multiline"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.multiline", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_main_dim"; + } + ) + } + LIST_PROGRAMS( target: "elm.text.sub"; target: "elm.text.multiline"; ) +} + +// 2.2.1.A64 +group { name: "elm/genlist/item/multiline_sub.main.1icon.1/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main elm.text.multiline"; + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.top", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + PART(SWALLOW, "elm.icon", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + fixed: 1 1; + min: LIST_MULTILINE_ICON_SIZE1; + max: LIST_MULTILINE_ICON_SIZE1; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.main"; target: "elm.text.multiline"; ) +} + +// 2.2.1.A65 +group { name: "elm/genlist/item/multiline_sub.main.1icon/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.main elm.text.multiline"; + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.top", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + PART(SWALLOW, "elm.icon", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + fixed: 1 1; + min: LIST_MULTILINE_ICON_SIZE; + max: LIST_MULTILINE_ICON_SIZE; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.main"; target: "elm.text.multiline"; ) +} + +// 2.2.1.A66 +group { name: "elm/genlist/item/multiline_sub.sub.main.1icon.1/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.sub elm.text.main elm.text.multiline"; + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.top", "elm.text.main", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + PART(SWALLOW, "elm.icon", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: LIST_MULTILINE_ICON_SIZE1; + max: LIST_MULTILINE_ICON_SIZE1; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.sub"; target: "elm.text.main"; target: "elm.text.multiline"; ) +} + +// 2.2.1.A67 +group { name: "elm/genlist/item/multiline_sub.sub.main.1icon/default"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text.sub elm.text.main elm.text.multiline"; + data.item: "contents" "elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_WRAP_PADDING_LEFT_SIZE 0; + max: LIST_WRAP_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_WRAP_PADDING_RIGHT_SIZE 0; + max: LIST_WRAP_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.top", "elm.text.main", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.text.multiline", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.multiline", + DSC_LRB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_multiline_sub"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_multiline_sub_dim"; + } + ) + PART(SWALLOW, "elm.icon", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: LIST_MULTILINE_ICON_SIZE; + max: LIST_MULTILINE_ICON_SIZE; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.sub"; target: "elm.text.main"; target: "elm.text.multiline"; ) +} + +// Entry style +// 2.2.1.A43 +group { name: "elm/genlist/item/entry/default"; + alias: "elm/layout/entry/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry"; + data.item: "bg_color" "B0211"; + + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B0211"; + } + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_ENTRY_PADDING_LEFT_SIZE 0; + max: LIST_ENTRY_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_ENTRY_PADDING_RIGHT_SIZE 0; + max: LIST_ENTRY_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_ENTRY_PADDING_TOP_SIZE; + max: -1 LIST_ENTRY_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE; + max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.entry", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_ENTRY_ENTRY_HEIGHT; + ) + ) + } +} + +// 2.2.1.A44 +group { name: "elm/genlist/item/entry.sub/default"; + alias: "elm/layout/entry.sub/default"; + + data.item: "texts" "elm.text.sub"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry"; + data.item: "bg_color" "B0211"; + + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B0211"; + } + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_ENTRY_PADDING_RIGHT_SIZE 0; + max: LIST_ENTRY_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_ENTRY_PADDING_TOP_SIZE; + max: -1 LIST_ENTRY_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE; + max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LTB("default" 0.0, + "elm.padding.left", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_02"; + /* This limits text growing. */ + rel2.offset: LIST_ENTRY_TEXT_SUB_WIDTH_MAX 0; + text.max: 1 0; + align: 0.0 0.5; + /*******************************/ + ) + ) + PART(SPACER, "elm.padding.entry.left", + DSC_L("default" 0.0, + "elm.text.sub", + min: LIST_ENTRY_PADDING_LEFT_SIZE 0; + max: LIST_ENTRY_PADDING_LEFT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon.entry", + DSC_LRTB("default" 0.0, + "elm.padding.entry.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_ENTRY_ENTRY_HEIGHT; + ) + ) + } +} + +// 2.2.1.A45 +group { name: "elm/genlist/item/entry.icon/default"; + alias: "elm/layout/entry.icon/default"; + + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B0211"; + } + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_ENTRY_PADDING_LEFT_SIZE 0; + max: LIST_ENTRY_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_ENTRY_PADDING_TOP_SIZE; + max: -1 LIST_ENTRY_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE; + max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_R("default" 0.0, + "elm.padding.right", + min: LIST_ENTRY_ICON_SIZE; + max: LIST_ENTRY_ICON_SIZE; + ) + ) + PART(SPACER, "elm.padding.entry.right", + DSC_R("default" 0.0, + "elm.icon", + min: LIST_ENTRY_PADDING_RIGHT_SIZE 0; + max: LIST_ENTRY_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon.entry", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.entry.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_ENTRY_ENTRY_HEIGHT; + ) + ) + } +} + +// 2.2.1.A46 +group { name: "elm/genlist/item/entry.main/default"; + alias: "elm/layout/entry.main/default"; + + data.item: "texts" "elm.text.main"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry"; + data.item: "bg_color" "B0211"; + + + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B0211"; + } + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_DEFAULT_SIZE 0; + max: LIST_PADDING_DEFAULT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE; + max: -1 LIST_ENTRY_PADDING_MAIN_TEXT_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_ENTRY_PADDING_BOTTOM_SIZE; + max: -1 LIST_ENTRY_PADDING_BOTTOM_SIZE; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SWALLOW, "elm.icon.entry", + DSC_LRTB("default" 0.0, + "elm.icon.1", "elm.icon.2", "elm.text.main", "elm.padding.bottom", + min: 0 LIST_ENTRY_ENTRY_HEIGHT; + ) + ) + } + LIST_PROGRAM_DEFAULT( + target: "elm.text.main"; + ) + LIST_PROGRAM_DISABLED( + target: "elm.text.main"; + ) +} + +// 2.1.1.A58 +// Need to delete - hs619.choi@samsung.com(2014/07/24) +group { name: "elm/genlist/item/empty_area/default"; + + data.item: "bg_color" "B0211"; + + images { + image: "core_group_list_bg_ef.#.png" COMP; + } + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + min: 0 LIST_GROUP_HEIGHT; + max: -1 LIST_GROUP_HEIGHT; + align: 0.5 0.0; + color_class: "B074"; + } + ) + PART(IMAGE, "bg_image", + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "core_group_list_bg_ef.#.png"; + } + ) + } +} + +// 2.1.1.A59 +// Need to delete - hs619.choi@samsung.com(2014/07/24) +group { name: "elm/genlist/item/description/default"; + + data.item: "texts" "elm.text.main"; + data.item: "bg_color" "B0211"; + + images { + image: "core_group_list_bg_ef.#.png" COMP; + } + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B074"; + } + ) + PART(IMAGE, "bg_image", + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "core_group_list_bg_ef.#.png"; + } + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_DESC_PADDING_TOP_SIZE; + max: -1 LIST_DESC_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_DESC_PADDING_BOTTOM_SIZE; + max: -1 LIST_DESC_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_DESC_PADDING_LEFT_RIGHT_SIZE 0; + max: LIST_DESC_PADDING_LEFT_RIGHT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_DESC_PADDING_LEFT_RIGHT_SIZE 0; + max: LIST_DESC_PADDING_LEFT_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + text.min: 0 1; + text.style: "list_text_desc"; + ) + ) + } +} + +// 2.2.1.A49 +// 2.2.1.A60 +group { name: "elm/genlist/item/progress.main/default"; + + data.item: "texts" "elm.text.main"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_BAR_PADDING_TOP_SIZE; + max: -1 LIST_BAR_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BAR_PADDING_BOTTOM_SIZE; + max: -1 LIST_BAR_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_CENTER_LEFT_SIZE 0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.center", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.text.main", + min: 0 LIST_PROGRESSBAR_PADDING_CENTER_SIZE; + max: -1 LIST_PROGRESSBAR_PADDING_CENTER_SIZE; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.center", "elm.padding.bottom", + min: 0 LIST_PROGRESSBAR_HEIGHT; + ) + ) + } + LIST_PROGRAMS( target: "elm.text.main"; ) +} + +// 2.2.1.A61 +group { name: "elm/genlist/item/slider.main/default"; + + data.item: "texts" "elm.text.main"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon"; + data.item: "bg_color" "B0211"; + + parts { + LIST_PART_BG + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_BAR_PADDING_TOP_SIZE; + max: -1 LIST_BAR_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BAR_PADDING_BOTTOM_SIZE; + max: -1 LIST_BAR_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.icon.1", + DSC_FROM_L("default" 0.0, ) + ) + PART(SWALLOW, "elm.icon.2", + DSC_FROM_R("default" 0.0, ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.icon.1", + min: LIST_PADDING_CENTER_LEFT_SIZE 0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_R("default" 0.0, + "elm.icon.2", + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text.main", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(SPACER, "elm.padding.center", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.text.main", + min: 0 LIST_SLIDER_PADDING_CENTER_SIZE; + max: -1 LIST_SLIDER_PADDING_CENTER_SIZE; + ) + ) + PART(SWALLOW, "elm.icon", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.center", "elm.padding.bottom", + ) + ) + } + LIST_PROGRAMS( target: "elm.text.main";) +} + +//*************************************// +//************* List Layout ***********// +//*************************************// + +// A Type + +// Left Icon +group { name: "elm/layout/list/A/left.icon/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_A_LEFTICON_RIGHT_PADDING_WIDTH 0; + max: LIST_A_LEFTICON_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_A_LEFTICON_SIZE; + max: LIST_A_LEFTICON_SIZE; + ) + ) + } +} + +// Right Icon +group { name: "elm/layout/list/A/right.icon/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_A_RIGHTICON_LEFT_PADDING_WIDTH 0; + max: LIST_A_RIGHTICON_LEFT_PADDING_WIDTH -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_A_RIGHTICON_SIZE; + max: LIST_A_RIGHTICON_SIZE; + ) + ) + } +} + +// B Type + +// 2.2.1.B1 +group { name: "elm/layout/list/B/type.1/default"; + parts { + PART(SWALLOW, "elm.swallow.content", + description { state: "default" 0.0; + min: LIST_B_TYPE1_ICON_SIZE; + max: LIST_B_TYPE1_ICON_SIZE; + } + ) + } +} + +// 2.2.1.B2 +group { name: "elm/layout/list/B/type.2/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_B_TYPE2_LEFT_PADDING_WIDTH 0; + max: LIST_B_TYPE2_LEFT_PADDING_WIDTH -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_B_TYPE2_ICON_SIZE; + max: LIST_B_TYPE2_ICON_SIZE; + ) + ) + } +} + +// 2.2.1.B3 +group { name: "elm/layout/list/B/type.3/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_B_TYPE3_LEFT_PADDING_WIDTH 0; + max: LIST_B_TYPE3_LEFT_PADDING_WIDTH -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_B_TYPE3_ICON_SIZE; + max: LIST_B_TYPE3_ICON_SIZE; + ) + ) + } +} + +// 2.2.1.B4 +group { name: "elm/layout/list/B/type.4/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_B_TYPE4_LEFT_PADDING_WIDTH 0; + max: LIST_B_TYPE4_LEFT_PADDING_WIDTH -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_B_TYPE4_RIGHT_PADDING_WIDTH 0; + max: LIST_B_TYPE4_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_B_TYPE4_ICON_SIZE; + max: LIST_B_TYPE4_ICON_SIZE; + ) + ) + } +} + +// C Type + +// 2.2.1.C1 +group { name: "elm/layout/list/C/type.1/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_C_TYPE1_RIGHT_PADDING_WIDTH 0; + max: LIST_C_TYPE1_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_C_TYPE1_ICON_SIZE; + max: LIST_C_TYPE1_ICON_SIZE; + ) + ) + } +} + +// 2.2.1.C2 +group { name: "elm/layout/list/C/type.2/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_C_TYPE2_RIGHT_PADDING_WIDTH 0; + max: LIST_C_TYPE2_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_C_TYPE2_ICON_SIZE; + max: LIST_C_TYPE2_ICON_SIZE; + ) + ) + } +} + +// 2.2.1.C3 +group { name: "elm/layout/list/C/type.3/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_C_TYPE3_RIGHT_PADDING_WIDTH 0; + max: LIST_C_TYPE3_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_C_TYPE3_ICON_SIZE; + max: LIST_C_TYPE3_ICON_SIZE; + ) + ) + } +} + +// 2.2.1.C4 +group { name: "elm/layout/list/C/type.4/default"; + parts { + PART(RECT, "toggle_divider", + DSC_FROM_L("default" 0.0, + min: LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE; + max: LIST_C_TYPE4_TOGGLE_DIVIDER_SIZE; + color_class: "W0151"; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "toggle_divider", + min: LIST_C_TYPE4_LEFT_PADDING_WIDTH 0; + max: LIST_C_TYPE4_LEFT_PADDING_WIDTH -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_C_TYPE4_RIGHT_PADDING_WIDTH 0; + max: LIST_C_TYPE4_RIGHT_PADDING_WIDTH -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_C_TYPE4_ICON_SIZE; + max: LIST_C_TYPE4_ICON_SIZE; + ) + ) + } +} + +// nDepth entry stlye +group { name: "elm/layout/list/expand/type.1/default"; + parts { + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_INDEX_PADDING_LEFT_SIZE 0; + max: LIST_INDEX_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: 0 0; + max: 0 -1; + ) + ) + PART(SWALLOW, "elm.swallow.content", + DSC_LR("default" 0.0, + "elm.padding.left", "elm.padding.right", + min: LIST_B_TYPE3_ICON_SIZE; + max: LIST_B_TYPE3_ICON_SIZE; + ) + ) + } +} diff --git a/2.3-mobile/widgets/genlist_macro.edc b/2.3-mobile/widgets/genlist_macro.edc new file mode 100644 index 0000000..730ed2d --- /dev/null +++ b/2.3-mobile/widgets/genlist_macro.edc @@ -0,0 +1,548 @@ +/* + * 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. + */ + +//**************************************************************************// +// Generic Macros, EDJE description have 24 patterns +//**************************************************************************// +// ------------------ +// | --> HERE +// ------------------ + #define DSC_FROM_L( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM \ + } + +// ------------------ +// HERE <-- | +// ------------------ + #define DSC_FROM_R( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM \ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DSC_FROM_T( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM \ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DSC_FROM_B( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM \ + } + +// ------------------ +// | PART == HERE | +// ------------------ + #define DSC_TO( STATE, PART, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 0 0; \ + to: PART; \ + } \ + rel2 { \ + relative: 1 1; \ + to: PART; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_LRTB( STATE, LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// --------------------- +// LEFT |--> HERE +// --------------------- +#define DSC_L( STATE, LEFT, PARAM ) \ + description { state: STATE; \ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + PARAM \ + } + +// --------------------- +// HERE <--| RIGHT +// --------------------- +#define DSC_R( STATE, RIGHT, PARAM ) \ + description { state: STATE; \ + align: 1 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + PARAM \ + } + +// -------------------------- +// LEFT |--> HERE <--| RIGHT +// -------------------------- +#define DSC_LR( STATE, LEFT, RIGHT, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + PARAM \ + } + +// | TOP | +// ----------------- +// | HERE <--| RIGHT +// ----------------- +// | BOTTOM | +#define DSC_RTB( STATE, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_LRB( STATE, LEFT, RIGHT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 1; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +#define DSC_LRT( STATE, LEFT, RIGHT, TOP, PARAM ) \ + description { state: STATE; \ + align: 0.5 0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | --> HERE | +#define DSC_LT( STATE, LEFT, TOP, PARAM ) \ + description { state: STATE; \ + align: 0 0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// LEFT | --> HERE | +// --------------------- +// | BOTTOM | +#define DSC_LB( STATE, LEFT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0 1; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT |--> HERE | +// --------------------- +// | BOTTOM | +#define DSC_LTB( STATE, LEFT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// | HERE <--| RIGHT +#define DSC_RT( STATE, RIGHT, TOP, PARAM ) \ + description { state: STATE; \ + align: 1 0; \ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | HERE <-- | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_RB( STATE, RIGHT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 1 1; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DSC_TB( STATE, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 0.5; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +#define DSC_T( STATE, TOP, PARAM ) \ + description { state: STATE; \ + align: 0.5 0.0; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | HERE | +// ---------- +// | BOTTOM | +// ---------- +#define DSC_B( STATE, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 1.0; \ + rel1 { \ + relative: 0 0; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// PART +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +//**************************************************************************// +// Genlist Macros +//**************************************************************************// +#define LIST_PART_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color_class: "B0211"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B0211P"; \ + } \ + description { state: "disabled" 0.0; \ + color_class: "B0211"; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PART_BG_NOCLASS \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color: 165 197 210 255; \ + } \ + description { state: "disabled" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PART_BG_GROUP \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 192 213 222 255; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color: 165 197 210 255; \ + } \ + description { state: "disabled" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PROGRAM_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +#define LIST_PROGRAM_DISABLED( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define LIST_PROGRAM_SELECT( TARGET ) \ + program { name: "pressed"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + + #define LIST_PROGRAM_REORDER( TARGET ) \ + program { name: "reorder_enabled"; \ + signal: "elm,state,reorder,enabled"; \ + source: "elm"; \ + action: STATE_SET "reorder" 0.0; \ + TARGET \ + } \ + program { name: "reorder_disabled"; \ + signal: "elm,state,reorder,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define LIST_PROGRAM_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"touch_sound"); \ + } \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define LIST_PROGRAMS( TARGET ) \ + programs { \ + LIST_PROGRAM_DEFAULT( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_DISABLED( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_SELECT( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_REORDER( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_SOUND \ + } + +#define PARAM_TEXT(STYLE) \ + text { \ + min: 0 1; \ + style: STYLE; \ + } + +#define LIST_PROGRAM_PAD \ + program { name: "left_default"; \ + signal: "elm,pad,left,default"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "elm.padding.center.left"; \ + } \ + program { name: "left_enabled"; \ + signal: "elm,pad,left,enabled"; \ + source: ""; \ + action: STATE_SET "enabled" 0.0; \ + target: "elm.padding.center.left"; \ + } \ + program { name: "right_default"; \ + signal: "elm,pad,right,default"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "elm.padding.center.right"; \ + } \ + program { name: "right_enabled"; \ + signal: "elm,pad,right,enabled"; \ + source: ""; \ + action: STATE_SET "enabled" 0.0; \ + target: "elm.padding.center.right"; \ + } diff --git a/2.3-mobile/widgets/index.edc b/2.3-mobile/widgets/index.edc new file mode 100644 index 0000000..849cb3f --- /dev/null +++ b/2.3-mobile/widgets/index.edc @@ -0,0 +1,1039 @@ +/* + * 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. + */ + styles { + style { name: "Index_scroll_1depth_popup_left_align"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=left color=#FFFFFF text_class=T115 color_class=T115 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + style { name: "Index_scroll_bar_2depth_popup"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=right color=#FFFFFF text_class=T115 color_class=T115 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + style { name: "Index_scroll_1depth_popup"; + base: "font=Tizen:style=Medium font_size="INDEX_POPUP_TEXT_SIZE_INC" align=center color=#FFFFFF text_class=T115 color_class=T115 ellipsis=0.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font_weight=Bold"; + } + } + group { name: "elm/index/base/vertical/default"; + images { + set { + name: "core_index_scroll_popup_bg.#"; + image { + image: SMALL"images/Controls/core_index_scroll_popup_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_popup_bg.#.png" COMP; + } + } + set { + name: "core_index_scroll_popup_bg_ef.#"; + image { + image: SMALL"images/Controls/core_index_scroll_popup_bg_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_popup_bg_ef.#.png" COMP; + } + } + set { + name: "core_index_scroll_popup_bg_stroke.#"; + image { + image: SMALL"images/Controls/core_index_scroll_popup_bg_stroke.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_popup_bg_stroke.#.png" COMP; + } + } + } + parts { + part { name: "clip"; + scale: 1; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + scale: 1; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.dragable.index.1"; + type: SPACER; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "elm.swallow.index.0"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: INDEX_SCROLL_DRAG_PART_SIZE; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.index.1.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + max:1 0; + visible: 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + description { state: "active" 0.0; + max:1 0; + visible: 0; + color: INDEX_SCROLL_PADDING_COLOR; + } + } + part { name: "left.line.index.1"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + visible: 0; + min: INDEX_SCROLL_BG_LINE_WIDTH_INC 0; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.1"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 0.0 1.0; + } + color_class: "B0722"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.index.1"; + type: SWALLOW; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.dragable.index.1"; + offset: -1 0; + relative: 0.0 0.0; + } + rel2 { + to: "elm.dragable.index.1"; + offset: -1 0; + relative: 0.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "align_bottom" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + description { state: "align_top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "index1.top.padding"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { + visible : 0; + align: 0.0 1.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + color_class: "B0722"; + rel1 { + to: "left.line.index.1"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 1.0 0.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "index1.bottom.padding"; + type: RECT; + clip_to: "clip2"; + scale: 1; + description { + align: 0.0 0.0; + visible : 0; + min: 0 INDEX_PADDING_SIZE_INC; + color_class: "B0722"; + fixed: 0 1; + rel1 { + to: "left.line.index.1"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 1.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "index.top.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 0.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 0.0; + } + } + } + part { name: "index.bottom.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 1.0; + min: 0 INDEX_PADDING_SIZE_INC; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 1.0; + } + } + } + part { name: "bg"; + type: RECT; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "index.top.padding"; + rel2.to: "index.bottom.padding"; + color_class: "B0722"; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "index.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to_y: "index.bottom.padding"; + relative: 1.0 0.0; + } + color: 255 255 255 255; + } + } + part { name: "popup_bg"; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + fixed: 1 1; + min: INDEX_SCROLL_POPUP_SIZE; + color_class: "B0731L1"; + image.normal: "core_index_scroll_popup_bg.#"; + rel1.to: "text.left.padding"; + rel2.to: "text.right.padding"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + min: INDEX_SCROLL_POPUP_ACTIVE_SIZE; + } + } + part { name: "popup_bg_stroke"; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "popup_bg"; + rel2.to: "popup_bg"; + image.normal: "core_index_scroll_popup_bg_stroke.#"; + color_class: "B0731L2"; + } + } + part { name: "popup_bg_effect"; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "popup_bg"; + rel2.to: "popup_bg"; + image.normal: "core_index_scroll_popup_bg_ef.#"; + } + } + part { + name: "align_prop"; + type: "SPACER"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: 1 0; + max: 1 -1; + fixed: 1 0; + } + } + part { + name: "elm.text.1"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_SCROLL_TEXT1_DEFAULT_SIZE; + fixed: 1 1; + text.style: "Index_scroll_1depth_popup"; + text.min: 1 1; + text.max: 1 1; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + min: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; + text.style: "Index_scroll_1depth_popup_left_align"; + rel1 { + to: "align_prop"; + relative: 1.0 0.0; + } + rel2.to: "align_prop"; + text.min: 1 1; + align: 0.0 0.5; + } + } + part { + name: "elm.text"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + fixed: 1 1; + text.style: "Index_scroll_bar_2depth_popup"; + text.min: 1 1; + text.max: 1 1; + visible: 0; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + min: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; + rel1.to: "align_prop"; + rel2 { + to: "align_prop"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + } + } + part { name: "text.left.padding"; + type: SPACER; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_TEXT_LEFT_PADDING_SIZE_INC 0; + fixed: 1 0; + rel1.to: "elm.text.1"; + rel2 { + to: "elm.text.1"; + relative: 0.0 1.0; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.text"; + rel2 { + to: "elm.text"; + relative: 0.0 1.0; + } + } + } + part { name: "text.right.padding"; + type: SPACER; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: INDEX_TEXT_RIGHT_PADDING_SIZE_INC 0; + fixed: 1 0; + rel1 { + to: "elm.text.1"; + relative: 1.0 0.0; + } + rel2.to: "elm.text.1"; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.event.1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.index.1"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.index.1"; + } + } + } + part { + name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.0"; + offset: -3 0; + } + rel2 { + to: "elm.swallow.index.0"; + } + color: 0 0 0 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "drag2"; + signal: "drag,set"; + source: "elm.dragable.index.1"; + script { + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + custom_state(PART:"elm.dragable.index.1", "default", 0.0); + set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); + } + } + program { name: "index0.active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip"; + } + program { name: "index1.inactive"; + signal: "elm,state,level,0"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.1"; + target: "elm.text.1"; + target: "elm.text"; + target: "elm.swallow.index.1.padding.right"; + target: "left.line.index.1"; + target: "index1.top.padding"; + target: "index1.bottom.padding"; + target: "popup_bg"; + target: "text.left.padding"; + } + program { name: "index1.active"; + signal: "elm,state,level,1"; + source: "elm"; + script { + new x1, x2, y1, y2, w1, w2, h1, h2; + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + get_geometry(PART:"elm.swallow.index.1", x1, y1, w1, h1); + get_geometry(PART:"clip", x2, y2, w2, h2); + if ((y1+h1) > (y2+h2)) { + set_state(PART:"elm.swallow.index.1", "align_bottom", 0.0); + } + else if (dy < 0.02) { + set_state(PART:"elm.swallow.index.1", "align_top", 0.0); + } + else { + set_state(PART:"elm.swallow.index.1", "active", 0.0); + } + set_state(PART:"clip2", "active", 0.0); + set_state(PART:"elm.swallow.index.1.padding.right", "active", 0.0); + set_state(PART:"left.line.index.1", "active", 0.0); + set_state(PART:"index1.top.padding", "active", 0.0); + set_state(PART:"index1.bottom.padding", "active", 0.0); + set_state(PART:"popup_bg", "active", 0.0); + set_state(PART:"text.left.padding", "active", 0.0); + } + } + program { name: "index1.text"; + signal: "index1.text.enable"; + source: ""; + action: STATE_SET "active" 0.0; + target: "elm.text.1"; + target: "elm.text"; + target: "text.left.padding"; + } + program { name: "index0.hide"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip"; + } + program { name: "index.active"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip2"; + } + program { name: "index.inactive"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + } + program { name: "event.inactive"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.up"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "up" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.down"; + } + program { name: "index.go.down"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.inactive2"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.down"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "down" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.up"; + } + program { name: "index.go.up"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.active"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.event.0"; + } + program { + name: "access.active"; + signal: "elm,access,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { + name: "access.inactive"; + signal: "elm,access,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + } + } + + group { name: "elm/index/item1/vertical/default"; + alias: "elm/index/item1_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "focus.top"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "focus.bottom"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + align: 0.5 0.5; + state: "default" 0.0; + color_class: "T113"; + text { + align: 0.5 0.5; + text_class: "T113"; + } + } + } + } + } + group { name: "elm/index/item2/vertical/default"; + alias: "elm/index/item2_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "scroll.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 { + relative: 1.0 0.0; + to: "divider"; + } + color_class: "B0722"; + } + } + part { name: "focus.top"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "focus.bottom"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 1 1; + rel1 { + to: "divider"; + relative: 0.0 0.0; + } + rel2 { + to: "divider"; + relative: 1.0 0.0; + } + } + } + part { name: "right.padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: INDEX_ITEM_PADDING_SIZE_INC 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC; + align: 0.5 0.5; + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + rel2.to: "divider"; + color_class: "T113"; + text { + align: 0.5 0.5; + text_class: "T113"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color_class: "T113"; + text.text_class: "T113"; + } + } + part { name: "divider"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 INDEX_DIVIDER_WIDTH_INC; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + } + color_class: "B0725"; + } + description { + state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + } + } + } + group { + name: "elm/index/base/vertical/pagecontrol"; + alias: "elm/index/base/horizontal/pagecontrol"; + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + fixed: 1 1; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.5; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + } + } + group { + name: "elm/index/item/vertical/pagecontrol"; + alias: "elm/index/item_odd/vertical/pagecontrol"; + alias: "elm/index/item/horizontal/pagecontrol"; + alias: "elm/index/item_odd/horizontal/pagecontrol"; + images { + set { + name: "core_page_indicator_on"; + image { + image: SMALL"images/Navigation_elements/core_page_indicator_on.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_page_indicator_on.png" COMP; + } + } + set { + name: "core_page_indicator_off"; + image { + image: SMALL"images/Navigation_elements/core_page_indicator_off.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_page_indicator_off.png" COMP; + } + } + set { + name: "core_page_indicator_off_ef"; + image { + image: SMALL"images/Navigation_elements/core_page_indicator_off_ef.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_page_indicator_off_ef.png" COMP; + } + } + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + min: INDEX_PAGECONTROL_IND_INC; + max: INDEX_PAGECONTROL_IND_INC; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator_off"; + scale: 1; + mouse_events: 1; + type: IMAGE; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_PAGECONTROL_IND_MIN_INC; + max: INDEX_PAGECONTROL_IND_MIN_INC; + image.normal: "core_page_indicator_off"; + color_class: "W158E1"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator_ff_shadow"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "indicator_off"; + rel2.to: "indicator_off"; + min: INDEX_PAGECONTROL_IND_MIN_INC; + max: INDEX_PAGECONTROL_IND_MIN_INC; + image.normal: "core_page_indicator_off_ef"; + color_class: "W158E1"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator_on"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_PAGECONTROL_IND_MIN_INC; + max: INDEX_PAGECONTROL_IND_MIN_INC; + image.normal: "core_page_indicator_on"; + color_class: "W158"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator_off"; + target: "indicator_ff_shadow"; + target: "indicator_on"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator_off"; + target: "indicator_ff_shadow"; + target: "indicator_on"; + } + } + } + diff --git a/2.3-mobile/widgets/label.edc b/2.3-mobile/widgets/label.edc new file mode 100644 index 0000000..974da01 --- /dev/null +++ b/2.3-mobile/widgets/label.edc @@ -0,0 +1,769 @@ +/* + * 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. + */ + +#define SLIDE_SPEED_WEIGHT 0.5 +#define SLIDE_TEXT_GAP 60 +#define SLIDE_TEXT_CHAR_GAP " " //60 (6 spaces) +#define SLIDE_TEXT_MAX_LENGTH (2*(1024+6)) + + styles { + style { name: "textblock_style"; + base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color=#ffffff color_class=T1011 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + /* label doesn't use it */ + style { name: "textblock_charwrap_style"; +base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color=#ffffff color_class=T1011 text_class=T1011"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + group { name: "elm/label/base/default"; + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap_ellipsis/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + group { name: "elm/label/base/marker"; + styles { + style { name: "textblock_style2"; + base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ color=#ffff"; + tag: "b" "+ color=#ffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/marker"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + group { name: "elm/label/base/slide_long"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_roll"; + script { + public g_duration = 0; + public g_stopslide = 0; + public g_timer_id = 0; + public g_anim_id = 0; + public g_tb_w = 0; + public g_tb_h = LABEL_FONT_SIZE_INC; + public org_text = 0; + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); + } + } + public get_tb_width() { + new x, y, w, h; + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + set_int(g_tb_h, h); + set_state(PART:"text_clip", "default", 0.0); + get_geometry(PART:"text_clip", x, y, w, h); + set_int(org_text, w); + } + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + set_tween_state(PART:"elm.text.slide", pos*0.5, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + public start_slide(val) { + new Float:len; + set_int(g_stopslide, 0); + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w); + set_float(g_duration, len / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); + } + if(get_int(g_tb_w) > get_int(org_text)) { + run_program(PROGRAM:"slide_text_set"); + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + slide_to_end(); + } + } + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + set_int(g_stopslide, 1); + set_float(g_duration, 0); + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap"; } + } + } + } + programs { + program { name: "slide_text_set"; + script { + new buf[1024]; + new buffer[SLIDE_TEXT_MAX_LENGTH]; + get_text(PART:"elm.text", buf, 1024); + snprintf(buffer, SLIDE_TEXT_MAX_LENGTH, "%s", buf); + strcat(buffer, SLIDE_TEXT_CHAR_GAP); + strcat(buffer, buf); + strcat(buffer, SLIDE_TEXT_CHAR_GAP); + set_text(PART:"elm.text.slide", buffer); + } + } + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_short"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + + group { name: "elm/label/base/slide_bounce"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + } + public slide_to_begin() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_begin_anim", 1); + set_int(g_anim_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } diff --git a/2.3-mobile/widgets/layout.edc b/2.3-mobile/widgets/layout.edc new file mode 100755 index 0000000..10f4100 --- /dev/null +++ b/2.3-mobile/widgets/layout.edc @@ -0,0 +1,1022 @@ +/* + * 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. + */ + +group { name: "elm/layout/application/default"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; } + } + } +} + +group { name: "elm/layout/drawer/panel"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.bg"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.left"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.right"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + } +} + +group { + name: "elm/layout/nocontents/default"; + images { + set { + name: "core_pattern_empty_bg"; + image { + image: SMALL"images/Content_views/core_pattern_empty_bg.png" COMP; + } + image { + image: MEDIUM"images/Content_views/core_pattern_empty_bg.png" COMP; + } + } + set { + name: "core_pattern_empty_bg_h"; + image { + image: SMALL"images/Content_views/core_pattern_empty_bg_h.png" COMP; + } + image { + image: MEDIUM"images/Content_views/core_pattern_empty_bg_h.png" COMP; + } + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: B011; + } + } + part { name: "bg_con"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color_class: "B238L1"; + } + } + part { name: "bg_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 NO_CONTENT_BG_HEIGHT_INC; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 1.0 0.0; + } + align: 0.0 0.0; + fixed: 0 1; + color_class: "B238L2"; + image.normal: "core_pattern_empty_bg"; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: 0 NO_CONTENT_BG_LANDSCAPE_HEIGHT_INC; + image.normal: "core_pattern_empty_bg_h"; + } + } + part { name: "text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + max: -1 NO_CONTENT_MAX_HEIGHT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 0; + fixed: 1 0; + align: 0.0 0.0; + rel1.to: "text_bg"; + rel2.to: "text_bg"; + rel2.relative: 0.0 1.0; + } + } + part{ name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NO_CONTENT_LEFT_RIGHT_PADDING_WIDTH_INC 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { + to: "text_bg"; + relative: 1.0 0.0; + } + rel2.to: "text_bg"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "left_padding"; + to_y: "text_bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "right_padding"; + to_y: "text_bg"; + relative: 0.0 1.0; + } + text { + style: "empty_state_1"; + min: 0 1; + max: 0 1; + } + } + description { state: "help_text_set" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + align: 0.0 1.0; + rel1 { + to: "padding_after_text"; + relative: 0.0 0.0 ; + } + rel2 { + to: "padding_after_text"; + relative: 1.0 0.0; + } + } + } + part { name: "padding_after_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: 0 NO_CONTENT_TEXT_PADDING_HEIGHT_INC; + fixed: 1 1; + rel1.to:"elm.help.text"; + rel2 { + relative: 1.0 0.0; + to: "elm.help.text"; + } + } + } + part { name: "help_text_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 (NO_CONTENT_TITLE_TEXT_HEIGHT_INC + NO_CONTENT_TEXT_PADDING_HEIGHT_INC); + fixed: 0 1; + align: 0.5 0.0; + rel1.to: "text_bg"; + rel2 { + to: "text_bg"; + relative: 1.0 0.0; + } + } + } + part { name: "help_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "help_text_top_padding"; + relative: 0.0 1.0; + } + rel2.to: "text_bg"; + } + } + part { name: "elm.help.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x:"left_padding"; + to_y:"help_text_bg"; + } + rel2 { + relative: 0.0 1.0; + to_x:"right_padding"; + to_y:"help_text_bg"; + } + text { + style: "empty_state_2"; + align: 0.0 0.5; + min: 0 1; + max: 0 1; + } + } + } + } + programs { + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + script { + set_state(PART:"bg_image", "landscape", 0.0); + } + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + script { + set_state(PART:"bg_image", "landscape", 0.0); + } + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + script { + set_state(PART:"bg_image", "default", 0.0); + } + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + script { + set_state(PART:"bg_image", "default", 0.0); + } + } + program { name: "align_center"; + signal: "align.center"; + source: "elm"; + script { + new buf[1024]; + get_text(PART:"elm.help.text", buf, 1024); + if (strlen(buf) > 0) + set_state(PART:"elm.text", "help_text_set", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +group { name: "elm/layout/application/fastscroll"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + min: INDEX_ITEM_WIDTH_INC 0; + fixed: 1 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel2 { + to: "right.padding"; + relative: 0.0 1.0; + } + } + description { + state: "fastscroll_hide" 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + } + } + part { + name: "elm.swallow.fastscroll"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + } + description { + state: "fastscroll_hide" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "fastscroll_hide"; + signal: "elm,state,fastscroll,hide"; + source: ""; + action: STATE_SET "fastscroll_hide" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + program { + name: "fastscroll_show"; + signal: "elm,state,fastscroll,show"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + } +} + + /*************************************************/ + /* elm_layout -> searchbar style */ + /*************************************************/ + group { name: "elm/layout/application/searchbar_base"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "searchbar"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_H_INC; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "searchbar"; + } + } + } + } + programs { + program { name: "show_searchbar"; + signal: "elm,state,show,searchbar"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "searchbar"; + } + program { name: "show_searchbar_with_animation"; + signal: "elm,state,show,searchbar,animation"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "searchbar"; + } + program { name: "hide_searchbar"; + signal: "elm,state,hide,searchbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "searchbar"; + } + program { name: "hide_searchbar_with_animation"; + signal: "elm,state,hide,searchbar,animation"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.3; + target: "searchbar"; + } + } + } + +group { name: "elm/layout/searchbar/default"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "B0215"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "inputfield_base"; } + rel2 { relative: 0.0 0.0; to: "inputfield_base"; } + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { relative: 1.0 1.0; to: "inputfield_base"; } + rel2 { relative: 1.0 1.0; to: "inputfield_base"; } + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + align: 0.0 0.5; + rel1 { relative: 1.0 1.0; to: "top_left_padding"; } + rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; } + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/layout/searchbar/cancel_button"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "B0215"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_TOP_PADDING_INC; + fixed: 0 1; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 1.0 0.0; + } + } + part { name: "bottom_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 0 1; + align: 0 1; + rel1.to: "inputfield_base"; + rel1.relative: 0.0 1.0; + rel2.to: "inputfield_base"; + } + } + part { name: "base_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_HEIGHT_INC; + align: 0 0.5; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "top_padding_rect"; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_padding_rect"; + } + } + } + part { name: "left_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC 0; + fixed: 1 0; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.to: "inputfield_base"; + rel1.relative: 1.0 0.0; + rel2.to: "inputfield_base"; + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative: 1.0 0.0; + to_x: "left_padding_rect"; + to_y: "base_bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_btn_padding_rect"; + to_y: "base_bg"; + } + color: 0 0 0 0; + } + } + part { name: "right_btn_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "right_padding_rect"; + rel2.relative: 0.0 1.0; + rel2.to: "right_padding_rect"; + } + description { state: "in" 0.0; + inherit: "default" 0.0; + min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0; + rel1.to: "button_cancel"; + rel2.to: "button_cancel"; + } + } + part { name: "button_cancel"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SEARCHBAR_CANCEL_BUTTON_W_INC 0; + align: 1.0 0.5; + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding_rect"; + to_y: "top_padding_rect"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding_rect"; + to_y: "bottom_padding_rect"; + } + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "cancel_in"; + signal: "cancel,in"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_out"; + signal: "cancel,out"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_show"; + signal: "cancel,show"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + } + program { name: "cancel_hide"; + signal: "cancel,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + } + } +} + +group { name: "elm/layout/editfield/singleline"; + alias: "elm/layout/searchfield/singleline"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 EDITFIELD_BASE_HEIGHT_INC; + color_class: "B0215"; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_TOP_LEFT_PADDING_MIN_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 0.0 0.0; + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_BOTTOM_RIGHT_PADDING_MIN_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1.to: "bg"; + rel1.relative: 1.0 1.0; + rel2.to: "bg"; + } + } + part { name: "line_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_LINE_BOTTOM_PADDING_MIN_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.to: "bg"; + rel1.relative: 0.0 1.0; + rel2.to: "bg"; + } + } + part { name: "line_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_LINE_RECT_MIN_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to_x: "top_left_padding"; + to_y: "line_bottom_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bottom_right_padding"; + to_y: "line_bottom_padding"; + relative: 0.0 0.0; + } + color_class: "F059"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "F057"; + } + } + part { name: "button_field"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_BUTTON_FIELD_MIN_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + to_x: "bottom_right_padding"; + } + rel2 { + to_x: "bottom_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "focused_bottom_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_FOCUSED_BOTTOM_RIGHT_PADDING_MIN_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1.to: "bg"; + rel1.relative: 1.0 1.0; + rel2.to: "bg"; + } + } + part { name: "entry_field"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_ENTRY_FIELD_MIN_INC; + rel1 { + to: "top_left_padding"; + relative: 1.0 1.0; + } + rel2 { + to: "bottom_right_padding"; + relative: 0.0 0.0; + } + } + description { state: "show_button" 0.0; + inherit: "default" 0.0; + rel2 { + to: "focused_bottom_right_padding"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: EDITFIELD_ENTRY_SWALLOW_ALIGN; + rel1.to: "entry_field"; + rel2.to: "entry_field"; + } + } + part { name: "elm.swallow.button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "button_field"; + rel2.to: "button_field"; + visible: 0; + } + description { state: "show_button" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "focused"; + signal: "elm,state,focused"; + source: ""; + action: STATE_SET "focused" 0.0; + target: "line_rect"; + } + program { name: "unfocused"; + signal: "elm,state,unfocused"; + source: ""; + action: STATE_SET "default" 0.0; + target: "line_rect"; + } + program { name: "show_button"; + signal: "elm,action,show,button"; + source: ""; + action: STATE_SET "show_button" 0.0; + target: "entry_field"; + target: "elm.swallow.button"; + } + program { name: "hide_button"; + signal: "elm,action,hide,button"; + source: ""; + action: STATE_SET "default" 0.0; + target: "entry_field"; + target: "elm.swallow.button"; + } + } +} + +group { name: "elm/layout/editfield/multiline"; + inherit: "elm/layout/editfield/singleline"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 EDITFIELD_BASE_HEIGHT_MULTILINE_INC; + color_class: "B0215"; + } + } + part { name: "line_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_LINE_BOTTOM_PADDING_MIN_MULTILINE_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.to: "bg"; + rel1.relative: 0.0 1.0; + rel2.to: "bg"; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_MULTILINE_TOP_LEFT_PADDING_MIN_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 0.0 0.0; + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: EDITFIELD_MULTILINE_BOTTOM_RIGHT_PADDING_MIN_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1.to: "bg"; + rel1.relative: 1.0 1.0; + rel2.to: "bg"; + } + } + } +} diff --git a/2.3-mobile/widgets/multibuttonentry.edc b/2.3-mobile/widgets/multibuttonentry.edc new file mode 100644 index 0000000..0ddd461 --- /dev/null +++ b/2.3-mobile/widgets/multibuttonentry.edc @@ -0,0 +1,630 @@ +/* + * 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. + */ + + group { + name: "elm/multibuttonentry/base/default"; + + data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC; + data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC; + data.item: "closed_button_type" "label"; /* image, label, default: label */ + + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "top.left.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + } + part { + name: "bottom.right.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_BOTTOM_HEIGHT_PAD_INC; + fixed: 1 1; + rel1.relative: 1.0 1.0; + align: 1.0 1.0; + } + } + part { + name: "box.swallow"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "top.left.pad"; + } + rel2 { + relative: 0.0 0.0; + to: "bottom.right.pad"; + } + } + } + part { name: "block_events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + description { + state: "invisible" 0.0; + visible: 0; + } + } + part { name: "events"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + program { + name: "event_allow"; + signal: "elm,state,event,allow"; + source: ""; + action: STATE_SET "invisible" 0.0; + target: "block_events"; + } + program { + name: "event_block"; + signal: "elm,state,event,block"; + source: ""; + action: STATE_SET "default" 0.0; + target: "block_events"; + } + } +} + + group { + name: "elm/multibuttonentry/guidetext/default"; + + styles { + style { + name: "multibuttonentry_guide_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color=#FFFFFF color_class=T059L1 wrap=char text_class=T059L1"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC; + text.style: "multibuttonentry_guide_style"; + } + description { + state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "show"; + signal: "elm,state,guidetext,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "hide"; + signal: "elm,state,guidetext,hide"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: "elm.text"; + } + } + } + + group { + name: "elm/multibuttonentry/btn/default"; + + styles { + style { + name: "multibuttonentry_btn_text_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2 text_class=T051L2 align=center"; + } + style { + name: "multibuttonentry_btn_text_pressed_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2P text_class=T051L2P align=center"; + } + style { + name: "multibuttonentry_btn_text_dim_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2D text_class=T051L2D align=center"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2 ellipsis=1 text_class=T051L2"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_pressed_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2P ellipsis=1 text_class=T051L2P"; + } + style { + name: "multibuttonentry_btn_text_ellipsis_dim_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T051L2D ellipsis=1 text_class=T051L2D"; + } + } + script { + public disabled = 0; + } + images { + set { + name: "core_list_button_bg.#"; + image { + image: SMALL"images/Controls/core_list_button_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_list_button_bg.#.png" COMP; + } + } + } + + data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; + data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; + data.item: "focus_highlight" "on"; + + parts { + part { name: "button_image"; + scale: 1; + description { state: "default" 0.0; + min: MULTIBUTTONENTRY_BUTTON_WIDTH_INC MULTIBUTTONENTRY_BUTTON_HEIGHT_INC; + image.normal: "core_list_button_bg.#"; + color_class: "W012"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012D"; + } + } + part { + name: "left.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part { + name: "right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part { + name: "elm.btn.text"; + type: TEXTBLOCK; + mouse_events: 0; + multiline: 0; + scale: 1; + description { + state: "default" 0.0; + text { + style: "multibuttonentry_btn_text_style"; + min: 1 0; + } + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2 { + relative: 0.0 1.0; + to: "right.padding"; + } + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_btn_text_pressed_style"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_btn_text_dim_style"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + text { + style: "multibuttonentry_btn_text_ellipsis_style"; + min: 0 0; + } + } + description { + state: "ellipsis_pressed" 0.0; + inherit: "ellipsis" 0.0; + text.style: "multibuttonentry_btn_text_ellipsis_pressed_style"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.style: "multibuttonentry_btn_text_ellipsis_dim_style"; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "drag"; + type: RECT; + scale: 1; + repeat_events: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + } + } + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.btn.text"; + } + program { + name: "pressed"; + signal: "mouse,down,1"; + source: "drag"; + script { + new st[31]; + new Float:vl; + if (get_int(disabled) == 1) + return; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "pressed", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis_pressed", 0.0); + set_state(PART:"button_image", "pressed", 0.0); + } + after: "selected"; + } + program { + name: "move"; + signal: "drag"; + source: "drag"; + script { + new Float:dx, Float:dy; + if (get_int(disabled) == 1) + return; + get_drag(PART:"drag", dx, dy); + if ((abs(dx) > 20) || (abs(dy) > 20)) { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"button_image", "default", 0.0); + } + } + } + program { + name: "released"; + signal: "mouse,up,1"; + source: "drag"; + script { + new st[31]; + new Float:vl; + if (get_int(disabled) == 1) + return; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"button_image", "default", 0.0); + set_drag(PART:"drag", 0.0, 0.0); + } + after: "unselected"; + } + program { + name: "selected_elm"; + signal: "elm,action,btn,selected"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"button_image", "pressed", 0.0); + } + after: "selected"; + } + program { + name: "unselected_elm"; + signal: "elm,action,btn,unselected"; + source: ""; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "pressed")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_pressed")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + if (get_int(disabled) == 0) + set_state(PART:"button_image", "default", 0.0); + else + set_state(PART:"button_image", "disabled", 0.0); + set_drag(PART:"drag", 0.0, 0.0); + } + after: "unselected"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "disabled")) + set_state(PART:"elm.btn.text", "default", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis", 0.0); + set_state(PART:"button_image", "default", 0.0); + set_int(disabled , 0); + } + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.btn.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "disabled")) + set_state(PART:"elm.btn.text", "disabled", 0.0); + else if (!strcmp(st, "ellipsis") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.btn.text", "ellipsis_disabled", 0.0); + set_state(PART:"button_image", "disabled", 0.0); + set_int(disabled , 1); + } + } + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + after: "touch_snd"; + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound" ; + } + program { + name: "selected"; + action: SIGNAL_EMIT "elm,action,selected" ""; + } + program { + name: "unselected"; + action: SIGNAL_EMIT "elm,action,unselected" ""; + } + } + } + + group { + name: "elm/multibuttonentry/number/default"; + + styles { + style { + name: "multibuttonentry_number_text_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T059L2 text_class=T059L2"; + } + style { + name: "multibuttonentry_number_text_ellipsis_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color=#FFFFFF color_class=T059L2 ellipsis=1 text_class=T059L2"; + } + } + parts { + part { + name: "left.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; + text { + style: "multibuttonentry_number_text_style"; + min: 1 0; + } + rel1 { + relative: 1.0 0.0; + to: "left.pad"; + } + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + text.style: "multibuttonentry_number_text_ellipsis_style"; + text.min: 0 0; + } + } + } + programs { + program { + name: "text,default"; + signal: "elm,state,number,default"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text,ellipsis"; + signal: "elm,state,number,ellipsis"; + source: ""; + action: STATE_SET "ellipsis" 0.0; + target: "elm.text"; + } + } + } + + group { + name: "elm/multibuttonentry/label/default"; + + styles { + style { + name: "multibuttonentry_label_style"; + base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color=#FFFFFF color_class=T059L1 wrap=char text_class=T059L1"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + parts { + part { + name: "mbe.label.right.padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + } + } + part { + name: "mbe.label"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; + text { + style: "multibuttonentry_label_style"; + min: 1 0; + } + rel2 { + relative: 0.0 1.0; + to: "mbe.label.right.padding"; + } + } + } + } + } diff --git a/2.3-mobile/widgets/naviframe.edc b/2.3-mobile/widgets/naviframe.edc new file mode 100644 index 0000000..1138b94 --- /dev/null +++ b/2.3-mobile/widgets/naviframe.edc @@ -0,0 +1,2686 @@ +/* + * 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. + */ + +#define NAVIFRAME_VIEW_PUSH_TRANS_TIME 0.2 +#define NAVIFRAME_VIEW_POP_TRANS_TIME 0.2 + + styles { + style { name: "naviframe_title_style"; + base: "font=Tizen:style=Regular align=center font_size="NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T020 wrap=mixed ellipsis=1.0 text_class=T020 style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC""; + tag: "br" "\n"; + tag: "tab" "\t"; + } + style { name: "naviframe_subtitle_visible_style"; + base: "font=Tizen:style=Regular align=center font_size="NAVIFRAME_SUBTITLE_VISIBLE_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0203 wrap=mixed ellipsis=1.0 text_class=T0203 style=far_shadow,bottom shadow_color="NAVIFRAME_SUBTITLE_VISIBLE_TEXT_SHADOW_COLOR_INC""; + tag: "br" "\n"; + tag: "tab" "\t"; + } + style { name: "naviframe_subtitle_style"; + base: "font=Tizen:style=Regular align=center font_size="NAVIFRAME_VISIBLE_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T0204 wrap=mixed ellipsis=1.0 text_class=T0204 style=far_shadow,bottom shadow_color="NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC""; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + group { name: "elm/naviframe/base/default"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + } + + group { name: "elm/naviframe/item/basic/default"; + data.item: "tizen_zoom" 1; + images { + set { + name: "core_icon_badge_container.#"; + image { + image: SMALL"images/Navigation_elements/core_icon_badge_container.#.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_icon_badge_container.#.png" COMP; + } + } + set { + name: "core_icon_badge_container_outer.#"; + image { + image: SMALL"images/Navigation_elements/core_icon_badge_container_outer.#.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_icon_badge_container_outer.#.png" COMP; + } + } + } + script { + public landscape_mode = 0; //Landscape status + public title_left_btn_visible = 0; //Title left button visible status + public title_right_btn_visible = 0; //Title right button visible status + public subtitle_visible = 0; //Subtitle visible status + public tabbar_visible = 0; //Tabbar visible status (This value is used for tabbar group) + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B0211"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_HEIGHT_INC; + max: -1 NAVIFRAME_TITLE_HEIGHT_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { to: "base"; relative: 0.0 0.0; } + rel2 { to: "base"; relative: 1.0 0.0; } + color_class: "B011"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "title_bg"; + rel2.to_y: "title_bg"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_left_btn_right_padding"; + } + description { state: "title_badge_visible" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_badge2_padding"; + } + } + part { name: "title_text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "title_right_btn_left_padding"; + rel2.to: "title_bg"; + } + description { state: "title_badge_visible" 0.0; + rel1.to: "badge_icon_left_padding"; + rel2.to: "title_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "title_text_clipper"; + description { state: "default" 0.0; + text { style: "naviframe_title_style";} + fixed: 1 1; + rel1 { to_x: "title_text_left_padding"; to_y: "title_bg"; relative: 1.0 0.0; } + rel2 { to_x: "title_text_right_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "subtitle_visible" 0.0; + text { style: "naviframe_subtitle_visible_style";} + fixed: 1 1; + rel1 { to_x: "title_text_left_padding"; to_y: "title_top_padding"; relative: 1.0 1.0; } + rel2 { to_x: "title_text_right_padding"; to_y: "elm.text.subtitle"; relative: 0.0 0.0; } + } + } + part { name: "title_text_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + } + } + part { name: "title_top_padding"; + type: SPACER; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC; + max: -1 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "title_bg"; relative: 0.0 0.0; } + rel2 { to: "title_bg"; relative: 1.0 0.0; } + } + } + part { name: "elm.text.subtitle"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "subtitle_text_clipper"; + description { state: "default" 0.0; + text { style: "naviframe_subtitle_style";} + min: 0 NAVIFRAME_SUBTITLE_HEIGHT_INC; + max: -1 NAVIFRAME_SUBTITLE_HEIGHT_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { to_x: "title_left_btn_right_padding"; to_y: "subtitle_bottom_padding"; relative: 1.0 0.0; } + rel2 { to_x: "title_right_btn_left_padding"; to_y: "subtitle_bottom_padding"; relative: 0.0 0.0; } + } + } + part { name: "subtitle_text_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1.to: "elm.text.subtitle"; + rel2.to: "elm.text.subtitle"; + } + } + part { name: "subtitle_bottom_padding"; + type: SPACER; + description { state: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC; + max: -1 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { to: "title_bg"; relative: 0.0 1.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + max: 0 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_left_btn_right_padding"; } + rel2 { relative: 1.0 1.0; to: "title_left_btn_right_padding"; } + visible: 0; + } + } + part { name: "badge_icon_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "badge_text_left_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "badge_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + color_class: "B052L7"; + image.normal: "core_icon_badge_container.#"; + visible: 0; + } + description { state: "visible" 0.0; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + color_class: "B052L7"; + image.normal: "core_icon_badge_container.#"; + visible: 1; + } + } + part { name: "badge_outer_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + image.normal: "core_icon_badge_container_outer.#"; + visible: 0; + } + description { state: "visible" 0.0; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + image.normal: "core_icon_badge_container_outer.#"; + visible: 1; + } + } + part { name: "badge_text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "title_badge"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "title_badge"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "badge_text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "title_right_btn_left_padding"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "title_right_btn_left_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "title_badge"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + text { + text_class: "T1121"; + min: 1 0; + max: 1 0; + align: 1.0 0.5; + } + color_class: "T1121"; + min: 0 NAVIFRAME_BADGE_HEIGHT_INC; + max: -1 NAVIFRAME_BADGE_HEIGHT_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { to_x: "badge_text_right_padding"; to_y: "elm.text.title"; relative: 0.0 0.0; } + rel2 { to_x: "badge_text_right_padding"; to_y: "elm.text.title"; relative: 0.0 1.0; } + } + } + part { name: "title_badge2"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + text { + text_class: "T1121"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T1121"; + min: 0 NAVIFRAME_BADGE_HEIGHT_INC; + max: -1 NAVIFRAME_BADGE_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { to_x: "title_left_btn_right_padding"; to_y: "elm.text.title"; relative: 1.0 0.0; } + rel2 { to_x: "title_left_btn_right_padding"; to_y: "elm.text.title"; relative: 1.0 1.0; } + visible: 0; + } + } + part { name: "title_badge2_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { to_x: "title_badge2"; to_y: "title_bg"; relative: 1.0 0.0; } + rel2 { to_x: "title_badge2"; to_y: "title_bg"; relative: 1.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE2_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE2_PADDING_WIDTH_INC -1; + } + } + part { name: "title_left_btn_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 1; + align: 0.0 0.0; + rel1 { to: "title_bg"; relative: 0.0 0.0; } + rel2 { to: "title_bg"; relative: 0.0 1.0; } + } + } + part { name: "title_left_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { to: "title_left_btn_left_padding"; relative: 1.0 0.0; } + rel2 { to: "title_left_btn_left_padding"; relative: 1.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + } + } + part { name: "title_left_btn_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { to: "title_left_btn_bg"; relative: 1.0 0.0; } + rel2 { to: "title_left_btn_bg"; relative: 1.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "title_left_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "title_left_btn_bg"; + rel2.to: "title_left_btn_bg"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "title_right_btn_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1.0 0.0; + rel1 { to: "title_right_btn_bg"; relative: 0.0 0.0; } + rel2 { to: "title_right_btn_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "title_right_btn_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { to: "title_right_btn_right_padding"; relative: 0.0 0.0; } + rel2 { to: "title_right_btn_right_padding"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + } + } + part { name: "title_right_btn_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 1; + align: 1.0 0.0; + rel1 { to: "title_bg"; relative: 1.0 0.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + } + } + part { name: "title_right_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1.to: "title_right_btn_bg"; + rel2.to: "title_right_btn_bg"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "title_bg"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + part { name: "content_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "toolbar_bg"; + type: RECT; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + color: NAVIFRAME_TOOLBAR_COLOR_INC; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { to: "base"; relative: 0.0 1.0; } + rel2 { to: "base"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "toolbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clipper", "default", 0.0); + if (get_int(title_left_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_left_btn", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + } + if (get_int(title_right_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + set_state(PART:"title_right_btn", "visible", 0.0); + } + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + after: "title_show"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hidden", 0.0); + set_state(PART:"title_clipper", "hidden", 0.0); + set_state(PART:"title_left_btn_bg", "default", 0.0); + set_state(PART:"title_left_btn_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "default", 0.0); + set_state(PART:"title_right_btn_bg", "default", 0.0); + set_state(PART:"title_right_btn_left_padding", "default", 0.0); + set_state(PART:"title_right_btn", "default", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + after: "title_hide"; + } + program { name: "subtitle_show"; + signal: "elm,state,subtitle,show"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "subtitle_visible", 0.0); + set_int(subtitle_visible, 1); + } + } + program { name: "subtitle_hide"; + signal: "elm,state,subtitle,hide"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "default", 0.0); + set_int(subtitle_visible, 0); + } + } + program { name: "title_left_btn_show"; + signal: "elm,state,title_left_btn,show"; + source: "elm"; + script { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_left_btn", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + set_int(title_left_btn_visible, 1); + } + } + program { name: "title_left_btn_hide"; + signal: "elm,state,title_left_btn,hide"; + source: "elm"; + script { + if (!get_int(title_right_btn_visible)) { + set_state(PART:"title_left_btn_bg", "default", 0.0); + set_state(PART:"title_left_btn_right_padding", "default", 0.0); + set_state(PART:"title_right_btn_bg", "default", 0.0); + set_state(PART:"title_right_btn_left_padding", "default", 0.0); + } + set_state(PART:"title_left_btn", "default", 0.0); + set_int(title_left_btn_visible, 0); + } + } + program { name: "title_right_btn_show"; + signal: "elm,state,title_right_btn,show"; + source: "elm"; + script { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + set_state(PART:"title_right_btn", "visible", 0.0); + set_int(title_right_btn_visible, 1); + } + } + program { name: "title_right_btn_hide"; + signal: "elm,state,title_right_btn,hide"; + source: "elm"; + script { + if (!get_int(title_left_btn_visible)) { + set_state(PART:"title_left_btn_bg", "default", 0.0); + set_state(PART:"title_left_btn_right_padding", "default", 0.0); + set_state(PART:"title_right_btn_bg", "default", 0.0); + set_state(PART:"title_right_btn_left_padding", "default", 0.0); + } + set_state(PART:"title_right_btn", "default", 0.0); + set_int(title_right_btn_visible, 0); + } + } + program { name: "title_badge_show"; + signal: "elm,state,title_badge,show"; + source: "elm"; + script { + new buf[128]; + + set_state(PART:"badge_text_left_padding", "visible", 0.0); + set_state(PART:"badge_text_right_padding", "visible", 0.0); + set_state(PART:"badge_icon", "visible", 0.0); + set_state(PART:"badge_outer_icon", "visible", 0.0); + set_state(PART:"badge_icon_left_padding", "visible", 0.0); + + get_text(PART:"title_badge", buf, 128); + set_text(PART:"title_badge2", buf); + set_state(PART:"title_badge2_padding", "visible", 0.0); + set_state(PART:"title_text_left_padding", "title_badge_visible", 0.0); + set_state(PART:"title_text_right_padding", "title_badge_visible", 0.0); + } + } + program { name: "title_badge_hide"; + signal: "elm,state,title_badge,hide"; + source: "elm"; + script { + set_state(PART:"badge_text_left_padding", "default", 0.0); + set_state(PART:"badge_text_right_padding", "default", 0.0); + set_state(PART:"badge_icon", "default", 0.0); + set_state(PART:"badge_outer_icon", "default", 0.0); + set_state(PART:"badge_icon_left_padding", "default", 0.0); + + set_text(PART:"title_badge2", ""); + set_state(PART:"title_badge2_padding", "default", 0.0); + set_state(PART:"title_text_left_padding", "default", 0.0); + set_state(PART:"title_text_right_padding", "default", 0.0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + set_state(PART:"toolbar", "visible", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + program { name: "change_to_landscape"; + script { + if (!get_int(landscape_mode)) { + set_int(landscape_mode, 1); + } + } + } + program { name: "change_to_portrait"; + script { + if (get_int(landscape_mode)) { + set_int(landscape_mode, 0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/tabbar/default"; + alias: "elm/naviframe/item/tabbar/icon/default"; + inherit: "elm/naviframe/item/basic/default"; + parts { + part { name: "tabbar"; + type: SWALLOW; + scale: 1; + clip_to: "tabbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "title_bg"; relative: 0.0 1.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TABBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TABBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "tabbar_top_divider"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "tabbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "tabbar"; relative: 0.0 0.0; } + rel2 { to: "tabbar"; relative: 1.0 0.0; } + color_class: "B012L4"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC; + max: -1 NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC; + visible: 1; + } + } + part { name: "tabbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "tabbar"; + rel2.to_y: "tabbar"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "tabbar"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + } + programs { + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clipper", "default", 0.0); + if (get_int(title_left_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_left_btn", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + } + if (get_int(title_right_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + set_state(PART:"title_right_btn", "visible", 0.0); + } + if (get_int(tabbar_visible)) { + set_state(PART:"tabbar", "visible", 0.0); + set_state(PART:"tabbar_top_divider", "visible", 0.0); + } + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hidden", 0.0); + set_state(PART:"title_clipper", "hidden", 0.0); + set_state(PART:"title_left_btn_bg", "default", 0.0); + set_state(PART:"title_left_btn_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "default", 0.0); + set_state(PART:"title_right_btn_bg", "default", 0.0); + set_state(PART:"title_right_btn_left_padding", "default", 0.0); + set_state(PART:"title_right_btn", "default", 0.0); + set_state(PART:"tabbar", "default", 0.0); + set_state(PART:"tabbar_top_divider", "default", 0.0); + } + } + program { name: "tabbar_show"; + signal: "elm,state,tabbar,show"; + source: "elm"; + script { + set_state(PART:"tabbar", "visible", 0.0); + set_state(PART:"tabbar_top_divider", "visible", 0.0); + set_int(tabbar_visible, 1); + } + } + program { name: "tabbar_hide"; + signal: "elm,state,tabbar,hide"; + source: "elm"; + script { + set_state(PART:"tabbar", "default", 0.0); + set_state(PART:"tabbar_top_divider", "default", 0.0); + set_int(tabbar_visible, 0); + } + } + } + } + + group { name: "elm/naviframe/item/navigationbar/default"; + inherit: "elm/naviframe/item/basic/default"; + parts { + part { name: "navigationbar"; + type: SWALLOW; + scale: 1; + clip_to: "navigationbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "title_bg"; relative: 0.0 1.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC; + max: -1 NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "navigationbar_top_divider"; + type: RECT; + mouse_events: 0; + clip_to: "navigationbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "navigationbar"; relative: 0.0 0.0; } + rel2 { to: "navigationbar"; relative: 1.0 0.0; } + color_class: "B012L4"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC; + max: -1 NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC; + visible: 1; + } + } + part { name: "navigationbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "navigationbar"; + rel2.to_y: "navigationbar"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "navigationbar"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + } + programs { + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clipper", "default", 0.0); + if (get_int(title_left_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_left_btn", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + } + if (get_int(title_right_btn_visible)) { + set_state(PART:"title_left_btn_bg", "visible", 0.0); + set_state(PART:"title_left_btn_right_padding", "visible", 0.0); + set_state(PART:"title_right_btn_bg", "visible", 0.0); + set_state(PART:"title_right_btn_left_padding", "visible", 0.0); + set_state(PART:"title_right_btn", "visible", 0.0); + } + if (get_int(tabbar_visible)) { + set_state(PART:"navigationbar", "visible", 0.0); + set_state(PART:"navigationbar_top_divider", "visible", 0.0); + } + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hidden", 0.0); + set_state(PART:"title_clipper", "hidden", 0.0); + set_state(PART:"title_left_btn_bg", "default", 0.0); + set_state(PART:"title_left_btn_right_padding", "default", 0.0); + set_state(PART:"title_left_btn", "default", 0.0); + set_state(PART:"title_right_btn_bg", "default", 0.0); + set_state(PART:"title_right_btn_left_padding", "default", 0.0); + set_state(PART:"title_right_btn", "default", 0.0); + set_state(PART:"navigationbar", "default", 0.0); + set_state(PART:"navigationbar_top_divider", "default", 0.0); + } + } + program { name: "navigationbar_show"; + signal: "elm,state,navigationbar,show"; + source: "elm"; + script { + set_state(PART:"navigationbar", "visible", 0.0); + set_state(PART:"navigationbar_top_divider", "visible", 0.0); + set_int(tabbar_visible, 1); + } + } + program { name: "navigationbar_hide"; + signal: "elm,state,navigationbar,hide"; + source: "elm"; + script { + set_state(PART:"navigationbar", "default", 0.0); + set_state(PART:"navigationbar_top_divider", "default", 0.0); + set_int(tabbar_visible, 0); + } + } + } + } + + group { name: "elm/naviframe/item/tabbar/notitle/default"; + data.item: "tizen_zoom" 1; + script { + public landscape_mode = 0; //Landscape status + public tabbar_visible = 0; //Tabbar visible status + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B0211"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "tabbar"; + type: SWALLOW; + scale: 1; + clip_to: "tabbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "base"; relative: 0.0 0.0; } + rel2 { to: "base"; relative: 1.0 0.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TABBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TABBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "tabbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "tabbar"; + rel2.to_y: "tabbar"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "tabbar"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + part { name: "content_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "toolbar_bg"; + type: RECT; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + color: NAVIFRAME_TOOLBAR_COLOR_INC; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { to: "base"; relative: 0.0 1.0; } + rel2 { to: "base"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "toolbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + if (get_int(tabbar_visible)) { + set_state(PART:"tabbar", "visible", 0.0); + } + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + after: "title_show"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"tabbar", "default", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + after: "title_hide"; + } + program { name: "tabbar_show"; + signal: "elm,state,tabbar,show"; + source: "elm"; + script { + set_state(PART:"tabbar", "visible", 0.0); + set_int(tabbar_visible, 1); + } + } + program { name: "tabbar_hide"; + signal: "elm,state,tabbar,hide"; + source: "elm"; + script { + set_state(PART:"tabbar", "default", 0.0); + set_int(tabbar_visible, 0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + set_state(PART:"toolbar", "visible", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + program { name: "change_to_landscape"; + script { + if (!get_int(landscape_mode)) { + set_int(landscape_mode, 1); + } + } + } + program { name: "change_to_portrait"; + script { + if (get_int(landscape_mode)) { + set_int(landscape_mode, 0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } + } + + group { name: "elm/naviframe/item/tabbar/icon/notitle/default"; + inherit: "elm/naviframe/item/tabbar/notitle/default"; + parts { + part { name: "tabbar"; + type: SWALLOW; + scale: 1; + clip_to: "tabbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "base"; relative: 0.0 0.0; } + rel2 { to: "base"; relative: 1.0 0.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TABBAR2_HEIGHT_INC; + max: -1 NAVIFRAME_TABBAR2_HEIGHT_INC; + visible: 1; + } + description { state: "landscape_visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TABBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TABBAR_HEIGHT_INC; + visible: 1; + } + } + } + programs { + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + if (get_int(tabbar_visible)) { + if (get_int(landscape_mode)) { + set_state(PART:"tabbar", "landscape_visible", 0.0); + } + else { + set_state(PART:"tabbar", "visible", 0.0); + } + } + } + } + program { name: "tabbar_show"; + signal: "elm,state,tabbar,show"; + source: "elm"; + script { + if (get_int(landscape_mode)) { + set_state(PART:"tabbar", "landscape_visible", 0.0); + } + else { + set_state(PART:"tabbar", "visible", 0.0); + } + set_int(tabbar_visible, 1); + } + } + program { name: "change_to_landscape"; + script { + if (!get_int(landscape_mode)) { + new st[31]; + new Float:vl; + get_state(PART:"tabbar", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"tabbar", "landscape_visible", 0.0); + + set_int(landscape_mode, 1); + } + } + } + program { name: "change_to_portrait"; + script { + if (get_int(landscape_mode)) { + new st[31]; + new Float:vl; + get_state(PART:"tabbar", st, 30, vl); + if (!strcmp(st, "landscape_visible")) + set_state(PART:"tabbar", "visible", 0.0); + + set_int(landscape_mode, 0); + } + } + } + } + } + + group { name: "elm/naviframe/item/drawers/default"; + data.item: "tizen_zoom" 1; + images { + set { + name: "core_icon_badge_container.#"; + image { + image: SMALL"images/Navigation_elements/core_icon_badge_container.#.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_icon_badge_container.#.png" COMP; + } + } + set { + name: "core_icon_badge_container_outer.#"; + image { + image: SMALL"images/Navigation_elements/core_icon_badge_container_outer.#.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_icon_badge_container_outer.#.png" COMP; + } + } + } + script { + public subtitle_visible = 0; //Subtitle visible status + public drawers_visible = 0; //Drawers visible status + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B0211"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_HEIGHT_INC; + max: -1 NAVIFRAME_TITLE_HEIGHT_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { to: "base"; relative: 0.0 0.0; } + rel2 { to: "base"; relative: 1.0 0.0; } + color_class: "B011"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "title_bg"; + rel2.to_y: "title_bg"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "drawers"; + } + description { state: "title_badge_visible" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_badge2_padding"; + } + } + part { name: "title_text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "drawers_padding"; + rel2.to: "title_bg"; + } + description { state: "title_badge_visible" 0.0; + rel1.to: "badge_icon_left_padding"; + rel2.to: "title_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "title_text_clipper"; + description { state: "default" 0.0; + text { style: "naviframe_title_style";} + fixed: 1 1; + rel1 { to_x: "title_text_left_padding"; to_y: "title_bg"; relative: 1.0 0.0; } + rel2 { to_x: "title_text_right_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "subtitle_visible" 0.0; + text { style: "naviframe_subtitle_visible_style";} + fixed: 1 1; + rel1 { to_x: "title_text_left_padding"; to_y: "title_top_padding"; relative: 1.0 1.0; } + rel2 { to_x: "title_text_right_padding"; to_y: "elm.text.subtitle"; relative: 0.0 0.0; } + } + } + part { name: "title_text_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + } + } + part { name: "title_top_padding"; + type: SPACER; + description { state: "default" 0.0; + min: 0 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC; + max: -1 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { to: "title_bg"; relative: 0.0 0.0; } + rel2 { to: "title_bg"; relative: 1.0 0.0; } + } + } + part { name: "elm.text.subtitle"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + clip_to: "subtitle_text_clipper"; + description { state: "default" 0.0; + text { style: "naviframe_subtitle_style";} + min: 0 NAVIFRAME_SUBTITLE_HEIGHT_INC; + max: -1 NAVIFRAME_SUBTITLE_HEIGHT_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { to_x: "drawers"; to_y: "subtitle_bottom_padding"; relative: 1.0 0.0; } + rel2 { to_x: "drawers_padding"; to_y: "subtitle_bottom_padding"; relative: 0.0 0.0; } + } + } + part { name: "subtitle_text_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1.to: "elm.text.subtitle"; + rel2.to: "elm.text.subtitle"; + } + } + part { name: "subtitle_bottom_padding"; + type: SPACER; + description { state: "default" 0.0; + min: 0 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC; + max: -1 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1 { to: "title_bg"; relative: 0.0 1.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + max: 0 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "drawers"; } + rel2 { relative: 1.0 1.0; to: "drawers"; } + visible: 0; + } + } + part { name: "badge_icon_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "badge_text_left_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "badge_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + color_class: "B052L7"; + image.normal: "core_icon_badge_container.#"; + visible: 0; + } + description { state: "visible" 0.0; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + color_class: "B052L7"; + image.normal: "core_icon_badge_container.#"; + visible: 1; + } + } + part { name: "badge_outer_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + image.normal: "core_icon_badge_container_outer.#"; + visible: 0; + } + description { state: "visible" 0.0; + rel1 { to_x: "badge_text_left_padding"; to_y: "title_badge"; } + rel2 { to_x: "badge_text_right_padding"; to_y: "title_badge"; } + image.normal: "core_icon_badge_container_outer.#"; + visible: 1; + } + } + part { name: "badge_text_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "title_badge"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "title_badge"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "badge_text_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to_x: "title_right_padding"; to_y: "title_bg"; relative: 0.0 0.0; } + rel2 { to_x: "title_right_padding"; to_y: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC -1; + } + } + part { name: "title_badge"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + text { + text_class: "T1121"; + min: 1 0; + max: 1 0; + align: 1.0 0.5; + } + color_class: "T1121"; + min: 0 NAVIFRAME_BADGE_HEIGHT_INC; + max: -1 NAVIFRAME_BADGE_HEIGHT_INC; + fixed: 1 1; + align: 1.0 0.5; + rel1 { to_x: "badge_text_right_padding"; to_y: "elm.text.title"; relative: 0.0 0.0; } + rel2 { to_x: "badge_text_right_padding"; to_y: "elm.text.title"; relative: 0.0 1.0; } + } + } + part { name: "title_badge2"; + type: TEXT; + scale: 1; + mouse_events: 0; + clip_to: "title_clipper"; + description { state: "default" 0.0; + text { + text_class: "T1121"; + min: 1 0; + max: 1 0; + align: 0.0 0.5; + } + color_class: "T1121"; + min: 0 NAVIFRAME_BADGE_HEIGHT_INC; + max: -1 NAVIFRAME_BADGE_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { to_x: "title_left_padding"; to_y: "elm.text.title"; relative: 1.0 0.0; } + rel2 { to_x: "title_left_padding"; to_y: "elm.text.title"; relative: 1.0 1.0; } + visible: 0; + } + } + part { name: "title_badge2_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { to_x: "title_badge2"; to_y: "title_bg"; relative: 1.0 0.0; } + rel2 { to_x: "title_badge2"; to_y: "title_bg"; relative: 1.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_BADGE2_PADDING_WIDTH_INC 0; + max: NAVIFRAME_BADGE2_PADDING_WIDTH_INC -1; + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { to: "title_bg"; relative: 0.0 0.0; } + rel2 { to: "title_bg"; relative: 0.0 1.0; } + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to: "title_bg"; relative: 1.0 0.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + } + } + part { name: "drawers_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 1; + align: 0.0 0.5; + rel1 { to: "title_bg"; relative: 0.0 0.0; } + rel2 { to: "title_bg"; relative: 0.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_DRAWERS_WIDTH_INC 0; + max: NAVIFRAME_DRAWERS_WIDTH_INC -1; + } + } + part { name: "drawers"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "drawers_bg"; + rel2.to: "drawers_bg"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drawers_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0; + max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { to: "title_bg"; relative: 1.0 0.0; } + rel2 { to: "title_bg"; relative: 1.0 1.0; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_DRAWERS_WIDTH_INC 0; + max: NAVIFRAME_DRAWERS_WIDTH_INC -1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "title_bg"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + part { name: "content_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "toolbar_bg"; + type: RECT; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + color: NAVIFRAME_TOOLBAR_COLOR_INC; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { to: "base"; relative: 0.0 1.0; } + rel2 { to: "base"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "toolbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clipper", "default", 0.0); + if (get_int(drawers_visible)) { + set_state(PART:"drawers_bg", "visible", 0.0); + set_state(PART:"drawers", "visible", 0.0); + set_state(PART:"drawers_padding", "visible", 0.0); + } + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + after: "title_show"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hidden", 0.0); + set_state(PART:"title_clipper", "hidden", 0.0); + set_state(PART:"drawers_bg", "default", 0.0); + set_state(PART:"drawers", "default", 0.0); + set_state(PART:"drawers_padding", "default", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + after: "title_hide"; + } + program { name: "subtitle_show"; + signal: "elm,state,subtitle,show"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "subtitle_visible", 0.0); + set_int(subtitle_visible, 1); + } + } + program { name: "subtitle_hide"; + signal: "elm,state,subtitle,hide"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "default", 0.0); + set_int(subtitle_visible, 0); + } + } + program { name: "drawers_show"; + signal: "elm,state,drawers,show"; + source: "elm"; + script { + set_state(PART:"drawers_bg", "visible", 0.0); + set_state(PART:"drawers", "visible", 0.0); + set_state(PART:"drawers_padding", "visible", 0.0); + set_int(drawers_visible, 1); + } + } + program { name: "drawers_hide"; + signal: "elm,state,drawers,hide"; + source: "elm"; + script { + set_state(PART:"drawers_bg", "default", 0.0); + set_state(PART:"drawers", "default", 0.0); + set_state(PART:"drawers_padding", "default", 0.0); + set_int(drawers_visible, 0); + } + } + program { name: "title_badge_show"; + signal: "elm,state,title_badge,show"; + source: "elm"; + script { + new buf[128]; + + set_state(PART:"badge_text_left_padding", "visible", 0.0); + set_state(PART:"badge_text_right_padding", "visible", 0.0); + set_state(PART:"badge_icon", "visible", 0.0); + set_state(PART:"badge_outer_icon", "visible", 0.0); + set_state(PART:"badge_icon_left_padding", "visible", 0.0); + + get_text(PART:"title_badge", buf, 128); + set_text(PART:"title_badge2", buf); + set_state(PART:"title_badge2_padding", "visible", 0.0); + set_state(PART:"title_text_left_padding", "title_badge_visible", 0.0); + set_state(PART:"title_text_right_padding", "title_badge_visible", 0.0); + } + } + program { name: "title_badge_hide"; + signal: "elm,state,title_badge,hide"; + source: "elm"; + script { + set_state(PART:"badge_text_left_padding", "default", 0.0); + set_state(PART:"badge_text_right_padding", "default", 0.0); + set_state(PART:"badge_icon", "default", 0.0); + set_state(PART:"badge_outer_icon", "default", 0.0); + set_state(PART:"badge_icon_left_padding", "default", 0.0); + + set_text(PART:"title_badge2", ""); + set_state(PART:"title_badge2_padding", "default", 0.0); + set_state(PART:"title_text_left_padding", "default", 0.0); + set_state(PART:"title_text_right_padding", "default", 0.0); + } + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + set_state(PART:"toolbar", "visible", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + } + } + + group { name: "elm/naviframe/item/empty/default"; + data.item: "tizen_zoom" 1; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "B0211"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "title"; + type: SWALLOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + align: 0.5 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + visible: 0; + } + description { state: "visible" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + } + } + part { name: "title_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "title"; + rel2.to_y: "title"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to_x: "base"; to_y: "title"; relative: 0.0 1.0; } + rel2 { to_x: "base"; to_y: "toolbar"; relative: 1.0 0.0; } + } + } + part { name: "content_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.content"; + rel2.to_y: "elm.swallow.content"; + } + } + part { name: "toolbar_bg"; + type: RECT; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + color: NAVIFRAME_TOOLBAR_COLOR_INC; + } + } + part { name: "toolbar"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { to: "base"; relative: 0.0 1.0; } + rel2 { to: "base"; relative: 1.0 1.0; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: -1 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "toolbar_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "toolbar"; + rel2.to: "toolbar"; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + clip_to: "title_clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title", "visible", 0.0); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + after: "title_show"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title", "default", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + after: "title_hide"; + } + program { name: "toolbar_show"; + signal: "elm,state,toolbar,show"; + source: "elm"; + script { + set_state(PART:"toolbar", "visible", 0.0); + } + } + program { name: "toolbar_hide"; + signal: "elm,state,toolbar,hide"; + source: "elm"; + script { + set_state(PART:"toolbar", "default", 0.0); + } + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + script { + emit("elm,action,title,clicked", ""); + } + } + } + } + + group { name: "elm/naviframe/item/basic/uglib"; + data.item: "tizen_zoom" 1; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { to: "base"; relative: 0.0 0.0; } + rel2 { to: "base"; relative: 1.0 1.0; } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "clipper"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"clipper", "default", 0.0); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "hidden", 0.0); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + } + } + + group { name: "elm/naviframe/item/basic/transparent/default"; + inherit: "elm/naviframe/item/basic/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/drawers/transparent/default"; + inherit: "elm/naviframe/item/drawers/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/tabbar/transparent/default"; + inherit: "elm/naviframe/item/tabbar/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/tabbar/notitle/transparent/default"; + inherit: "elm/naviframe/item/tabbar/notitle/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } + + group { name: "elm/naviframe/item/empty/transparent/default"; + inherit: "elm/naviframe/item/empty/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + } + } + } + } diff --git a/2.3-mobile/widgets/panel.edc b/2.3-mobile/widgets/panel.edc new file mode 100644 index 0000000..f38bb8d --- /dev/null +++ b/2.3-mobile/widgets/panel.edc @@ -0,0 +1,554 @@ +/* + * 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. + */ +group { name: "elm/scroller/panel/default"; + data { + item: "handler_size" "24"; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/scroller/panel/left/default"; + parts { + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "panel_area"; + } + rel2 { + relative: 1.0 1.0; + to: "panel_area"; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/right/default"; + parts { + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "event_area"; + } + rel2 { + relative: 1.0 1.0; + to: "event_area"; + } + align: 0.0 0.5; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/top/default"; + parts { + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "panel_area"; + } + rel2 { + relative: 1.0 1.0; + to: "panel_area"; + } + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/scroller/panel/bottom/default"; + parts { + part { name: "event_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "panel_area"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to: "event_area"; + } + rel2 { + relative: 1.0 1.0; + to: "event_area"; + } + align: 0.5 0.0; + fixed: 1 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + color_class: "B0731L6"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "panel_area"; + rel2.to: "panel_area"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,content,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + program { name: "inactive"; + signal: "elm,state,content,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "panel_area"; + target: "event_area"; + target: "bg"; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/panel/top/default"; + images.image: "core_icon_picker_arrow_up.png" COMP; + images.image: "core_icon_picker_arrow_down.png" COMP; + data.item: "focus_highlight" "off"; + parts { + part { name: "all"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "all"; + rel2.to_y: "elm.swallow.event"; + rel2.relative: 1.0 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to: "base"; + rel2.offset: -5 -5; + rel2.to: "base"; + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + min: 50 50; + max: 99999 50; + align: 0.5 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + color: 0 0 0 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "btn"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.event"; + rel2.to: "elm.swallow.event"; + color: 64 64 64 255; + } + } + part { name: "icn"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 50 50; + max: 50 50; + rel1.to: "btn"; + rel2.to: "btn"; + image.normal: "core_icon_picker_arrow_up.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "core_icon_picker_arrow_down.png"; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; + } + program { + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.event"; + target: "base"; + target: "icn"; + } + program { + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: ACCELERATE 0.3; + target: "elm.swallow.event"; + target: "icn"; + } + program { name: "hide1"; + signal: "elm,action,hide"; source: "elm"; + script { + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 0.0, -1.0); + set_state_val(PART:"base", STATE_REL2, 1.0, 0.0); + } + after: "hide2"; + } + program { name: "hide2"; + action: STATE_SET "custom" 0.0; + transition: ACCELERATE 0.3; + target: "base"; + } + } +} + +group { name: "elm/panel/bottom/default"; + inherit: "elm/panel/top/default"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.event"; + rel1.relative: 0.0 1.0; + rel2.to_y: "all"; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "icn"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "core_icon_picker_arrow_down.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "core_icon_picker_arrow_up.png"; + } + } + } + programs { + program { name: "hide1"; + signal: "elm,action,hide"; source: "elm"; + script { + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 0.0, 1.0); + set_state_val(PART:"base", STATE_REL2, 1.0, 2.0); + } + after: "hide2"; + } + } +} diff --git a/2.3-mobile/widgets/popup.edc b/2.3-mobile/widgets/popup.edc new file mode 100644 index 0000000..80d3419 --- /dev/null +++ b/2.3-mobile/widgets/popup.edc @@ -0,0 +1,1292 @@ +/* + * 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. + */ + +/*popup widget specific notify style*/ +group { name: "elm/notify/bottom/popup"; + alias: "elm/notify/bottom/transparent"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + fixed: 1 1; + } + description { state: "end" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + } + } + part { name: "block"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + visible: 1; + color: 0 0 0 0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + action: STATE_SET "end" 0.0; + target: "elm.swallow.content"; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "show_1"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "end2"; + } + program { name: "end2"; + action: STATE_SET "end" 0.0; + transition: SIN_FAC 0.33 1.7; + target: "elm.swallow.content"; + target: "block"; + after: "showfinished"; + } + program { name: "showfinished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/notify/bottom/toast"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + } + } + part { name: "block"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + visible: 1; + color: 0 0 0 0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "show_1"; + signal: "show"; + action: STATE_SET "end" 0.0; + target: "block"; + after: "showfinished"; + } + program { name: "showfinished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/notify/block_events/popup"; + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "transparent"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "show1"; + signal: "show"; + action: STATE_SET "show" 0.0; + transition: SIN_FAC 0.166 0.5; + target: "block_events_color"; + } + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events_color"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "show" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/notify/block_events/transparent"; + alias: "elm/notify/block_events/toast"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color_class: "transparent"; + } + } + } + programs { + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/notify/block_events/center_popup"; + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "transparent"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B015"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "show1"; + signal: "show"; + action: STATE_SET "show" 0.0; + transition: SIN_FAC 0.166 0.5; + target: "block_events_color"; + } + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events_color"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "show" 0.0; + target: "block_events_color"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/label/base/popup/default"; + alias: "elm/label/base/popup/center_popup"; + alias: "elm/label/base/popup/transparent"; + styles { + style { name: "popup_desc_style"; + base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color=#FFFFFF color_class=T123 wrap=mixed text_class=T123"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "pad_t"; + type: RECT; + scale: 1; + description { state: "default" 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; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "pad_l"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + } + } + } + part { name: "pad_l"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; + max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; + fixed: 1 0; + visible: 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } + part { name: "pad_r"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; + max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; + fixed: 1 0; + visible: 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 1.0 1.0; + to_x: "pad_l"; + to_y: "pad_t"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + to_y: "pad_b"; + } + text { + style: "popup_desc_style"; + min: 0 1; + max: 0 1; + } + } + } + part { name: "pad_b"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + 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; + visible: 0; + rel1 { + relative: 0.0 1.0; + to_x: "pad_l"; + } + rel2.to_x: "pad_r"; + } + } + } +} + +group { name: "elm/label/base/popup/toast"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "popup_toast_style"; + min: 0 1; + max: 0 1; + } + } + } + } +} + +group { name: "elm/popup/base/default"; + alias: "elm/popup/base/transparent"; + 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; + } + styles { + style { name: "popup_title_style"; + base: "font=Tizen:style=Regular align=center font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T121 wrap=mixed ellipsis=1.0 text_class=T121 style=far_shadow,bottom shadow_color="POPUP_BASE_DEFAULT_TEXT_SHADOW_COLOR_INC""; + tag: "br" "\n"; + tag: "tab" "\t"; + } + style { name: "popup_subtitle_style"; + base: "font=Tizen:style=Regular align=center font_size="POPUP_SUBTITLE_TEXT_FONT_SIZE_INC" color=#FFFFFF color_class=T1211 wrap=mixed ellipsis=1.0 text_class=T1211 style=far_shadow,bottom shadow_color="POPUP_SUBTITLE_TEXT_SHADOW_COLOR_INC""; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + parts { + part { name: "base"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color_class: "B061L1"; + } + } + part { name: "access.outline"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "elm.bg.title"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 0.5 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + color_class: "B061L3"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC; + } + } + part { name: "title_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.bg.title"; + fixed: 1 1; + min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING; + max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING; + } + } + part { name: "title_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel2.to: "elm.bg.title"; + fixed: 1 1; + min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING; + max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + fixed: 1 1; + text { + style: "popup_title_style"; + size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; + } + rel1 { + relative: 1.0 1.0; + to: "title_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "title_right_bottom_padding"; + } + } + description { state: "subtitle_visible" 0.0; + inherit: "default" 0.0; + rel2 { + relative: 1.0 0.0; + to: "elm.text.subtitle"; + } + } + } + part { name: "elm.text.subtitle"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_SUBTITLE_HEIGHT; + max: -1 POPUP_SUBTITLE_HEIGHT; + text.style: "popup_subtitle_style"; + rel1 { + relative: 1.0 0.0; + to_x: "title_left_top_padding"; + to_y: "title_right_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "title_right_bottom_padding"; + } + align: 0.5 1.0; + fixed: 1 1; + visible: 0; + } + description { state: "subtitle_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bg.title"; + rel2.to: "elm.bg.title"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "show_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "base"; + to_y: "elm.bg.title"; + } + rel2.to: "base"; + } + description { state: "show_action_area" 0.0; + inherit: "default" 0.0; + rel1.to: "base"; + rel2 { + relative: 1.0 0.0; + to_x: "base"; + to_y: "elm.swallow.action_area.bg"; + } + } + description { state: "show_action_title_area" 0.0; + inherit: "default" 0.0; + 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"; + } + } + } + part { name: "access.body"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.action_area.bg"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + fixed : 1 1; + align: 0.5 1.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to: "base"; + } + rel2.to: "base"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC; + visible: 1; + color_class: "B062"; + } + } + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.action_area.bg"; + rel2.to: "elm.swallow.action_area.bg"; + } + } + } + programs { + program { name: "show_subtitle"; + signal: "elm,state,subtitle,text,visible"; + source: "elm"; + action: STATE_SET "subtitle_visible" 0.0; + target: "elm.text.title"; + target: "elm.text.subtitle"; + } + program { name: "hide_subtitle"; + signal: "elm,state,subtitle,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + target: "elm.text.subtitle"; + } + program { name: show_title_area; + signal: "elm,state,title_area,visible"; + source: "elm"; + 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); + set_state(PART:"elm.bg.title", "visible", 0.0); + } + } + program { name: hide_title_area; + signal: "elm,state,title_area,hidden"; + source: "elm"; + 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 { name: show_action_area; + signal: "elm,state,action_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.bg.title", 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_action_area", 0.0); + set_state(PART:"elm.swallow.action_area.bg", "visible", 0.0); + } + } + program { name: hide_action_area; + signal: "elm,state,action_area,hidden"; + source: "elm"; + 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, "visible"))) + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.swallow.action_area.bg", "default", 0.0); + } + } + program { name: "change_to_landscape"; + action: STATE_SET "landscape" 0.0; + target: "base"; + after: "orientation_change"; + } + program { name: "orientation_change"; + action: SIGNAL_EMIT "elm,state,orientation,changed" ""; + } + program { name: "change_to_portrait"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "orientation_change"; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } /* end of programs */ +} + +group { name: "elm/popup/content/default"; + alias: "elm/popup/content/transparent"; + data.item: "content_area_width" POPUP_CONTENT_AREA_LANDSCAPE_WIDTH_INC; + parts{ + part { name:"elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_AREA_DEFAULT_MIN_INC; + } + description { state: "landscape" 0.0; + min: POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC; + } + } + } + programs { + program { name: "orientation_change"; + action: SIGNAL_EMIT "elm,state,orientation,changed" ""; + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + action: STATE_SET "landscape" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + action: STATE_SET "landscape" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "orientation_change"; + } + } +} + +group { name: "elm/popup/content/toast"; + parts{ + part { name:"elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_TEXT_MAX_WIDTH_INC 0; + } + } + } +} + +group { name: "elm/popup/buttons1/default"; + alias: "elm/popup/buttons1/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part { name: "left_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 0 0.5; + rel1.relative: 0.0 0.0; + } + } + part { name: "right_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 1 0.5; + rel2.relative: 1.0 1.0; + } + } + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + } +} + +group { name: "elm/popup/buttons2/default"; + alias: "elm/popup/buttons2/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part { name: "left_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 0 0.5; + rel1.relative: 0.0 0.0; + } + } + part { name: "right_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 1 0.5; + rel2.relative: 1.0 1.0; + } + } + part { name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + } +} + +group { name: "elm/popup/buttons3/default"; + alias: "elm/popup/buttons3/transparent"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part { name: "left_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 0 0.5; + rel1.relative: 0.0 0.0; + } + } + part { name: "right_pad_btn"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + 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; + align: 1 0.5; + rel2.relative: 1.0 1.0; + } + } + part { name: "btn_area"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "left_pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + rel1.relative: 0.33 0.0; + rel1.to: "btn_area"; + rel2.relative: 0.33 1.0; + rel2.to: "btn_area"; + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn2"; + } + } + } + part { name: "elm.rect.pad_btn2"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; + fixed: 1 1; + rel1.relative: 0.67 0.0; + rel1.to: "btn_area"; + rel2.relative: 0.67 1.0; + rel2.to: "btn_area"; + } + } + part{ name:"actionbtn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn2"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad_btn"; + } + } + } + } +} + +group { name: "elm/notify/center/center_popup"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + fixed: 1 0; + } + description { state: "landscape" 0.0; + inherit: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; + fixed: 1 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + fixed: 1 1; + } + } + } +} + +group { name: "elm/popup/base/toast"; + images { + set { + name: "core_popup_noti_bg.#"; + image { + image: SMALL"images/Popups/core_popup_noti_bg.#.png" COMP; + } + image { + image: MEDIUM"images/Popups/core_popup_noti_bg.#.png" COMP; + } + } + set { + name: "core_popup_noti_bg_ef.#"; + image { + image: SMALL"images/Popups/core_popup_noti_bg_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Popups/core_popup_noti_bg_ef.#.png" COMP; + } + } + set { + name: "core_popup_noti_bg_stroke.#"; + image { + image: SMALL"images/Popups/core_popup_noti_bg_stroke.#.png" COMP; + } + image { + image: MEDIUM"images/Popups/core_popup_noti_bg_stroke.#.png" COMP; + } + } + } + data { + item: "default_orient" "2"; //top, center:1 bottom:2 + item: "popup_outside_pad" POPUP_OUTSIDE_PADDING; + } + styles { + style { name: "popup_toast_style"; + base: "font=Tizen:style=Regular font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color=#FFFFFF align=center color_class=T1221 wrap=mixed text_class=T1221"; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg_outer"; + rel2.to: "bg_outer"; + image.normal: "core_popup_noti_bg.#"; + color_class: "B066"; + } + } + part { name: "bg_outer"; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to_x: "title_left_padding"; + to_y: "title_top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "title_right_padding"; + to_y: "bottom_padding"; + } + image.normal: "core_popup_noti_bg_stroke.#"; + color_class: "B011"; + max: POPUP_TOAST_BG_MAX_WIDTH_INC POPUP_TOAST_BG_MAX_HEIGHT_INC; + } + } + part { name: "bg_shadow"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "core_popup_noti_bg_ef.#"; + } + } + part { name: "title_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC; + max: -1 POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to_y: "elm.text"; + } + rel2 { + relative: 1.0 0.0; + to_y: "elm.text"; + } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_BOTTOM_PAD_INC; + max: -1 POPUP_TOAST_BOTTOM_PAD_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "title_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC; + max: -1 POPUP_TOAST_TITLE_TOP_BOTTOM_PAD_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.to: "bottom_padding"; + rel2 {to: "bottom_padding"; relative: 1.0 0.0;} + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0; + max: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC -1; + fixed: 1 0; + align: 0.0 1.0; + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0; + max: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC -1; + fixed: 1 0; + align: 1.0 1.0; + rel1 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_TEXT_MIN_HEIGHT_INC; + max: POPUP_TOAST_TEXT_MAX_WIDTH_INC POPUP_TOAST_TEXT_MAX_HEIGHT_INC; + align: 0.5 1.0; + rel1 { + to_x: "title_left_padding"; + to_y: "title_bottom_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "title_right_padding"; + to_y: "title_bottom_padding"; + relative: 0.0 0.0; + } + text { + style: "popup_toast_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "multiline" 0.0; + inherit: "default" 0.0; + min: POPUP_TOAST_TEXT_MAX_WIDTH_INC POPUP_TOAST_TEXT_MIN_HEIGHT_INC; + text.min: 0 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_CONTENT_HEIGHT_MIN_INC; + align: 0.5 1.0; + rel1 { + to_x: "title_left_padding"; + to_y: "title_bottom_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "title_right_padding"; + to_y: "title_bottom_padding"; + relative: 0.0 1.0; + } + } + } + } + programs { + program { name: "multiline"; + signal: "show"; + script { + new tx, ty, tw, th, w; + get_geometry(PART:"elm.text", tx, ty, tw, th); + w = POPUP_TOAST_TEXT_MAX_WIDTH_INC; + if (tw >= w) + set_state(PART:"elm.text", "multiline", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} diff --git a/2.3-mobile/widgets/progressbar.edc b/2.3-mobile/widgets/progressbar.edc new file mode 100644 index 0000000..d0d5c20 --- /dev/null +++ b/2.3-mobile/widgets/progressbar.edc @@ -0,0 +1,2272 @@ +/* + * 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. + */ + + +/////////////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/progressbar/horizontal/default"; + images { + set { + name: "core_progress_bar.#"; + image { + image: SMALL"images/Controls/core_progress_bar.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar.#.png" COMP; + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "show" 0.0; + min: 0 PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + text { + min: 0 0; + align: 1.0 0.0; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "elm.left.top.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 0.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "swallowbar.top.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.text"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + max: -1 PROGRESSBAR_PADDING_HEIGHT_INC; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: -1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + rel1.to: "elm.background.progressbar"; + rel2.to: "elm.background.progressbar"; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + visible: 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "swallowbar.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.bottom.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L1"; + } + align: 0.0 0.0; + color_class: "T057L1"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drag.background"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "background"; + to_y: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_x: "background"; + to_y: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + offset: -1 -1; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L2"; + } + description { state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "background"; + relative: 1.0 1.0; + } + } + description { state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.9 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + scale: 1; + dragable { + confine: "drag.background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 0 28; + fixed: 1 1; + visible: 0; + rel1.to: "drag.background"; + rel2.to: "drag.background"; + } + } + } + programs { + program { name: "units_show"; + signal: "elm,units,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "elm.text.status"; + target: "elm.swallow.bar"; + target: "elm.bottom.text"; + target: "elm.left.top.text"; + target: "elm.text"; + target: "swallowbar.top.pad"; + target: "elm.background.progressbar"; + } + program { name: "units_hide"; + signal: "elm,units,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + target: "elm.swallow.bar"; + target: "elm.bottom.text"; + target: "elm.left.top.text"; + target: "elm.text"; + target: "swallowbar.top.pad"; + target: "elm.background.progressbar"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + } + } + group { name: "elm/progressbar/horizontal/custom"; + alias: "elm/progressbar/horizontal/list_progress"; + images { + set { + name: "core_progress_bar.#"; + image { + image: SMALL"images/Controls/core_progress_bar.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar.#.png" COMP; + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_BG_DEFAULT_HEIGHT_INC; + } + description { state: "one_text" 0.0; + min: 0 PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC; + } + description { state: "two_text" 0.0; + min: 0 PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC; + } + } + part { name: "elm.top.right.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + text { + min: 0 0; + align: 1.0 0.0; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "elm.top.left.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 0.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "swallowbar.top.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1 { + to: "elm.top.right.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.top.right.text"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + max: -1 PROGRESSBAR_PADDING_HEIGHT_INC; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: -1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + rel1.to: "elm.background.progressbar"; + rel2.to: "elm.background.progressbar"; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + visible: 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "swallowbar.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "elm.bottom.right.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.bottom.left.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L1"; + } + align: 0.0 0.0; + color_class: "T057L1"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drag.background"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "background"; + to_y: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_x: "background"; + to_y: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + offset: -1 -1; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L2"; + } + description { state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "background"; + relative: 1.0 1.0; + } + } + description { state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.9 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L2D"; + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + scale: 1; + dragable { + confine: "drag.background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 0 28; + fixed: 1 1; + visible: 0; + rel1.to: "drag.background"; + rel2.to: "drag.background"; + } + } + } + script { + public top_text = 0; + public bottom_text = 0; + } + programs { + program { name: "bottom_text_show"; + signal: "elm,bottom,text,show"; + source: "elm"; + script { + if (!get_int(top_text)) + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + else + set_state(PART:"elm.background.progressbar", "two_text", 0.0); + set_int(bottom_text, 1); + run_program(PROGRAM:"prog1"); + } + } + program { name: "prog1"; + action: STATE_SET "show" 0.0; + target: "elm.bottom.right.text"; + target: "elm.swallow.bar"; + target: "elm.bottom.left.text"; + } + program { name: "bottom_text_hide"; + signal: "elm,bottom,text,hide"; + source: "elm"; + script { + if (!get_int(top_text)) + set_state(PART:"elm.background.progressbar", "default", 0.0); + else + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + set_int(bottom_text, 0); + run_program(PROGRAM:"prog1"); + } + after: "prog3"; + } + program { name: "prog3"; + action: STATE_SET "default" 0.0; + target: "elm.bottom.right.text"; + target: "elm.bottom.left.text"; + target: "elm.swallow.bar"; + } + program { name: "top_text_show"; + signal: "elm,top,text,show"; + source: "elm"; + script { + if (!get_int(bottom_text)) + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + else + set_state(PART:"elm.background.progressbar", "two_text", 0.0); + set_int(top_text, 1); + run_program(PROGRAM:"prog2"); + } + } + program { name: "prog2"; + action: STATE_SET "show" 0.0; + target: "elm.top.right.text"; + target: "elm.top.left.text"; + target: "elm.swallow.bar"; + target: "swallowbar.top.pad"; + } + program { name: "top_text_hide"; + signal: "elm,top,text,hide"; + source: "elm"; + script { + if (!get_int(bottom_text)) + set_state(PART:"elm.background.progressbar", "default", 0.0); + else + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + set_int(top_text, 0); + run_program(PROGRAM:"prog1"); + } + after: "prog4"; + } + program { name: "prog4"; + action: STATE_SET "default" 0.0; + target: "elm.top.right.text"; + target: "elm.top.left.text"; + target: "elm.swallow.bar"; + target: "swallowbar.top.pad"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + } + } + +group { name: "elm/progressbar/horizontal/pending"; + images { + set { + name: "core_progress_bar.#"; + image { + image: SMALL"images/Controls/core_progress_bar.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar.#.png" COMP; + } + } + set { + name: "core_progress_pending_bg_01"; + image { + image: SMALL"images/Controls/core_progress_pending_bg_01.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_pending_bg_01.png" COMP; + } + } + set { + name: "core_progress_pending_bg_02"; + image { + image: SMALL"images/Controls/core_progress_pending_bg_02.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_pending_bg_02.png" COMP; + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "show" 0.0; + min: 0 PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + text { + min: 0 0; + align: 1.0 0.0; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "elm.left.top.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 0.0 1.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "swallowbar.top.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.text"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + max: -1 PROGRESSBAR_PADDING_HEIGHT_INC; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: -1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + rel1.to: "elm.background.progressbar"; + rel2.to: "elm.background.progressbar"; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + visible: 1; + } + } + part { name: "swallowbar.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.bottom.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L1"; + } + align: 0.0 0.0; + color_class: "T057L1"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "background"; + relative: 0.0 0.0; + } + rel2 { + to: "background"; + relative: 1.0 1.0; + offset: -1 -1; + } + image.normal: "core_progress_pending_bg_01"; + color_class: "W062L2"; + } + description { state: "state_begin" 0.0; + inherit: "default" 0.0; + } + description { state: "state_end" 0.0; + inherit: "default" 0.0; + image.normal: "core_progress_pending_bg_02"; + color_class: "W062L2"; + } + description { state: "state_begin_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L5D"; + } + description { state: "state_end_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L5D"; + } + } + } + script { + public state_end = 0; + } + programs { + program { name: "units_show"; + signal: "elm,units,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "elm.text.status"; + target: "elm.swallow.bar"; + target: "elm.bottom.text"; + target: "elm.text"; + target: "elm.left.top.text"; + target: "swallowbar.top.pad"; + target: "elm.background.progressbar"; + } + program { name: "units_hide"; + signal: "elm,bottom,text,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + target: "elm.swallow.bar"; + target: "elm.bottom.text"; + target: "elm.text"; + target: "elm.left.top.text"; + target: "swallowbar.top.pad"; + target: "elm.background.progressbar"; + } + program { name: "slide_to_end"; + in: 0.3 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + set_int(state_end, 1); + } + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + in: 0.3 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + set_int(state_end, 0); + } + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"background", "disabled", 0.0); + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin_disabled", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_disabled", 0.0); + } + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"background", "default", 0.0); + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + } + } + } + } + + group { name: "elm/progressbar/horizontal/pending_custom"; + images { + set { + name: "core_progress_bar.#"; + image { + image: SMALL"images/Controls/core_progress_bar.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar.#.png" COMP; + } + } + set { + name: "core_progress_pending_bg_01"; + image { + image: SMALL"images/Controls/core_progress_pending_bg_01.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_pending_bg_01.png" COMP; + } + } + set { + name: "core_progress_pending_bg_02"; + image { + image: SMALL"images/Controls/core_progress_pending_bg_02.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_pending_bg_02.png" COMP; + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_BG_DEFAULT_HEIGHT_INC; + } + description { state: "one_text" 0.0; + min: 0 PROGRESSBAR_BG_ONE_TEXT_HEIGHT_INC; + } + description { state: "two_text" 0.0; + min: 0 PROGRESSBAR_BG_TWO_TEXT_HEIGHT_INC; + } + } + part { name: "elm.top.right.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 0.0; + } + text { + min: 0 0; + align: 1.0 0.0; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "elm.top.left.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 0.0 0.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 0.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + } + part { name: "swallowbar.top.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1 { + to: "elm.top.right.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.top.right.text"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + max: -1 PROGRESSBAR_PADDING_HEIGHT_INC; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + max: -1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; + rel1.to: "elm.background.progressbar"; + rel2.to: "elm.background.progressbar"; + fixed: 0 1; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.background.progressbar"; + to_y: "swallowbar.top.pad"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + visible: 1; + } + } + part { name: "swallowbar.bottom.pad"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 PROGRESSBAR_PADDING_HEIGHT_INC; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "elm.bottom.right.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 1.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L2"; + } + align: 1.0 0.0; + color_class: "T057L2"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.bottom.left.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "swallowbar.bottom.pad"; + relative: 0.0 1.0; + } + text { + min: 1 1; + align: 0.5 0.5; + text_class: "T057L1"; + } + align: 0.0 0.0; + color_class: "T057L1"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + image.normal: "core_progress_bar.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "background"; + relative: 0.0 0.0; + } + rel2 { + to: "background"; + relative: 1.0 1.0; + offset: -1 -1; + } + image.normal: "core_progress_pending_bg_01"; + color_class: "W062L2"; + } + description { state: "state_begin" 0.0; + inherit: "default" 0.0; + } + description { state: "state_end" 0.0; + inherit: "default" 0.0; + image.normal: "core_progress_pending_bg_02"; + color_class: "W062L2"; + } + description { state: "state_begin_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L5D"; + } + description { state: "state_end_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L5D"; + } + } + } + script { + public top_text = 0; + public bottom_text = 0; + public state_end = 0; + } + programs { + program { name: "bottom_text_show"; + signal: "elm,bottom,text,show"; + source: "elm"; + script { + if (!get_int(top_text)) + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + else + set_state(PART:"elm.background.progressbar", "two_text", 0.0); + set_int(bottom_text, 1); + run_program(PROGRAM:"prog1"); + } + } + program { name: "prog1"; + action: STATE_SET "show" 0.0; + target: "elm.bottom.right.text"; + target: "elm.swallow.bar"; + target: "elm.bottom.left.text"; + } + program { name: "bottom_text_hide"; + signal: "elm,bottom,text,hide"; + source: "elm"; + script { + if (!get_int(top_text)) + set_state(PART:"elm.background.progressbar", "default", 0.0); + else + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + set_int(bottom_text, 0); + run_program(PROGRAM:"prog1"); + } + after: "prog3"; + } + program { name: "prog3"; + action: STATE_SET "default" 0.0; + target: "elm.bottom.right.text"; + target: "elm.bottom.left.text"; + target: "elm.swallow.bar"; + } + program { name: "top_text_show"; + signal: "elm,top,text,show"; + source: "elm"; + script { + if (!get_int(bottom_text)) + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + else + set_state(PART:"elm.background.progressbar", "two_text", 0.0); + set_int(top_text, 1); + run_program(PROGRAM:"prog2"); + } + } + program { name: "prog2"; + action: STATE_SET "show" 0.0; + target: "elm.top.right.text"; + target: "elm.top.left.text"; + target: "elm.swallow.bar"; + target: "swallowbar.top.pad"; + } + program { name: "top_text_hide"; + signal: "elm,top,text,hide"; + source: "elm"; + script { + if (!get_int(bottom_text)) + set_state(PART:"elm.background.progressbar", "default", 0.0); + else + set_state(PART:"elm.background.progressbar", "one_text", 0.0); + set_int(top_text, 0); + run_program(PROGRAM:"prog1"); + } + after: "prog4"; + } + program { name: "prog4"; + action: STATE_SET "default" 0.0; + target: "elm.top.right.text"; + target: "elm.top.left.text"; + target: "elm.swallow.bar"; + target: "swallowbar.top.pad"; + } + program { name: "slide_to_end"; + in: 0.3 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + set_int(state_end, 1); + } + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + in: 0.3 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + set_int(state_end, 0); + } + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"background", "disabled", 0.0); + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin_disabled", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end_disabled", 0.0); + } + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"background", "default", 0.0); + if (!get_int(state_end)) + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + else + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + } + } + } + } + +#define PROGRESS_DESC(NUM , SIZE) \ + description { state: "pulse" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "core_activity_Indicator_"SIZE; \ + map { \ + on: 1; \ + smooth: 0; \ + rotation { \ + z: NUM; \ + } \ + } \ + } + +#define PROCESS_DESCS(WIDTH, HEIGHT, SIZE) \ + description { \ + state: "default" 0.0; \ + min: WIDTH HEIGHT; \ + max: WIDTH HEIGHT; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.normal: "core_activity_Indicator_"SIZE; \ + } \ + PROGRESS_DESC(-360, SIZE) + +#define PROGRESSING_DELAY 0.01 + +#define PROCESS_IMAGES(SIZE) \ + images { \ + set { \ + name: "core_activity_Indicator_"SIZE"_00"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_00.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_00.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_01"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_01.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_01.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_02"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_02.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_02.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_03"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_03.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_03.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_04"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_04.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_04.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_05"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_05.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_05.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_06"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_06.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_06.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_07"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_07.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_07.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_08"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_08.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_08.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_09"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_09.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_09.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_10"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_10.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_10.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_11"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_11.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_11.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_12"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_12.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_12.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_13"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_13.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_13.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_14"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_14.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_14.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_15"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_15.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_15.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_16"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_16.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_16.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_17"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_17.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_17.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_18"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_18.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_18.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_19"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_19.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_19.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_20"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_20.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_20.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_21"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_21.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_21.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_22"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_22.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_22.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_23"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_23.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_23.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_24"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_24.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_24.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_25"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_25.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_25.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_26"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_26.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_26.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_27"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_27.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_27.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_28"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_28.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_28.png" COMP; \ + } \ + } \ + set { \ + name: "core_activity_Indicator_"SIZE"_29"; \ + image { \ + image: SMALL"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_29.png" COMP; \ + } \ + image { \ + image: MEDIUM"images/Activity_indicator/"SIZE"/core_activity_Indicator_"SIZE"_29.png" COMP; \ + } \ + } \ + } + + + group { name: "elm/progressbar/horizontal/process_large"; + PROCESS_IMAGES(large) + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { state: "default" 0.0; + min: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + max: PROCESS_LARGE_IMAGE_WIDTH_INC PROCESS_LARGE_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + color_class: "W157E1"; + image.normal: "core_activity_Indicator_large_00"; + image.tween: "core_activity_Indicator_large_01"; + image.tween: "core_activity_Indicator_large_02"; + image.tween: "core_activity_Indicator_large_03"; + image.tween: "core_activity_Indicator_large_04"; + image.tween: "core_activity_Indicator_large_05"; + image.tween: "core_activity_Indicator_large_06"; + image.tween: "core_activity_Indicator_large_07"; + image.tween: "core_activity_Indicator_large_08"; + image.tween: "core_activity_Indicator_large_09"; + image.tween: "core_activity_Indicator_large_10"; + image.tween: "core_activity_Indicator_large_11"; + image.tween: "core_activity_Indicator_large_12"; + image.tween: "core_activity_Indicator_large_13"; + image.tween: "core_activity_Indicator_large_14"; + image.tween: "core_activity_Indicator_large_15"; + image.tween: "core_activity_Indicator_large_16"; + image.tween: "core_activity_Indicator_large_17"; + image.tween: "core_activity_Indicator_large_18"; + image.tween: "core_activity_Indicator_large_19"; + image.tween: "core_activity_Indicator_large_20"; + image.tween: "core_activity_Indicator_large_21"; + image.tween: "core_activity_Indicator_large_22"; + image.tween: "core_activity_Indicator_large_23"; + image.tween: "core_activity_Indicator_large_24"; + image.tween: "core_activity_Indicator_large_25"; + image.tween: "core_activity_Indicator_large_26"; + image.tween: "core_activity_Indicator_large_27"; + image.tween: "core_activity_Indicator_large_28"; + image.tween: "core_activity_Indicator_large_29"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/process_medium"; + PROCESS_IMAGES(medium) + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { state: "default" 0.0; + min: PROCESS_MEDIUM_IMAGE_WIDTH_INC PROCESS_MEDIUM_IMAGE_HEIGHT_INC; + max: PROCESS_MEDIUM_IMAGE_WIDTH_INC PROCESS_MEDIUM_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + color_class: "W157E1"; + image.normal: "core_activity_Indicator_medium_00"; + image.tween: "core_activity_Indicator_medium_01"; + image.tween: "core_activity_Indicator_medium_02"; + image.tween: "core_activity_Indicator_medium_03"; + image.tween: "core_activity_Indicator_medium_04"; + image.tween: "core_activity_Indicator_medium_05"; + image.tween: "core_activity_Indicator_medium_06"; + image.tween: "core_activity_Indicator_medium_07"; + image.tween: "core_activity_Indicator_medium_08"; + image.tween: "core_activity_Indicator_medium_09"; + image.tween: "core_activity_Indicator_medium_10"; + image.tween: "core_activity_Indicator_medium_11"; + image.tween: "core_activity_Indicator_medium_12"; + image.tween: "core_activity_Indicator_medium_13"; + image.tween: "core_activity_Indicator_medium_14"; + image.tween: "core_activity_Indicator_medium_15"; + image.tween: "core_activity_Indicator_medium_16"; + image.tween: "core_activity_Indicator_medium_17"; + image.tween: "core_activity_Indicator_medium_18"; + image.tween: "core_activity_Indicator_medium_19"; + image.tween: "core_activity_Indicator_medium_20"; + image.tween: "core_activity_Indicator_medium_21"; + image.tween: "core_activity_Indicator_medium_22"; + image.tween: "core_activity_Indicator_medium_23"; + image.tween: "core_activity_Indicator_medium_24"; + image.tween: "core_activity_Indicator_medium_25"; + image.tween: "core_activity_Indicator_medium_26"; + image.tween: "core_activity_Indicator_medium_27"; + image.tween: "core_activity_Indicator_medium_28"; + image.tween: "core_activity_Indicator_medium_29"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/process_small"; + PROCESS_IMAGES(small) + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "background"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { state: "default" 0.0; + min: PROCESS_SMALL_IMAGE_WIDTH_INC PROCESS_SMALL_IMAGE_HEIGHT_INC; + max: PROCESS_SMALL_IMAGE_WIDTH_INC PROCESS_SMALL_IMAGE_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + color_class: "W157E1"; + image.normal: "core_activity_Indicator_small_00"; + image.tween: "core_activity_Indicator_small_01"; + image.tween: "core_activity_Indicator_small_02"; + image.tween: "core_activity_Indicator_small_03"; + image.tween: "core_activity_Indicator_small_04"; + image.tween: "core_activity_Indicator_small_05"; + image.tween: "core_activity_Indicator_small_06"; + image.tween: "core_activity_Indicator_small_07"; + image.tween: "core_activity_Indicator_small_08"; + image.tween: "core_activity_Indicator_small_09"; + image.tween: "core_activity_Indicator_small_10"; + image.tween: "core_activity_Indicator_small_11"; + image.tween: "core_activity_Indicator_small_12"; + image.tween: "core_activity_Indicator_small_13"; + image.tween: "core_activity_Indicator_small_14"; + image.tween: "core_activity_Indicator_small_15"; + image.tween: "core_activity_Indicator_small_16"; + image.tween: "core_activity_Indicator_small_17"; + image.tween: "core_activity_Indicator_small_18"; + image.tween: "core_activity_Indicator_small_19"; + image.tween: "core_activity_Indicator_small_20"; + image.tween: "core_activity_Indicator_small_21"; + image.tween: "core_activity_Indicator_small_22"; + image.tween: "core_activity_Indicator_small_23"; + image.tween: "core_activity_Indicator_small_24"; + image.tween: "core_activity_Indicator_small_25"; + image.tween: "core_activity_Indicator_small_26"; + image.tween: "core_activity_Indicator_small_27"; + image.tween: "core_activity_Indicator_small_28"; + image.tween: "core_activity_Indicator_small_29"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } + } diff --git a/2.3-mobile/widgets/radio.edc b/2.3-mobile/widgets/radio.edc new file mode 100644 index 0000000..0067b59 --- /dev/null +++ b/2.3-mobile/widgets/radio.edc @@ -0,0 +1,440 @@ +/* + * 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. + */ + +group { name: "elm/radio/base/default"; + images { + set { + name: "core_radio_bg"; + image { + image: SMALL"images/Controls/core_radio_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_bg.png" COMP; + } + } + set { + name: "core_radio_bg_stroke"; + image { + image: SMALL"images/Controls/core_radio_bg_stroke.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_bg_stroke.png" COMP; + } + } + set { + name: "core_radio_icon"; + image { + image: SMALL"images/Controls/core_radio_icon.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_icon.png" COMP; + } + } + } + script { + public radio_state; + public radio_disabled; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_BG_SIZE; + image.normal: "core_radio_bg"; + aspect: 1 1; + aspect_preference: BOTH; + color_class: "W014L1E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L1D"; + } + } + part { name: "bg_stroke"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_BG_STROKE_SIZE; + image.normal: "core_radio_bg_stroke"; + aspect: 1 1; + aspect_preference: BOTH; + color_class: "W014L2E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L2D"; + } + } + part { name: "radio"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_SIZE; + rel1.to: "bg"; + rel1.relative: 0.125 0.125; + rel2.to: "bg"; + rel2.relative: 0.875 0.875; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_radio_icon"; + color_class: "W014Li"; + visible:0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible:1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014LiD"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + emit("elm,action,radio,toggle", ""); + run_program(PROGRAM:"touch_sound"); + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + set_state(PART:"radio", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + set_state(PART:"radio", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"radio", "on", 0.0); + set_int(radio_state, 1); + } + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + set_state(PART:"radio", "default", 0.0); + set_int(radio_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(radio_disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + set_state(PART:"radio", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(radio_disabled, 0); + if (get_int(radio_state) == 1) { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + set_state(PART:"radio", "on", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + set_state(PART:"radio", "default", 0.0); + } + } + } + } + } + +group { name: "elm/radio/base/list"; + images { + set { + name: "core_radio_bg"; + image { + image: SMALL"images/Controls/core_radio_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_bg.png" COMP; + } + } + set { + name: "core_radio_bg_stroke"; + image { + image: SMALL"images/Controls/core_radio_bg_stroke.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_bg_stroke.png" COMP; + } + } + set { + name: "core_radio_icon"; + image { + image: SMALL"images/Controls/core_radio_icon.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_radio_icon.png" COMP; + } + } + } + script { + public radio_state; + public radio_disabled; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_BG_SIZE; + image.normal: "core_radio_bg"; + aspect: 1 1; + aspect_preference: BOTH; + color_class: "W014L1E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L1D"; + } + } + part { name: "bg_stroke"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_BG_STROKE_SIZE; + image.normal: "core_radio_bg_stroke"; + aspect: 1 1; + aspect_preference: BOTH; + color_class: "W014L2E1"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L2"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L2D"; + } + } + part { name: "radio"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_SIZE; + rel1.to: "bg"; + rel1.relative: 0.125 0.125; + rel2.to: "bg"; + rel2.relative: 0.875 0.875; + aspect: 1 1; + aspect_preference: BOTH; + image.normal: "core_radio_icon"; + color_class: "W014Li"; + visible:0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible:1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014LiD"; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "unpressed"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + set_state(PART:"radio", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "pressed"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + set_state(PART:"radio", "on", 0.0); + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + else { + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + } + set_state(PART:"radio", "on", 0.0); + set_int(radio_state, 1); + } + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + } + set_state(PART:"radio", "default", 0.0); + set_int(radio_state, 0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(radio_disabled, 1); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"bg_stroke", "disabled", 0.0); + set_state(PART:"radio", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(radio_disabled, 0); + if (get_int(radio_state) == 1) { + set_state(PART:"bg", "on", 0.0); + set_state(PART:"bg_stroke", "on", 0.0); + set_state(PART:"radio", "on", 0.0); + } + else { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"bg_stroke", "default", 0.0); + set_state(PART:"radio", "default", 0.0); + } + } + } + } + } + diff --git a/2.3-mobile/widgets/scroller.edc b/2.3-mobile/widgets/scroller.edc new file mode 100644 index 0000000..6c6cca0 --- /dev/null +++ b/2.3-mobile/widgets/scroller.edc @@ -0,0 +1,3571 @@ +/* + * Copyright (c) 2014 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. + */ + +/* + * vim:ts=3 +*/ + +group { name: "elm/scroller/base/default"; + alias: "elm/gengrid/base/no_effect"; + alias: "elm/genlist/base/no_effect"; + alias: "elm/list/base/no_effect"; + + data { + item: "focus_highlight" "on"; + } + + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public sh_v, sh_h; + public top_down_x = 0, top_down_y = 0 + public top_move_x = 0, top_move_y = 0 + public top_diff = 0, top_prev_diff = 0 + public effect_top_down = 0, effect_top_start = 0, effect_top_reset = 0, effect_top_anim = 0; + public effect_top_end = 0, effect_top_move = 0, effect_top_max = 0; + public bottom_down_x = 0, bottom_down_y = 0 + public bottom_move_x = 0, bottom_move_y = 0 + public bottom_diff = 0, bottom_prev_diff = 0 + public effect_bottom_down = 0, effect_bottom_start = 0, effect_bottom_reset = 0, effect_bottom_anim = 0; + public effect_bottom_end = 0, effect_bottom_move = 0, effect_bottom_max = 0; + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + set { + name: "core_scroll_bar_v.#"; + image { + image: SMALL"images/Controls/core_scroll_bar_v.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_scroll_bar_v.#.png" COMP; + } + } + set { + name: "core_scroll_bar_v_ef.#"; + image { + image: SMALL"images/Controls/core_scroll_bar_v_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_scroll_bar_v_ef.#.png" COMP; + } + } + set { + name: "core_scroll_bar_h.#"; + image { + image: SMALL"images/Controls/core_scroll_bar_h.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_scroll_bar_h.#.png" COMP; + } + } + set { + name: "core_scroll_bar_h_ef.#"; + image { + image: SMALL"images/Controls/core_scroll_bar_h_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_scroll_bar_h_ef.#.png" COMP; + } + } + } + parts { + part { name: "base_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color_class: "B011"; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "sb_vbar_right_padding"; + to_y: "sb_vbar_top_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 1; + to_x: "sb_vbar_right_padding"; + to_y: "sb_vbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "core_scroll_bar_v.#"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "vbar_effect"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image.normal: "core_scroll_bar_v_ef.#"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE; + max: 0 SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to_x: "sb_hbar_left_padding"; + to_y: "sb_hbar_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_x: "sb_hbar_right_padding"; + to_y: "sb_hbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.0; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.0; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "core_scroll_bar_h.#"; + middle: DEFAULT; + } + color_class: "B071"; + } + } + part { name: "hbar_effect"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image.normal: "core_scroll_bar_h_ef.#"; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + program { name: "show"; + signal: "show"; + source: ""; + script { + new v; + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + v = get_int(sbalways_v); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + v = get_int(sbalways_h); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } +} + +group { name: "elm/scroller/base/handler"; + + data { + item: "focus_highlight" "on"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public top_down_x = 0, top_down_y = 0 + public top_move_x = 0, top_move_y = 0 + public top_diff = 0, top_prev_diff = 0 + public effect_top_down = 0, effect_top_start = 0, effect_top_reset = 0, effect_top_anim = 0; + public effect_top_end = 0, effect_top_move = 0, effect_top_max = 0; + public bottom_down_x = 0, bottom_down_y = 0 + public bottom_move_x = 0, bottom_move_y = 0 + public bottom_diff = 0, bottom_prev_diff = 0 + public effect_bottom_down = 0, effect_bottom_start = 0, effect_bottom_reset = 0, effect_bottom_anim = 0; + public effect_bottom_end = 0, effect_bottom_move = 0, effect_bottom_max = 0; + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + set { + name: "core_index_scroll_bar_v.#"; + image { + image: SMALL"images/Controls/core_index_scroll_bar_v.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_bar_v.#.png" COMP; + } + } + set { + name: "core_index_scroll_bar_v_ef.#"; + image { + image: SMALL"images/Controls/core_index_scroll_bar_v_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_bar_v_ef.#.png" COMP; + } + } + set { + name: "core_index_scroll_handler_v_01"; + image { + image: SMALL"images/Controls/core_index_scroll_handler_v_01.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_handler_v_01.png" COMP; + } + } + set { + name: "core_index_scroll_handler_v_02"; + image { + image: SMALL"images/Controls/core_index_scroll_handler_v_02.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_handler_v_02.png" COMP; + } + } + set { + name: "core_index_scroll_bar_h.#"; + image { + image: SMALL"images/Controls/core_index_scroll_bar_h.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_bar_h.#.png" COMP; + } + } + set { + name: "core_index_scroll_bar_h_ef.#"; + image { + image: SMALL"images/Controls/core_index_scroll_bar_h_ef.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_bar_h_ef.#.png" COMP; + } + } + set { + name: "core_index_scroll_handler_h_01"; + image { + image: SMALL"images/Controls/core_index_scroll_handler_h_01.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_handler_h_01.png" COMP; + } + } + set { + name: "core_index_scroll_handler_h_02"; + image { + image: SMALL"images/Controls/core_index_scroll_handler_h_02.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_index_scroll_handler_h_02.png" COMP; + } + } + } + parts { + part { name: "base_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color_class: "B011"; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "sb_vbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "sb_vbar_top_padding"; + to_x: "sb_vbar_right_padding"; + } + rel2 { + relative: 0.0 0.0; + to_y: "sb_vbar_bottom_padding"; + to_x: "sb_vbar_right_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + type: RECT; + clip_to: "sb_vbar_clip"; + mouse_events: 1; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: 30 99999; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + } + } + part { name: "scrollbar_handler_image"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 1.0; + rel2.to: "elm.dragable.vbar"; + visible: 1; + image.normal: "core_index_scroll_bar_v.#"; + color_class: "B0731L3"; + } + } + part { name: "scrollbar_handler_effect"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "scrollbar_handler_image"; + rel2.to: "scrollbar_handler_image"; + visible: 1; + image.normal: "core_index_scroll_bar_v_ef.#"; + } + } + part { name: "scrollbar_handler_image_middle"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 0.5 0.5; + rel2.to: "elm.dragable.vbar"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "core_index_scroll_handler_v_01"; + color_class: "B0731L4"; + } + } + part { name: "scrollbar_handler_effect_middle"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "scrollbar_handler_image_middle"; + rel2.to: "scrollbar_handler_image_middle"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "core_index_scroll_handler_v_02"; + color_class: "B0731L5"; + } + } + part { name: "sb_hbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE; + max: 0 SCROLLER_HANDLER_SCROLLBAR_VBAR_PADDING_SIZE; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + to_x: "sb_hbar_left_padding"; + to_y: "sb_hbar_bottom_padding"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_x: "sb_hbar_right_padding"; + to_y: "sb_hbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.hbar"; + type: RECT; + clip_to: "sb_hbar_clip"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: 99999 30; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + } + } + part { name: "h_scrollbar_handler_image"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.0 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 1.0; + rel2.to: "elm.dragable.hbar"; + visible: 1; + image.normal: "core_index_scroll_bar_h.#"; + color_class: "B0731L3"; + } + } + part { name: "h_scrollbar_handler_effect"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "h_scrollbar_handler_image"; + rel2.to: "h_scrollbar_handler_image"; + visible: 1; + image.normal: "core_index_scroll_bar_h_ef.#"; + } + } + part { name: "scrollbar_handler_image_hor"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 0.5 0.5; + rel2.to: "elm.dragable.hbar"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "core_index_scroll_handler_h_01"; + color_class: "B0731L4"; + } + } + part { name: "scrollbar_handler_effect_hor"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "scrollbar_handler_image_hor"; + rel2.to: "scrollbar_handler_image_hor"; + visible: 1; + min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC; + image.normal: "core_index_scroll_handler_h_02"; + color_class: "B0731L5"; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "vbar_press"; + signal: "mouse,down,1"; + source: "elm.dragable.vbar"; + action: SIGNAL_EMIT "elm,vbar,press" "elm"; + } + program { name: "vbar_unpress"; + signal: "mouse,up,1"; + source: "elm.dragable.vbar"; + action: SIGNAL_EMIT "elm,vbar,unpress" "elm"; + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_vbar_clip"; + } + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "hbar_press"; + signal: "mouse,down,1"; + source: "elm.dragable.hbar"; + action: SIGNAL_EMIT "elm,hbar,press" "elm"; + } + program { name: "hbar_unpress"; + signal: "mouse,up,1"; + source: "elm.dragable.hbar"; + action: SIGNAL_EMIT "elm,hbar,unpress" "elm"; + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + program { name: "show"; + signal: "show"; + source: ""; + script { + new v; + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + v = get_int(sbalways_v); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + v = get_int(sbalways_h); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } +} + +group { name: "elm/scroller/base/effect"; + alias: "elm/genlist/base/default"; + alias: "elm/list/base/default"; + alias: "elm/gengrid/base/default"; + inherit: "elm/scroller/base/default"; + + parts { + part { name: "shadow_top1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_top2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_top3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_bottom1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE+1; + } + } + part { name: "shadow_bottom2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE+1; + } + } + part { name: "shadow_bottom3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE+1; + } + } + part { name: "shadow_left1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_left2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_left3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_right1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE+1 -1; + } + } + part { name: "shadow_right2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE+1 -1; + } + } + part { name: "shadow_right3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE+1 -1; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "load"; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + set_int(sh_v, 0); + emit("reload", "elm"); + } + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "edge_top_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_top_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_top_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_top_down, 0); + if (get_int(effect_top_start)) + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_anim)) + { + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + } + program { name: "edge_top_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_top_start)) + { + set_state(PART:"shadow_top1", "default", 0.0); + set_state(PART:"shadow_top2", "default", 0.0); + set_state(PART:"shadow_top3", "default", 0.0); + set_int(effect_top_reset, 0); + run_program(PROGRAM:"edge_top_init"); + } + } + } + program { name: "edge_top_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.3; + after: "edge_top_init"; + } + program { name: "edge_top_init"; + script { + set_int(effect_top_move, 0); + if (!get_int(effect_top_reset)) + set_int(effect_top_start, 0); + set_int(effect_top_max, 0); + set_int(top_prev_diff, 0); + set_int(effect_top_end, 0); + } + } + /* Effect Show */ + program { name: "edge_top"; + signal: "elm,edge,top"; + source: "elm"; + script { + if (!get_int(effect_top_start)) + { + set_int(effect_top_start, 1); + set_int(effect_top_anim, 1); + run_program(PROGRAM:"edge_top_start"); + } + } + } + program { name: "edge_top_start"; + action: STATE_SET "start" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.2; + after: "edge_top_after"; + } + program { name: "edge_top_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(top_down_y, yy); + set_int(effect_top_anim, 0); + /* mouse down */ + if (get_int(effect_top_down)) + { + set_int(effect_top_move, 1); + } + /* mouse up */ + else + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + program { name: "edge_top_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_top_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(top_move_y, yy); + set_int(top_diff, (get_int(top_move_y) - get_int(top_down_y))); + if (get_int(top_diff) < get_int(top_prev_diff)) + { + set_int(top_prev_diff, 0); + set_int(effect_top_move, 0); + set_int(effect_top_reset, 1); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + else + { + if (!get_int(effect_top_end)) + { + if (get_int(top_diff) <= 90 && !get_int(effect_top_max)) + { + fx1 = fx2 = fx3 = sin(get_int(top_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_top_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_top1", "default", 0.0); + set_state_val(PART:"shadow_top1", STATE_REL1_OFFSET, 0, round(fx1)); + set_state_val(PART:"shadow_top1", STATE_REL2_OFFSET, -1, round(fx1) - 1); + set_state(PART:"shadow_top1", "custom", 0.0); + + custom_state(PART:"shadow_top2", "default", 0.0); + set_state_val(PART:"shadow_top2", STATE_REL1_OFFSET, 0, round(fx2)); + set_state_val(PART:"shadow_top2", STATE_REL2_OFFSET, -1, round(fx2) - 1); + set_state(PART:"shadow_top2", "custom", 0.0); + + custom_state(PART:"shadow_top3", "default", 0.0); + set_state_val(PART:"shadow_top3", STATE_REL1_OFFSET, 0, round(fx3)); + set_state_val(PART:"shadow_top3", STATE_REL2_OFFSET, -1, round(fx3) - 1); + set_state(PART:"shadow_top3", "custom", 0.0); + set_int(top_prev_diff, get_int(top_diff)); + } + } + } + } + } + program { name: "edge_bottom_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_bottom_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_bottom_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_bottom_down, 0); + if (get_int(effect_bottom_start)) + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_anim)) + { + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + } + program { name: "edge_bottom_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_bottom_start)) + { + set_state(PART:"shadow_bottom1", "default", 0.0); + set_state(PART:"shadow_bottom2", "default", 0.0); + set_state(PART:"shadow_bottom3", "default", 0.0); + set_int(effect_bottom_reset, 0); + run_program(PROGRAM:"edge_bottom_init"); + } + } + } + program { name: "edge_bottom_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.3; + after: "edge_bottom_init"; + } + program { name: "edge_bottom_init"; + script { + set_int(effect_bottom_move, 0); + if (!get_int(effect_bottom_reset)) + set_int(effect_bottom_start, 0); + set_int(effect_bottom_max, 0); + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_end, 0); + } + } + /* Effect Show */ + program { name: "edge_bottom"; + signal: "elm,edge,bottom"; + source: "elm"; + script { + if (!get_int(effect_bottom_start)) + { + set_int(effect_bottom_start, 1); + set_int(effect_bottom_anim, 1); + run_program(PROGRAM:"edge_bottom_start"); + } + } + } + program { name: "edge_bottom_start"; + action: STATE_SET "start" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.2; + after: "edge_bottom_after"; + } + program { name: "edge_bottom_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(effect_bottom_anim, 0); + set_int(bottom_down_y, yy); + /* mouse down */ + if (get_int(effect_bottom_down)) + { + set_int(effect_bottom_move, 1); + } + /* mouse up */ + else + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + program { name: "edge_bottom_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_bottom_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(bottom_move_y, yy); + set_int(bottom_diff, (get_int(bottom_down_y) - get_int(bottom_move_y))); + if (get_int(bottom_diff) < get_int(bottom_prev_diff)) + { + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_move, 0); + set_int(effect_bottom_reset, 1); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + else + { + if (!get_int(effect_bottom_end)) + { + if (get_int(bottom_diff) <= 90 && !get_int(effect_bottom_max)) + { + fx1 = fx2 = fx3 = sin(get_int(bottom_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_bottom_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_bottom1", "default", 0.0); + set_state_val(PART:"shadow_bottom1", STATE_REL1_OFFSET, 0, round(fx1) * -1); + set_state_val(PART:"shadow_bottom1", STATE_REL2_OFFSET, -1, (round(fx1) - 1) * -1); + set_state(PART:"shadow_bottom1", "custom", 0.0); + + custom_state(PART:"shadow_bottom2", "default", 0.0); + set_state_val(PART:"shadow_bottom2", STATE_REL1_OFFSET, 0, round(fx2) * -1); + set_state_val(PART:"shadow_bottom2", STATE_REL2_OFFSET, -1, (round(fx2) - 1) * -1); + set_state(PART:"shadow_bottom2", "custom", 0.0); + + custom_state(PART:"shadow_bottom3", "default", 0.0); + set_state_val(PART:"shadow_bottom3", STATE_REL1_OFFSET, 0, round(fx3) * -1); + set_state_val(PART:"shadow_bottom3", STATE_REL2_OFFSET, -1, (round(fx3) - 1) * -1 ); + set_state(PART:"shadow_bottom3", "custom", 0.0); + set_int(bottom_prev_diff, get_int(bottom_diff)); + } + } + } + } + } + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left1", "default", 0.0); + set_state(PART:"shadow_left2", "default", 0.0); + set_state(PART:"shadow_left3", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = fx2 = fx3 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_left_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_left1", "default", 0.0); + set_state_val(PART:"shadow_left1", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left1", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left1", "custom", 0.0); + + custom_state(PART:"shadow_left2", "default", 0.0); + set_state_val(PART:"shadow_left2", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left2", STATE_REL2_OFFSET, round(fx2) - 1, - 1); + set_state(PART:"shadow_left2", "custom", 0.0); + + custom_state(PART:"shadow_left3", "default", 0.0); + set_state_val(PART:"shadow_left3", STATE_REL1_OFFSET, round(fx3), 0); + set_state_val(PART:"shadow_left3", STATE_REL2_OFFSET, round(fx3) - 1, - 1); + set_state(PART:"shadow_left3", "custom", 0.0); + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right1", "default", 0.0); + set_state(PART:"shadow_right2", "default", 0.0); + set_state(PART:"shadow_right3", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = fx2 = fx3 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_right_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_right1", "default", 0.0); + set_state_val(PART:"shadow_right1", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right1", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right1", "custom", 0.0); + + custom_state(PART:"shadow_right2", "default", 0.0); + set_state_val(PART:"shadow_right2", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right2", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, - 1); + set_state(PART:"shadow_right2", "custom", 0.0); + + custom_state(PART:"shadow_right3", "default", 0.0); + set_state_val(PART:"shadow_right3", STATE_REL1_OFFSET, round(fx3) * -1, 0); + set_state_val(PART:"shadow_right3", STATE_REL2_OFFSET, (round(fx3) - 1) * -1, - 1); + set_state(PART:"shadow_right3", "custom", 0.0); + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/scroller/base/handler/effect"; + alias: "elm/genlist/base/handler"; + alias: "elm/list/base/handler"; + alias: "elm/gengrid/base/handler"; + inherit: "elm/scroller/base/handler"; + + parts { + part { name: "shadow_top1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_top2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_top3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 1.0; + min: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + rel2.offset: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE-1; + } + } + part { name: "shadow_bottom1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE+1; + } + } + part { name: "shadow_bottom2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE+1; + } + } + part { name: "shadow_bottom3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.5 0.0; + min: 0 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + max: -1 SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + color_class: "B018"; + fixed: 0 1; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + rel2.offset: -1 -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE+1; + } + } + part { name: "shadow_left1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_left2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_left3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 1.0 0.5; + min: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 0; + rel2.offset: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE-1 -1; + } + } + part { name: "shadow_right1"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE+1 -1; + } + } + part { name: "shadow_right2"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_SECOND_LAYER_Min_SIZE+1 -1; + } + } + part { name: "shadow_right3"; + clip_to: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + rel2.offset: -1 -1; + align: 0.0 0.5; + min: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE 0; + max: SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE -1; + color_class: "B018"; + fixed: 1 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE 0; + rel2.offset: -SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE+1 -1; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "edge_top_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_top_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_top_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_top_down, 0); + if (get_int(effect_top_start)) + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_anim)) + { + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + } + program { name: "edge_top_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_top_start)) + { + set_state(PART:"shadow_top1", "default", 0.0); + set_state(PART:"shadow_top2", "default", 0.0); + set_state(PART:"shadow_top3", "default", 0.0); + set_int(effect_top_reset, 0); + run_program(PROGRAM:"edge_top_init"); + } + } + } + program { name: "edge_top_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.3; + after: "edge_top_init"; + } + program { name: "edge_top_init"; + script { + set_int(effect_top_move, 0); + if (!get_int(effect_top_reset)) + set_int(effect_top_start, 0); + set_int(effect_top_max, 0); + set_int(top_prev_diff, 0); + set_int(effect_top_end, 0); + } + } + /* Effect Show */ + program { name: "edge_top"; + signal: "elm,edge,top"; + source: "elm"; + script { + if (!get_int(effect_top_start)) + { + set_int(effect_top_start, 1); + set_int(effect_top_anim, 1); + run_program(PROGRAM:"edge_top_start"); + } + } + } + program { name: "edge_top_start"; + action: STATE_SET "start" 0.0; + target: "shadow_top1"; + target: "shadow_top2"; + target: "shadow_top3"; + transition: SINUSOIDAL 0.2; + after: "edge_top_after"; + } + program { name: "edge_top_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(top_down_y, yy); + set_int(effect_top_anim, 0); + /* mouse down */ + if (get_int(effect_top_down)) + { + set_int(effect_top_move, 1); + } + /* mouse up */ + else + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + program { name: "edge_top_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_top_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(top_move_y, yy); + set_int(top_diff, (get_int(top_move_y) - get_int(top_down_y))); + if (get_int(top_diff) < get_int(top_prev_diff)) + { + set_int(top_prev_diff, 0); + set_int(effect_top_move, 0); + set_int(effect_top_reset, 1); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + else + { + if (!get_int(effect_top_end)) + { + if (get_int(top_diff) <= 90 && !get_int(effect_top_max)) + { + fx1 = fx2 = fx3 = sin(get_int(top_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_top_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_top1", "default", 0.0); + set_state_val(PART:"shadow_top1", STATE_REL1_OFFSET, 0, round(fx1)); + set_state_val(PART:"shadow_top1", STATE_REL2_OFFSET, -1, round(fx1) - 1); + set_state(PART:"shadow_top1", "custom", 0.0); + + custom_state(PART:"shadow_top2", "default", 0.0); + set_state_val(PART:"shadow_top2", STATE_REL1_OFFSET, 0, round(fx2)); + set_state_val(PART:"shadow_top2", STATE_REL2_OFFSET, -1, round(fx2) - 1); + set_state(PART:"shadow_top2", "custom", 0.0); + + custom_state(PART:"shadow_top3", "default", 0.0); + set_state_val(PART:"shadow_top3", STATE_REL1_OFFSET, 0, round(fx3)); + set_state_val(PART:"shadow_top3", STATE_REL2_OFFSET, -1, round(fx3) - 1); + set_state(PART:"shadow_top3", "custom", 0.0); + set_int(top_prev_diff, get_int(top_diff)); + } + } + } + } + } + program { name: "edge_bottom_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_bottom_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_bottom_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_bottom_down, 0); + if (get_int(effect_bottom_start)) + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_anim)) + { + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + } + program { name: "edge_bottom_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_bottom_start)) + { + set_state(PART:"shadow_bottom1", "default", 0.0); + set_state(PART:"shadow_bottom2", "default", 0.0); + set_state(PART:"shadow_bottom3", "default", 0.0); + set_int(effect_bottom_reset, 0); + run_program(PROGRAM:"edge_bottom_init"); + } + } + } + program { name: "edge_bottom_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.3; + after: "edge_bottom_init"; + } + program { name: "edge_bottom_init"; + script { + set_int(effect_bottom_move, 0); + if (!get_int(effect_bottom_reset)) + set_int(effect_bottom_start, 0); + set_int(effect_bottom_max, 0); + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_end, 0); + } + } + /* Effect Show */ + program { name: "edge_bottom"; + signal: "elm,edge,bottom"; + source: "elm"; + script { + if (!get_int(effect_bottom_start)) + { + set_int(effect_bottom_start, 1); + set_int(effect_bottom_anim, 1); + run_program(PROGRAM:"edge_bottom_start"); + } + } + } + program { name: "edge_bottom_start"; + action: STATE_SET "start" 0.0; + target: "shadow_bottom1"; + target: "shadow_bottom2"; + target: "shadow_bottom3"; + transition: SINUSOIDAL 0.2; + after: "edge_bottom_after"; + } + program { name: "edge_bottom_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(effect_bottom_anim, 0); + set_int(bottom_down_y, yy); + /* mouse down */ + if (get_int(effect_bottom_down)) + { + set_int(effect_bottom_move, 1); + } + /* mouse up */ + else + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + program { name: "edge_bottom_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_bottom_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(bottom_move_y, yy); + set_int(bottom_diff, (get_int(bottom_down_y) - get_int(bottom_move_y))); + if (get_int(bottom_diff) < get_int(bottom_prev_diff)) + { + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_move, 0); + set_int(effect_bottom_reset, 1); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + else + { + if (!get_int(effect_bottom_end)) + { + if (get_int(bottom_diff) <= 90 && !get_int(effect_bottom_max)) + { + fx1 = fx2 = fx3 = sin(get_int(bottom_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_bottom_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_bottom1", "default", 0.0); + set_state_val(PART:"shadow_bottom1", STATE_REL1_OFFSET, 0, round(fx1) * -1); + set_state_val(PART:"shadow_bottom1", STATE_REL2_OFFSET, -1, (round(fx1) - 1) * -1); + set_state(PART:"shadow_bottom1", "custom", 0.0); + + custom_state(PART:"shadow_bottom2", "default", 0.0); + set_state_val(PART:"shadow_bottom2", STATE_REL1_OFFSET, 0, round(fx2) * -1); + set_state_val(PART:"shadow_bottom2", STATE_REL2_OFFSET, -1, (round(fx2) - 1) * -1); + set_state(PART:"shadow_bottom2", "custom", 0.0); + + custom_state(PART:"shadow_bottom3", "default", 0.0); + set_state_val(PART:"shadow_bottom3", STATE_REL1_OFFSET, 0, round(fx3) * -1); + set_state_val(PART:"shadow_bottom3", STATE_REL2_OFFSET, -1, (round(fx3) - 1) * -1 ); + set_state(PART:"shadow_bottom3", "custom", 0.0); + set_int(bottom_prev_diff, get_int(bottom_diff)); + } + } + } + } + } + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left1", "default", 0.0); + set_state(PART:"shadow_left2", "default", 0.0); + set_state(PART:"shadow_left3", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left1"; + target: "shadow_left2"; + target: "shadow_left3"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = fx2 = fx3 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_left_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_left1", "default", 0.0); + set_state_val(PART:"shadow_left1", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left1", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left1", "custom", 0.0); + + custom_state(PART:"shadow_left2", "default", 0.0); + set_state_val(PART:"shadow_left2", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left2", STATE_REL2_OFFSET, round(fx2) - 1, - 1); + set_state(PART:"shadow_left2", "custom", 0.0); + + custom_state(PART:"shadow_left3", "default", 0.0); + set_state_val(PART:"shadow_left3", STATE_REL1_OFFSET, round(fx3), 0); + set_state_val(PART:"shadow_left3", STATE_REL2_OFFSET, round(fx3) - 1, - 1); + set_state(PART:"shadow_left3", "custom", 0.0); + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right1", "default", 0.0); + set_state(PART:"shadow_right2", "default", 0.0); + set_state(PART:"shadow_right3", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right1"; + target: "shadow_right2"; + target: "shadow_right3"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2, Float:fx3; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = fx2 = fx3 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MIN_SIZE; + fx2 = fx2 * SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MIN_SIZE; + fx3 = fx3 * SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MOVE_CORRECTION_VALUE + SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MIN_SIZE; + } + else + { + set_int(effect_right_max, 1); + fx1 = SCROLLER_EFFECT_SHADOW_FIRST_LAYER_MAX_SIZE; + fx2 = SCROLLER_EFFECT_SHADOW_SECOND_LAYER_MAX_SIZE; + fx3 = SCROLLER_EFFECT_SHADOW_THIRD_LAYER_MAX_SIZE; + } + custom_state(PART:"shadow_right1", "default", 0.0); + set_state_val(PART:"shadow_right1", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right1", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right1", "custom", 0.0); + + custom_state(PART:"shadow_right2", "default", 0.0); + set_state_val(PART:"shadow_right2", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right2", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, - 1); + set_state(PART:"shadow_right2", "custom", 0.0); + + custom_state(PART:"shadow_right3", "default", 0.0); + set_state_val(PART:"shadow_right3", STATE_REL1_OFFSET, round(fx3) * -1, 0); + set_state_val(PART:"shadow_right3", STATE_REL2_OFFSET, (round(fx3) - 1) * -1, - 1); + set_state(PART:"shadow_right3", "custom", 0.0); + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/scroller/contents/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content_r"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_b"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_rb"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + } +} + +group { name: "elm/scroller/base/tabbar"; + inherit: "elm/scroller/base/default"; + images.image: "core_scroll_bar_h_tab.#.png" COMP; + parts { + part { name: "sb_hbar_clip_master"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 0.0 -SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT; + } + } + part { name: "sb_hbar_clip"; + type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 -SCROLLER_TABBAR_SCROLLBAR_HBAR_HEIGHT; + } + } + part { name: "sb_hbar"; + type: RECT; + description { state: "default" 0.0; + min: SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC; + rel1 { + relative: 0.0 0.0; + to_x: "bg"; + to_y: "bg"; + } + rel2 { + relative: 1.0 0.0; + to_x: "bg"; + to_y: "bg"; + } + } + } + part { name: "elm.dragable.hbar"; + description { state: "default" 0.0; + min: SCROLLER_TABBAR_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_TABBAR_SCROLLBAR_HBAR_MAX_SIZE_INC; + image.normal: "core_scroll_bar_h_tab.#.png"; + color_class: ""; + } + } + } +} + +group { name: "elm/scroller/base/bg/default"; + inherit: "elm/scroller/base/default"; + alias: "elm/genlist/base/bg/no_effect"; + + data.item: "bg_color" "B0211"; + data.item: "personalized_color" "B011"; + + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 255; + color_class: "B0211"; + } + } + } +} + +group { name: "elm/scroller/base/bg/effect"; + inherit: "elm/scroller/base/effect"; + alias: "elm/genlist/base/bg/default"; + + data.item: "bg_color" "B0211"; + data.item: "personalized_color" "B011"; + + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 255; + color_class: "B0211"; + } + } + } +} + +group { name: "elm/scroller/base/bg/handler/effect"; + inherit: "elm/scroller/base/handler/effect"; + alias: "elm/genlist/base/bg/handler"; + + data.item: "bg_color" "B0211"; + data.item: "personalized_color" "B011"; + + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 255; + color_class: "B0211"; + } + } + } +} + +group { name: "elm/gengrid/base/popup"; + inherit: "elm/scroller/base/effect"; + + parts { + part { name: "elm.swallow.content.LT_padding"; + type: SPACER; + scale:1; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: 0 GENGRID_POPUP_CONTENT_TOP_PADDING; + max: -1 GENGRID_POPUP_CONTENT_TOP_PADDING; + fixed: 0 1; + } + } + part { name: "elm.swallow.content.RB_padding"; + type: SPACER; + scale:1; + description { state: "default" 0.0; + rel1.relative: 1.0 1.0; + align: 1.0 1.0; + min: 0 GENGRID_POPUP_CONTENT_BOTTOM_PADDING; + max: -1 GENGRID_POPUP_CONTENT_BOTTOM_PADDING; + fixed: 0 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.relative: 1.0 1.0; + rel1.to: "elm.swallow.content.LT_padding"; + rel2.relative: 0.0 0.0; + rel2.to: "elm.swallow.content.RB_padding"; + } + } + } +} \ No newline at end of file diff --git a/2.3-mobile/widgets/slider.edc b/2.3-mobile/widgets/slider.edc new file mode 100644 index 0000000..b2d8d12 --- /dev/null +++ b/2.3-mobile/widgets/slider.edc @@ -0,0 +1,1463 @@ +/* + * 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. + */ + + group { name: "elm/slider/horizontal/indicator/default"; + images { + set { + name: "core_slider_handle_normal"; + image { + image: SMALL"images/Controls/core_slider_handle_normal.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_handle_normal.png" COMP; + } + } + set { + name: "core_slider_handle_press"; + image { + image: SMALL"images/Controls/core_slider_handle_press.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_handle_press.png" COMP; + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "button0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + image { + normal: "core_slider_handle_normal"; + } + color_class: "W0641"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W0641D"; + visible: 1; + } + } + part { name: "button0_press"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + image { + normal: "core_slider_handle_press"; + } + color_class: "W0641P"; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "button_events"; + action: STATE_SET "pressed" 0.0; + target: "button0_press"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "button_events"; + action: STATE_SET "default" 0.0; + target: "button0_press"; + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button0"; + target: "button_events"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button0"; + target: "button_events"; + } + } + } +group { name: "elm/slider/horizontal/default"; + images { + set { + name: "core_progress_bar.#"; + image { + image: SMALL"images/Controls/core_progress_bar.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar.#.png" COMP; + } + } + set { + name: "core_slider_center_point_bg"; + image { + image: SMALL"images/Controls/core_slider_center_point_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_center_point_bg.png" COMP; + } + } + } + script { + public invert_on = 0; + public popup_show = 1; + public show = 0; + public set_popup_show() { + set_int(popup_show, 1); + } + public set_popup_hide() { + set_int(popup_show, 0); + } + public set_invert_on() { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + public set_invert_off() { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + public thumb_down() { + if (get_int(invert_on) == 0) { + set_state(PART:"level", "pressed", 0.0); + set_state(PART:"level2", "pressed", 0.0); + } + if (get_int(popup_show) == 1) + emit("popup,show", "elm"); + } + public thumb_up() { + if (get_int(invert_on) == 0) { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + } + if (get_int(popup_show) == 1) + emit("popup,hide", "elm"); + } + public drag_state() { + new Float:dx, Float:dy; + get_drag(PART:"elm.dragable.slider", dx, dy); + if (dx > 0.5) { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + else { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC; + } + } + part { + name: "bar_image_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + fixed: 1 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clipper"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + max: SLIDER_SWALLOWBAR_HEIGHT_INC SLIDER_SWALLOWBAR_HEIGHT_INC; + rel1 { + relative: 1.0 0.0; + to_x: "bar_image_left_padding"; + to_y: "bg"; + } + rel2 { + relative: 1.0 1.0; + to_x: "bar_image_left_padding"; + to_y: "bg"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bar_icon_right_padding_1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 0 0; + max: 0 0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.icon"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.icon"; + } + fixed: 1 1; + } + description { state: "visible"; + inherit: "default" 0.0; + min: SLIDER_ICON_PADDING_SIZE_INC; + max: SLIDER_ICON_PADDING_SIZE_INC; + } + } + part { + name: "bar_icon_right_padding_2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 0 0; + max: 0 0; + rel1 { + relative: 1.0 0.0; + to: "bar_icon_right_padding_1"; + } + rel2 { + relative: 1.0 1.0; + to: "bar_icon_right_padding_1"; + } + fixed: 1 1; + } + description { state: "visible"; + inherit: "default" 0.0; + min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_BASE_HEIGHT_INC; + max: -1 SLIDER_BASE_HEIGHT_INC; + rel1 { + to: "bar_icon_right_padding_2"; + relative: 1.0 0.0; + } + rel2 { + to: "bar_image_right_padding"; + relative: 0.0 1.0; + } + fixed: 0 1; + image.normal: "core_progress_bar.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "drag_base"; + type: "SPACER"; + description { state: "default" 0.0; + min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC; + rel1 { + to_x: "bar_image_left_padding"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2.to: "bg"; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "bar_icon_right_padding_2"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2.to: "bg"; + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "bar_icon_right_padding_2"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.dragable.slider"; + relative: 0.5 1.0; + } + fixed: 1 1; + min: 0 SLIDER_BASE_HEIGHT_INC; + max: -1 SLIDER_BASE_HEIGHT_INC; + image.normal: "core_progress_bar.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 0.0; + } + rel2.to: "base"; + image.normal: "core_progress_bar.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bar_image_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 0.5; + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "W0661"; + } + description { state: "disabled" 0.0; + color_class: "W0661D"; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC; + max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "bar_icon_right_padding_2"; + relative: 1.0 0.0; + } + rel2 { + to: "bar_image_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_CENTER_POINT_SIZE_INC; + max: SLIDER_CENTER_POINT_SIZE_INC; + visible: 0; + image.normal: "core_slider_center_point_bg"; + rel1.to: "base"; + rel2.to: "base"; + fixed: 0 1; + color_class: "W062L1"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W062L1D"; + } + } + part { name: "elm.track.slider"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1.to: "elm.dragable.slider"; + rel1.offset: 0 8; + rel2 { + relative: 1.0 0.0; + to: "elm.dragable.slider"; + offset: 0 8; + } + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/default"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "drag_base"; + rel1.relative: 0.5 0.5; + rel2.to: "drag_base"; + rel2.relative: 0.5 0.5; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "W062L2"; + } + description { state: "pressed" 0.0; + color_class: "W062L2P"; + } + description { state: "disabled" 0.0; + color_class: "W062L2D"; + } + } + } + programs { + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + script { + set_invert_on(); + } + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + script { + set_invert_off(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "elm.dragable.slider"; + script { + thumb_down(); + } + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "elm.dragable.slider"; + script { + thumb_up(); + } + } + program { name: "popup_show"; + signal: "elm,state,val,show"; + source: "elm"; + script { + set_popup_show(); + } + } + program { name: "popup_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + script { + set_popup_hide(); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "bar_icon_right_padding_1"; + target: "bar_icon_right_padding_2"; + target: "drag_base"; + } + program { name: "center_point_enable"; + signal: "slider,center,point,show"; + source: "elm"; + script { + set_state(PART:"center_point", "visible", 0.0); + set_int(show, 1); + } + } + program { name: "center_point_disable"; + signal: "slider,center,point,hide"; + source: "elm"; + script { + set_state(PART:"center_point", "default", 0.0); + set_int(show, 0); + } + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(show)) + set_state(PART:"center_point", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + set_state(PART:"icon_clipper", "disabled", 0.0); + set_state(PART:"clipper", "disabled", 0.0); + set_state(PART:"base", "disabled", 0.0); + } + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(show)) + set_state(PART:"center_point", "default", 0.0); + set_state(PART:"disabler", "default", 0.0); + set_state(PART:"icon_clipper", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + set_state(PART:"base", "default", 0.0); + } + } + } + } + +group { name: "elm/slider/horizontal/center_point"; + inherit: "elm/slider/horizontal/default"; + parts { + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "center_point"; + to_y: "base"; + relative: 0.5 0.0; + } + rel2 { + to_x: "elm.dragable.slider"; + to_y: "base"; + relative: 0.5 1.0; + } + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_x: "elm.dragable.slider"; + to_y: "base"; + relative: 0.5 0.0; + } + rel2 { + to_x: "center_point"; + to_y: "base"; + relative: 0.5 1.0; + } + image.normal: "core_progress_bar.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_CENTER_POINT_SIZE_INC; + max: SLIDER_CENTER_POINT_SIZE_INC; + image.normal: "core_slider_center_point_bg"; + rel1.to: "base"; + rel2.to: "base"; + fixed: 0 1; + visible: 1; + color_class: "W062L1"; + } + } + } + programs { + program { name: "center_point_calc"; + signal: "drag"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc1"; + signal: "drag,start"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc2"; + signal: "drag,set"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc3"; + signal: "mouse,up,*"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + program { name: "center_point_calc4"; + signal: "mouse,move"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + } + } +group { name: "elm/slider/vertical/default"; + images { + set { + name: "core_progress_bar_v.#"; + image { + image: SMALL"images/Controls/core_progress_bar_v.#.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_progress_bar_v.#.png" COMP; + } + } + set { + name: "core_slider_center_point_bg_v"; + image { + image: SMALL"images/Controls/core_slider_center_point_bg_v.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_center_point_bg_v.png" COMP; + } + } + } + script { + public invert_on = 0; + public show = 0; + public popup_show = 1; + public set_popup_show() { + set_int(popup_show, 1); + } + public set_popup_hide() { + set_int(popup_show, 0); + } + public set_invert_on() { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + public set_invert_off() { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + public thumb_down() { + if (get_int(invert_on) == 0) { + set_state(PART:"level", "pressed", 0.0); + set_state(PART:"level2", "pressed", 0.0); + } + if (get_int(popup_show) == 1) + emit("popup,show", "elm"); + } + public thumb_up() { + if (get_int(invert_on) == 0) { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + } + if (get_int(popup_show) == 1) + emit("popup,hide", "elm"); + } + public drag_state() { + new Float:dx, Float:dy; + get_drag(PART:"elm.dragable.slider", dx, dy); + if (dy > 0.5) { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + set_int(invert_on, 0); + } + else { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + set_int(invert_on, 1); + } + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_SWALLOWBAR_WIDTH_INC 0; + max: SLIDER_SWALLOWBAR_WIDTH_INC -1; + } + } + part { + name: "bar_image_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_TOP_BOTTOM_PADDING_SIZE_INC; + max: SLIDER_TOP_BOTTOM_PADDING_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_VERTICAL_BASE_HEIGHT_INC 0; + max: SLIDER_VERTICAL_BASE_HEIGHT_INC -1; + fixed: 1 1; + rel1 { + to: "bar_image_top_padding"; + relative: 0.0 1.0; + } + rel2 { + to: "bar_image_bottom_padding"; + relative: 1.0 0.0; + } + fixed: 1 1; + image.normal: "core_progress_bar_v.#"; + color_class: "W062L1"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W062L1D"; + } + } + part { name: "drag_base"; + type: "SPACER"; + description { state: "default" 0.0; + min: SLIDER_SWALLOWBAR_HEIGHT_INC 0; + rel1 { + to: "bar_image_top_padding"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1 { + to: "bar_image_top_padding"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_y: "elm.dragable.slider"; + to_x: "base"; + relative: 0.0 0.5; + } + rel2 { + to_y: "bar_image_bottom_padding"; + to_x: "base"; + relative: 1.0 0.0; + } + fixed: 1 1; + min: SLIDER_BASE_HEIGHT_INC 0; + max: SLIDER_BASE_HEIGHT_INC -1; + image.normal: "core_progress_bar_v.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.5 0.0; + } + rel2 { + to_y: "elm.dragable.slider"; + to_x: "bar_image_top_padding"; + relative: 0.5 0.5; + } + fixed: 1 1; + min: SLIDER_BASE_HEIGHT_INC 0; + max: SLIDER_BASE_HEIGHT_INC -1; + image.normal: "core_progress_bar_v.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "bar_image_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SLIDER_TOP_BOTTOM_PADDING_SIZE_INC; + max: SLIDER_TOP_BOTTOM_PADDING_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 0.5 1.0; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_SWALLOWBAR_HEIGHT_INC 0; + max: SLIDER_SWALLOWBAR_HEIGHT_INC -1; + fixed: 1 0; + rel1 { + to: "bar_image_top_padding"; + relative: 0.0 1.0; + } + rel2 { + to: "bar_image_bottom_padding"; + relative: 1.0 0.0; + } + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_VERTICAL_CENTER_POINT_SIZE_INC; + max: SLIDER_VERTICAL_CENTER_POINT_SIZE_INC; + visible: 0; + image.normal: "core_slider_center_point_bg_v"; + rel1.to: "base"; + rel2.to: "base"; + fixed: 1 0; + color_class: "W062L1"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W062L1D"; + } + } + part { name: "elm.track.slider"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + align: 0.5 1.0; + fixed: 0 1; + rel1.to: "elm.dragable.slider"; + rel1.offset: 0 8; + rel2 { + relative: 1.0 0.0; + to: "elm.dragable.slider"; + offset: 0 8; + } + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/default"; + mouse_events: 1; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "drag_base"; + rel1.relative: 0.5 0.5; + rel2.to: "drag_base"; + rel2.relative: 0.5 0.5; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "W062L2"; + } + description { state: "pressed" 0.0; + color_class: "W062L2P"; + } + description { state: "disabled" 0.0; + color_class: "W062L2D"; + } + } + } + programs { + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + script { + set_invert_on(); + } + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + script { + set_invert_off(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "elm.dragable.slider"; + script { + thumb_down(); + } + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "elm.dragable.slider"; + script { + thumb_up(); + } + } + program { name: "popup_show"; + signal: "elm,state,val,show"; + source: "elm"; + script { + set_popup_show(); + } + } + program { name: "popup_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + script { + set_popup_hide(); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "drag_base"; + } + program { name: "center_point_enable"; + signal: "slider,center,point,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "center_point"; + } + program { name: "center_point_disable"; + signal: "slider,center,point,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "center_point"; + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(show)) + set_state(PART:"center_point", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + set_state(PART:"clipper", "disabled", 0.0); + set_state(PART:"base", "disabled", 0.0); + } + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(show)) + set_state(PART:"center_point", "default", 0.0); + set_state(PART:"disabler", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + set_state(PART:"base", "default", 0.0); + } + } + } + } + group { name: "elm/slider/horizontal/popup/default"; + alias: "elm/slider/vertical/popup/default"; + images { + set { + name: "core_slider_popup_bg"; + image { + image: SMALL"images/Controls/core_slider_popup_bg.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_popup_bg.png" COMP; + } + } + set { + name: "core_slider_popup_bg_stroke"; + image { + image: SMALL"images/Controls/core_slider_popup_bg_stroke.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_popup_bg_stroke.png" COMP; + } + } + set { + name: "core_slider_popup_bg_ef"; + image { + image: SMALL"images/Controls/core_slider_popup_bg_ef.png" COMP; + } + image { + image: MEDIUM"images/Controls/core_slider_popup_bg_ef.png" COMP; + } + } + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_POPUP_WIDTH_INC SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + } + } + part { name: "bg.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: SLIDER_POPUP_WIDTH_INC SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + image.normal: "core_slider_popup_bg"; + color_class: "W0631"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.effect.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: SLIDER_POPUP_WIDTH_INC SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + image.normal: "core_slider_popup_bg_ef"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg.stroke"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: SLIDER_POPUP_WIDTH_INC SLIDER_POPUP_HEIGHT_INC; + max: -1 SLIDER_POPUP_HEIGHT_INC; + image.normal: "core_slider_popup_bg_stroke"; + color_class: "W0632"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "indicator.top.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 SLIDER_INDICATOR_PADDING_TOP; + max: -1 SLIDER_INDICATOR_PADDING_TOP; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "bg.image"; + } + rel2 { + relative: 1.0 0.0; + to: "bg.image"; + } + align: 0.5 0.0; + } + } + part { + name: "indicator.bottom.pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 SLIDER_INDICATOR_PADDING_BOTTOM; + max: -1 SLIDER_INDICATOR_PADDING_BOTTOM; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "bg.image"; + } + rel2 { + relative: 1.0 1.0; + to: "bg.image"; + } + align: 0.5 1.0; + } + } + part { name: "elm.indicator"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: SLIDER_INDICATOR_TEXT_SIZE_WIDTH SLIDER_INDICATOR_TEXT_SIZE_HEIGHT; + max: -1 SLIDER_INDICATOR_TEXT_SIZE_HEIGHT; + color_class: "T116"; + rel1 { + to: "indicator.top.pad"; + relative: 0.0 1.0; + } + rel2 { + to: "indicator.bottom.pad"; + relative: 1.0 0.0; + } + text { + min: 1 1; + text_class: "T116"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "popup,val,show"; + signal: "elm,state,val,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bg.image"; + target: "bg.effect.image"; + target: "bg.stroke"; + } + program { name: "popup,val,hide"; + signal: "elm,state,val,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bg.image"; + target: "bg.effect.image"; + target: "bg.stroke"; + } + program { name: "popup,show"; + signal: "popup,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bg.image"; + target: "bg.effect.image"; + target: "bg.stroke"; + } + program { name: "popup,hide"; + signal: "popup,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bg.image"; + target: "bg.effect.image"; + target: "bg.stroke"; + after: "popup,hide,done"; + } + program { name: "popup,hide,done"; + action: SIGNAL_EMIT "popup,hide,done" "elm"; + } + } + } + group { name: "elm/slider/vertical/center_point"; + inherit: "elm/slider/vertical/default"; + parts { + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_y: "center_point"; + to_x: "base"; + relative: 0.0 0.5; + } + rel2 { + to_y: "elm.dragable.slider"; + to_x: "base"; + relative: 1.0 0.5; + } + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_y: "elm.dragable.slider"; + to_x: "base"; + relative: 0.0 0.5; + } + rel2 { + to_y: "center_point"; + to_x: "base"; + relative: 1.0 0.5; + } + image.normal: "core_progress_bar_v.#"; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name:"center_point"; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_VERTICAL_CENTER_POINT_SIZE_INC; + max: SLIDER_VERTICAL_CENTER_POINT_SIZE_INC; + image.normal: "core_slider_center_point_bg_v"; + rel1.to: "base"; + rel2.to: "base"; + fixed: 1 0; + visible: 1; + color_class: "W062L1"; + } + } + } + programs { + program { name: "center_point_calc"; + signal: "drag"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc1"; + signal: "drag,start"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc2"; + signal: "drag,set"; + source: "elm.dragable.slider"; + script { + drag_state(); + } + } + program { name: "center_point_calc3"; + signal: "mouse,up,*"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + program { name: "center_point_calc4"; + signal: "mouse,move"; + source: "elm.swallow.bar"; + script { + drag_state(); + } + } + } + } diff --git a/2.3-mobile/widgets/spinner.edc b/2.3-mobile/widgets/spinner.edc new file mode 100644 index 0000000..b54cd6d --- /dev/null +++ b/2.3-mobile/widgets/spinner.edc @@ -0,0 +1,258 @@ + +group { name: "elm/spinner/base/default"; + alias: "elm/spinner/base/horizontal"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + rel1 { + to_x: "elm.swallow.dec_button"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.inc_button"; + relative: 0.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} + +group { name: "elm/spinner/base/vertical"; + alias: "elm/spinner/base/vertical_date_picker"; + alias: "elm/spinner/base/datetime"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_VERTICAL_BG_WIDTH_INC SPINNER_VERTICAL_BG_HEIGHT_INC; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} diff --git a/2.3-mobile/widgets/toolbar.edc b/2.3-mobile/widgets/toolbar.edc new file mode 100644 index 0000000..ffd5539 --- /dev/null +++ b/2.3-mobile/widgets/toolbar.edc @@ -0,0 +1,2103 @@ +#define ITEM_STATE_ENABLED 0 +#define ITEM_STATE_DISABLED 1 +#define TAG \ + tag: "br" "\n"; \ + tag: "ps" "ps"; \ + tag: "hilight" "+ font_weight=Bold"; \ + tag: "b" "+ font_weight=Bold"; \ + tag: "tab" "\t"; + +#define TABBAR_ITEM_TEXT_STYLE(_font_size, _font_class) \ + style { name: "tabbar_icon_text_style_"_font_class; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T111 color_class="_font_class" linegap=0"; \ + TAG \ + } + +#define TABBAR_TEXT_STYLE(_font_size, _font_class) \ + style { name: "tabbar_text_style_"_font_class; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T1117 color_class="_font_class" linegap=0"; \ + TAG \ + } + +#define TABBAR_NAVI_TEXT_STYLE(_font_size, _font_class) \ + style { name: "tabbar_navi_text_style_"_font_class; \ + base: "font=Tizen:style=regular font_size="_font_size" align=center color=#FFFFFF wrap=word ellipsis=1 text_class=T042 color_class="_font_class" linegap=0"; \ + TAG \ + } + +styles{ + TABBAR_ITEM_TEXT_STYLE(14, "T111") + TABBAR_ITEM_TEXT_STYLE(14, "T111P") + TABBAR_ITEM_TEXT_STYLE(14, "T111S") + TABBAR_ITEM_TEXT_STYLE(14, "T111D") + TABBAR_TEXT_STYLE(18, "T1117") + TABBAR_TEXT_STYLE(18, "T1117P") + TABBAR_TEXT_STYLE(18, "T1117S") + TABBAR_TEXT_STYLE(18, "T1117D") + TABBAR_NAVI_TEXT_STYLE(18, "T042") + TABBAR_NAVI_TEXT_STYLE(18, "T042P") + TABBAR_NAVI_TEXT_STYLE(18, "T042D") +} + +group { name: "elm/toolbar/base/default"; + alias: "elm/toolbar/base/tabbar"; + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "base_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + color_class: "B011"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + } + } + } +} + +group { name: "elm/toolbar/item/tabbar"; + alias: "elm/toolbar/item/default"; + script { + public selected = 0; + public pressed = 0; + public item_state = ITEM_STATE_ENABLED; + public items_number = 0; + public icon_text = 0; + public mouse_down = 0; + public multi_down = 0; + public landscape = 0; + public item_text = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "2items" 0.0; + inherit: "default" 0.0; + min: TABBAR_TWO_ITEMS_SIZE_INC; + } + description { state: "3items" 0.0; + inherit: "default" 0.0; + min: TABBAR_THREE_ITEMS_SIZE_INC; + } + description { state: "4items" 0.0; + inherit: "default" 0.0; + min: TABBAR_FOUR_ITEMS_SIZE_INC; + } + description { state: "scrollable" 0.0; + inherit: "default" 0.0; + min: TABBAR_SCROLLABLE_ITEMS_SIZE_INC; + } + description { state: "2items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC; + } + description { state: "3items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC; + } + description { state: "4items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC; + } + description { state: "scrollable_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC; + } + } + part { name: "padding_center"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.text"; + relative: 1.0 1.0; + } + fixed: 0 1; + min: TABBAR_TEXT_CENTER_PADDING_SIZE_INC; + align: 0.5 0.0; + } + } + part { name: "selected_line"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "padding_center"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_center"; + relative: 1.0 1.0; + } + fixed: 0 1; + min: TABBAR_SELECTED_LINE_SIZE_INC; + visible: 0; + color_class: "B0514S"; + align: 0.5 0.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg_cover"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color_class: "B0514"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0514P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + min: TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_LEFT_TOP_PADDING_SIZE_INC; + } + description { state: "icon_text_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + min: TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC; + } + description { state: "icon_text_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC; + } + } + part { + name: "icon_rect"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 0; + fixed: 0 1; + rel1 { + to_y: "padding_left_top"; + relative: 0.0 1.0; + } + rel2 { + to_y: "padding_left_top"; + relative: 1.0 1.0; + } + align: 0.5 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_SIZE_INC; + } + description { state: "visible_land" 0.0; + min: TABBAR_ICON_SIZE_INC; + fixed: 1 0; + rel2 { + relative: 0.0 1.0; + } + align: 0.0 0.5; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ICON_SIZE_INC; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + fixed: 1 1; + rel1 { + to_y: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + } + } + description { state: "visible_icon_only" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { + to: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + } + description { state: "visible_land" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.text"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + fixed: 1 1; + text { + style: "tabbar_text_style_T1117"; + min: 0 1; + max: 1 0; + } + } + description { state:"text_pressed" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117P"; + } + description { state:"text_selected" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117S"; + } + description { state:"text_disabled" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117D"; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to_x: "padding_left_top"; + to_y: "icon_rect"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + fixed: 1 1; + text { + style: "tabbar_icon_text_style_T111"; + min: 0 1; + max: 1 0; + } + } + description { state:"icon_text_pressed" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111P"; + } + description { state:"icon_text_selected" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111S"; + } + description { state:"icon_text_disabled" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111D"; + } + description { state: "icon_text_land" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to_x: "icon_rect"; + to_y: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + fixed: 1 1; + text { + style: "tabbar_icon_text_style_T111"; + min: 0 1; + max: 1 0; + } + } + description { state:"icon_text_land_pressed" 0.0; + inherit: "icon_text_land" 0.0; + text.style: "tabbar_icon_text_style_T111P"; + } + description { state:"icon_text_land_selected" 0.0; + inherit: "icon_text_land" 0.0; + text.style: "tabbar_icon_text_style_T111S"; + } + description { state:"icon_text_land_disabled" 0.0; + inherit: "icon_text_land" 0.0; + text.style: "tabbar_icon_text_style_T111D"; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B052L6"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "B052L6S"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L6P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L6D"; + } + } + part { name: "elm.text.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "selected_text"; + } + program { name: "selected_text"; + script{ + set_int(selected, 1); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_selected", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text_land_selected", 0.0); + } + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "unselected_text"; + } + program { name: "unselected_text"; + script{ + set_int(selected, 0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text", 0.0); + else + set_state(PART:"elm.text", "icon_text_land", 0.0); + } + } + program { name: "key,pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "pressed"; + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + set_int(mouse_down, 1); + set_state(PART:"bg_cover", "pressed", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_pressed", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text_pressed", 0.0); + else + set_state(PART:"elm.text", "icon_text_land_pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + set_int(pressed, 1); + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_int(pressed, 0); + set_state(PART:"bg_cover", "default", 0.0); + if (get_int(selected)) + { + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_selected", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text_land_selected", 0.0); + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else + { + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text", 0.0); + else + set_state(PART:"elm.text", "icon_text_land", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", "elm"); + if (get_int(item_state) != ITEM_STATE_DISABLED) + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + script { + if (get_int(multi_down) == 0) + emit("elm,mouse,in", "elm"); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + emit("elm,mouse,out", "elm"); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_ENABLED); + set_state(PART:"bg_cover", "default", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text", 0.0); + else + set_state(PART:"elm.text", "icon_text_land", 0.0); + set_state(PART:"elm.text.clipper", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_DISABLED); + set_state(PART:"bg_cover", "disabled", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_disabled", 0.0); + else if (!get_int(landscape)) + set_state(PART:"elm.text", "icon_text_disabled", 0.0); + else + set_state(PART:"elm.text", "icon_text_land_disabled", 0.0); + set_state(PART:"elm.text.clipper", "disabled", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + } + program {name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program {name: "multi_up"; + signal: "elm,action,multi,cancel"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(item_text, 1); + if (!get_int(icon_text)) + { + if (get_int(selected)) + set_state(PART:"elm.text", "text_selected", 0.0); + else + set_state(PART:"elm.text", "text", 0.0); + set_state(PART:"padding_left_top", "text", 0.0); + set_state(PART:"padding_right_bottom", "text", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + if (!get_int(landscape)) + { + if (get_int(selected)) + set_state(PART:"elm.text", "icon_text_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"padding_left_top", "icon_text", 0.0); + set_state(PART:"padding_right_bottom", "icon_text", 0.0); + } + else + { + if (get_int(selected)) + set_state(PART:"elm.text", "icon_text_land_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text_land", 0.0); + set_state(PART:"padding_left_top", "icon_text_land", 0.0); + set_state(PART:"padding_right_bottom", "icon_text_land", 0.0); + } + } + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(item_text, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + set_int(icon_text, 1); + if (!get_int(landscape)) + { + if (get_int(item_text)) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"elm.text", "icon_text", 0.0); + } + else + set_state(PART:"elm.swallow.icon", "visible_icon_only", 0.0); + set_state(PART:"padding_left_top", "icon_text", 0.0); + set_state(PART:"padding_right_bottom", "icon_text", 0.0); + } + else + { + if (get_int(item_text)) + { + set_state(PART:"elm.swallow.icon", "visible_land", 0.0); + set_state(PART:"icon_rect", "visible_land", 0.0); + set_state(PART:"elm.text", "icon_text_land", 0.0); + } + else + set_state(PART:"elm.swallow.icon", "visible_icon_only", 0.0); + set_state(PART:"padding_left_top", "icon_text_land", 0.0); + set_state(PART:"padding_right_bottom", "icon_text_land", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + script { + set_int(icon_text, 0); + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"elm.text", "text", 0.0); + set_state(PART:"padding_left_top", "text", 0.0); + set_state(PART:"padding_right_bottom", "text", 0.0); + } + } + program { name: "tab_item_2"; + signal: "elm,number,item,2"; + source: "elm"; + script { + set_int(items_number, 2); + set_state(PART:"bg", "2items", 0.0); + } + } + program { name: "tab_item_3"; + signal: "elm,number,item,3"; + source: "elm"; + script { + set_int(items_number, 3); + set_state(PART:"bg", "3items", 0.0); + } + } + program { name: "tab_item_4"; + signal: "elm,number,item,4"; + source: "elm"; + script { + set_int(items_number, 4); + if (get_int(icon_text)) + { + if (get_int(landscape)) + set_state(PART:"bg", "4items_land", 0.0); + else + set_state(PART:"bg", "4items", 0.0); + } + else + { + if (get_int(landscape)) + set_state(PART:"bg", "scrollable_land", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + } + } + program { name: "tab_item_5"; + signal: "elm,number,item,5"; + source: "elm"; + script { + set_int(items_number, 5); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_6"; + signal: "elm,number,item,6"; + source: "elm"; + script { + set_int(items_number, 6); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_7"; + signal: "elm,number,item,7"; + source: "elm"; + script { + set_int(items_number, 7); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_8"; + signal: "elm,number,item,8"; + source: "elm"; + script { + set_int(items_number, 8); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_9"; + signal: "elm,number,item,9"; + source: "elm"; + script { + set_int(items_number, 9); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_10"; + signal: "elm,number,item,10"; + source: "elm"; + script { + set_int(items_number, 10); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_upper_5"; + script { + if (get_int(landscape)) + set_state(PART:"bg", "scrollable_land", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_int(landscape, 1); + if (get_int(items_number) == 4) + set_state(PART:"bg", "4items_land", 0.0); + else if (get_int(items_number) == 3) + set_state(PART:"bg", "3items_land", 0.0); + else if (get_int(items_number) == 2) + set_state(PART:"bg", "2items_land", 0.0); + else if (get_int(items_number) > 4) + set_state(PART:"bg", "scrollable_land", 0.0); + + if (get_int(icon_text)) { + set_state(PART:"padding_left_top", "icon_text_land", 0.0); + set_state(PART:"padding_right_bottom", "icon_text_land", 0.0); + set_state(PART:"icon_rect", "visible_land", 0.0); + set_state(PART:"elm.swallow.icon", "visible_land", 0.0); + if (get_int(selected)) + { + set_state(PART:"elm.text", "icon_text_land_selected", 0.0); + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else if (get_int(pressed)) + { + set_state(PART:"elm.text", "icon_text_land_pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + } + else if (get_int(item_state)) + { + set_state(PART:"elm.text", "icon_text_land", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + else + { + set_state(PART:"elm.text", "icon_text_land", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_int(landscape, 0); + if (get_int(items_number) == 4) + { + if (get_int(icon_text)) + set_state(PART:"bg", "4items", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + else if (get_int(items_number) == 3) + set_state(PART:"bg", "3items", 0.0); + else if (get_int(items_number) == 2) + set_state(PART:"bg", "2items", 0.0); + else if (get_int(items_number) > 4) + set_state(PART:"bg", "scrollable", 0.0); + + if (get_int(icon_text)) { + set_state(PART:"padding_left_top", "icon_text", 0.0); + set_state(PART:"padding_right_bottom", "icon_text", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"elm.swallow.icon", "visible", 0.0); + if (get_int(selected)) + { + set_state(PART:"elm.text", "icon_text_selected", 0.0); + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else if (get_int(pressed)) + { + set_state(PART:"elm.text", "icon_text_pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + } + else if (get_int(item_state)) + { + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + else + { + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } +} + +group { name: "elm/toolbar/object/default"; + parts { + part { name: "elm.swallow.object"; // object group + type: SWALLOW; + description { + state: "default" 0.0; + } + } + } +} + +group { name: "elm/toolbar/base/tabbar_with_title"; + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "base_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + color_class: "B011"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 -1; + } + } + } +} + +group { name: "elm/toolbar/item/tabbar_with_title"; + script { + public selected = 0; + public pressed = 0; + public item_state = ITEM_STATE_ENABLED; + public items_number = 0; + public icon_text = 0; + public mouse_down = 0; + public multi_down = 0; + public landscape = 0; + public item_text = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "2items" 0.0; + inherit: "default" 0.0; + min: TABBAR_TWO_ITEMS_SIZE_INC; + } + description { state: "3items" 0.0; + inherit: "default" 0.0; + min: TABBAR_THREE_ITEMS_SIZE_INC; + } + description { state: "scrollable" 0.0; + inherit: "default" 0.0; + min: TABBAR_SCROLLABLE_ITEMS_SIZE_INC; + } + description { state: "2items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_TWO_ITEMS_SIZE_INC; + } + description { state: "3items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_THREE_ITEMS_SIZE_INC; + } + description { state: "4items_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_FOUR_ITEMS_SIZE_INC; + } + description { state: "scrollable_land" 0.0; + inherit: "default" 0.0; + min: TABBAR_LANDSCAPE_SCROLLABLE_ITEMS_SIZE_INC; + } + } + part { name: "selected_line"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "elm.text"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.text"; + relative: 1.0 1.0; + } + fixed: 0 1; + min: TABBAR_SELECTED_LINE_SIZE_INC; + visible: 0; + color_class: "B0514S"; + align: 0.5 0.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg_cover"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color_class: "B0514"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0514P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + min: TABBAR_TEXT_LEFT_TOP_PADDING_SIZE_INC; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_LAND_LEFT_TOP_PADDING_SIZE_INC; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + min: TABBAR_TEXT_RIGHT_BOTTOM_PADDING_SIZE_INC; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_LAND_RIGHT_BOTTOM_PADDING_SIZE_INC; + } + } + part { + name: "icon_rect"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + rel2 { + relative: 0.0 1.0; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_RECT_SIZE_INC; + } + } + + part { name: "padding_icon_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to_x: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.text"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: TABBAR_ICON_TEXT_PAD_INC; + } + } + + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + min: TABBAR_ICON_SIZE_INC; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "padding_icon_text"; + relative: 0.0 0.0; + } + rel2 { + to_x: "padding_icon_text"; + relative: 0.0 1.0; + } + } + description { state: "visible_icon_only" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { + to: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "text" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + fixed: 1 1; + text { + style: "tabbar_text_style_T1117"; + min: 0 1; + max: 1 0; + } + } + description { state:"text_pressed" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117P"; + } + description { state:"text_selected" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117S"; + } + description { state:"text_disabled" 0.0; + inherit: "text" 0.0; + text.style: "tabbar_text_style_T1117D"; + } + description { state: "icon_text" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to_x: "icon_rect"; + to_y: "padding_left_top"; + relative: 1.0 1.0; + } + rel2 { + to: "padding_right_bottom"; + relative: 0.0 0.0; + } + fixed: 1 1; + text { + style: "tabbar_icon_text_style_T111"; + min: 0 1; + max: 1 0; + } + } + description { state:"icon_text_pressed" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111P"; + } + description { state:"icon_text_selected" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111S"; + } + description { state:"icon_text_disabled" 0.0; + inherit: "icon_text" 0.0; + text.style: "tabbar_icon_text_style_T111D"; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B052L6"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color_class: "B052L6S"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B052L6P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B052L6D"; + } + } + part { name: "elm.text.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "selected_text"; + } + program { name: "selected_text"; + script{ + set_int(selected, 1); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text_selected", 0.0); + } + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.clipper"; + target: "selected_line"; + after: "unselected_text"; + } + program { name: "unselected_text"; + script{ + set_int(selected, 0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else + set_state(PART:"elm.text", "icon_text", 0.0); + } + } + program { name: "key,pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "pressed"; + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + set_int(mouse_down, 1); + set_state(PART:"bg_cover", "pressed", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_pressed", 0.0); + else + set_state(PART:"elm.text", "icon_text_pressed", 0.0); + set_state(PART:"elm.icon.clipper", "pressed", 0.0); + set_int(pressed, 1); + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_int(pressed, 0); + set_state(PART:"bg_cover", "default", 0.0); + if (get_int(selected)) + { + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_selected", 0.0); + else + set_state(PART:"elm.text", "icon_text_selected", 0.0); + set_state(PART:"elm.icon.clipper", "selected", 0.0); + } + else + { + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + } + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", "elm"); + if (get_int(item_state) != ITEM_STATE_DISABLED) + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + script { + if (get_int(multi_down) == 0) + emit("elm,mouse,in", "elm"); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + emit("elm,mouse,out", "elm"); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_ENABLED); + set_state(PART:"bg_cover", "default", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text", 0.0); + else + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"elm.text.clipper", "default", 0.0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_DISABLED); + set_state(PART:"bg_cover", "disabled", 0.0); + if (!get_int(icon_text)) + set_state(PART:"elm.text", "text_disabled", 0.0); + else + set_state(PART:"elm.text", "icon_text_disabled", 0.0); + set_state(PART:"elm.text.clipper", "disabled", 0.0); + set_state(PART:"elm.icon.clipper", "disabled", 0.0); + } + } + program {name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program {name: "multi_up"; + signal: "elm,action,multi,cancel"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(item_text, 1); + if (!get_int(icon_text)) + { + set_state(PART:"elm.text", "text", 0.0); + set_state(PART:"padding_left_top", "text", 0.0); + set_state(PART:"padding_right_bottom", "text", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"elm.text", "icon_text", 0.0); + set_state(PART:"padding_left_top", "icon_text", 0.0); + set_state(PART:"padding_right_bottom", "icon_text", 0.0); + } + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(item_text, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + set_int(icon_text, 1); + if (get_int(item_text)) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + set_state(PART:"elm.text", "icon_text", 0.0); + } + else + set_state(PART:"elm.swallow.icon", "visible_icon_only", 0.0); + set_state(PART:"padding_left_top", "icon_text", 0.0); + set_state(PART:"padding_right_bottom", "icon_text", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + script { + set_int(icon_text, 0); + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"padding_icon_text", "default", 0.0); + set_state(PART:"elm.text", "text", 0.0); + set_state(PART:"padding_left_top", "text", 0.0); + set_state(PART:"padding_right_bottom", "text", 0.0); + } + } + program { name: "tab_item_2"; + signal: "elm,number,item,2"; + source: "elm"; + script { + set_int(items_number, 2); + set_state(PART:"bg", "2items", 0.0); + } + } + program { name: "tab_item_3"; + signal: "elm,number,item,3"; + source: "elm"; + script { + set_int(items_number, 3); + set_state(PART:"bg", "3items", 0.0); + } + } + program { name: "tab_item_4"; + signal: "elm,number,item,4"; + source: "elm"; + script { + set_int(items_number, 4); + if (get_int(icon_text)) + { + if (get_int(landscape)) + set_state(PART:"bg", "4items_land", 0.0); + else + set_state(PART:"bg", "4items", 0.0); + } + else + { + if (get_int(landscape)) + set_state(PART:"bg", "scrollable_land", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + } + } + program { name: "tab_item_5"; + signal: "elm,number,item,5"; + source: "elm"; + script { + set_int(items_number, 5); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_6"; + signal: "elm,number,item,6"; + source: "elm"; + script { + set_int(items_number, 6); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_7"; + signal: "elm,number,item,7"; + source: "elm"; + script { + set_int(items_number, 7); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_8"; + signal: "elm,number,item,8"; + source: "elm"; + script { + set_int(items_number, 8); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_9"; + signal: "elm,number,item,9"; + source: "elm"; + script { + set_int(items_number, 9); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_10"; + signal: "elm,number,item,10"; + source: "elm"; + script { + set_int(items_number, 10); + } + after: "tab_item_upper_5"; + } + program { name: "tab_item_upper_5"; + script { + if (get_int(landscape)) + set_state(PART:"bg", "scrollable_land", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + } + program { + name: "change_to_landscape"; + script { + if (!get_int(landscape)) { + set_int(landscape, 1); + if (get_int(items_number) == 4) + set_state(PART:"bg", "4items_land", 0.0); + else if (get_int(items_number) == 3) + set_state(PART:"bg", "3items_land", 0.0); + else if (get_int(items_number) == 2) + set_state(PART:"bg", "2items_land", 0.0); + else if (get_int(items_number) > 4) + set_state(PART:"bg", "scrollable_land", 0.0); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape)) { + set_int(landscape, 0); + if (get_int(items_number) == 4) + { + if (get_int(icon_text)) + set_state(PART:"bg", "4items", 0.0); + else + set_state(PART:"bg", "scrollable", 0.0); + } + else if (get_int(items_number) == 3) + set_state(PART:"bg", "3items", 0.0); + else if (get_int(items_number) == 2) + set_state(PART:"bg", "2items", 0.0); + else if (get_int(items_number) > 4) + set_state(PART:"bg", "scrollable", 0.0); + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + } +} + +group { name: "elm/toolbar/base/navigationbar"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 TOOLBAR_NAVI_HEIGHT_INC; + color_class: "B011"; + } + } + part { name: "left_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: TOOLBAR_NAVI_PADDING_INC 0; + fixed: 1 0; + rel1.to: "base"; + rel2 { + relative: 0.0 1.0; + to: "base"; + } + align: 0.0 0.0; + color_class: "B012L1"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "separator"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 1; + fixed: 0 1; + align: 0.0 0.0; + rel1.to: "base"; + rel2 { + relative: 1.0 0.0; + to: "base"; + } + color_class: "B012L4"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x:"left_padding"; + to_y:"separator"; + } + rel2.to: "base"; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/toolbar/item/navigationbar"; + images { + set { + name: "core_navigation_bar_bg"; + image { + image: SMALL"images/Navigation_elements/core_navigation_bar_bg.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_navigation_bar_bg.png" COMP; + } + } + set { + name: "core_navigation_bar_icon_arrow"; + image { + image: SMALL"images/Navigation_elements/core_navigation_bar_icon_arrow.png" COMP; + } + image { + image: MEDIUM"images/Navigation_elements/core_navigation_bar_icon_arrow.png" COMP; + } + } + } + data.item: "transition_animation_on" "0"; + script { + public item_state = ITEM_STATE_ENABLED; + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "divider_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: TOOLBAR_NAVI_DIVIDER_INC 0; + fixed: 1 0; + color_class: "B012L1"; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 0.5; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: TOOLBAR_NAVI_DIVIDER_INC 0; + fixed: 1 0; + color_class: "B012L3"; + rel1.to: "divider_bg"; + rel2.to: "divider_bg"; + visible: 1; + image.normal: "core_navigation_bar_icon_arrow"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "B012L1"; + rel2 { + relative: 0.0 1.0; + to: "divider_bg"; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel2 { + relative: 0.0 1.0; + to: "divider_bg"; + } + text { + style: "tabbar_navi_text_style_T042"; + min: 1 1; + max: 1 1; + align: 0.0 0.5; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "tabbar_navi_text_style_T042P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "tabbar_navi_text_style_T042D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text.style: "tabbar_navi_text_style_T042P"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.style: "tabbar_navi_text_style_T042P"; + } + } + part { name: "elm.text.clipper"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "animation" 0.0; + color: 255 255 255 0; + } + description { state: "disabled" 0.0; + color: 255 255 255 255; + } + } + part { name: "right_padding"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: TOOLBAR_NAVI_DIVIDER_INC 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + align: 1.0 1.0; + color_class: "B012L1"; + image.normal: "core_navigation_bar_bg"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "event2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "key,pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "pressed"; + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(multi_down) == 0 + && get_int(mouse_down) == 0) + { + set_int(mouse_down, 1); + set_state(PART:"elm.text", "pressed", 0.0); + } + } + } + program { name: "key,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "unpressed"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event2"; + script { + if ((get_int(item_state) != ITEM_STATE_DISABLED) + && get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"elm.text", "visible", 0.0); + } + } + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", "elm"); + if (get_int(item_state) != ITEM_STATE_DISABLED) + run_program(PROGRAM:"touch_sound"); + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + script { + if (get_int(multi_down) == 0) + emit("elm,mouse,in", "elm"); + } + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + emit("elm,mouse,out", "elm"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_DISABLED); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"elm.text.clipper", "disabled", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script{ + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,cancel"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(item_state, ITEM_STATE_ENABLED); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.clipper", "default", 0.0); + } + } + program { name: "divider_visible_1"; + signal: "elm,order,first,item"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "divider"; + target: "divider_bg"; + target: "right_padding"; + } + program { name: "divider_visible_2"; + signal: "elm,order,default,item"; + source: "elm"; + script { + set_state(PART:"divider", "default", 0.0); + set_state(PART:"divider_bg", "default", 0.0); + set_state(PART:"right_padding", "default", 0.0); + } + } + program { name: "divider_hidden"; + signal: "elm,order,last,item"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "divider"; + target: "divider_bg"; + target: "right_padding"; + } + program { name: "highlight_on"; + signal: "elm,highlight,on"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "elm.text"; + } + program { name: "highlight_off"; + signal: "elm,highlight,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/toolbar/more/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content2"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + } + } + } +} diff --git a/2.3-mobile/widgets_default/actionslider.edc b/2.3-mobile/widgets_default/actionslider.edc new file mode 100644 index 0000000..12c87a9 --- /dev/null +++ b/2.3-mobile/widgets_default/actionslider.edc @@ -0,0 +1,468 @@ +// elm_actionslider default(button) style +group { name: "elm/actionslider/base/default"; + images { + image: "whitetheme/action_slider_bg.png" COMP; + image: "whitetheme/action_slider_btn.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_MIN_WIDTH_INC ACTIONSLIDER_MIN_HEIGHT_INC; + image { + normal: "whitetheme/action_slider_bg.png"; + border: ACTIONSLIDER_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "icon.dragable.area"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_PADDING_TEXT_LEFT 0; + fixed: 1 0; + align: 0 0.5; + rel2.relative: 0 1; + } + } + part { name: "elm.text.left"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + align: 0 0.5; + rel1 { + to: "elm.padding.text.left"; + relative: 1 0; + } + rel2.to: "elm.padding.text.left"; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.1 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.center"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.5 0.5; + min: 1 1; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_PADDING_TEXT_RIGHT 0; + fixed: 1 0; + align: 1 0.5; + rel1.relative: 1 0; + rel2.relative: 1 1; + } + } + part { name: "elm.text.right"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + rel1.to: "elm.padding.text.right"; + rel2 { + to: "elm.padding.text.right"; + relative: 0 1; + } + align: 1 0.5; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + min: 1 1; + text_class: "slp_bold"; + } + } + } + part { name: "elm.drag_button_base"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: ACTIONSLIDER_BUTTON_MIN_WIDTH_INC ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC; + align: 0.5 0.5; + rel1 { + relative: 0.5 0.0; + to: "icon.dragable.area"; + } + rel2 { + relative: 0.5 1.0; + to: "icon.dragable.area"; + } + } + dragable { + confine: "icon.dragable.area"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.drag_button"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_BUTTON_MIN_WIDTH_INC ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC; + color: ACTIONSLIDER_TRANSPARENT; + rel1 { + to_x: "elm.drag_button_base"; + to_y: "icon.dragable.area"; + } + rel2 { + to_x: "elm.drag_button_base"; + to_y: "icon.dragable.area"; + } + } + dragable { + events: "elm.drag_button_base"; + } + } + part { name: "button2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + min: ACTIONSLIDER_MIN_WIDTH_INC ACTIONSLIDER_MIN_HEIGHT_INC ; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + fixed: 1 1; + image { + normal: "whitetheme/action_slider_btn.png"; + border: ACTIONSLIDER_BUTTON_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.text.indicator"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + color: ACTIONSLIDER_TEXT_INDICATOR_COLOR; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.5 0.5; + min: 0 1; + } + } + } + } + programs { + program { name: "elm.drag_button,mouse,up"; + signal: "mouse,up,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; + } + program { name: "elm.drag_button,mouse,down"; + signal: "mouse,down,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; + } + program { name: "elm.drag_button,mouse,move"; + signal: "mouse,move"; + source: "elm.drag_button_base"; + action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; + } + } +} + +group { name: "elm/actionslider/base/bar"; + images { + image: "whitetheme/action_slider_bg.png" COMP; + image: "whitetheme/action_slider_btn.png" COMP; + image: "whitetheme/action_slider_guage_on.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_MIN_WIDTH_INC ACTIONSLIDER_MIN_HEIGHT_INC; + image { + normal: "whitetheme/action_slider_bg.png"; + border: ACTIONSLIDER_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "icon.dragable.area"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "elm.padding.bar.top-left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_PADDING_BAR_LEFT_TOP; + fixed: 1 1; + align: 0 0; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bar.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 ACTIONSLIDER_PADDING_BAR_BOTTOM; + fixed: 0 1; + align: 0.5 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2.to: "base"; + } + } + part { name: "bar"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 ACTIONSLIDER_BAR_MIN_HEIGHT_INC; + align: 0 0.5; + rel1 { + to: "elm.padding.bar.top-left"; + relative: 1 1; + } + rel2 { + to_y: "elm.padding.bar.bottom"; + to_x: "elm.drag_button"; + relative: 0.5 0; + } + image { + normal: "whitetheme/action_slider_guage_on.png"; + border: ACTIONSLIDER_BAR_BORDER; + border_scale: 1; + } + color: ACTIONSLIDER_COLOR_VISIBLE; + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_PADDING_TEXT_LEFT 0; + fixed: 1 0; + align: 0 0.5; + rel2.relative: 0 1; + } + } + part { name: "elm.text.left"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + align: 0 0.5; + rel1 { + to: "elm.padding.text.left"; + relative: 1 0; + } + rel2.to: "elm.padding.text.left"; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.1 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.center"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + fixed: 1 1; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.5 0.5; + min: 1 1; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_PADDING_TEXT_RIGHT 0; + fixed: 1 0; + align: 1 0.5; + rel1.relative: 1 0; + rel2.relative: 1 1; + } + } + part { name: "elm.text.right"; + type: TEXT; + mouse_events: 0; + effect: SHADOW TOP; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: ACTIONSLIDER_TEXT_COLOR; + color2: ACTIONSLIDER_TEXT_SHADOW_COLOR; + rel1.to: "elm.padding.text.right"; + rel2 { + to: "elm.padding.text.right"; + relative: 0 1; + } + align: 1 0.5; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + min: 1 1; + text_class: "slp_bold"; + } + } + } + part { name: "elm.drag_button_base"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: ACTIONSLIDER_BUTTON_MIN_WIDTH_INC ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC; + align: 0.5 0.5; + rel1{ + relative: 0.5 0.0; + to: "icon.dragable.area"; + } + rel2 { + relative: 0.5 1.0; + to: "icon.dragable.area"; + } + } + dragable { + confine: "icon.dragable.area"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.drag_button"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: ACTIONSLIDER_BUTTON_MIN_WIDTH_INC ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC; + color: ACTIONSLIDER_TRANSPARENT; + rel1 { + to_x: "elm.drag_button_base"; + to_y: "icon.dragable.area"; + } + rel2 { + to_x: "elm.drag_button_base"; + to_y: "icon.dragable.area"; + } + } + dragable { + events: "elm.drag_button_base"; + } + } + part { name: "button2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + min: ACTIONSLIDER_BUTTON_MIN_WIDTH_INC ACTIONSLIDER_BUTTON_MIN_HEIGHT_INC; + fixed: 1 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "whitetheme/action_slider_btn.png"; + border: ACTIONSLIDER_BUTTON_BORDER; + border_scale: 1; + } + color: ACTIONSLIDER_COLOR_VISIBLE; + } + } + part { name: "elm.text.indicator"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + color: ACTIONSLIDER_TEXT_INDICATOR_COLOR; + text { + font: "SLP:style=Bold"; + size: ACTIONSLIDER_TEXT_SIZE; + align: 0.5 0.5; + min: 0 1; + text_class: "slp_bold"; + } + } + } + } + programs { + program { name: "elm.drag_button,mouse,up"; + signal: "mouse,up,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; + } + program { name: "elm.drag_button,mouse,down"; + signal: "mouse,down,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; + } + program { name: "elm.drag_button,mouse,move"; + signal: "mouse,move"; + source: "elm.drag_button_base"; + action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; + } + } +} + + diff --git a/2.3-mobile/widgets_default/border.edc b/2.3-mobile/widgets_default/border.edc new file mode 100644 index 0000000..a21aa9b --- /dev/null +++ b/2.3-mobile/widgets_default/border.edc @@ -0,0 +1,318 @@ +group { + name: "elm/border/base/default"; + data.item: "focus_highlight" "off"; + images { + image: "whitetheme/icon_close_small.png" COMP; + image: "whitetheme/icon_arrow_up_right.png" COMP; + image: "whitetheme/icon_arrow_down_left.png" COMP; + image: "whitetheme/icon_close_small_press.png" COMP; + image: "whitetheme/icon_arrow_up_right_press.png" COMP; + image: "whitetheme/icon_arrow_down_left_press.png" COMP; + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "base"; + type : RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: BORDER_BG_COLOR_INC; + } + } + part { name: "elm.padding.title"; + type: SPACER; + scale:1 ; + description { + align: 0 0; + min: BORDER_PADDING_WIDTH BORDER_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 0 0; + } + rel2 { + relative: 0 0; + } + } + } + part { name: "base-text"; + type :RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: BORDER_BG_COLOR_INC; + align: 0 0; + fixed: 1 1; + min: 0 BORDER_HEIGHT_INC; + rel1 { + to: "elm.padding.title"; + relative: 1 0; + } + rel2 { + to_y: "base"; + to_x: "elm.padding.title.button"; + relative: 0 0; + } + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: BORDER_FONT_COLOR_INC; + rel1 { + to: "base-text"; + } + rel2 { + to: "base-text"; + } + text { + font: "SLP:style=Bold"; + size: BORDER_FONT_SIZE_INC; + align: 0.0 0.5; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.padding.title.button"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: BORDER_ICON_PADDING_WIDTH 0; + fixed: 1 1; + rel1 { + to: "restore"; + relative: 0 0; + } + rel2 { + to: "restore"; + relative: 0 1; + } + } + } + part { name: "elm.padding.restore"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: BORDER_ICON_PADDING_WIDTH 0; + fixed: 1 1; + rel1 { + to: "maximize"; + relative: 0.0 0.0; + } + rel2 { + to: "maximize"; + relative: 0.0 1.0; + } + } + } + part { name: "restore"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_arrow_down_left.png"; + min: BORDER_ICON_SIZE; + max: BORDER_ICON_SIZE; + align : 1 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.restore"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.restore"; + relative: 0.0 1.0; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_arrow_down_left_press.png"; + } + } + part { name: "elm.padding.maximize"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: BORDER_ICON_PADDING_WIDTH 0; + fixed: 1 1; + rel1 { + to: "close"; + relative: 0.0 0.0; + } + rel2 { + to: "close"; + relative: 0.0 1.0; + } + } + } + + part { name: "maximize"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_arrow_up_right.png"; + min: BORDER_ICON_SIZE; + max: BORDER_ICON_SIZE; + align : 1 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.maximize"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.maximize"; + relative: 0.0 1.0; + } + } + description { state: "maximized" 0.0; + inherit: "default" 0.0; + //color: 255 255 255 96; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_arrow_up_right_press.png"; + } + } + part { name: "elm.padding.close"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: BORDER_PADDING_WIDTH BORDER_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "base"; + relative: 1 0; + } + rel2 { + to: "base"; + relative: 1 0; + } + } + } + part { name: "close"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_close_small.png"; + min: BORDER_ICON_SIZE; + max: BORDER_ICON_SIZE; + align : 1 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.close"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.close"; + relative: 0.0 0.5; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_close_small_press.png"; + + } + } + part { name: "shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/shadow_title.png"; + } + min: 0 BORDER_SHADOW_HEIGHT; + align: 0 0; + fixed: 1 1; + rel1 { + to_x: "base"; + to_y: "elm.padding.title"; + relative: 0 1; + } + rel2 { + to_x: "base"; + to_y: "elm.padding.title"; + relative: 1 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "focus_in"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + transition: LINEAR 0.2; + target: "elm.text.title"; + target: "base"; + } + program { + name: "focus_out"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "elm.text.title"; + target: "base"; + } + program { + name: "move_start"; + signal: "mouse,down,1"; + source: "elm.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { signal: "mouse,clicked,1"; + source: "close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + program { signal: "mouse,down,1"; + source: "close"; + action: STATE_SET "pressed" 0.0; + target: "close"; + } + program { signal: "mouse,up,1"; + source: "close"; + action: STATE_SET "default" 0.0; + target: "close"; + } + program { signal: "mouse,clicked,1"; + source: "maximize"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { signal: "mouse,down,1"; + source: "maximize"; + action: STATE_SET "pressed" 0.0; + target: "maximize"; + } + program { signal: "mouse,up,1"; + source: "maximize"; + action: STATE_SET "default" 0.0; + target: "maximize"; + } + program { signal: "mouse,clicked,1"; + source: "restore"; + action: SIGNAL_EMIT "elm,action,restore" "elm"; + } + program { signal: "mouse,down,1"; + source: "restore"; + action: STATE_SET "pressed" 0.0; + target: "restore"; + } + program { signal: "mouse,up,1"; + source: "restore"; + action: STATE_SET "default" 0.0; + target: "restore"; + } + } +} diff --git a/2.3-mobile/widgets_default/bubble.edc b/2.3-mobile/widgets_default/bubble.edc new file mode 100644 index 0000000..42a36ce --- /dev/null +++ b/2.3-mobile/widgets_default/bubble.edc @@ -0,0 +1,903 @@ +group { name: "elm/bubble/top_left/default"; + alias: "elm/bubble/base/default"; + images { + image: "whitetheme/bubble_3.png" COMP; + image: "whitetheme/bubble_4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to_y: "elm.text"; + relative: 1.0 0.0; + } + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + } + image { + normal: "whitetheme/bubble_3.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_4.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + programs { + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/top_right/default"; + images { + image: "whitetheme/bubble_3.png" COMP; + image: "whitetheme/bubble_4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + } + image { + normal: "whitetheme/bubble_4.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_3.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + programs { + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/bottom_left/default"; + images { + image: "whitetheme/bubble_1.png" COMP; + image: "whitetheme/bubble_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "base0"; + relative: 1.0 1.0; + } + rel2 { + to: "base0"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image { + normal: "whitetheme/bubble_1.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_2.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + programs { + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/bottom_right/default"; + images { + image: "whitetheme/bubble_1.png" COMP; + image: "whitetheme/bubble_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to_y: "base0"; + relative: 0.0 1.0; + } + rel2 { + to_y: "base0"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + type: IMAGE; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image { + normal: "whitetheme/bubble_2.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_1.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + programs { + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} diff --git a/2.3-mobile/widgets_default/button.edc b/2.3-mobile/widgets_default/button.edc new file mode 100644 index 0000000..80b5b5a --- /dev/null +++ b/2.3-mobile/widgets_default/button.edc @@ -0,0 +1,1183 @@ +group { name: "elm/button/base/hoversel_vertical_entry/default"; + alias: "elm/button/base/hoversel_vertical_entry/entry"; + alias: "elm/button/base/hoversel_horizontal_entry/default"; + alias: "elm/button/base/hoversel_horizontal_entry/entry"; + parts { + part { name: "button_image"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_HOVERSEL_HEIGHT; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "W012P"; + } + } + part { name: "elm.padding.content.left"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: BUTTON_HOVERSEL_PADDING_SIZE_DEFAULT 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: BUTTON_HOVERSEL_PADDING_SIZE_DEFAULT 0; + rel1 { + to: "elm.swallow.content"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.content"; + relative: 1 1; + } + } + } + part { + name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 0; + min: BUTTON_HOVERSEL_PADDING_SIZE_DEFAULT 0; + rel1.relative: 1 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0 0.5; + min: 0 BUTTON_HOVERSEL_CONTENT_HEIGHT; + max: BUTTON_HOVERSEL_CONTENT_WIDTH BUTTON_HOVERSEL_CONTENT_HEIGHT; + fixed: 1 1; + rel1 { + to: "elm.padding.content.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.content.left"; + relative: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + aspect_preference: VERTICAL; + } + } + part { name: "textvis"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.padding.content.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.text.right"; + relative: 0 1; + } + } + description { + state: "visible" 0.0; + visible: 1; + rel1 { + to: "elm.padding.content.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.text.right"; + relative: 0 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + clip_to: "textvis"; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.text.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.text.right"; + relative: 0 1; + } + text { + style: "button_hoversel_entry_main"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + text.style: "button_main_press"; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: BUTTON_COLOR_TRANPARENT; + } + } + // used to force sizing of icon to follow label sizing nearby + part { name: "sizer.content"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + text { + font: "SLP:style=Medium"; + size: BUTTON_HOVERSEL_TEXT_SIZE; + min: 0 0; + align: 0.5 0.5; + text_class: "slp_medium"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + // end sizer + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + set_state(PART:"textvis", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + set_state(PART:"textvis", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"textvis", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "sizer.content"; + } + } +} + +group { name: "elm/button/base/hoversel_vertical/default"; + alias: "elm/button/base/hoversel_vertical/entry"; + alias: "elm/button/base/hoversel_horizontal/default"; + alias: "elm/button/base/hoversel_horizontal/entry"; + images { + image: "core_list_button_bg.#.png" COMP; + image: "whitetheme/btn_arrow_updown_nor.png" COMP; + image: "whitetheme/btn_arrow_updown_sel.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + color_class: "W012"; + image { + normal: "core_list_button_bg.#.png"; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "W012P"; + image { + normal: "core_list_button_bg.#.png"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012D"; + image { + normal: "core_list_button_bg.#.png"; + } + } + } + part { name: "elm.padding.arrow.left-top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0; + rel2.relative: 0 0; + fixed: 1 1; + min: BUTTON_ANCHOR_PADDING_DEFAULT_SIZE BUTTON_ANCHOR_PADDING_DEFAULT_SIZE; + } + } + part { name: "elm.padding.arrow.bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 1; + rel1.relative: 0 1; + fixed: 1 1; + min: BUTTON_ANCHOR_PADDING_DEFAULT_SIZE BUTTON_ANCHOR_PADDING_DEFAULT_SIZE; + } + } + part { name: "arrow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_HOVERSEL_ICON_SIZE BUTTON_HOVERSEL_ICON_SIZE; + max: BUTTON_HOVERSEL_ICON_SIZE BUTTON_HOVERSEL_ICON_SIZE; + rel1 { + to: "elm.padding.arrow.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.arrow.bottom"; + relative: 1 0; + } + image.normal: "whitetheme/btn_arrow_updown_nor.png"; + align: 0.0 0.5; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_updown_sel.png"; + min: BUTTON_HOVERSEL_ICON_SIZE BUTTON_HOVERSEL_ICON_SIZE; + max: BUTTON_HOVERSEL_ICON_SIZE BUTTON_HOVERSEL_ICON_SIZE; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1 { + to: "arrow"; + relative: 1.0 0.0; + } + rel2 { + to: "arrow"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + rel1 { + to_x: "button_image"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0.5; + rel1 { + to: "arrow"; + relative: 1 0; + } + rel2 { + to: "arrow"; + relative: 1 1; + } + fixed: 1 0; + min: BUTTON_ANCHOR_PADDING_DEFAULT_SIZE 0; + } + } + part { name: "elm.padding.text.right-bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 1; + rel1.relative: 1 1; + fixed: 1 1; + min: 25 16; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + rel1 { + to: "elm.padding.text.left"; + relative: 1 0; + } + rel2 { + to : "elm.padding.text.right-bottom"; + relative: 0 0; + } + align: 0.5 0.5; + text { + style: "button_main"; + min: 1 0; + max: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + text.style: "button_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_main_dim"; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: BUTTON_ANCHOR_DISABLE_COLOR; + visible: 1; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + // used to force sizing of icon to follow label sizing nearby + part { name: "sizer.content"; type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + // end sizer + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "arrow"; + after: "text_clicked"; + } + program { name: "text_clicked"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "arrow"; + after: "text_unclicked"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + after: "text_unclicked"; + } + program { name: "text_unclicked"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked")) + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "sizer.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +group { name: "elm/button/base/anchor"; + images { + image: "whitetheme/btn_style_nor.png" COMP; + image: "whitetheme/btn_style_sel.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC; + visible: 0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: BUTTON_ANCHOR_BG_BORDER; + middle: SOLID; + } + } + description { state: "clicked" 0.0; + visible: 1; + min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC; + color_class: "W012P"; + image { + normal: "whitetheme/btn_style_nor.png"; + border: BUTTON_ANCHOR_BG_BORDER; + border_scale: 1; + } + } + description { state: "visible" 0.0; + visible: 1; + min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC; + color_class: "W012"; + image { + normal: "whitetheme/btn_style_nor.png"; + border: BUTTON_ANCHOR_BG_BORDER; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: BUTTON_ANCHOR_BG_BORDER; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel2.relative: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: BUTTON_ANCHOR_PADDING_DEFAULT_SIZE 0; + rel1 { + to: "elm.swallow.content"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.content"; + relative: 1 1; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 0.5; + rel1.relative: 1 0; + fixed: 1 0; + min: BUTTON_ANCHOR_PADDING_DEFAULT_SIZE 10; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.text.left"; + relative: 1 0; + } + rel2 { + to : "elm.padding.text.right"; + relative: 0 1; + } + color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC; + color2: BUTTON_TEXT_SHADOW_NORMAL_COLOR_INC; + text { + font: "SLP:style=Regular"; + size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC; + min: 0 0; + text_class: "slp"; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC; + visible: 1; + text.min: 1 1; + } + } + part { name: "over"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: BUTTON_ANCHOR_COLOR_TRANSPARENT; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: BUTTON_ANCHOR_COLOR_TRANSPARENT; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + // used to force sizing of icon to follow label sizing nearby + part { name: "sizer.content"; type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + text { + font: "SLP:style=Medium"; + size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC; + min: 0 0; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + // end sizer + } + programs { + program { name: "button_mouse_in"; + signal: "mouse,in"; + source: "over"; + action: STATE_SET "visible" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_mouse_out"; + signal: "mouse,out"; + source: "over"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "visible" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_click2"; + signal: "mouse,down,1"; + source: "over"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible"))) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || (!strcmp(st, "visible"))) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } + else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "sizer.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "disabled", 0.0); + set_state(PART:"over", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "visible", 0.0); + set_state(PART:"over", "visible", 0.0); + set_state(PART:"disabler", "visible", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +group { name: "elm/button/base/dropdown"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + image: "core_dropdown_label_icon_arrow.png" COMP; + } + parts { + part { name: "base"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: BUTTON_MIN_WIDTH BUTTON_DROPDOWN_MIN_HEIGHT; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "base"; + rel2 { + relative: 0.0 0.0; + to: "base"; + } + min: BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + to:"base"; + } + rel2.to:"base"; + min: BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 0; + fixed: 1 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 1.0; + to: "padding_after_text"; + } + text { + style: "button_dropdown"; + } + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow_icon"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DROPDOWN_ICON_SIZE; + max: BUTTON_DROPDOWN_ICON_SIZE; + image.normal: "core_dropdown_label_icon_arrow.png"; + color_class: "B0734"; + rel2 { + to_x: "padding_right_bottom"; + to_y: "underline_bottom"; + relative: 0.0 0.0; + } + align: 1.0 1.0; + } + } + part { name: "underline_bottom"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_DROPDOWN_UNDERLINE_HEIGHT; + color_class:"B0733L2"; + rel1 { + relative: 1.0 1.0; + to_x: "padding_left_top"; + to_y: "base"; + } + rel2 { + relative: 0.0 1.0; + to_x: "padding_right_bottom"; + to_y: "base"; + } + align: 1.0 1.0 ; + fixed: 1 1; + } + } + part { name: "padding_after_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 0; + rel1 { + relative: 0.0 0.0; + to: "arrow_icon"; + } + rel2 { + relative: 0.0 1.0; + to: "arrow_icon"; + } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"base", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: elm.text; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: elm.text; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "base"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + diff --git a/2.3-mobile/widgets_default/check.edc b/2.3-mobile/widgets_default/check.edc new file mode 100644 index 0000000..db0eab2 --- /dev/null +++ b/2.3-mobile/widgets_default/check.edc @@ -0,0 +1,572 @@ +group { name: "elm/check/base/toggle"; + images { + image: "/whitetheme/check_cover.png" COMP; + image: "/whitetheme/action_slider_guage_on.png" COMP; + image: "/whitetheme/action_slider_guage_off.png" COMP; + image: "/whitetheme/check_btn.png" COMP; + } + script { + public is_rtl; + public is_drag; + public was_drag; + } + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + min: CHECK_TOGGLE_BG_MIN_WIDTH_INC CHECK_TOGGLE_BG_MIN_HEIGHT_INC; + max: CHECK_TOGGLE_BG_MIN_WIDTH_INC CHECK_TOGGLE_BG_MIN_HEIGHT_INC; + state: "default" 0.0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + align: 1.0 0.5; + visible: 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: BG_DEFAULT_COLOR_INC; + } + } + part { name: "button"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + mouse_events: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "bg"; + } + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: CHECK_TOGGLE_BUTTON_MIN_WIDTH_INC CHECK_TOGGLE_BUTTON_MIN_HEIGHT_INC; + max: CHECK_TOGGLE_BUTTON_MIN_WIDTH_INC CHECK_TOGGLE_BUTTON_MIN_HEIGHT_INC; + rel1 { + to: "bg"; + relative: 0 0.5; + } + rel2 { + to: "bg"; + relative: 1 0.5; + } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "button_events"; + type: RECT; + scale: 1; + dragable { + events: "button"; + } + description { state: "default" 0.0; + color: CHECK_TOGGLE_COLOR_TRANSPARENT; + } + } + part { name: "elm.padding.bar.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_PADDING_BAR_LEFT_TOP_INC; + fixed: 1 1; + align: 0 0; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bar.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_PADDING_BAR_RIGHT_BOTTOM_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "bg"; + relative: 1 1; + } + rel2.to: "bg"; + } + } + part { name: "bar_clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: CHECK_TOGGLE_COLOR_VISIBLE; + min: CHECK_TOGGLE_BAR_MIN_HEIGHT_INC; + rel1 { + to: "elm.padding.bar.top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.bar.bottom"; + relative: 0 0; + } + } + } + part { name: "onrect"; + scale: 1; + clip_to: "bar_clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "button"; + relative: -2.55 0.0; + } + rel2 { + to: "button"; + relative: 0.5 1.0; + } + image { + normal: "/whitetheme/action_slider_guage_on.png"; + border: CHECK_TOGGLE_BAR_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "/whitetheme/action_slider_guage_off.png"; + border: CHECK_TOGGLE_BAR_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "offrect"; + scale: 1; + clip_to: "bar_clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "button"; + relative: 0.5 0.0; + } + rel2 { + to: "button"; + relative: 3.55 1.0; + } + image { + normal: "/whitetheme/action_slider_guage_off.png"; + border: CHECK_TOGGLE_BAR_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "/whitetheme/action_slider_guage_off.png"; + border: CHECK_TOGGLE_BAR_BORDER_INC; + border_scale: 1; + } + } + } + part { + name: "elm.padding.text.off"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_PADDING_TEXT_OFF_MIN_INC; + fixed: 1 0; + align: 0 0.5; + rel1 { + to: "button"; + relative: 1 0; + } + rel2 { + to: "button"; + relative: 1 1; + } + } + } + part { name: "elm.offtext"; + type: TEXT; + effect: SHADOW TOP; + mouse_events: 0; + scale: 1; + clip_to: "bar_clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + color: CHECK_TOGGLE_TEXT_OFF_COLOR_INC; + color2: CHECK_TOGGLE_TEXT_OFF_SHADOW_COLOR_INC; + rel1 { + to: "button"; + relative: 1 0; + } + rel2.to: "offrect"; + text { + font: "SLP:style=Bold"; + size: CHECK_TOGGLE_TEXT_SIZE_INC; + min: 0 1; + text: "OFF"; + text_class: "slp_bold"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + } + } + part { name: "elm.padding.text.on"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_PADDING_TEXT_ON_MIN_INC; + fixed: 1 0; + align: 1 0.5; + rel1 { + to: "button"; + relative: 0 0; + } + rel2 { + to: "button"; + relative: 0 1; + } + } + } + part { name: "elm.padding.text.on.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_PADDING_TEXT_ON_MIN_INC; + fixed: 1 0; + align: 0 0.5; + rel1.to: "onrect"; + rel2 { + to: "onrect"; + relative: 0 1; + } + } + } + part { name: "elm.ontext"; + type: TEXT; + effect: SHADOW TOP; + mouse_events: 0; + scale: 1; + clip_to: "bar_clipper"; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + color: CHECK_TOGGLE_TEXT_ON_COLOR_INC; + color2: CHECK_TOGGLE_TEXT_ON_SHADOW_COLOR_INC; + rel1 { + to_x: "elm.padding.text.on.left"; + to_y: "onrect"; + relative: 1 0; + } + rel2 { + to_x: "button"; + to_y: "onrect"; + relative: 0 1; + } + text { + font: "SLP:style=Bold"; + size: CHECK_TOGGLE_TEXT_SIZE_INC; + min: 0 1; + text: "ON"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + } + } + part { name: "conf_over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + image { + normal: "/whitetheme/check_cover.png"; + border: CHECK_TOGGLE_BG_BORDER_INC; + border_scale: 1; + } + fill.smooth : 0; + } + } + part { name: "button2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: CHECK_TOGGLE_COLOR_VISIBLE; + rel1.to: "button"; + rel2.to: "button"; + image { + normal: "/whitetheme/check_btn.png"; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 0; + rel1 { + to_x: "elm.swallow.content"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bg"; + relative: 0.0 1.0; + } + color: CHECK_TOGGLE_COLOR_BLACK; + text { + font: "SLP:style=Medium"; + size: CHECK_TOGGLE_OFF_TEXT_SIZE_INC; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: CHECK_TOGGLE_TEXT_DISABLE_COLOR_INC; + visible: 1; + text.min: 1 1; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + + if (!get_int(was_drag)) { + if (dx > 0.5) + set_drag(PART:"button", 0.0, 0.0); + else + set_drag(PART:"button", 1.0, 0.0); + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) + emit("elm,action,check,off", ""); + else + emit("elm,action,check,on", ""); + } + } + } + program { + signal: "drag"; + source: "button"; + script { + set_int(is_drag, 1); + } + } + program { + signal: "mouse,down,1"; + source: "button"; + script { + set_int(was_drag, 0); + set_int(is_drag, 0); + } + } + program { name: "drag_end"; + signal: "mouse,up,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (dx > 0.5) + { + set_drag(PART:"button", 1.0, 0.0); + } + else + { + set_drag(PART:"button", 0.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + emit("elm,action,check,on", ""); + } + else { + emit("elm,action,check,off", ""); + } + set_int(was_drag, get_int(is_drag)); + set_int(is_drag, 0); + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } + else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } + else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.offtext"; + target: "elm.ontext"; + target: "onrect"; + target: "offrect"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "onrect"; + target: "offrect"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(is_rtl, 0); + } + } + } +} \ No newline at end of file diff --git a/2.3-mobile/widgets_default/clock.edc b/2.3-mobile/widgets_default/clock.edc new file mode 100644 index 0000000..7a83b7a --- /dev/null +++ b/2.3-mobile/widgets_default/clock.edc @@ -0,0 +1,1613 @@ +group { name: "elm/clock/flipdigit/default"; + images { + image: "whitetheme/flip_base.png" COMP; + image: "whitetheme/flip_shad.png" COMP; + image: "whitetheme/flip_0t.png" COMP; + image: "whitetheme/flip_0b.png" COMP; + image: "whitetheme/flip_1t.png" COMP; + image: "whitetheme/flip_1b.png" COMP; + image: "whitetheme/flip_2t.png" COMP; + image: "whitetheme/flip_2b.png" COMP; + image: "whitetheme/flip_3t.png" COMP; + image: "whitetheme/flip_3b.png" COMP; + image: "whitetheme/flip_4t.png" COMP; + image: "whitetheme/flip_4b.png" COMP; + image: "whitetheme/flip_5t.png" COMP; + image: "whitetheme/flip_5b.png" COMP; + image: "whitetheme/flip_6t.png" COMP; + image: "whitetheme/flip_6b.png" COMP; + image: "whitetheme/flip_7t.png" COMP; + image: "whitetheme/flip_7b.png" COMP; + image: "whitetheme/flip_8t.png" COMP; + image: "whitetheme/flip_8b.png" COMP; + image: "whitetheme/flip_9t.png" COMP; + image: "whitetheme/flip_9b.png" COMP; + image: "whitetheme/flip_btn_up.png" COMP; + image: "whitetheme/flip_btn_down.png" COMP; + image: "whitetheme/flip_colon.png" COMP; + } + script { + public v0_cur, v0_pre, v0_lock, v0_next; + public animator2(val, Float:pos) { + new st1[11], st2[11], v; + v = get_int(v0_cur); + snprintf(st1, 10, "%ih", v); + snprintf(st2, 10, "%i", v); + set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); + if (pos >= 1.0) { + set_state(PART:"sh", "default", 0.0); + set_int(v0_lock, 0); + v = get_int(v0_next); + if (v >= 0) { + set_int(v0_next, -1); + message(MSG_INT, 1, v); + } + } + } + public animator1(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_pre); + snprintf(st1, 10, "%i", v); + snprintf(st2, 10, "%ih", v); + set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); + if (pos >= 1.0) anim(0.2, "animator2", val); + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT) && (id == 1)) { + new value, v, buf[11]; + + value = getarg(2); + if (get_int(v0_lock) == 1) { + set_int(v0_next, value); + return; + } + v = get_int(v0_cur); + set_int(v0_pre, v); + set_int(v0_cur, value); + set_int(v0_lock, 1); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"bot0", buf, 0.0); + snprintf(buf, 10, "%ih", get_int(v0_cur)); + set_state(PART:"bot", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_cur)); + set_state(PART:"top0", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"top", buf, 0.0); + set_state(PART:"sh", "default", 0.0); + anim(0.2, "animator1", 1); + } + } + } + parts { + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + image.normal: "whitetheme/flip_base.png"; + } + } + part { name: "b"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + color: 0 0 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HALF_HEIGHT_INC; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "t"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HALF_HEIGHT_INC; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bot0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_0b.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_0b.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_1b.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_2b.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_3b.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_4b.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_5b.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_6b.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_7b.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_8b.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_9b.png"; + } + } + part { name: "sh"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bot"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_0b.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_0b.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_0b.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_1b.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_1b.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_2b.png"; + } + description { state: "2h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_2b.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_3b.png"; + } + description { state: "3h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_3b.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_4b.png"; + } + description { state: "4h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_4b.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_5b.png"; + } + description { state: "5h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_5b.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_6b.png"; + } + description { state: "6h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_6b.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_7b.png"; + } + description { state: "7h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_7b.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_8b.png"; + } + description { state: "8h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_8b.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_9b.png"; + } + description { state: "9h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_9b.png"; + } + } + part { name: "top0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_0t.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_0t.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_1t.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_2t.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_3t.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_4t.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_5t.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_6t.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_7t.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_8t.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_9t.png"; + } + } + part { name: "top"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_0t.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_0t.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_0t.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_1t.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_1t.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_2t.png"; + } + description { state: "2h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_2t.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_3t.png"; + } + description { state: "3h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_3t.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_4t.png"; + } + description { state: "4h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_4t.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_5t.png"; + } + description { state: "5h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_5t.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_6t.png"; + } + description { state: "6h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_6t.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_7t.png"; + } + description { state: "7h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_7t.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_8t.png"; + } + description { state: "8h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_8t.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_9t.png"; + } + description { state: "9h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_9t.png"; + } + } + part { name: "atop"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 8 5; + max: 8 5; + align: 0.5 0.1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_btn_up.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "abot"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 8 5; + max: 8 5; + align: 0.5 0.9; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_btn_down.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.t"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.b"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_int(v0_cur, 0); + set_int(v0_pre, 0); + set_int(v0_lock, 0); + set_int(v0_next, -1); + } + } + program { name: "edit_on"; + signal: "elm,state,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "edit_off"; + signal: "elm,state,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + program { name: "access_edit_on"; + signal: "elm,state,access,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access_edit_off"; + signal: "elm,state,access,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access,up"; + signal: "mouse,down,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "access,up,stop"; + signal: "mouse,up,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "access,down"; + signal: "mouse,down,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "access,down,stop"; + signal: "mouse,up,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + } +} + +group { name: "elm/clock/flipampm/default"; + images { + image: "whitetheme/flip_base.png" COMP; + image: "whitetheme/flip_shad.png" COMP; + image: "whitetheme/flip_amt.png" COMP; + image: "whitetheme/flip_amb.png" COMP; + image: "whitetheme/flip_pmt.png" COMP; + image: "whitetheme/flip_pmb.png" COMP; + image: "whitetheme/flip_btn_up.png" COMP; + image: "whitetheme/flip_btn_down.png" COMP; + } + script { + public v0_cur, v0_pre, v0_lock, v0_next; + + public animator2(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_cur); + snprintf(st1, 10, "%ih", v); + snprintf(st2, 10, "%i", v); + set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); + if (pos >= 1.0) { + set_state(PART:"sh", "default", 0.0); + set_int(v0_lock, 0); + v = get_int(v0_next); + if (v >= 0) { + set_int(v0_next, -1); + message(MSG_INT, 1, v); + } + } + } + public animator1(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_pre); + snprintf(st1, 10, "%i", v); + snprintf(st2, 10, "%ih", v); + set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); + if (pos >= 1.0) anim(0.2, "animator2", val); + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT) && (id == 1)) { + new value, v, buf[11]; + + value = getarg(2); + if (get_int(v0_lock) == 1) { + set_int(v0_next, value); + return; + } + v = get_int(v0_cur); + set_int(v0_pre, v); + set_int(v0_cur, value); + set_int(v0_lock, 1); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"bot0", buf, 0.0); + snprintf(buf, 10, "%ih", get_int(v0_cur)); + set_state(PART:"bot", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_cur)); + set_state(PART:"top0", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"top", buf, 0.0); + set_state(PART:"sh", "default", 0.0); + anim(0.2, "animator1", 1); + } + } + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + image.normal: "whitetheme/flip_base.png"; + } + } + part { name: "b"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + color: 0 0 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HALF_HEIGHT_INC; + } + } + part { name: "t"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HALF_HEIGHT_INC; + } + } + part { name: "bot0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_amb.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_amb.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_pmb.png"; + } + } + part { name: "sh"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bot"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_amb.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_amb.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_amb.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "whitetheme/flip_pmb.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "whitetheme/flip_pmb.png"; + } + } + part { name: "top0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_amt.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_amt.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/flip_pmt.png"; + } + } + part { name: "top"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_amt.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_amt.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_amt.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "whitetheme/flip_pmt.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "whitetheme/flip_pmt.png"; + } + } + part { name: "atop"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 8 5; + max: 8 5; + align: 0.5 0.1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "whitetheme/flip_btn_up.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "abot"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 8 5; + max: 8 5; + align: 0.5 0.9; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "whitetheme/flip_btn_down.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.t"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.b"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_int(v0_cur, 0); + set_int(v0_pre, 0); + set_int(v0_lock, 0); + set_int(v0_next, -1); + } + } + program { name: "edit_on"; + signal: "elm,state,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "atop"; + target: "abot"; + } + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + program { name: "access_edit_on"; + signal: "elm,state,access,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access_edit_off"; + signal: "elm,state,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access,up"; + signal: "mouse,down,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "access,up,stop"; + signal: "mouse,up,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "access,down"; + signal: "mouse,down,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "access,down,stop"; + signal: "mouse,up,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + } +} + +group { name: "elm/clock/base-all/default"; + parts { + part { name: "d0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + } + } + part { name: "d1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d0"; + relative: 1.0 0.0; + } + rel2 { + to: "d0"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.c0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d1"; + relative: 1.0 0.0; + } + rel2 { + to: "d1"; + relative: 1.0 0.0; + } + } + } + part { name: "c0"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + max: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + fixed: 1 1; + rel1.to: "elm.padding.c0"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c0"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + part { name: "d2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + } + } + part { name: "d3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d2"; + relative: 1.0 0.0; + } + rel2 { + to: "d2"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.c1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d3"; + relative: 1.0 0.0; + } + rel2 { + to: "d3"; + relative: 1.0 0.0; + } + } + } + part { name: "c1"; + scale: 1; + description { state: "default" 0.0; + min: 8 39; + max: 8 39; + fixed: 1 1; + rel1.to: "elm.padding.c1"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c1"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + // (if seconds) + part { name: "d4"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c1"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c1"; + relative: 1.0 0.0; + } + } + } + // (if seconds) + part { name: "d5"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d4"; + relative: 1.0 0.0; + } + rel2 { + to: "d4"; + relative: 1.0 0.0; + } + } + } + // (if am_pm) + part { name: "ampm"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + rel1 { + to: "d5"; + relative: 1.0 0.0; + } + rel2.relative: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base-seconds/default"; + parts { + part { name: "d0"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + } + } + part { name: "d1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d0"; + relative: 1.0 0.0; + } + rel2 { + to: "d0"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.c0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d1"; + relative: 1.0 0.0; + } + rel2 { + to: "d1"; + relative: 1.0 0.0; + } + } + } + part { name: "c0"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + max: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + fixed: 1 1; + rel1.to: "elm.padding.c0"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c0"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + part { name: "d2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + } + } + part { name: "d3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d2"; + relative: 1.0 0.0; + } + rel2 { + to: "d2"; + relative: 1.0 0.0; + } + } + } + // (if seconds) + part { name: "elm.padding.c1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d3"; + relative: 1.0 0.0; + } + rel2 { + to: "d3"; + relative: 1.0 0.0; + } + } + } + part { name: "c1"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + max: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + fixed: 1 1; + rel1.to: "elm.padding.c1"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c1"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + // (if seconds) + part { name: "d4"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c1"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c1"; + relative: 1.0 0.0; + } + } + } + // (if seconds) + part { name: "d5"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + rel1 { + to: "d4"; + relative: 1.0 0.0; + } + rel2.relative: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base-am_pm/default"; + parts { + part { name: "d0"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + } + } + part { name: "d1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d0"; + relative: 1.0 0.0; + } + rel2 { + to: "d0"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.c0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d1"; + relative: 1.0 0.0; + } + rel2 { + to: "d1"; + relative: 1.0 0.0; + } + } + } + part { name: "c0"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + max: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + fixed: 1 1; + rel1.to: "elm.padding.c0"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c0"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + part { name: "d2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + } + } + part { name: "d3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d2"; + relative: 1.0 0.0; + } + rel2 { + to: "d2"; + relative: 1.0 0.0; + } + } + } + // (if am_pm) + part { name: "ampm"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + rel1 { + to: "d3"; + relative: 1.0 0.0; + } + rel2.relative: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base/default"; + parts { + part { name: "base"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "d0"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "d1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d0"; + relative: 1.0 0.0; + } + rel2 { + to: "d0"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.c0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_PADDING_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "d1"; + relative: 1.0 0.0; + } + rel2 { + to: "d1"; + relative: 1.0 0.0; + } + } + } + part { name: "c0"; + scale: 1; + description { state: "default" 0.0; + min: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + max: CLOCK_COLON_WIDTH_INC CLOCK_COLON_HEIGHT_INC; + fixed: 1 1; + rel1.to: "elm.padding.c0"; + rel1.relative: 1 0.5; + rel2.to: "elm.padding.c0"; + rel2.relative: 0 0.5; + image.normal: "whitetheme/flip_colon.png"; + } + } + part { name: "d2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align : 0 0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.c0"; + relative: 1.0 0.0; + } + } + } + part { name: "d3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + max: CLOCK_BG_WIDTH_INC CLOCK_BG_HEIGHT_INC; + rel1 { + to: "d2"; + relative: 1.0 0.0; + } + rel2.relative: 1.0 1.0; + } + } + } + programs { + program { name: "access_on"; + signal: "elm,state,access,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "access_off"; + signal: "elm,state,access,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + diff --git a/2.3-mobile/widgets_default/colorselector.edc b/2.3-mobile/widgets_default/colorselector.edc new file mode 100644 index 0000000..87d9cd7 --- /dev/null +++ b/2.3-mobile/widgets_default/colorselector.edc @@ -0,0 +1,58 @@ +group { name: "elm/colorselector/image/colorbar_3/default"; + images{ + image: "whitetheme/color_selector_gradient.png" COMP; + } + parts{ + part{ name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description{ + state: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 0; + } + } + part{ name: "colorbar_3_image"; + mouse_events: 1; + description{ + state: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "bg"; + } + image.normal: "whitetheme/color_selector_gradient.png"; + } + } + } +} + +group { name: "elm/colorselector/bg_image/colorbar_3/default"; + images { + image: "whitetheme/color_selector_bg.png" COMP; + } + parts { + part { name: "colorbar_3_image"; + description { + state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "whitetheme/color_selector_bg.png"; + } + } + } +} diff --git a/2.3-mobile/widgets_default/default_macro.edc b/2.3-mobile/widgets_default/default_macro.edc new file mode 100644 index 0000000..af14e65 --- /dev/null +++ b/2.3-mobile/widgets_default/default_macro.edc @@ -0,0 +1,3672 @@ + #define GENLIST_PART_BG_RECT(HEIGHT) \ + part { name: "bg_image"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 HEIGHT; \ + color: GENLIST_LIST_BG_COLOR; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + } + #define GENGRID_INDEX_PART_BG_RECT(HEIGHT) \ + part { name: "bg_index"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 HEIGHT; \ + color: 192 213 222 255; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: 165 197 210 255; \ + } \ + } + + #define GENLIST_PARAM_ICON_68 \ + min: 68 68; \ + max: 68 68; + + #define GENLIST_PARAM_ICON_68_NOT_MIN \ + min: 0 68; \ + max: 68 68; + + #define GENLIST_PART_SWALLOW_LEFT \ + part { name: "elm.swallow.pad"; \ + type: SWALLOW; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1 { \ + relative: 0.0 0.0; \ + offset: 1 0; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + offset: 1 0; \ + } \ + } \ + } + + #define GENLIST_DESCRIPTION_L_EX( left, param ) \ + description { state: "default" 0.0;\ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: "base"; \ + }\ + rel2 { \ + relative: 1 1;\ + to_x: left; \ + to_y: "base"; \ + }\ + param\ + } + + #define GENLIST_PART_ICON_68_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT,\ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + color: 255 0 0 255; \ + ) \ + ) + + #define GENLIST_PART_ICON_68_L_DESCRIPTION(NAME, LEFT, DESCIPTION) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT,\ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + color: 255 0 0 255; \ + ) \ + DESCIPTION \ + ) + + #define GENLIST_PART_ICON_68_L_NONFIXED(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT,\ + fixed: 1 0; \ + GENLIST_PARAM_ICON_68_NOT_MIN \ + ) \ + ) + + #define GENLIST_PART_ICON_LTB(NAME, LEFT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM,\ + fixed: 1 1; \ + ) \ + ) + + #define GENLIST_PART_ICON_68_LTB(NAME, LEFT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM,\ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + ) \ + ) + + #define GENLIST_PART_ICON_68_LTB_NONFIXED(NAME, LEFT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + ) \ + ) + + #define GENLIST_PART_ICON_68_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + ) \ + ) + + #define GENLIST_PART_ICON_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + ) \ + ) + + + #define GENLIST_PART_ICON_68_R_DESCRIPTION(NAME, RIGHT, DESCRIPTION) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_68 \ + ) \ + DESCRIPTION \ + ) + +/////////////////////////////////////////////////////////////////////////////// +// prev genlist_macro +/////////////////////////////////////////////////////////////////////////////// + + #define GENLIST_PART_PADDING_L_SIZE_WHITE( NAME, LEFT, SIZE ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 0; \ + min: SIZE 0; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + } + #define GENLIST_PART_PADDING_R_SIZE_WHITE( NAME, RIGHT, SIZE ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 0; \ + min: SIZE 0; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + } + + #define GENLIST_PART_PADDING_T_SIZE_WHITE( NAME, TOP, SIZE ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + fixed: 0 1; \ + visible: 0; \ + align: 0.5 0; \ + rel1 { \ + relative: 0 1; \ + to: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to: TOP; \ + } \ + } \ + } + + #define GENLIST_PART_PADDING_B_SIZE_WHITE( NAME, BOTTOM, SIZE ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + fixed: 0 1; \ + visible: 0; \ + align: 0.5 1; \ + rel1 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + rel2 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + } \ + } + + #define GENLIST_DESCRIPTION_SUBITEM_OTHERS_WHITE \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_DIM_COLOR; \ + } + + #define GENLIST_DESCRIPTION_LISTITEM_OTHERS_WHITE \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_DIM_COLOR; \ + } + + #define GENLIST_PROGRAM_DISCLIP_WHITE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disclip"; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disclip"; \ + TARGET \ + } + + #define GENLIST_PROGRAM_SELECT_BOTTOM_LINE_WHITE( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + transition: LINEAR 0.1; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + + #define GENLIST_PART_LISTITEM_LR_TB_WHITE(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + GENLIST_PART_TEXTBLOCK_WHITE(NAME, \ + GENLIST_DESCRIPTION_LR_WHITE(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_DEFAULT_TB_WHITE \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WHITE \ + ) + + #define GENLIST_PART_DISCLIP_WHITE \ + part { name: "disclip"; \ + type: RECT; \ + description { state: "default" 0.0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_DISCLIP_COLOR; \ + } \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + + #define GENLIST_PART_BASE_BOTTOM_LINE_WHITE \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + color: 0 0 0 0; \ + rel2.relative: 1 0; \ + rel2.to: "bottom_line"; \ + } \ + } \ + GENLIST_PART_BOTTOM_LINE_WHITE + + #define GENLIST_PART_BOTTOM_LINE_WHITE \ + part { name: "bottom_line"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color: GENLIST_LIST_LINE1_COLOR; \ + rel1.to: "bottom_line2"; \ + rel1.offset: 0 -1; \ + rel2.to: "bottom_line2"; \ + rel2.offset: 0 -1; \ + rel2.relative: 1 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + } \ + part { name: "bottom_line2"; \ + type: RECT; \ + mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color: GENLIST_LIST_LINE2_COLOR; \ + rel1.relative: 0 1; \ + rel1.offset: 10 -1; /*FIXME: 1pixel is not seen without this*/ \ + rel2.offset: -10 -1; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + + #define GENLIST_PART_PADDING_LEFT_SIZE_WHITE( SIZE ) \ + part { name: "elm.padding.left"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE 0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 0.0 1.0; \ + } \ + } + + #define GENLIST_PART_PADDING_RIGHT_SIZE_WHITE( SIZE ) \ + part { name: "elm.padding.right"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE 0; \ + fixed: 1 0; \ + visible: 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + } \ + } + + #define GENLIST_PART_PADDING_TOP_SIZE_WHITE( SIZE ) \ + part { name: "elm.padding.top"; \ + type: RECT; \ + scale: 1; \ + description { \ + state: "default" 0.0; \ + min: 0 SIZE; \ + fixed: 0 1; \ + visible: 0; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 1.0 0.0; \ + align: 0.5 0.0; \ + } \ + } + + #define GENLIST_PART_PADDING_BOTTOM_SIZE_WHITE( SIZE ) \ + part { name: "elm.padding.bottom"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + fixed: 0 1; \ + visible: 0; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + } \ + } + + #define GENLIST_PART_FLIP_WHITE \ + part { name: "flip_event_block";\ + type: RECT;\ + mouse_events: 0; \ + repeat_events: 0;\ + description { state: "default" 0.0;\ + visible: 0; \ + color: 0 0 0 0; \ + } \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 0 0 255;\ + }\ + }\ + part { name: "elm.flip.content.left"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 16 0; \ + fixed: 1 0; \ + visible: 0; \ + align: 0 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: "base"; \ + to_y: "base"; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: "base"; \ + to_y: "base"; \ + } \ + } \ + } \ + part { name: "elm.flip.content"; \ + type: SWALLOW; \ + scale: 1; \ + GENLIST_DESCRIPTION_LR("elm.flip.content.left", "elm.flip.icon.left", \ + aspect: 1 1; visible: 0; ) \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + GENLIST_PART_PADDING_R_SIZE_WHITE("elm.flip.icon.left", "elm.flip.icon", 16) \ + part { name: "elm.flip.icon"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + aspect: 1 1; \ + align: 1 0.5; \ + max: 132 72; \ + rel1 { \ + relative: 0 0; \ + to_x: "elm.flip.icon.right"; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: "elm.flip.icon.right"; \ + } \ + } \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "elm.flip.icon.right"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 16 0; \ + fixed: 1 0; \ + visible: 0; \ + align: 1 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: "base"; \ + to_y: "base"; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: "base"; \ + to_y: "base"; \ + } \ + } \ + } + + #define GENLIST_PART_TEXT_WHITE(NAME, DESCRIPION) \ + part { name: NAME; \ + clip_to: "disclip"; \ + scale: 1; \ + mouse_events: 0; \ + type: TEXT; \ + DESCRIPION \ + } + + #define GENLIST_PART_TEXTBLOCK_WHITE(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + mouse_events: 0; \ + type: TEXTBLOCK; \ + DESCRIPION \ + } + + #define GENLIST_DESCRIPTION_LISTITEM_OTHERS_WHITE \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_DIM_COLOR; \ + } + + #define GENLIST_DESCRIPTION_SUBITEM_OTHERS_WHITE \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_DIM_COLOR; \ + } + + #define GENLIST_PROGRAM_DISCLIP_WHITE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disclip"; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disclip"; \ + TARGET \ + } + + #define GENLIST_PROGRAM_SELECT_BOTTOM_LINE_WHITE( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + transition: LINEAR 0.1; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + + #define GENLIST_PROGRAM_FLIP_WHITE \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "disclip"; \ + after: "flip_enabled_next"; \ + } \ + program { name: "flip_enabled_next"; \ + action: STATE_SET "flip_enabled" 0.0; \ + transition: DECELERATE 0.5; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + transition: DECELERATE 0.5; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + after: "flip_disabled_next"; \ + } \ + program { name: "flip_disabled_next"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disclip"; \ + } + + #define GENLIST_PART_PADDING_L_WHITE( NAME, LEFT ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + } + #define GENLIST_PART_PADDING_R_WHITE( NAME, RIGHT ) \ + part { name: NAME; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + } + + #define GENLIST_PART_LISTITEM_WHITE_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_DEFAULT \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_WHITE \ + ) + + #define GENLIST_PART_SUBITEM_LRB_WHITE(NAME, HEIGHT, LEFT, RIGHT, BOTTOM, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + PARAM; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_OTHERS_WHITE \ + ) + + #define GENLIST_PART_LISTITEM_LR_WHITE(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_DEFAULT_WHITE \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_WHITE \ + ) + + #define GENLIST_PARAM_LISTITEM_DEFAULT_TB_WHITE \ + text { \ + min: 0 1; \ + style: "genlist_style_list_main_text_default"; \ + } + + #define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WHITE \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_focus"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_dim"; \ + } + + #define GENLIST_PARAM_LISTITEM_DEFAULT_WHITE \ + color: GENLIST_LIST_MAIN_TEXT_DEFAULT_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Regular"; \ + size: GENLIST_LIST_MAIN_TEXT_SIZE; \ + text_class: "list_item"; \ + } + + #define GENLIST_PART_BASE_WHITE \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + color: 0 0 0 0; \ + } \ + } + + #define GENLIST_DESCRIPTION_LR_WHITE( left, right, param ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: "base"; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: right;\ + to_y: "base"; \ + }\ + param\ + } + +//****************************************************************************// +// ******************************* Default size macro **********************// +//**************************************************************************// +// if size is different for each theme, split it into each theme inc. + +#define GENLIST_HEIGHT_1LINE 112 +#define GENLIST_HEIGHT_2LINE_MAIN 54 +#define GENLIST_HEIGHT_2LINE_SUB 42 +#define GENLIST_HEIGHT_3LINE_MAIN 54 +#define GENLIST_HEIGHT_3LINE_SUB1 42 +#define GENLIST_HEIGHT_3LINE_SUB2 38 +#define GENLIST_HEIGHT_MULTILINE_SUB 38 +#define GENLIST_PART_LIST_LINE_HEIGHT 1 +#define GENLIST_HEIGHT_GROUPTITLE 46 + +#define GENLIST_PADDING_SIZE_DEFAULT 16 +#define GENLIST_PADDING_SIZE_LEFT 26 +#define GENLIST_PADDING_SIZE_RIGHT 26 +#define GENLIST_PADDING_SIZE_TOP_2LINE 22 +#define GENLIST_PADDING_SIZE_BOTTOM_2LINE 22 +#define GENLIST_PADDING_SIZE_TOP_3LINE 17 +#define GENLIST_PADDING_SIZE_BOTTOM_3LINE 17 +#define GENLIST_PADDING_SIZE_NDEPTH 26 + +#define DIALOGUE_PADDING_SCROLLER 16 +#define DIALOGUE_PADDING_SIZE_LEFT 16+20 +#define DIALOGUE_PADDING_SIZE_RIGHT 16+20 + +#define GENLIST_ICON_BIG_SIZE 74 +#define GENLIST_ICON_SMALL_SIZE 38 +#define GENLIST_ICON_STAR_SIZE 38 +#define GENLIST_ICON_THUMBNAIL1_SIZE 104 +#define GENLIST_BTN_01_HEIGHT 74 +#define GENLIST_BTN_02_SIZE 74 +#define GENLIST_ICON_ONOFF_WIDTH 132 +#define GENLIST_ICON_ONOFF_HEIGHT 70 +#define GENLIST_ICON_CHECK_RADIO_SIZE 64 +#define GENLIST_ICON_COLORBAR_SIZE 7 +#define GENLIST_ICON_PASSWORD_SIZE 82 + +#define GENLIST_TREESIZE_DEFAULT 26 + +//#define GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT 40 + +//****************************************************************************// +// ***************** EDJE description have 24 patterns **********************// + //**************************************************************************// +// ------------------ +// | PART == HERE | +// ------------------ + #define GENLIST_DESCRIPTION_ENVELOP( PART, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 0 0; \ + to: PART; \ + }\ + rel2 {\ + relative: 1 1;\ + to: PART; \ + }\ + PARAM\ + } + +// | top | +// --------------------- +// left | HERE | right +// --------------------- +// | bottom | +#define GENLIST_DESCRIPTION( left, right, top, bottom, param ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 1; \ + to_x: left; \ + to_y: top; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: right;\ + to_y: bottom;\ + }\ + param\ + } + +// --------------------- +// left |--> HERE +// --------------------- +#define GENLIST_DESCRIPTION_L( left, param ) \ + description { state: "default" 0.0;\ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: "base"; \ + }\ + rel2 { \ + relative: 1 1;\ + to_x: left; \ + to_y: "base"; \ + }\ + param\ + } + +// --------------------- +// HERE <--| right +// --------------------- +#define GENLIST_DESCRIPTION_R( right, param ) \ + description { state: "default" 0.0;\ + align: 1 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0 0; \ + to_x: right; \ + to_y: "base"; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: right; \ + to_y: "base"; \ + }\ + param\ + } + +// -------------------------- +// left |--> HERE <--| right +// -------------------------- +#define GENLIST_DESCRIPTION_LR( left, right, param ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: "base"; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: right;\ + to_y: "base"; \ + }\ + param\ + } + +// | top | +// ----------------- +// | HERE <--| right +// ----------------- +// | bottom | +#define GENLIST_DESCRIPTION_RTB( right, top, bottom, param ) \ + description { state: "default" 0.0;\ + align: 1 0.5;\ + rel1 { \ + relative: 0 1; \ + to_x: right; \ + to_y: top; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: right;\ + to_y: bottom;\ + }\ + param\ + } + +// left | HERE | right +// --------------------- +// | bottom | +#define GENLIST_DESCRIPTION_LRB( left, right, bottom, param ) \ + description { state: "default" 0.0;\ + align: 0.5 1;\ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: bottom; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: right;\ + to_y: bottom;\ + }\ + param\ + } + +// | top | +// --------------------- +// left | HERE | right +#define GENLIST_DESCRIPTION_LRT( left, right, top, param ) \ + description { state: "default" 0.0;\ + align: 0.5 0;\ + rel1 { \ + relative: 1 1; \ + to_x: left; \ + to_y: top; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: right;\ + to_y: top;\ + }\ + param\ + } + +// | top | +// --------------------- +// left | --> HERE | +#define GENLIST_DESCRIPTION_LT( left, top, param ) \ + description { state: "default" 0.0;\ + align: 0 0;\ + rel1 { \ + relative: 1 1; \ + to_x: left; \ + to_y: top; \ + }\ + rel2 {\ + relative: 1 1;\ + to_x: left;\ + to_y: top;\ + }\ + param\ + } + +// left | --> HERE | +// --------------------- +// | bottom | +#define GENLIST_DESCRIPTION_LB( left, bottom, param ) \ + description { state: "default" 0.0;\ + align: 0 1;\ + rel1 { \ + relative: 1 0; \ + to_x: left; \ + to_y: bottom; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: left;\ + to_y: bottom;\ + }\ + param\ + } + +// | top | +// --------------------- +// left |--> HERE | +// --------------------- +// | bottom | +#define GENLIST_DESCRIPTION_LTB( left, top, bottom, param ) \ + description { state: "default" 0.0;\ + align: 0 0.5;\ + rel1 { \ + relative: 1 1; \ + to_x: left; \ + to_y: top; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: left;\ + to_y: bottom;\ + }\ + param\ + } + +// | top | +// --------------------- +// | HERE <--| right +#define GENLIST_DESCRIPTION_RT( right, top, param ) \ + description { state: "default" 0.0;\ + align: 1 0;\ + rel1 { \ + relative: 0 1; \ + to_x: right; \ + to_y: top; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: right;\ + to_y: top;\ + }\ + param\ + } + +// | HERE <-- | right +// --------------------- +// | bottom | +#define GENLIST_DESCRIPTION_RB( right, bottom, param ) \ + description { state: "default" 0.0;\ + align: 1 1;\ + rel1 { \ + relative: 0 0; \ + to_x: right; \ + to_y: bottom; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: right;\ + to_y: bottom;\ + }\ + param\ + } + +// | top | +// ---------- +// | HERE | +// ---------- +// | bottom | +#define GENLIST_DESCRIPTION_TB( top, bottom, param ) \ + description { state: "default" 0.0;\ + align: 0.5 0.5;\ + rel1 { \ + relative: 0 1; \ + to_y: top; \ + }\ + rel2 {\ + relative: 1 0;\ + to_y: bottom;\ + }\ + param\ + } + +#define GENLIST_DATA_ITEM_NORMAL \ + data.item: "stacking" "above"; \ + data.item: "selectraise" "on"; \ + data.item: "flips" "elm.flip.icon elm.flip.content"; \ + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + +/*****************************************************************************/ +/******************************* Dialogue group ******************************/ +/*****************************************************************************/ +#define GENLIST_DIALOGUE_INHERIT_BODY( _PARTS ) \ + data.item: "treesize" 0; \ + GENLIST_IMAGES_DIALOGUE_BG_IMAGE \ + parts { \ + GENLIST_PART_BG_IMAGE_DIALOGUE \ + GENLIST_PART_BOTTOM_LINE_OFF \ + GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) \ + GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( DIALOGUE_PADDING_SIZE_RIGHT ) \ + _PARTS \ + GENLIST_PART_FLIP \ + } + +//****************************************************************************// +// ****************************** BG Image **********************************// +//****************************************************************************// +#define GENLIST_IMAGE_GROUPINDEX \ + images { \ + image: "00_index list_bg.png" COMP; \ + } +#define GENLIST_PART_INDEX_BG_IMAGE \ + part { name: "bg_image"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PART_BG_IMAGE \ + part { name: "bg_image_clip"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "2depth" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "bg_image"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: GENLIST_LIST_BG_COLOR; \ + } \ + description { state: "selected" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + color: GENLIST_LIST_DIM_COLOR; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_IMAGES_DIALOGUE_BG_IMAGE \ + images { \ + image : "00_list_group_bg.png" COMP; \ + image : "00_list_group_bg_top.png" COMP; \ + image : "00_list_group_bg_center.png" COMP; \ + image : "00_list_group_bg_bottom.png" COMP; \ + image : "00_list_group_bg_press.png" COMP; \ + image : "00_list_group_bg_top_press.png" COMP; \ + image : "00_list_group_bg_center_press.png" COMP; \ + image : "00_list_group_bg_bottom_press.png" COMP; \ + } + +#define GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + rel1 { \ + to_x: "bg_image_left"; \ + relative: 1 0; \ + } \ + rel2 { \ + to_x: "bg_image_right"; \ + relative: 0 1; \ + } + +#define GENLIST_PART_BG_IMAGE_DIALOGUE \ + part { name: "bg_image_clip"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "2depth" 0.0; \ + color: 220 218 211 255; \ + } \ + } \ + part { name: "bg_image_left"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 0 0.5; \ + rel2.relative: 0 1; \ + } \ + } \ + part { name: "bg_image_right"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 1 0.5; \ + rel1.relative: 1 0; \ + } \ + description { state: "editmode" 0.0; \ + inherit: "default" 0.0; \ + min: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_BIG_SIZE) 0; \ + max: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_BIG_SIZE) 0; \ + } \ + } \ + part { name: "bg_image"; \ + clip_to: "bg_image_clip"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 255 255 255 255; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg.png"; \ + border: 14 14 10 10; \ + border_scale: 1; \ + } \ + } \ + description { state: "selected" 0.0; \ + color: 255 255 255 255; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_press.png"; \ + border: 14 14 10 10; \ + border_scale: 1; \ + } \ + } \ + description { state: "top" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_top.png"; \ + border: 14 14 10 2; \ + border_scale: 1; \ + } \ + } \ + description { state: "top_selected" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_top_press.png"; \ + border: 14 14 10 2; \ + border_scale: 1; \ + } \ + } \ + description { state: "center" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_center.png"; \ + border: 14 14 2 2; \ + border_scale: 1; \ + } \ + } \ + description { state: "center_selected" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_center_press.png"; \ + border: 14 14 2 2; \ + border_scale: 1; \ + } \ + } \ + description { state: "bottom" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_bottom.png"; \ + border: 14 14 2 10; \ + border_scale: 1; \ + } \ + } \ + description { state: "bottom_selected" 0.0; \ + GENLIST_PARAM_BG_IMAGE_DIALOGUE \ + image { \ + normal: "00_list_group_bg_bottom_press.png"; \ + border: 14 14 2 10; \ + border_scale: 1; \ + } \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default"; \ + color: 255 255 255 255; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } + +//****************************************************************************// +// ****************************** BASE ********************************// +//****************************************************************************// +#define GENLIST_PART_BASE \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + color: 0 0 0 0; \ + } \ + } \ + GENLIST_PART_PERSPECTIVE_POINT + +#define GENLIST_PART_BASE_REORDER \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + color: 0 0 0 0; \ + rel1 { \ + relative: 1 0; \ + to_x: "reorder.padding.left"; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: "reorder.padding.right"; \ + } \ + } \ + } \ + part { name: "reorder.padding.left"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel2.relative: 0 1; \ + align: 0 0.5; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + } \ + } \ + part { name: "reorder.padding.right"; \ + type: SPACER; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.relative: 1 0; \ + align: 1 0.5; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 16 0; \ + max: 16 -1; \ + } \ + } \ + GENLIST_PART_PERSPECTIVE_POINT + +//****************************************************************************// +// ****************************** LINE ********************************// +//****************************************************************************// +#define GENLIST_PART_BOTTOM_LINE \ + part { name: "bottom_line"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color: GENLIST_LIST_LINE1_COLOR; \ + rel1.to: "bottom_line2"; \ + rel2.to: "bottom_line2"; \ + rel2.relative: 1 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_DIM_COLOR; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } \ + part { name: "bottom_line2"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ + max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ + fixed: 0 1; \ + align: 0.5 1; \ + color: GENLIST_LIST_LINE2_COLOR; \ + rel1.to_x: "elm.padding.left"; \ + rel1.relative: 1 0; \ + rel2.to_x: "elm.padding.right"; \ + rel2.relative: 0 1; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_PRESS_COLOR; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_DIM_COLOR; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PART_BOTTOM_LINE_OFF \ + part { name: "bottom_line"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } \ + part { name: "bottom_line2"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PART_DIVIDER_MARGIN \ + GENLIST_PART_SPACER("elm.padding.divider.top", \ + GENLIST_DESCRIPTION_ENVELOP("base", \ + align: 0.5 0; \ + min: 0 30; \ + max: -1 30; \ + fixed: 0 1; \ + rel2.relative: 1 0; \ + ) \ + ) \ + GENLIST_PART_SPACER("elm.padding.divider.bottom", \ + GENLIST_DESCRIPTION_ENVELOP("base", \ + align: 0.5 1; \ + min: 0 30; \ + max: -1 30; \ + fixed: 0 1; \ + rel1.relative: 0 1; \ + ) \ + ) \ + +#define GENLIST_PART_DIVIDER_L(LEFT) \ + GENLIST_PART_DIVIDER_MARGIN \ + GENLIST_PART_RECT("elm.divider1", \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + color: GENLIST_LIST_DIVIDER1_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) \ + GENLIST_PART_RECT("elm.divider2", \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + color: GENLIST_LIST_DIVIDER2_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) + +#define GENLIST_PART_DIVIDER_R(RIGHT) \ + GENLIST_PART_DIVIDER_MARGIN \ + GENLIST_PART_RECT("elm.divider1", \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + color: GENLIST_LIST_DIVIDER1_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) \ + GENLIST_PART_RECT("elm.divider2", \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ + min: 1 0; \ + max: 1 -1; \ + fixed: 1 0; \ + color: GENLIST_LIST_DIVIDER2_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) + +#define GENLIST_PART_CENTER_LINE_LT(LEFT, TOP) \ + GENLIST_PART_SPACER("elm.padding.divider.left", \ + GENLIST_DESCRIPTION_L(LEFT, \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + ) \ + ) \ + GENLIST_PART_SPACER("elm.padding.divider.right", \ + GENLIST_DESCRIPTION_ENVELOP("base", \ + min: 16 0; \ + max: 16 -1; \ + fixed: 1 0; \ + align: 1 0.5; \ + rel1.relative: 1 0; \ + ) \ + ) \ + GENLIST_PART_RECT("center_line", \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_LRT("elm.padding.divider.left", "elm.padding.divider.right", TOP, \ + min: 0 1; \ + max: -1 1; \ + fixed: 0 1; \ + color: GENLIST_LIST_DIVIDER1_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) \ + GENLIST_PART_RECT("center_line2", \ + GENLIST_DESCRIPTION_LRT("elm.padding.divider.left", "elm.padding.divider.right", "center_line", \ + min: 0 1; \ + max: -1 1; \ + fixed: 0 1; \ + color: GENLIST_LIST_DIVIDER2_COLOR; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) + +#define GENLIST_PART_COLORBAR \ + GENLIST_PART_SPACER("elm.padding.colorbar.top", \ + GENLIST_DESCRIPTION_ENVELOP("base", \ + align: 0.5 0; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel2.relative: 1 0; \ + ) \ + ) \ + GENLIST_PART_SPACER("elm.padding.colorbar.bottom", \ + GENLIST_DESCRIPTION_ENVELOP("base", \ + align: 0.5 1; \ + fixed: 0 1; \ + min: 0 4; \ + max: -1 4; \ + rel1.relative: 0 1; \ + ) \ + ) \ + GENLIST_PART_ICON("elm.swallow.colorbar", \ + GENLIST_DESCRIPTION_LTB("bg_image", "elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \ + min: GENLIST_ICON_COLORBAR_SIZE 0; \ + max: GENLIST_ICON_COLORBAR_SIZE -1; \ + fixed: 1 0; \ + rel1.relative: 0 1; \ + rel2.relative: 0 0; \ + ) \ + GENLIST_DESCRIPTION_FADE \ + ) + +//****************************************************************************// +//********************************* PADDING **********************************// +//****************************************************************************// +#define GENLIST_PART_EXPANDED_PAD \ + part { name: "elm.swallow.pad"; \ + type: SWALLOW; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 0 0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 0.0 1.0; \ + } \ + } \ + +#define GENLIST_PART_PADDING( NAME, SIZE, REL1, REL2 ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + align: 0.5 0.5; \ + rel1 { \ + relative: REL1; \ + to: "base"; \ + } \ + rel2 { \ + relative: REL2; \ + to: "base"; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_LEFT \ + GENLIST_PART_EXPANDED_PAD \ + GENLIST_PART_SPACER("elm.padding.left", \ + GENLIST_DESCRIPTION_L("elm.swallow.pad", \ + min: GENLIST_PADDING_SIZE_LEFT 0; \ + max: GENLIST_PADDING_SIZE_LEFT -1; \ + fixed: 1 0; \ + ) \ + ) + +#define GENLIST_PART_PADDING_LEFT_SIZE( SIZE ) \ + GENLIST_PART_EXPANDED_PAD \ + GENLIST_PART_SPACER("elm.padding.left", \ + GENLIST_DESCRIPTION_L("elm.swallow.pad", \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + ) \ + ) + +#define GENLIST_PART_EDITBTN \ + part { name: "elm.icon.edit"; \ + type: SWALLOW; \ + scale: 1; \ + GENLIST_DESCRIPTION_R("elm.padding.edit.right", \ + fixed: 1 1; \ + visible: 0; \ + min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \ + max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \ + ) \ + description { state: "editmode" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + GENLIST_PART_SPACER("elm.padding.edit.right", \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + min: GENLIST_PADDING_SIZE_RIGHT 0; \ + max: GENLIST_PADDING_SIZE_RIGHT -1; \ + } \ + ) + +#define GENLIST_PART_PADDING_RIGHT \ + GENLIST_PART_SPACER("elm.padding.right", \ + description { state: "default" 0.0; \ + min: GENLIST_PADDING_SIZE_RIGHT 0; \ + max: GENLIST_PADDING_SIZE_RIGHT -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + } \ + ) + +#define GENLIST_PART_PADDING_RIGHT_SIZE( SIZE ) \ + GENLIST_PART_SPACER("elm.padding.right", \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + } \ + ) + +#define GENLIST_PART_PADDING_RIGHT_EDIT \ + GENLIST_PART_SPACER("elm.padding.right", \ + description { state: "default" 0.0; \ + min: GENLIST_PADDING_SIZE_RIGHT 0; \ + max: GENLIST_PADDING_SIZE_RIGHT -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + } \ + description { state: "editmode" 0.0; \ + inherit: "default" 0.0; \ + min: (DIALOGUE_PADDING_SIZE_RIGHT+GENLIST_ICON_BIG_SIZE+GENLIST_PADDING_SIZE_RIGHT) 0; \ + max: (DIALOGUE_PADDING_SIZE_RIGHT+GENLIST_ICON_BIG_SIZE+GENLIST_PADDING_SIZE_RIGHT) -1; \ + } \ + ) \ + GENLIST_PART_EDITBTN + +#define GENLIST_PART_PADDING_RIGHT_SIZE_EDIT( SIZE ) \ + GENLIST_PART_SPACER("elm.padding.right", \ + description { state: "default" 0.0; \ + min: SIZE 0; \ + max: SIZE -1; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 1 0; \ + } \ + description { state: "editmode" 0.0; \ + inherit: "default" 0.0; \ + min: (DIALOGUE_PADDING_SIZE_RIGHT+SIZE+GENLIST_ICON_BIG_SIZE) 0; \ + max: (DIALOGUE_PADDING_SIZE_RIGHT+SIZE+GENLIST_ICON_BIG_SIZE) -1; \ + } \ + ) \ + GENLIST_PART_EDITBTN + +#define GENLIST_PART_PADDING_TOP_2LINE \ + GENLIST_PART_SPACER("elm.padding.top", \ + description { \ + state: "default" 0.0; \ + min: 0 GENLIST_PADDING_SIZE_TOP_2LINE; \ + max: -1 GENLIST_PADDING_SIZE_TOP_2LINE; \ + fixed: 0 1; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 1.0 0.0; \ + align: 0.5 0.0; \ + } \ + ) + +#define GENLIST_PART_PADDING_TOP_SIZE( SIZE ) \ + GENLIST_PART_SPACER("elm.padding.top", \ + description { \ + state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel2.relative: 1.0 0.0; \ + align: 0.5 0.0; \ + } \ + ) + + +#define GENLIST_PART_PADDING_BOTTOM_2LINE \ + GENLIST_PART_SPACER("elm.padding.bottom", \ + description { state: "default" 0.0; \ + min: 0 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \ + max: -1 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \ + fixed: 0 1; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + } \ + ) + +#define GENLIST_PART_PADDING_BOTTOM_SIZE( SIZE ) \ + GENLIST_PART_SPACER("elm.padding.bottom", \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + rel1.to: "base"; \ + rel2.to: "base"; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + } \ + ) + +#define GENLIST_PART_PADDING_R( NAME, RIGHT ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + max: GENLIST_PADDING_SIZE_DEFAULT -1; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_R_SIZE( NAME, RIGHT, SIZE ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: SIZE 0; \ + max: SIZE -1; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_L( NAME, LEFT ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + max: GENLIST_PADDING_SIZE_DEFAULT -1; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_L_SIZE( NAME, LEFT, SIZE ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: SIZE 0; \ + max: SIZE -1; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + } \ + ) + + +#define GENLIST_PART_PADDING_T_SIZE( NAME, TOP, SIZE ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + align: 0.5 0; \ + rel1 { \ + relative: 0 1; \ + to: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to: TOP; \ + } \ + } \ + ) + +#define GENLIST_PART_PADDING_B_SIZE( NAME, BOTTOM, SIZE ) \ + GENLIST_PART_SPACER(NAME, \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: -1 SIZE; \ + fixed: 0 1; \ + align: 0.5 1; \ + rel1 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + rel2 { \ + relative: 0.5 0; \ + to: BOTTOM; \ + } \ + } \ + ) + +#define GENLIST_PART_PERSPECTIVE_POINT \ + GENLIST_PART_RECT("point", \ + description { \ + state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { relative: 0.0 0.0; } \ + rel2 { relative: 1.0 0.0; } \ + } \ + ) + +#define GENLIST_DESCRIPTION_ROTATE( param_x, param_y, param_z ) \ + description { state: "map_contracted" 0.0; \ + inherit: "default" 0.0; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: param_x; \ + y: param_y; \ + z: param_z; \ + } \ + } \ + } \ + description { state: "map_expanded" 0.0; \ + inherit: "default" 0.0; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: 0; \ + y: 0; \ + z: 0; \ + } \ + } \ + } \ + description { \ + state: "hide" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } + +#define GENLIST_PROGRAM_ROTATE( TARGET ) \ + program { name: "map_expand_start"; \ + signal: "flip_item"; \ + action: STATE_SET "map_contracted" 0.0; \ + target: "bg_image"; \ + TARGET \ + after: "map_expanding"; \ + } \ + program { name: "map_expanding"; \ + action: STATE_SET "hide" 0.0; \ + transition: LINEAR 0.2; \ + target: "bg_image"; \ + TARGET \ + after: "map_expand_end"; \ + } \ + program { name: "map_expand_end"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + TARGET \ + } \ + program { name: "map_contract_start"; \ + signal: "elm,state,contract_flip"; \ + action: STATE_SET "map_expanded" 0.0; \ + target: "bg_image"; \ + TARGET \ + after: "map_contracting"; \ + } \ + program { name: "map_contracting"; \ + action: STATE_SET "map_contracted" 0.0; \ + transition: LINEAR 0.3; \ + target: "bg_image"; \ + TARGET \ + after: "map_contract_end"; \ + } \ + program { name: "map_contract_end"; \ + action: STATE_SET "hide" 0.0; \ + target: "bg_image"; \ + TARGET \ + } + +// FIXME: swallow part cannot be fade out ??? +#define GENLIST_DESCRIPTION_FADE_ICON \ + description { state: "fadeout" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 10; \ + visible: 0; \ + } \ + description { state: "fadein" 0.0; \ + inherit: "default" 0.0; \ + } \ + +#define GENLIST_DESCRIPTION_FADE \ + description { state: "fadeout" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 10; \ + } \ + description { state: "fadein" 0.0; \ + inherit: "default" 0.0; \ + } \ + +// FIXME: bg_color_change is used temporary +#define GENLIST_PROGRAM_EXPAND_FADE( TARGET ) \ + program { name: "bg_color_change"; \ + signal: "bg_color_change"; \ + action: STATE_SET "2depth" 0.0; \ + target: "bg_image_clip"; \ + after: "expand_start_fade"; \ + } \ + program { name: "expand_start_fade"; \ + signal: "flip_item"; \ + action: STATE_SET "fadeout" 0.0; \ + target: "bg_image"; \ + TARGET \ + after: "expand_end_fade"; \ + } \ + program { name: "expand_end_fade"; \ + action: STATE_SET "default" 0.0; \ + transition: DECELERATE 0.3; \ + target: "bg_image"; \ + TARGET \ + } \ + program { name: "contract_fade"; \ + signal: "elm,state,contract_flip"; \ + action: STATE_SET "fadein" 0.0; \ + target: "bg_image"; \ + TARGET \ + after: "contract_end_fade"; \ + } \ + program { name: "contract_end_fade"; \ + action: STATE_SET "fadeout" 0.0; \ + transition: ACCELERATE 0.3; \ + target: "bg_image"; \ + TARGET \ + } + +// FIXME: This do need now. I should find why this is used in genlist +#if 0 + program { \ + name: "show"; \ + signal: "elm,state,show"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { \ + name: "hide"; \ + signal: "elm,state,hide"; \ + action: STATE_SET "hide" 0.0; \ + TARGET \ + } +#endif + +#define GENLIST_PROGRAM_EXPAND_ROOT( TARGET ) \ + program { \ + name: "go_expanded"; \ + signal: "elm,state,expanded"; \ + source: "elm"; \ + action: STATE_SET "expand_opened" 0.0; \ + TARGET \ + } \ + program { \ + name: "go_contracted"; \ + signal: "elm,state,contracted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + + + +#define GENLIST_PROGRAM_EXPANDABLE( SRC ) \ + program { \ + name: "expand"; \ + signal: "mouse,up,1"; \ + SRC \ + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \ + } \ + +// 2.2.7 Genlist_Edit mode (Rename) +// FIXME: padding is not needed when swallow content is NULL. +// But how can edje kwno existence of swallow content? +#define GENLIST_PART_FLIP \ + part { name: "elm.flip.event_block";\ + type: RECT;\ + mouse_events: 0; \ + repeat_events: 0;\ + description { state: "default" 0.0;\ + visible: 0; \ + } \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: GENLIST_LIST_BG_COLOR;\ + }\ + }\ + part { name: "elm.flip.padding.left"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 26 0; \ + max: 26 -1; \ + fixed: 1 0; \ + visible: 0; \ + align: 0 0.5; \ + rel1 { \ + relative: 0 0; \ + to: "base"; \ + } \ + rel2 { \ + relative: 0 1; \ + to: "base"; \ + } \ + } \ + } \ + part { name: "elm.flip.padding.right"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 26 0; \ + max: 26 -1; \ + fixed: 1 0; \ + visible: 0; \ + align: 1 0.5; \ + rel1 { \ + relative: 1 0; \ + to: "base"; \ + } \ + rel2 { \ + relative: 1 1; \ + to: "base"; \ + } \ + } \ + } \ + part { name: "elm.flip.content"; \ + type: SWALLOW; \ + scale: 1; \ + GENLIST_DESCRIPTION_LR("elm.flip.padding.left", "elm.flip.padding.icon.left", \ + aspect: 1 1; visible: 0; ) \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + GENLIST_PART_PADDING_R("elm.flip.padding.icon.left", "elm.flip.icon") \ + GENLIST_PART_ICON( "elm.flip.icon", \ + GENLIST_DESCRIPTION_R("elm.flip.padding.right", \ + visible: 0; \ + aspect: 1 1; \ + align: 1 0.5; \ + max: 154 74;) \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + ) + +//****************************************************************************// +// ******************************* Programs ********************************// +//**************************************************************************// +// signal: elm,state,%s,active +// a "check" item named %s went active +// signal: elm,state,%s,passive +// a "check" item named %s went passive +// default is passive +#define GENLIST_PROGRAM_DISABLED( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "bg_image"; \ + TARGET \ + } + +#define GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + } + +#define GENLIST_PROGRAM_SELECT( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "bg_image"; \ + TARGET \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + TARGET \ + transition: LINEAR 0.1; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + +#define GENLIST_PROGRAM_SELECT_BOTTOMLINE( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + transition: LINEAR 0.1; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + +#define GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_image", st, 30, vl); \ + if (!strcmp(st, "top")) \ + set_state(PART:"bg_image", "top_selected", 0.0); \ + else if (!strcmp(st, "center")) \ + set_state(PART:"bg_image", "center_selected", 0.0); \ + else if (!strcmp(st, "bottom")) \ + set_state(PART:"bg_image", "bottom_selected", 0.0); \ + else \ + set_state(PART:"bg_image", "selected", 0.0); \ + } \ + after: "target_selected"; \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_image", st, 30, vl); \ + if (!strcmp(st, "top_selected")) \ + set_state(PART:"bg_image", "top", 0.0); \ + else if (!strcmp(st, "center_selected")) \ + set_state(PART:"bg_image", "center", 0.0); \ + else if (!strcmp(st, "bottom_selected")) \ + set_state(PART:"bg_image", "bottom", 0.0); \ + else \ + set_state(PART:"bg_image", "default", 0.0); \ + } \ + transition: LINEAR 0.1; \ + after: "target_unselected"; \ + } \ + program { name: "target_selected"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + }\ + program { name: "target_unselected"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + }\ + program { name: "bg_top"; \ + signal: "elm,state,top"; \ + source: "*"; \ + action: STATE_SET "top" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_center"; \ + signal: "elm,state,center"; \ + source: "*"; \ + action: STATE_SET "center" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_bottom"; \ + signal: "elm,state,bottom"; \ + source: "*"; \ + action: STATE_SET "bottom" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_default"; \ + signal: "elm,state,default"; \ + source: "*"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + +#define GENLIST_PROGRAM_SELECT_DIALOGUE_ARROW( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_image", st, 30, vl); \ + if (!strcmp(st, "top")) \ + set_state(PART:"bg_image", "top_selected", 0.0); \ + else if (!strcmp(st, "center")) \ + set_state(PART:"bg_image", "center_selected", 0.0); \ + else if (!strcmp(st, "bottom")) \ + set_state(PART:"bg_image", "bottom_selected", 0.0); \ + else \ + set_state(PART:"bg_image", "selected", 0.0); \ + get_state(PART:"arrow", st, 30, vl); \ + if (!strcmp(st, "default")) { \ + set_state(PART:"arrow", "default_press", 0.0); \ + set_state(PART:"arrow_clip", "default_press", 0.0); \ + } \ + else if (!strcmp(st, "expand_opened")) { \ + set_state(PART:"arrow", "expand_opened_press", 0.0); \ + set_state(PART:"arrow_clip", "expand_opened_press", 0.0); \ + } \ + } \ + after: "target_selected"; \ + after: "play_button_press"; \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"bg_image", st, 30, vl); \ + if (!strcmp(st, "top_selected")) \ + set_state(PART:"bg_image", "top", 0.0); \ + else if (!strcmp(st, "center_selected")) \ + set_state(PART:"bg_image", "center", 0.0); \ + else if (!strcmp(st, "bottom_selected")) \ + set_state(PART:"bg_image", "bottom", 0.0); \ + else \ + set_state(PART:"bg_image", "default", 0.0); \ + get_state(PART:"arrow", st, 30, vl); \ + if (!strcmp(st, "default_press")) { \ + set_state(PART:"arrow", "default", 0.0); \ + set_state(PART:"arrow_clip", "default", 0.0); \ + } \ + else if (!strcmp(st, "expand_opened_press")) { \ + set_state(PART:"arrow", "expand_opened", 0.0); \ + set_state(PART:"arrow_clip", "expand_opened", 0.0); \ + } \ + } \ + transition: LINEAR 0.1; \ + after: "target_unselected"; \ + } \ + program { name: "target_selected"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + }\ + program { name: "target_unselected"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + }\ + program { name: "bg_top"; \ + signal: "elm,state,top"; \ + source: "*"; \ + action: STATE_SET "top" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_center"; \ + signal: "elm,state,center"; \ + source: "*"; \ + action: STATE_SET "center" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_bottom"; \ + signal: "elm,state,bottom"; \ + source: "*"; \ + action: STATE_SET "bottom" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "bg_default"; \ + signal: "elm,state,default"; \ + source: "*"; \ + action: STATE_SET "default" 0.0; \ + target: "bg_image"; \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } + +#define GENLIST_PROGRAM_FLIP \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.flip.event_block"; \ + after: "flip_enabled_next"; \ + } \ + program { name: "flip_enabled_next"; \ + action: STATE_SET "flip_enabled" 0.0; \ + transition: DECELERATE 0.5; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + transition: DECELERATE 0.5; \ + target: "elm.flip.event_block"; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } + +#define GENLIST_PROGRAM_FLIP_TARGET( TARGET ) \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + transition: DECELERATE 0.5; \ + TARGET; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + transition: DECELERATE 0.5; \ + TARGET \ + } + +#define GENLIST_PROGRAM_EDITMODE \ + program { name: "edit_enabled"; \ + signal: "elm,state,edit,enabled"; \ + source: "*"; \ + action: STATE_SET "editmode" 0.0; \ + target: "elm.padding.right"; \ + target: "elm.icon.edit"; \ + target: "bg_image_right"; \ + } \ + program { name: "edit_disabled"; \ + signal: "elm,state,edit,disabled"; \ + source: "*"; \ + action: STATE_SET "editmode" 0.0; \ + target: "elm.padding.right"; \ + target: "elm.icon.edit"; \ + target: "bg_image_right"; \ + } + +#define GENLIST_PROGRAMS_INDEX( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + } + +#define GENLIST_PROGRAMS_NORMAL( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \ + GENLIST_PROGRAM_SELECT_BOTTOMLINE( TARGET ) \ + GENLIST_PROGRAM_EXPAND_FADE( target: "bottom_line"; target: "bottom_line2"; TARGET ) \ + GENLIST_PROGRAM_FLIP \ + } + +// FIXME: inheritance !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 +// if GENLIST_PROGRAM_EXPAND is here, expanda effect is something wrong. +// because after can be duplicated when program inheriting. +#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ + GENLIST_PROGRAM_FLIP \ + GENLIST_PROGRAM_EDITMODE \ + } + +#define GENLIST_PROGRAMS_MULTILINE( TARGET ) \ + programs { \ + GENLIST_PROGRAM_DISABLED( TARGET ) \ + GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ + GENLIST_PROGRAM_FLIP \ + } + +#define GENLIST_PROGRAMS_READ_TEXT1( TARGET ) \ + script { \ + public readed = 0; \ + } \ + programs { \ + GENLIST_PROGRAM_DISABLED_BOTTOMLINE( TARGET ) \ + GENLIST_PROGRAM_FLIP \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "bg_image"; \ + target: "bottom_line"; \ + target: "bottom_line2"; \ + TARGET \ + after: "play_button_press"; \ + } \ + program { name: "go_passive_target"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + after: "go_passive_text1"; \ + } \ + program { name: "go_passive_text1"; \ + transition: LINEAR 0.1; \ + script { \ + set_state(PART:"bg_image", "default", 0.0); \ + set_state(PART:"bottom_line", "default", 0.0); \ + set_state(PART:"bottom_line2", "default", 0.0); \ + if (get_int(readed) == 1) \ + set_state(PART:"elm.text.1", "read", 0.0); \ + else \ + set_state(PART:"elm.text.1", "default", 0.0); \ + } \ + } \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } \ + program { name: "go_read"; \ + signal: "elm,state,read"; \ + source: "*"; \ + script { \ + set_int(readed, 1); \ + set_state(PART:"elm.text.1", "read", 0.0); \ + } \ + } \ + program { name: "go_unread"; \ + signal: "elm,state,unread"; \ + source: "*"; \ + script { \ + set_int(readed, 0); \ + set_state(PART:"elm.text.1", "default", 0.0); \ + } \ + } \ + } + +//****************************************************************************// +// ******************************* Icon Part ******************************// +//***************************************************************************// +#define GENLIST_PART_ICON(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: SWALLOW; \ + DESCRIPION \ + GENLIST_DESCRIPTION_FADE_ICON \ + } + +#define GENLIST_PARAM_ICON_BIG \ + min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \ + max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; + +#define GENLIST_PARAM_ICON_SMALL \ + min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; \ + max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; + +#define GENLIST_PARAM_ICON_BTN_01 \ + min: 0 GENLIST_BTN_01_HEIGHT; \ + max: -1 GENLIST_BTN_01_HEIGHT; + +#define GENLIST_PARAM_ICON_BTN_02 \ + min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ + max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; + +#define GENLIST_PARAM_ICON_ONOFF_WIDTH \ + min: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; \ + max: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; + +#define GENLIST_PARAM_ICON_THUMBNAIL1\ + min: GENLIST_ICON_THUMBNAIL1_SIZE GENLIST_ICON_THUMBNAIL1_SIZE; \ + max: GENLIST_ICON_THUMBNAIL1_SIZE GENLIST_ICON_THUMBNAIL1_SIZE; + +#define GENLIST_PARAM_ICON_CHECK_RADIO \ + min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; \ + max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; + +#define GENLIST_PARAM_ICON_STAR \ + min: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ + max: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ + +#define GENLIST_PART_ICON_BIG_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_BIG \ + ) \ + ) + +#define GENLIST_PART_ICON_BIG_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_BIG \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT, \ + GENLIST_PARAM_ICON_SMALL \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_LB(NAME, LEFT, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \ + fixed: 1 1; \ + GENLIST_PARAM_ICON_SMALL \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_LTB(NAME, LEFT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_SMALL \ + ) \ + ) + +#define GENLIST_PART_ICON_SMALL_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_SMALL \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_01_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + GENLIST_PARAM_ICON_BTN_01 \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_02_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + GENLIST_PARAM_ICON_BTN_02 \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_ONOFF_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + GENLIST_PARAM_ICON_ONOFF_WIDTH \ + ) \ + ) + +#define GENLIST_PART_ICON_BTN_ONOFF_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT, \ + GENLIST_PARAM_ICON_ONOFF_WIDTH \ + ) \ + ) + +#define GENLIST_PART_ICON_THUMBNAIL1_R(NAME, RIGHT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + GENLIST_PARAM_ICON_THUMBNAIL1 \ + ) \ + ) + +#define GENLIST_PART_ICON_CHECK_RADIO_L(NAME, LEFT) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_L(LEFT, \ + GENLIST_PARAM_ICON_CHECK_RADIO \ + ) \ + ) + +#define GENLIST_PART_ICON_STAR_RTB(NAME, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_ICON(NAME, \ + GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_ICON_STAR \ + fixed: 1 1; \ + ) \ + ) + +/*****************************************************************************/ +/******************************* Genlist IMAGE ********************************/ +/*****************************************************************************/ +#define GENLIST_PART_IMAGE(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: IMAGE; \ + DESCRIPION \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PARAM_PASSWORD_IMAGE \ + min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \ + max: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \ + image.normal: "00_search_edit_field_bg_02.png"; \ + image.border: 4 4 4 4; \ + image.border_scale: 1; + +/*****************************************************************************/ +/******************************* Genlist Bubble ********************************/ +/*****************************************************************************/ +#define GENLIST_PARAM_BUBBLE \ + image { \ + normal: "00_list_bubble_bg.png"; \ + border: 8 8 0 0; \ + } \ + rel1.offset: -10 0; \ + rel2.offset: 10 0; + +#define GENLIST_PART_BUBBLE(TEXT_NAME) \ + GENLIST_PART_IMAGE("elm.bubble", \ + GENLIST_DESCRIPTION_ENVELOP(TEXT_NAME, \ + GENLIST_PARAM_BUBBLE \ + min: 48 38; \ + max: -1 38; \ + fixed: 0 1;) \ + GENLIST_DESCRIPTION_FADE \ + ) + +#define GENLIST_IMAGES_EXPANDABLE_BTN \ + images { \ + image: "00_button_expand_closed.png" COMP; \ + image: "00_button_expand_opened.png" COMP; \ + image: "00_button_expand_closed_press.png" COMP; \ + image: "00_button_expand_opened_press.png" COMP; \ + } + +#define GENLIST_PART_EXPANDABLE_ARROW \ + GENLIST_PART_ICON("touch_arrow", \ + ignore_flags: ON_HOLD; \ + GENLIST_DESCRIPTION_ENVELOP("arrow", ) \ + GENLIST_DESCRIPTION_FADE \ + ) \ + GENLIST_PART_RECT("arrow_clip", \ + GENLIST_DESCRIPTION_ENVELOP("arrow", \ + color: 101 101 101 255; \ + ) \ + description { state: "disabled" 0.0; \ + color: 101 101 101 76; \ + } \ + description { state: "expand_opened_press" 0.0; \ + color: 248 246 230 255; \ + } \ + description { state: "default_press" 0.0; \ + color: 248 246 230 255; \ + } \ + ) \ + GENLIST_PART_IMAGE("arrow", \ + clip_to: "arrow_clip"; \ + ignore_flags: ON_HOLD; \ + mouse_events: 0; \ + GENLIST_DESCRIPTION_R("elm.padding.right", \ + fixed: 1 1; \ + min: 74 74; \ + max: 74 74; \ + image.normal: "00_button_expand_closed.png"; \ + ) \ + description { state: "default_press" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_button_expand_closed_press.png"; \ + } \ + description { state: "expand_opened" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "00_button_expand_opened.png"; \ + } \ + description { state: "expand_opened_press" 0.0; \ + inherit: "expand_opened" 0.0; \ + image.normal: "00_button_expand_opened_press.png"; \ + } \ + GENLIST_DESCRIPTION_FADE \ + ) +/*****************************************************************************/ +/******************************* Genlist RECT ********************************/ +/*****************************************************************************/ +#define GENLIST_PART_SPACER(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + mouse_events: 0; \ + type: SPACER; \ + DESCRIPION \ + } + +#define GENLIST_PART_RECT(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: RECT; \ + DESCRIPION \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PART_INDEX_LINE(LEFT, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_RECT("index_line", \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + color: GENLIST_GROUPINDEX_LINE_COLOR; \ + min: 0 4; \ + max: -1 4;) \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_GROUPINDEX_LINE_FOCUS_COLOR; \ + } \ + ) + +/*****************************************************************************/ +/******************************* Genlist TEXT ********************************/ +/*****************************************************************************/ +#define GENLIST_PART_TEXT(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + mouse_events: 0; \ + type: TEXT; \ + DESCRIPION \ + GENLIST_DESCRIPTION_FADE \ + } + +#define GENLIST_PART_TEXTBLOCK(NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + mouse_events: 0; \ + type: TEXTBLOCK; \ + DESCRIPION \ + GENLIST_DESCRIPTION_FADE \ + } + +/*************************** parameters **********************************/ +#define GENLIST_PARAM_TEXT_LIMIT_RB \ + rel1.to_x: "base"; /* This limits text growing. */\ + rel1.relative: 0.5 0; /* This limits text growing. */\ + text.max: 1 0; /* This limits text growing. */ + +#define GENLIST_PARAM_TEXT_LIMIT_RT \ + rel1.to_x: "base"; /* This limits text growing. */\ + rel1.relative: 0.5 1; /* This limits text growing. */\ + text.max: 1 0; /* This limits text growing. */ + +// Group Index +#define GENLIST_PARAM_INDEX_LIST \ + color: GENLIST_GROUPINDEX_LIST_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_GROUPINDEX_LIST_SIZE; \ + text_class: "list_item"; \ + } + +// Group Title +#define GENLIST_PARAM_DIALOGUE_GROUP_TITLE \ + color: GENLIST_DIALOGUE_GROUP_TITLE_COLOR; \ + text { \ + align: 0.0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_DIALOGUE_GROUP_TITLE_SIZE; \ + text_class: "list_item"; \ + } + +// Password style +#define GENLIST_PARAM_PASSWORD_TITLE \ + color: DIALOGUE_PASSWORD_TITLE_COLOR; \ + text { \ + font: "SLP:style=Bold"; \ + size: DIALOGUE_PASSWORD_TITLE_SIZE; \ + min: 0 1; \ + align: 0 0.5; \ + text_class: "list_item"; \ + } + +// list main text +#define GENLIST_PARAM_LISTITEM \ + color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Regular"; \ + size: GENLIST_LIST_MAIN_TEXT_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_LISTITEM_TB \ + text { \ + min: 0 1; \ + style: "genlist_style_list_main_text_unread"; \ + } + +#define GENLIST_PARAM_LISTITEM_TB_WRAP \ + text { \ + min: 0 1; \ + style: "genlist_style_list_main_text_unread_wrap"; \ + } + +// list subtext +#define GENLIST_PARAM_SUBITEM_DEFAULT \ + color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Medium"; \ + size: GENLIST_LIST_SUB_TEXT_SIZE; \ + text_class: "slp"; \ + } + +#define GENLIST_PARAM_SUBITEM_SETTINGS \ + color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Medium"; \ + size: GENLIST_LIST_SUB_TEXT_SIZE; \ + text_class: "slp"; \ + } + +#define GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text_default"; \ + } + +#define GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text_default_wrap"; \ + } + +#define GENLIST_PARAM_SUBITEM_SETTINGS_TB \ + text { \ + min: 0 1; \ + style: "genlist_style_list_sub_text_settings"; \ + } + +#define GENLIST_PARAM_APPS_NAME\ + color: GENLIST_APPS_NAME_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_APPS_NAME_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_INC\ + color: GENLIST_APPS_INC_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_APPS_INC_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_RATING\ + color: GENLIST_APPS_RATING_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_APPS_RATING_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_PRICE\ + color: GENLIST_APPS_PRICE_ORIGINAL_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_APPS_PRICE_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_APPS_PRICE_SALE\ + color: GENLIST_APPS_PRICE_SALE_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_APPS_PRICE_SIZE; \ + text_class: "list_item"; \ + } + +#define GENLIST_PARAM_CONTENTS_TEXT \ + color: GENLIST_CONTENTS_TEXT_COLOR; \ + text { \ + align: 0 0.5; \ + min: 0 1; \ + font: "SLP:style=Regular"; \ + size: GENLIST_CONTENTS_TEXT_SIZE; \ + text_class: "slp"; \ + } + +/*************************** Descriptions **********************************/ +// group index +#define GENLIST_DESCRIPTION_INDEX_LIST \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_GROUPINDEX_LIST_FOCUS_COLOR; \ + } + +// list main text +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR; \ + } \ + description { state: "read" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_READ_COLOR; \ + } \ + description { state: "read,disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR; \ + } + +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_unread_dim"; \ + } \ + description { state: "read" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_read"; \ + } \ + description { state: "read,disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_read_dim"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_focus"; \ + } + +// list sub text +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_dim"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_focus"; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_default_dim_wrap"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_focus_wrap"; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR; \ + } + +#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_settings_dim"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_sub_text_focus"; \ + } + +// list main text multiline +#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_unread_dim_wrap"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: "genlist_style_list_main_text_focus_wrap"; \ + } + +/*************************** Parts **********************************/ +#define GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT(NAME, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + text { \ + min: 0 1; \ + style: "genlist_style_dialogue_group_help_text"; \ + } \ + PARAM) \ + ) + +#define GENLIST_PART_LISTITEM(NAME, DESCRIPTION) \ + GENLIST_PART_TEXT(NAME, \ + DESCRIPTION \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_TB(NAME, DESCRIPTION) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + DESCRIPTION \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS \ + ) + +#define GENLIST_PART_LISTITEM_LRT_TB(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_LISTITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_LISTITEM_TB \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM(NAME, DESCRIPTION) \ + GENLIST_PART_TEXT(NAME, \ + DESCRIPTION \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_DEFAULT_TB(NAME, DESCRIPTION) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + DESCRIPTION \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_R(NAME, HEIGHT, RIGHT) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RB(NAME, HEIGHT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RB_TB(NAME, HEIGHT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RB \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_R_FIXED(NAME, WIDTH, HEIGHT, RIGHT) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + min: WIDTH HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_R_FIXED_TB(NAME, WIDTH, HEIGHT, RIGHT) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_R(RIGHT, \ + min: WIDTH HEIGHT; \ + fixed: 1 0; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_L_FIXED(NAME, WIDTH, HEIGHT, LEFT) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_L(LEFT, \ + min: WIDTH HEIGHT; \ + fixed: 1 1; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + PARAM \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LB(NAME, HEIGHT, LEFT, RIGHT) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LRB_LIMIT(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + fixed: 1 1; align: 0 1; text.max: 1 0; // This limits text growing. \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_SETTINGS_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM, PARAM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_SETTINGS\ + PARAM; \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_SETTINGS_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_SUBITEM_SETTINGS_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \ + ) + +#define GENLIST_PART_SUBITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_LTB(NAME, HEIGHT, LEFT, TOP, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_SUBITEM_DEFAULT \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ + ) + +#define GENLIST_PART_SUBITEM_RTB_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_TEXTBLOCK(NAME, \ + GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_SUBITEM_DEFAULT_TB \ + ) \ + GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ + ) + +#define GENLIST_PARAM_LIST_BUBBLE_TEXT \ + color: GENLIST_LIST_BUBBLE_TEXT_COLOR; \ + text { \ + align: 1 0.5; \ + min: 0 1; \ + font: "SLP:style=Bold"; \ + size: GENLIST_LIST_BUBBLE_TEXT_SIZE; \ + text_class: "slp"; \ + } + +#define GENLIST_PART_LIST_BUBBLE_TEXT_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ + GENLIST_PART_TEXT(NAME, \ + GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ + min: 0 HEIGHT; \ + GENLIST_PARAM_TEXT_LIMIT_RT \ + GENLIST_PARAM_LIST_BUBBLE_TEXT \ + ) \ + ) + +#if 0 +#define GENLIST_PART_BASE__( param_item_height ) \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 param_item_height; \ + color: LAYOUT_GROUP_LIST_BG_COLOR_INC; \ + } \ + } + +#define GENLIST_PART_BG \ + part { name: "bg"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; \ + } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.025 0.0; } \ + rel2 { relative: 1.025 1.0; } \ + } \ + description { state: "hide" 0.1; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.13 0.0; } \ + rel2 { relative: 1.13 1.0; } \ + } \ + description { state: "hide" 0.2; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.5 0.0; } \ + rel2 { relative: 1.5 1.0; } \ + } \ + description { state: "hide" 0.3; \ + inherit: "default" 0.0; \ + rel1 { relative: 1.0 0.0; } \ + rel2 { relative: 2.0 1.0; } \ + } \ + } + +/******************************************************************************/ +/** ETC +/******************************************************************************/ +// FIXME: UX do not define selected state. But I thinkt that it is neededs :( + +#define GENLIST_PROOGRAM_EXPAND(SRC, TARGET) \ + program { \ + name: "expand"; \ + signal: "mouse,clicked,1"; \ + source: SRC; \ + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \ + } \ + program { \ + name: "go_expanded"; \ + signal: "elm,state,expanded"; \ + source: "elm"; \ + action: STATE_SET "active" 0.0; \ + TARGET \ + } \ + program { \ + name: "go_contracted"; \ + signal: "elm,state,contracted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define GENLIST_PART_BASE_LIST_H( HEIGHT) \ + part { name: "base"; \ + type: RECT; \ + repeat_events: 1; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + color: 0 0 0 0; \ + rel2.relative: 1 0; \ + rel2.to: "bottom_line"; \ + min: 0 HEIGHT; \ + } \ + } \ + GENLIST_PART_BOTTOM_LINE + +#define GENLIST_PART_DIALOGUE_ITEM \ + part { name: "elm.rect.dialogue"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 10 0; \ + fixed: 1 0; \ + color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \ + rel2.relative: 0.0 1.0; \ + align: 0.0 0.0; \ + } \ + } + +#define GENLIST_PART_DIALOGUE_RIGHT_LINE \ + part { name: "elm.rect.dialogue.right.line"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 1 0; \ + fixed: 1 0; \ + rel1 { \ + relative: 1.0 0.0; \ + offset: -1 0; \ + } \ + align: 1.0 0.0; \ + color: GENLIST_LIST_LINE1_COLOR; \ + } \ + } + +#define GENLIST_PROGRAM_FLIP_1TEXT \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.text"; \ + target: "elm.flip.content"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text"; \ + target: "elm.flip.content"; \ + } + +#define GENLIST_PROGRAM_FLIP_2TEXT \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.flip.content"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.flip.content"; \ + } + +#define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.icon"; \ + target: "elm.flip.content"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.icon"; \ + target: "elm.flip.content"; \ + } + +#define GENLIST_PROGRAM_FLIP_2TEXT_2ICON \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.icon.1"; \ + target: "elm.icon.2"; \ + target: "elm.flip.content"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.icon.1"; \ + target: "elm.icon.2"; \ + target: "elm.flip.content"; \ + } + +#define GENLIST_PROGRAM_FLIP_3TEXT_2ICON \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flip_enabled" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.text.3"; \ + target: "elm.icon.1"; \ + target: "elm.icon.2"; \ + target: "elm.flip.content"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.text.1"; \ + target: "elm.text.2"; \ + target: "elm.text.3"; \ + target: "elm.icon.1"; \ + target: "elm.icon.2"; \ + target: "elm.flip.content"; \ + } + + +#define GENLIST_DESCRIPTION_INVISIBLE_SELECTED \ + description { state: "selected" 1.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } + +#define GENLIST_DESCRIPTION_FLIP_ENABLED \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } + +#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + set_state(PART:"bg_image", "selected", 0.0); \ + if (!strcmp(st, "flip_enabled")) \ + set_state(PART:"elm.text", "selected", 1.0); \ + else \ + set_state(PART:"elm.text", "selected", 0.0); \ + } + + +/* genlist multisense macro - start */ +#define GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS \ + after: "play_button_press"; + +#define GENLIST_PROGRAM_PLAY_BUTTON_PRESS \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } +#endif diff --git a/2.3-mobile/widgets_default/entry.edc b/2.3-mobile/widgets_default/entry.edc new file mode 100644 index 0000000..526a01d --- /dev/null +++ b/2.3-mobile/widgets_default/entry.edc @@ -0,0 +1,138 @@ +group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +// emoticon images from: +// Tanya - Latvia +// http://lazycrazy.deviantart.com/ +// http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621 +group { name: "elm/entry/emoticon/angry/default"; images.image: + "whitetheme/emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "whitetheme/emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image: + "whitetheme/emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-crazy-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil-laugh/default"; images.image: + "whitetheme/emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-evil-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil/default"; images.image: + "whitetheme/emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-evil.png"; } } } } +group { name: "elm/entry/emoticon/goggle-smile/default"; images.image: + "whitetheme/emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-goggle-smile.png"; } } } } +group { name: "elm/entry/emoticon/grumpy/default"; images.image: + "whitetheme/emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-grumpy.png"; } } } } +group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image: + "whitetheme/emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-grumpy-smile.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "whitetheme/emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/guilty-smile/default"; images.image: + "whitetheme/emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-guilty-smile.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "whitetheme/emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "whitetheme/emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy-panting/default"; images.image: + "whitetheme/emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-happy-panting.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "whitetheme/emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/indifferent/default"; images.image: + "whitetheme/emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-indifferent.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "whitetheme/emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/knowing-grin/default"; images.image: + "whitetheme/emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-knowing-grin.png"; } } } } +group { name: "elm/entry/emoticon/laugh/default"; images.image: + "whitetheme/emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-laugh.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "whitetheme/emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love-lots/default"; images.image: + "whitetheme/emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-love-lots.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "whitetheme/emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "whitetheme/emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/not-happy/default"; images.image: + "whitetheme/emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-not-happy.png"; } } } } +group { name: "elm/entry/emoticon/not-impressed/default"; images.image: + "whitetheme/emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-not-impressed.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "whitetheme/emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/opensmile/default"; images.image: + "whitetheme/emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-opensmile.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "whitetheme/emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "whitetheme/emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/squint-laugh/default"; images.image: + "whitetheme/emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-squint-laugh.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "whitetheme/emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/suspicious/default"; images.image: + "whitetheme/emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-suspicious.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "whitetheme/emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/tongue-poke/default"; images.image: + "whitetheme/emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-tongue-poke.png"; } } } } +group { name: "elm/entry/emoticon/uh/default"; images.image: + "whitetheme/emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-uh.png"; } } } } +group { name: "elm/entry/emoticon/unhappy/default"; images.image: + "whitetheme/emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-unhappy.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "whitetheme/emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/what/default"; images.image: + "whitetheme/emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-what.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "whitetheme/emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "whitetheme/emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-worried.png"; } } } } +group { name: "elm/entry/emoticon/wtf/default"; images.image: + "whitetheme/emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: EMOTICON_SIZE; image.normal: + "whitetheme/emo-wtf.png"; } } } } +//------------------------------------------------------------ diff --git a/2.3-mobile/widgets_default/ews.edc b/2.3-mobile/widgets_default/ews.edc new file mode 100644 index 0000000..b00e377 --- /dev/null +++ b/2.3-mobile/widgets_default/ews.edc @@ -0,0 +1,423 @@ +group { name: "elm/ews/background/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 68 68 68 255; + } + } + } +} + + +images { + image: "whitetheme/icon_close_small.png" COMP; + image: "whitetheme/icon_arrow_up_right.png" COMP; + image: "whitetheme/icon_arrow_down_left.png" COMP; + image: "whitetheme/icon_close_small_press.png" COMP; + image: "whitetheme/icon_arrow_up_right_press.png" COMP; + image: "whitetheme/icon_arrow_down_left_press.png" COMP; + image: "whitetheme/shadow_title.png" COMP; + image: "whitetheme/ews_bg_shadow.png" COMP; +} + +group { name: "elm/ews/decoration/borderless"; + parts { + part { name: "shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/ews_bg_shadow.png"; + border: EWS_SHADOW_BG_BORDER_INC; + middle: 0; + } + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + programs { + program { signal: "elm,state,alpha,on"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { signal: "elm,state,alpha,off"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "shadow"; + } + } + + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + } +} + + +group { name: "elm/ews/decoration/default"; + parts { + part { name: "shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/ews_bg_shadow.png"; + border: EWS_SHADOW_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.padding.base.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: EWS_SHADOW_BG_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 0 0; + } + rel2 { + relative: 0 0; + } + } + } + part { name: "elm.padding.base.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 1; + min: EWS_SHADOW_BG_SIZE_INC; + fixed: 1 1; + rel1 { + relative: 1 1; + } + rel2 { + relative: 1 1; + } + } + } + + part { name: "elm.padding.title"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: EWS_PADDING_WIDTH_INC EWS_TITLE_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0 0; + } + rel2 { + to: "base"; + relative: 0 0; + } + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale:1; + description { state: "default" 0.0; + color: EWS_BG_COLOR_INC; + rel1 { + to: "elm.padding.base.left"; + relative: 1 1; + } + rel2 { + to: "elm.padding.base.right"; + relative: 0 0; + } + } + } + part { name: "base-text"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + color: EWS_BG_COLOR_INC; + rel1 { + to: "elm.padding.title"; + relative: 1 0; + } + rel2 { + to_y: "elm.padding.title"; + to_x: "restore"; + relative: 0 1; + } + } + } + part { name: "elm.text.title"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: EWS_TITLE_FONT_COLOR_INC; + rel1 { + to: "base-text"; + } + rel2 { + to: "base-text"; + } + text { + font: "SLP:style=Bold"; + size: EWS_TITLE_FONT_SIZE_INC; + align: 0.0 0.5; + } + } + } + part { name: "elm.padding.restore"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: EWS_ICON_PADDING_WIDTH_INC 0; + fixed: 1 1; + rel1 { + to: "maximize"; + relative: 0.0 0.0; + } + rel2 { + to: "maximize"; + relative: 0.0 1.0; + } + } + } + part { name: "restore"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_arrow_down_left.png"; + min: EWS_ICON_SIZE_INC; + max: EWS_ICON_SIZE_INC; + align : 1 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.restore"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.restore"; + relative: 0.0 1.0; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_arrow_down_left_press.png"; + } + } + part { name: "elm.padding.maximize"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: EWS_ICON_PADDING_WIDTH_INC 0; + fixed: 1 1; + rel1 { + to: "close"; + relative: 0.0 0.0; + } + rel2 { + to: "close"; + relative: 0.0 1.0; + } + } + } + part { name: "maximize"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_arrow_up_right.png"; + min: EWS_ICON_SIZE_INC; + max: EWS_ICON_SIZE_INC; + align : 1 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.maximize"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.maximize"; + relative: 0.0 1.0; + } + } + description { state: "maximized" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_arrow_up_right_press.png"; + } + } + part { name: "maximize-eventarea"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "maximize"; + rel2.to: "maximize"; + } + description { state: "maximized" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.padding.close"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: EWS_PADDING_WIDTH_INC EWS_TITLE_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 0.0; + } + } + } + part { name: "close"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/icon_close_small.png"; + min: EWS_ICON_SIZE_INC; + max: EWS_ICON_SIZE_INC; + align : 1 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.close"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.close"; + relative: 0.0 0.5; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/icon_close_small_press.png"; + + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/shadow_title.png"; + } + min: 0 EWS_TITLE_SHADOW_HEIGHT_INC; + align: 0 0; + fixed: 1 1; + rel1 { + to_x: "base"; + to_y: "elm.padding.title"; + relative: 0 1; + } + rel2 { + to_x: "base"; + to_y: "elm.padding.title"; + relative: 1 1; + } + } + } + programs { + program { signal: "mouse,clicked,1"; + source: "close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + program { signal: "mouse,down,1"; + source: "close"; + action: STATE_SET "pressed" 0.0; + target: "close"; + } + program { signal: "mouse,up,1"; + source: "close"; + action: STATE_SET "default" 0.0; + target: "close"; + } + program { signal: "mouse,clicked,1"; + source: "maximize-eventarea"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { signal: "mouse,down,1"; + source: "maximize-eventarea"; + action: STATE_SET "pressed" 0.0; + target: "maximize"; + } + program { signal: "mouse,up,1"; + source: "maximize-eventarea"; + action: STATE_SET "default" 0.0; + target: "maximize"; + } + program { signal: "mouse,clicked,1"; + source: "restore"; + action: SIGNAL_EMIT "elm,action,restore" "elm"; + } + program { signal: "mouse,down,1"; + source: "restore"; + action: STATE_SET "pressed" 0.0; + target: "restore"; + } + program { signal: "mouse,up,1"; + source: "restore"; + action: STATE_SET "default" 0.0; + target: "restore"; + } + program { signal: "elm,state,maximized,on"; + source: "elm"; + action: STATE_SET "maximized" 0.0; + target: "maximize-eventarea"; + target: "maximize"; + } + program { signal: "elm,state,maximized,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "maximize-eventarea"; + target: "maximize"; + } + program { signal: "mouse,down,1"; + source: "base-text"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { signal: "mouse,up,1"; + source: "base-text"; + action: SIGNAL_EMIT "elm,action,move,stop" "elm"; + } + program { signal: "elm,state,alpha,on"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { signal: "elm,state,alpha,off"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "shadow"; + } + } + } +} diff --git a/2.3-mobile/widgets_default/fileselector.edc b/2.3-mobile/widgets_default/fileselector.edc new file mode 100644 index 0000000..c530e75 --- /dev/null +++ b/2.3-mobile/widgets_default/fileselector.edc @@ -0,0 +1,555 @@ +group { name: "elm/entry/path/separator/default"; + images.image: "whitetheme/fileselector_icon.png" COMP; + parts { + part { name: "icon"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "whitetheme/fileselector_icon.png"; + max: FILESELECTOR_SEPARATOR_SIZE; + aspect: 1.0 1.0; + } + } + } +} + +group { name: "elm/fileselector/base/default"; + data { + item: "path_separator" ""; + } + images { + image: "whitetheme/shadow_title.png" COMP; + image: "whitetheme/shadow_bottom.png" COMP; + image: "whitetheme/file_selector_root_bg.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { + color: GENLIST_LIST_BG_COLOR; + } + } + part { name: "elm.shadow.bg.top"; + type: RECT; + scale: 1; + description { + min: 0 FILESELECTOR_DEFAULT_BG_TOP_HEIGHT; + fixed: 0 1; + align: 0.5 0; + rel2.relative: 1 0; + color: 0 0 0 0; + } + } + part { name: "elm.bottom_buttons.bg"; + type: RECT; + scale: 1; + description { + min: 0 FILESELECTOR_DEFAULT_BG_BOTTOM_HEIGHT; + fixed: 0 1; + align: 0.5 1; + rel1.relative: 0 1; + color: 0 0 0 0; + } + } + part { name: "elm.padding.up.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FILESELECTOR_DEFAULT_PADDING_TOP_BUTTON_LEFT_TOP; + fixed: 1 1; + align: 0 0; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.home.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 0; + fixed: 1 0; + align: 0 0; + rel1 { + to: "elm.swallow.up"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.up"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.home"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + rel1 { + to: "elm.padding.home.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.home.left"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.up"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + rel1 { + to: "elm.padding.up.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.up.left-top"; + relative: 1 1; + } + } + } + part { name: "elm.spinner.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.spinner"; + rel2.to: "elm.swallow.spinner"; + color: FILESELECTOR_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: FILESELECTOR_COLOR_VISIBLE; + } + } + // ?? + part { name: "elm.swallow.spinner"; + type: SWALLOW; + scale: 1; + clip_to: "elm.spinner.clip"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.files"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_FILES_LIST_SIZE; + align: 1.0 0.0; + rel1 { + to_y: "elm.shadow.bg.top"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.swallow.path"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.shadow.top"; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_DEFAULT_SHADOW_HEIGHT; + fixed: 0 1; + align: 0.5 0; + rel1 { + to_y: "elm.shadow.bg.top"; + relative: 0 1; + } + rel2 { + to_y: "elm.shadow.bg.top"; + relative: 1 1; + } + image { + normal: "whitetheme/shadow_title.png"; + border: FILESELECTOR_DEFAULT_SHADOW_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.path.bg.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 0 1; + min: 0 FILESELECTOR_DEFAULT_PADDING_PATH_BG_BOTTOM; + rel1.to_y: "elm.swallow.filename"; + rel2 { + to_y: "elm.swallow.filename"; + relative: 1 0; + } + } + } + part { name: "elm.path.bg"; + scale: 1; + description { state: "default" 0.0; + align: 0 1; + fixed: 0 1; + min: 0 FILESELECTOR_DEFAULT_PADDING_PATH_BG_HEIGHT; + rel1 { + to: "elm.padding.path.bg.bottom"; + relative: 0 0; + } + rel2 { + to: "elm.padding.path.bg.bottom"; + relative: 1 0; + } + image { + normal: "whitetheme/file_selector_root_bg.png"; + border: FILESELECTOR_DEFAULT_PADDING_PATH_BG_BORDER; + border_scale: 1; + } + } + } + // bottom bg + part { name: "elm.bg.bottom"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + rel1 { + to: "elm.path.bg"; + relative: 0 1; + } + color: GENLIST_LIST_BG_COLOR; + } + } + part { name: "elm.padding.path.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_PATH_LEFT_TOP; + rel1.to: "elm.path.bg"; + rel2 { + to: "elm.path.bg"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.path.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_PATH_RIGHT_BOTTOM; + rel1 { + to: "elm.path.bg"; + relative: 1 1; + } + rel2 { + to: "elm.path.bg"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.path"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.path.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.path.right-bottom"; + relative: 0 0; + } + } + } + part { + name: "elm.shadow.bottom"; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_DEFAULT_SHADOW_HEIGHT; + fixed: 0 1; + align: 0 1; + rel1 { + to_y: "elm.path.bg"; + relative: 0 0; + } + rel2 { + to_y: "elm.path.bg"; + relative: 1 0; + } + image { + normal: "whitetheme/shadow_bottom.png"; + border: FILESELECTOR_DEFAULT_SHADOW_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.filename.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_FILENAME_LEFT 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.filename.bottom-right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_FILENAME_RIGHT + FILESELECTOR_DEFAULT_PADDING_FILENAME_BOTTOM; + rel1 { to_x: "elm.path.bg"; + to_y: "elm.swallow.ok"; + relative: 1 0; + } + rel2 { to_x: "elm.path.bg"; + to_y: "elm.swallow.ok"; + relative: 1 0; + } + } + } + part { name: "elm.swallow.filename"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + rel1 { + to_x: "elm.padding.filename.left"; + to_y: "elm.padding.filename.bottom-right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.filename.bottom-right"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bottom_buttons.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_BOTTOM_BUTTON_RIGHT_BOTTOM; + rel1 { + to: "elm.bottom_buttons.bg"; + relative: 1 1; + } + rel2.to: "elm.bottom_buttons.bg"; + } + } + part { name: "elm.padding.cancel.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 0; + min: FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 0; + rel1.to: "elm.swallow.ok"; + rel2 { + to: "elm.swallow.ok"; + relative: 0 1; + } + } + } + part { name: "elm.swallow.cancel"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE; + rel1 { + to: "elm.padding.cancel.right"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.cancel.right"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.ok"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE; + rel1 { + to: "elm.padding.bottom_buttons.right-bottom"; + relative: 0 0; + } + rel2 { + to: "elm.padding.bottom_buttons.right-bottom"; + relative: 0 0; + } + } + } + } + programs { + program { name: "spinner_show"; + signal: "elm,action,spinner,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "elm.spinner.clip"; + } + program { name: "spinner_hide"; + signal: "elm,action,spinner,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2 CURRENT; + target: "elm.spinner.clip"; + } + program { name: "save_on"; + signal: "elm,state,save,on"; + source: "elm"; + } + program { name: "save_off"; + signal: "elm,state,save,off"; + source: "elm"; + } + } +} + +group { name: "elm/fileselector_entry/base/default"; + images { + image: "whitetheme/file_selector_entry.png" COMP; + } + parts { + part { name: "elm.padding.button.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 0 1; + min: 0 FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT; + rel1.relative: 1 1; + } + } + part { name: "elm.swallow.button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + to: "elm.padding.button.bottom"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.button.bottom"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.bg.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.bg.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1 { + to: "elm.swallow.button"; + relative: 0 0; + } + rel2 { + to: "elm.swallow.button"; + relative: 0 1; + } + } + } + part { name: "elm.swallow.entry.bg"; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + image { + normal:"whitetheme/file_selector_entry.png"; + border: 15 15 15 15; + border_scale: 1; + } + rel1 { + to_x: "elm.padding.bg.left"; + to_y: "elm.padding.bg.right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.bg.right"; + relative: 0 1; + } + } + } + part { name: "elm.padding.entry.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1.to: "elm.swallow.entry.bg"; + rel2 { + to:"elm.swallow.entry.bg"; + relative: 0 1; + } + } + } + part { name: "elm.padding.entry.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1 { + to: "elm.swallow.entry.bg"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.entry.bg"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.padding.entry.left"; + to_y: "elm.padding.entry.right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.entry.right"; + relative: 0 1; + } + } + } + } +} + diff --git a/2.3-mobile/widgets_default/flipselector.edc b/2.3-mobile/widgets_default/flipselector.edc new file mode 100644 index 0000000..2a90cc8 --- /dev/null +++ b/2.3-mobile/widgets_default/flipselector.edc @@ -0,0 +1,585 @@ + +#define FLIP_PICKER_MAX_LEN (50) +#define FLIP_PICKER_MAX_LEN_STR "50" + +group { name: "elm/flipselector/base/default"; + images { + image: "whitetheme/flip_base.png" COMP; + image: "whitetheme/flip_shad.png" COMP; + image: "core_icon_picker_arrow_down.png" COMP; + image: "core_icon_picker_arrow_up.png" COMP; + image: "whitetheme/flip_t.png" COMP; + image: "whitetheme/flip_b.png" COMP; + } + data { + item: "max_len" FLIP_PICKER_MAX_LEN_STR; + } + script { + public cur, prev, next, lock; +  flip_up(str[]) { + new tmp[FLIP_PICKER_MAX_LEN]; + if (get_int(lock) == 1) { + replace_str(next, 0, str); + return; + } + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"bottom_b", tmp); + + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", tmp); + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", str); + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", str); + + set_text(PART:"top_b", str); + + replace_str(cur, 0, str); + + set_state(PART:"bottom_sheet", "shrink", 0.0); + set_state(PART:"top_sheet", "default", 0.0); + + set_int(lock, 1); + set_state(PART:"shadow", "default", 0.0); + anim(0.2, "animator_top_down", 1); + } + +  flip_dn(str[]) { + new tmp[FLIP_PICKER_MAX_LEN]; + if (get_int(lock) == 1) { + replace_str(next, 0, str); + return; + } + + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"top_b", tmp); + + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", tmp); + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", str); + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", str); + + set_text(PART:"bottom_b", str); + + replace_str(cur, 0, str); + + set_state(PART:"bottom_sheet", "default", 0.0); + set_state(PART:"top_sheet", "shrink", 0.0); + + set_int(lock, 1); + set_state(PART:"shadow", "full", 0.0); + anim(0.2, "animator_bottom_up", 1); + } + + public animator_bottom_down(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default", + 0.0); + set_tween_state(PART:"shadow", pos, "half", 0.0, "full", + 0.0); + + if (pos >= 1.0) { + set_state(PART:"shadow", "default", 0.0); + set_int(lock, 0); + + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + flip_up(tmp); + } + } + } + + public animator_top_down(val, Float:pos) { + set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink", + 0.0); + set_tween_state(PART:"shadow", pos, "default", 0.0, "half", + 0.0); + + if (pos >= 1.0) + anim(0.2, "animator_bottom_down", val); + } + + public animator_bottom_up(val, Float:pos) { + set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink", + 0.0); + set_tween_state(PART:"shadow", pos, "full", 0.0, "half", + 0.0); + + if (pos >= 1.0) + anim(0.2, "animator_top_up", val); + } + + public animator_top_up(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default", + 0.0); + set_tween_state(PART:"shadow", pos, "half", 0.0, "default", + 0.0); + + if (pos >= 1.0) { + set_state(PART:"shadow", "default", 0.0); + set_int(lock, 0); + + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + flip_dn(tmp); + } + } + } + + public message(Msg_Type:type, id, ...) { + // flip down + if ((type == MSG_STRING) && (id == 1)) { + new value[FLIP_PICKER_MAX_LEN]; + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + flip_up(value); + } + + // flip up + if ((type == MSG_STRING) && (id == 2)) { + new value[FLIP_PICKER_MAX_LEN]; + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + flip_dn(value); + } + } + } + parts { + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + min: FLIP_SELECTOR_BG_MIN_INC; + image{ + normal: "whitetheme/flip_base.png"; + border: FLIP_SELECTOR_BG_BORDER_INC; + } + } + } + part { name: "b"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_COLOR_TRANSPARENT; + rel1 { + to: "base"; + relative: 0.0 0.5; + } + rel2.to: "base"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "t"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_COLOR_TRANSPARENT; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 1.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bottom_sheet_static"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image { + normal: "whitetheme/flip_b.png"; + border: FLIP_SELECTOR_BG_PARTS_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "bottom_b"; + mouse_events: 0; + clip_to: "bottom_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_TEXT_COLOR_INC; + color2: FLIP_SELECTOR_TEXT_SHADOW_COLOR_INC; + rel1 { + to_x: "elm.padding.text.left"; + to_y: "base"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.text.right"; + to_y: "base"; + relative: 0 1; + } + text { + font: "SLP:style=Bold"; + size: FLIP_SELECTOR_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "shadow"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2 { + to: "b"; + relative: 1.0 0.0; + } + image.normal: "whitetheme/flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bottom_sheet"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image { + normal: "whitetheme/flip_b.png"; + border : FLIP_SELECTOR_BG_PARTS_BORDER_INC; + border_scale: 1; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.padding.text.left"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + min: FLIP_SELECTOR_TEXT_PADDING_SIZE_DEFAULT 0; + fixed: 1 0; + rel1.to: "base"; + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.text.right"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + min: FLIP_SELECTOR_TEXT_PADDING_SIZE_DEFAULT 0; + fixed: 1 0; + rel1 { + to: "base"; + relative: 1 0; + } + rel2.to: "base"; + + } + } + part { name: "elm.bottom"; + mouse_events: 0; + clip_to: "bottom_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_TEXT_COLOR_INC; + color2: FLIP_SELECTOR_TEXT_SHADOW_COLOR_INC; + rel1 { + to_x: "elm.padding.text.left"; + to_y: "base"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.text.right"; + to_y: "base"; + relative: 0 1; + } + text { + font: "SLP:style=Bold"; + size: FLIP_SELECTOR_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + color: FLIP_SELECTOR_SHRINK_INC; + visible: 0; + rel2.relative: 1.0 0.5; // FIXME: same visual effect? --> MAP! + } + } + part { name: "top_sheet_static"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1 { + to: "t"; + offset: 0 1; + } + rel2.to: "t"; + image { + normal: "whitetheme/flip_t.png"; + border : FLIP_SELECTOR_BG_PARTS_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "top_b"; + mouse_events: 0; + clip_to: "top_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_TEXT_COLOR_INC; + color2: FLIP_SELECTOR_TEXT_SHADOW_COLOR_INC; + rel1 { + to_x: "elm.padding.text.left"; + to_y: "base"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.text.right"; + to_y: "base"; + relative: 0 1; + } + text { + font: "SLP:style=Bold"; + size: FLIP_SELECTOR_TEXT_SIZE_INC; + min: 0 1; + align: 0.5 0.5; + source: "elm.top"; + } + } + } + part { name: "top_sheet"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image { + normal: "whitetheme/flip_t.png"; + border : FLIP_SELECTOR_BG_PARTS_BORDER_INC; + border_scale: 1; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + color: FLIP_SELECTOR_SHRINK_INC; + visible: 0; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.top"; + mouse_events: 0; + clip_to: "top_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color: FLIP_SELECTOR_TEXT_COLOR_INC; + color2: FLIP_SELECTOR_TEXT_SHADOW_COLOR_INC; + rel1 { + to_x: "elm.padding.text.left"; + to_y: "base"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.text.right"; + to_y: "base"; + relative: 0 1; + } + text { + font: "SLP:style=Bold"; + size: FLIP_SELECTOR_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.5; + } + } + part { name: "arrow_top"; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: FLIP_SELECTOR_ARROW_SIZE; + max: FLIP_SELECTOR_ARROW_SIZE; + align: 0.5 0.1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "core_icon_picker_arrow_up.png"; + color_class: F032L1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow_bottom"; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: FLIP_SELECTOR_ARROW_SIZE; + max: FLIP_SELECTOR_ARROW_SIZE; + align: 0.5 0.9; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "core_icon_picker_arrow_down.png"; + color_class: F032L1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "top_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "disclip"; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + visible: 1; + } + } + part { name: "bottom_clipper"; + type: RECT; + mouse_events: 0; + clip_to: "disclip"; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + visible: 1; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + color: FLIP_SELECTOR_DISCLIP_DEFAULT_COLOR_INC; + } + description { state: "enabled" 0.0; + color: FLIP_SELECTOR_DISCLIP_ENABLE_COLOR_INC; + } + } + part { name: "event_blocker"; + type: RECT; + description { state: "default" 0.0; + color: FLIP_SELECTOR_COLOR_TRANSPARENT; + visible: 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + append_str(cur, ""); + append_str(prev, ""); + append_str(next, ""); + set_int(lock, 0); + } + } + program { name: "hide_arrows"; + signal: "elm,state,button,hidden"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "t"; + target: "b"; + } + program { name: "show_arrows"; + signal: "elm,state,button,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "t"; + target: "b"; + } + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "disclip"; + target: "event_blocker"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "event_blocker"; + } + } +} + diff --git a/2.3-mobile/widgets_default/focus_highlight.edc b/2.3-mobile/widgets_default/focus_highlight.edc new file mode 100644 index 0000000..9cbdb27 --- /dev/null +++ b/2.3-mobile/widgets_default/focus_highlight.edc @@ -0,0 +1,165 @@ +group { name: "elm/focus_highlight/top/default"; + images { + image: "whitetheme/focus_highlight_icon.png" COMP; + } + data { + item: "animate" "on"; + } + script { + public s_x, s_y, s_w, s_h; /* source */ + public difx, dify, difw, difh; + public rot_dir; + public animator1(val, Float:pos) { + new x, y, w, h, dx, dy, dw, dh;//, Float:rot; + //dx = round(float_mul(float(get_int(difx)), pos)); + x = get_int(s_x) + dx; + //dy = round(float_mul(float(get_int(dify)), pos)); + y = get_int(s_y) + dy; + //dw = round(float_mul(float(get_int(difw)), pos)); + w = get_int(s_w) + dw; + //dy = round(float_mul(float(get_int(difh)), pos)); + h = get_int(s_h) + dh; + + update_offset(x, y, w, h); + + //rot = 360.0 * pos * float(get_int(rot_dir)); + //set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot); + + if (pos >= 1.0) { + emit("elm,action,focus,anim,end", ""); + set_state(PART:"shine", "default", 0.0); + } + } + + public update_offset(x, y, w, h) { + new x1, y1, x2, y2; + x1 = x + w; + y1 = y; + x2 = x + w; + y2 = y; + set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1); + set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2); + } + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 1)) { + new x1, y1, w1, h1; + new x2, y2, w2, h2; + new px1, px2, py1, py2; + new rd; + + x1 = getarg(2); + y1 = getarg(3); + w1 = getarg(4); + h1 = getarg(5); + x2 = getarg(6); + y2 = getarg(7); + w2 = getarg(8); + h2 = getarg(9); + + set_int(s_x, x1); + set_int(s_y, y1); + set_int(s_w, w1); + set_int(s_h, h1); + set_int(difx, x2 - x1); + set_int(dify, y2 - y1); + set_int(difw, w2 - w1); + set_int(difh, h2 - h1); + + px1 = x1 + w1; + px2 = x2 + w2; + py1 = y1 + h1; + py2 = y2 + h2; + if (px2 > px1) { + rd = 1; + } else if (px1 > px2) { + rd = -1; + } else { + if (py2 > py1) { + rd = 1; + } else { + rd = -1; + } + } + set_int(rot_dir, rd); + + custom_state(PART:"shine", "default", 0.0); + set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0); + set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0); + set_state_val(PART:"shine", STATE_MAP_ON, 1); + set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0); + update_offset(x1, y1, w1, h1); + set_state(PART:"shine", "custom", 0.0); + + anim(0.2, "animator1", 1); + } + } + } + + parts { + part { name: "base"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + visible: 0; + } + } + part { name: "shine"; + scale: 1; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "whitetheme/focus_highlight_icon.png"; + border: FOCUSHIGHLIGHT_BG_BORDER; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: ACTION_STOP; + target: "hide"; + target: "hide_start"; + target: "hide_end"; + after: "show_start"; + } + program { name: "show_start"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show_start"; + target: "show_end"; + after: "hide_start"; + } + program { name: "hide_start"; + action: STATE_SET "disabled" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } +} diff --git a/2.3-mobile/widgets_default/frame.edc b/2.3-mobile/widgets_default/frame.edc new file mode 100644 index 0000000..9e78c15 --- /dev/null +++ b/2.3-mobile/widgets_default/frame.edc @@ -0,0 +1,496 @@ +group { name: "elm/frame/base/default"; + images { + image: "whitetheme/frame_bg.png" COMP; + } + parts { + part { name: "base"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "whitetheme/frame_bg.png"; + border: FRAME_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.text.top.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_DEFAULT_PADDING_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1{ + to: "base"; + relative: 0.0 0.0; + } + rel2{ + to: "base"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + to: "elm.text.top.padding"; + relative: 1.0 1.0; + } + rel2 { + relative: 1.0 0.0; + } + color: FRAME_DEFAULT_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: FRAME_DEFAULT_TEXT_SIZE_INC; + min: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.top.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_DEFAULT_SWALLOW_PADDING_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1{ + to: "elm.text"; + relative: 0.0 1.0; + } + rel2{ + to: "elm.text"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_DEFAULT_PADDING_WIDTH_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1{ + relative: 1.0 1.0; + } + rel2{ + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + to: "elm.swallow.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.bottom.padding"; + relative: 0.0 0.0; + } + } + description { state: "collapsed" 0.0; + inherit: "default" 0.0; + minmul: 1.0 0.0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + } + } + programs { + program { name: "collapse"; + action: STATE_SET "collapsed" 0.0; + target: "elm.swallow.content"; + transition: BOUNCE 0.5 1.0 3; + after: "signal"; + } + program { name: "expand"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: BOUNCE 0.5 1.0 3; + after: "signal"; + } + program { name: "click"; + signal: "mouse,up,1"; + source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "toggle"; + signal: "elm,action,toggle"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + run_program(PROGRAM:"collapse"); + else + run_program(PROGRAM:"expand"); + } + } + program { name: "switch"; + signal: "elm,action,switch"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.swallow.content", "collapsed", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "signal"; + action: SIGNAL_EMIT "elm,anim,done" "elm"; + } + } +} + +group { name: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_SMALL_SIZE_INC FRAME_PADDING_SMALL_SIZE_INC; + max: FRAME_PADDING_SMALL_SIZE_INC FRAME_PADDING_SMALL_SIZE_INC; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_SMALL_SIZE_INC FRAME_PADDING_SMALL_SIZE_INC; + max: FRAME_PADDING_SMALL_SIZE_INC FRAME_PADDING_SMALL_SIZE_INC; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_medium"; + parts { + part { name: "b0"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_MEDIUM_SIZE_INC FRAME_PADDING_MEDIUM_SIZE_INC; + max: FRAME_PADDING_MEDIUM_SIZE_INC FRAME_PADDING_MEDIUM_SIZE_INC; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_MEDIUM_SIZE_INC FRAME_PADDING_MEDIUM_SIZE_INC; + max: FRAME_PADDING_MEDIUM_SIZE_INC FRAME_PADDING_MEDIUM_SIZE_INC; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_large"; + parts { + part { name: "b0"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_LARGE_SIZE_INC FRAME_PADDING_LARGE_SIZE_INC; + max: FRAME_PADDING_LARGE_SIZE_INC FRAME_PADDING_LARGE_SIZE_INC; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_LARGE_SIZE_INC FRAME_PADDING_LARGE_SIZE_INC; + max: FRAME_PADDING_LARGE_SIZE_INC FRAME_PADDING_LARGE_SIZE_INC; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_huge"; + parts { + part { name: "b0"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_HUGE_SIZE_INC FRAME_PADDING_HUGE_SIZE_INC; + max: FRAME_PADDING_HUGE_SIZE_INC FRAME_PADDING_HUGE_SIZE_INC; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_PADDING_HUGE_SIZE_INC FRAME_PADDING_HUGE_SIZE_INC; + max: FRAME_PADDING_HUGE_SIZE_INC FRAME_PADDING_HUGE_SIZE_INC; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/outdent_top"; + images { + image: "whitetheme/frame_outdent_top.png" COMP; + } + parts { + part { name: "elm.base0.bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 5; + fixed: 1 1; + align: 1.0 0.0; + rel1{ + relative: 1.0 1.0; + } + rel2{ + relative: 1.0 1.0; + } + } + } + part { name: "base0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 5; + fixed: 1 1; + rel1 { + to_y: "elm.base0.bottom.padding"; + relative: 0.0 1.0; + } + image { + normal: "whitetheme/frame_outdent_top.png"; + border: 0 0 0 0; + border_scale: 1; + } + fill.smooth: 0; + } + } + part { name: "elm.swallow.top.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_PADDING_OUTDENT_SIZE_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1{ + relative: 0.0 0.0; + } + rel2{ + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_PADDING_OUTDENT_SIZE_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "elm.base0.bottom.padding"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.base0.bottom.padding"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.bottom.padding"; + relative: 0.0 0.0; + } + } + } + } +} + +group { name: "elm/frame/base/outdent_bottom"; + images { + image: "whitetheme/frame_outdent_bottom.png" COMP; + } + parts { + part { name: "base0"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + min: 0 5; + fixed: 1 1; + rel2 { + relative: 1.0 0.0; + } + image { + normal: "whitetheme/frame_outdent_bottom.png"; + border: 0 0 0 0; + border_scale: 1; + } + fill.smooth: 0; + } + } + part { name: "elm.swallow.top.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_PADDING_OUTDENT_SIZE_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1{ + to: "base0"; + relative: 0.0 1.0; + } + rel2{ + to: "base0"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FRAME_DEFAULT_PADDING_WIDTH_INC FRAME_PADDING_OUTDENT_SIZE_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.bottom.padding"; + relative: 0.0 0.0; + } + } + } + } +} + diff --git a/2.3-mobile/widgets_default/gengrid.edc b/2.3-mobile/widgets_default/gengrid.edc new file mode 100644 index 0000000..928df80 --- /dev/null +++ b/2.3-mobile/widgets_default/gengrid.edc @@ -0,0 +1,1477 @@ +#include "default_macro.edc" + + +group { name: "elm/gengrid/item/default/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + images { + image: "whitetheme/gengrid_thumb_selected.png" COMP; + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + image: "whitetheme/gengrid_thumb_stroke.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "reorder_bg"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + visible: 0; + color: GENGRID_ITEM_DEFAULT_REORDER_BG_NOR; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: GENGRID_ITEM_DEFAULT_REORDER_BG_SEL; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.text"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.padding.icon.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: GENGRID_ITEM_DEFAULT_ICON_PADDING_LEFT_TOP; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.icon.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: GENGRID_ITEM_DEFAULT_ICON_PADDING_RIGHT_BOTTOM; + rel1 { + relative: 1 1; + } + rel2 { + to_y: "elm.swallow.pad"; + relative: 1 0; + } + } + } + part { name: "elm.padding.image.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_LEFT_TOP; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.image.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_RIGHT_BOTTOM; + rel1 { + relative: 1 1; + } + rel2 { + to_y: "elm.swallow.pad"; + relative: 1 0; + } + } + } + part { name: "elm.image.shadow"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + aspect_preference: BOTH; + aspect: 1.0 1.0; + rel1 { + to: "elm.padding.icon.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.icon.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.image.stroke"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image { + normal: "whitetheme/gengrid_thumb_stroke.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.image.selected"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + visible: 0; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image { + normal: "whitetheme/gengrid_thumb_selected.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + rel1 { + to_x: "elm.padding.image.right-bottom"; + to_y: "elm.padding.image.left-top"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.padding.image.right-bottom"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.text.bottom"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0; + min: 0 GENGRID_ITEM_DEFAULT_TEXT_PADDING_BOTTOM; + rel1 { + relative: 0 1; + } + rel2 { + relative: 1 1; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.image.left-top"; + relative: 1.0 1.1; + offset: 0 0; + } + rel2 { + to_x: "elm.padding.image.right-bottom"; + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.1; + } + align: 0.5 1; + color: GENGRID_ITEM_DEFAULT_TEXT_COLOR; + text { + font: "SLP:style=Regular"; + size: GENGRID_ITEM_DEFAULT_TEXT_SIZE; + min: 0 1; + align: 0.5 1; + text_class: "grid_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/gengrid/item/default_style/default"; + inherit: "elm/gengrid/item/default/default"; + + styles { + style { name: "gengrid_style"; + base: "font=SLP:style=Regular font_size=20 align=left valign=1 color=#000 text_class=grid_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.image.left-top"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to_x: "elm.padding.image.right-bottom"; + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.0; + } + align: 0.5 1; + color: GENGRID_ITEM_DEFAULT_TEXT_COLOR; + text { + style: "gengrid_style"; + min: 0 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + } + } + } +} + +group { name: "elm/gengrid/item/thumb/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + images { + image: "whitetheme/gengrid_thumb_selected.png" COMP; + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + image: "whitetheme/gengrid_thumb_stroke.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.text"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.padding.icon.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: GENGRID_ITEM_DEFAULT_ICON_PADDING_LEFT_TOP; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.icon.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: GENGRID_ITEM_DEFAULT_ICON_PADDING_RIGHT_BOTTOM; + rel1 { + relative: 1 1; + } + rel2 { + to_y: "elm.swallow.pad"; + relative: 1 0; + } + } + } + part { name: "elm.padding.image.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_LEFT_TOP; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.image.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_RIGHT_BOTTOM; + rel1 { + relative: 1 1; + } + rel2 { + to_y: "elm.swallow.pad"; + relative: 1 0; + } + } + } + part { name: "elm.image.shadow"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.icon.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.icon.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.image.stroke"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_stroke.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.image.selected"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + visible: 0; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image { + normal: "whitetheme/gengrid_thumb_selected.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.text.bottom"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0; + min: 0 GENGRID_ITEM_DEFAULT_TEXT_PADDING_BOTTOM; + rel1 { + relative: 0 1; + } + rel2 { + relative: 1 1; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.image.left-top"; + relative: 1.0 1.1; + offset: 0 0; + } + rel2 { + to_x: "elm.padding.image.right-bottom"; + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.1; + } + align: 0.5 1; + color: GENGRID_ITEM_DEFAULT_TEXT_COLOR; + text { + font: "SLP:style=Regular"; + size: GENGRID_ITEM_DEFAULT_TEXT_SIZE; + min: 0 1; + align: 0.5 1; + text_class: "grid_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/gengrid/item/up/default"; + data.item: "texts" "elm.text"; + images { + image: "whitetheme/gengrid_thumb_selected.png" COMP; + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + image: "whitetheme/gengrid_thumb_stroke.png" COMP; + image: "whitetheme/icon_back.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: GENGRID_ITEM_DEFAULT_BG_COLOR; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.image.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_LEFT_TOP; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.image.right-bottom"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + color: 0 0 255 128; + min: GENGRID_ITEM_DEFAULT_IMAGE_PADDING_RIGHT_BOTTOM; + rel1 { + to_y: "elm.padding.text.bottom"; + relative: 1 0; + } + rel2 { + to_y: "elm.padding.text.bottom"; + relative: 1 0; + } + } + } + part { name: "elm.image.shadow"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.image.stroke"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_stroke.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.image.selected"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + visible: 0; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + image + { + normal: "whitetheme/gengrid_thumb_selected.png"; + border: GENGRID_ITEM_DEFAULT_IMAGE_BORDER; + border_scale: 1; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.text.bottom"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 GENGRID_ITEM_DEFAULT_TEXT_PADDING_BOTTOM; + rel1 { + relative: 0 1; + } + rel2 { + relative: 1 1; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.image.left-top"; + to_y: "elm.padding.text.bottom"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.image.right-bottom"; + to_y: "elm.padding.text.bottom"; + relative: 0.0 1.0; + } + color: 0 0 0 255; + text { + min: 1 1; + font: "Tizen:style=Regular"; + align: 0.5 0.0; + size: "24"; + text_class: "T127"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + target: "elm.image.selected"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/gengrid/item/album-preview/default"; + inherit: "elm/gengrid/item/up/default"; + images.image: "whitetheme/icon_folder.png" COMP; + parts { + part { name: "image"; + clip_to: "disclip"; + scale: 1; + type: IMAGE; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + image.normal: "whitetheme/icon_folder.png"; + rel1 { + to: "elm.padding.image.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.image.right-bottom"; + relative: 0 0; + } + } + } + } +} + +group { name: "elm/gengrid/item/group_index/default"; + alias: "elm/gengrid/item_compress/group_index/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + parts { + GENLIST_PART_DISCLIP_WHITE + GENGRID_INDEX_PART_BG_RECT(GENGRID_GROUP_INDEX_BG_SIZE) + GENLIST_PART_BASE + GENLIST_PART_PADDING_LEFT_SIZE(GENGRID_GROUP_INDEX_PADDIG_LEFT) + GENLIST_PART_PADDING_RIGHT_SIZE(GENGRID_GROUP_INDEX_PADDIG_RIGHT) + GENLIST_PART_PADDING_T_SIZE("elm.padding.icon.top", "base", GENGRID_GROUP_INDEX_ICON_PADDIG_TOP) + GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.bottom", "base", GENGRID_GROUP_INDEX_ICON_PADDIG_BOTTOM) + GENLIST_PART_ICON_LTB("elm.swallow.icon", "elm.padding.left", "elm.padding.icon.top" + , "elm.padding.icon.bottom") + GENLIST_PART_TEXT("elm.text", + description { state: "default" 0.0; + align: 0 0.5; + rel1 { + relative: 1 1; + to_x: "elm.swallow.icon"; + to_y: "elm.padding.icon.top"; + } + rel2 { + relative: 0 0; + to_x: "elm.swallow.end"; + to_y: "elm.padding.icon.bottom"; + } + fixed: 0 1; + color_class: "T027L1"; + text { + align: 0 0.5; + min: 1 1; + font: "Tizen:style=Bold"; + size: GENGRID_GROUP_INDEX_TEXT_SIZE; + //text_class: "T027L1"; + } + } GENLIST_DESCRIPTION_LISTITEM_OTHERS ) + GENLIST_PART_ICON_R("elm.swallow.end", "elm.padding.right") + } + programs { + GENLIST_PROGRAM_DISCLIP_WHITE( target: "elm.text"; ) + } +} + + styles { + style { name: "gengrid_textblock_style"; + base: "font=SLP:style=Bold font_size="GENGRID_FONT_STYLE_18_INC" color="GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=slp"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "b" "+ font=SLP:style=Bold"; + } + } + + group { name: "elm/gengrid/item/default_grid/default"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + images { + image : "00_thumbs_line_bg.png" COMP; + image : "00_thumbs_bg_focus.png" COMP; + image : "00_thumbs_loading_bg.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: GENGRID_PART_BACKGROUND_COLOR_INC; + } + } + part { name: "left_top_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_LEFT_TOP_PADDING_INC; + align: 0.0 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "right_bottom_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC; + align: 1.0 1.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { name: "item_bg"; + type: IMAGE; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + image.normal: "00_thumbs_line_bg.png"; + image.border: 1 1 1 1; + } + } + part { name: "item_bg_left_top_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; + align: 0.0 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "item_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_bg"; + } + } + } + part { name: "item_bg_right_bottom_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + align: 1.0 1.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "item_bg"; + } + rel2.to: "item_bg"; + } + } + part { name: "item_real_bg"; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "item_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "item_bg_right_bottom_padding"; + } + image.normal: "00_thumbs_loading_bg.png"; + } + } + part { name: "item_real_bg_left_top_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; + align: 0.0 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "item_real_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_real_bg"; + } + } + } + part { name: "item_real_bg_right_bottom_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; + align: 1.0 1.0; + fixed: 1 1; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "item_real_bg"; + } + rel2.to: "item_real_bg"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "item_real_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "item_real_bg_right_bottom_padding"; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "reorder_bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: GENGRID_PART_BG_COLOR_INC; + rel1.to: "item_bg"; + rel2.to: "item_bg"; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC; + } + } + part { name: "focus_bg_left_top_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC; + align: 0.0 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "focus_bg_right_bottom_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC; + align: 1.0 1.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { name: "focus_bg"; + type: IMAGE; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to: "focus_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "focus_bg_right_bottom_padding"; + } + image.normal: "00_thumbs_bg_focus.png"; + image.border: 6 6 6 6; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "go_mouse_down"; + signal: "mouse,down,1"; + source: "reorder_bg"; + action: STATE_SET "enabled" 0.0; + target: "focus_bg"; + transition: ACCELERATE 0.2; + } + program { name: "go_mouse_up"; + signal: "mouse,up,1"; + source: "reorder_bg"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + transition: DECELERATE 0.2; + } + program { name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + target: "focus_bg"; + transition: ACCELERATE 0.3; + } + program { name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + target: "focus_bg"; + transition: DECELERATE 0.3; + } + } + } + + group { name: "elm/gengrid/item/default_gridtext/default"; + styles { + style { name: "gengrid_text_style"; + base: "font=Tizen:sytle=Bold font_size=30 color=#fff align=center wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + inherit: "elm/gengrid/item/default_grid/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end"; + parts { + part { name: "left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC; + } + } + part { name: "right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "left_top_padding"; + to_y: "right_bottom_padding"; + } + rel2 { + relative: 0.0 1.0; + to: "right_bottom_padding"; + } + align: 0.5 1.0; + color: 0 0 0 255; + text { + //style: "gengrid_textblock_style"; + style: "gengrid_text_style"; + min: 0 1; + align: 0.5 0.0; + //font: "Tizen:style=Regular"; + //size: "24"; + //text_class: "T127"; + } + } + } + part { name: "elm.swallow.block"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to : "elm.text"; + rel2.to : "elm.text"; + } + } + part { name: "item_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC; + } + } + part { name: "item_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_real_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "item_real_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "focus_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC; + } + } + part { name: "focus_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC; + } + } + } + } + + group { name: "elm/gengrid/item/default_gridtext2/default"; + inherit: "elm/gengrid/item/default_gridtext/default"; + parts { + part { name: "left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC; + } + } + part { name: "right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + rel1 { + to: "left_top_padding"; + } + rel2 { + to_x: "right_bottom_padding"; + to_y: "left_top_padding"; + } + text { + align: 0.5 1.0; + } + } + } + part { name: "item_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC; + } + } + part { name: "item_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; + } + } + part { name: "item_real_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "item_real_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; + } + } + part { name: "focus_bg_left_top_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC; + } + } + part { name: "focus_bg_right_bottom_padding"; + description { state: "default" 0.0; + min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC; + } + } + } + } + + group { name: "elm/gengrid/item/block/default"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + } diff --git a/2.3-mobile/widgets_default/genlist.edc b/2.3-mobile/widgets_default/genlist.edc new file mode 100644 index 0000000..a394caa --- /dev/null +++ b/2.3-mobile/widgets_default/genlist.edc @@ -0,0 +1,612 @@ +/* + * 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. + */ + +#include "genlist_macro.edc" + +group { name: "elm/genlist/item/default/default"; + alias: "elm/list/item/default"; + alias: "elm/list/item_odd/default"; + alias: "elm/list/item_compress/default"; + alias: "elm/list/item_compress_odd/default"; + alias: "elm/genlist/item_compress/default"; + alias: "elm/genlist/item/default_style/default"; + alias: "elm/genlist/item_compress/default_style"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_PADDING_TOP_SIZE; + max: -1 LIST_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_PADDING_BOTTOM_SIZE; + max: -1 LIST_PADDING_BOTTOM_SIZE; + ) + ) + PART(SWALLOW, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_LEFT_PADDING_SIZE 0; + max: LIST_LEFT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_RIGHT_PADDING_SIZE 0; + max: LIST_RIGHT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_L("default" 0.0, + "elm.padding.left", + ) + ) + PART(SWALLOW, "elm.swallow.end", + DSC_R("default" 0.0, + "elm.padding.right", + ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.swallow.icon", + min: 0 -0; + max: 0 -1; + ) + description { state: "enabled" 0.0; + inherit: "default" 0.0; + min: LIST_PADDING_CENTER_LEFT_SIZE -0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + } + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.swallow.end", + min: 0 0; + max: 0 -1; + ) + description { state: "enabled" 0.0; + inherit: "default" 0.0; + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + } + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRTB("default" 0.0, + "elm.padding.center.left", "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( target: "elm.text"; ) + programs { + LIST_PROGRAM_PAD + } +} + +group { name: "elm/genlist/item/group_index/default"; + alias: "elm/genlist/item_compress/group_index"; + alias: "elm/genlist/item/groupindex/default"; + alias: "elm/genlist/item_compress/groupindex"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + parts { + LIST_PART_BG_GROUP + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_INDEX_PADDING_TOP_SIZE; + max: -1 LIST_INDEX_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_INDEX_PADDING_BOTTOM_SIZE; + max: -1 LIST_INDEX_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_L("default" 0.0, + "elm.swallow.pad", + min: LIST_INDEX_PADDING_LEFT_SIZE 0; + max: LIST_INDEX_PADDING_LEFT_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_INDEX_PADDING_RIGHT_SIZE 0; + max: LIST_INDEX_PADDING_RIGHT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_LTB("default" 0.0, + "elm.padding.left", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(SWALLOW, "elm.swallow.end", + DSC_RTB("default" 0.0, + "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRTB("default" 0.0, + "elm.swallow.icon", "elm.swallow.end", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_INDEX_HEIGHT; + text.min: 0 1; + text.style: "list_text_index_main"; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_index_main_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_INDEX_BOTTOMLINE_HEIGHT; + max: -1 LIST_INDEX_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } +} + +group { name: "elm/genlist/item/double_label/default"; + alias: "elm/genlist/item_compress/double_label"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_2LINE_PADDING_TOP_SIZE; + max: -1 LIST_2LINE_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_2LINE_PADDING_BOTTOM_SIZE; + max: -1 LIST_2LINE_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_LEFT_PADDING_SIZE 0; + max: LIST_LEFT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_L("default" 0.0, + "elm.padding.left", + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_RIGHT_PADDING_SIZE 0; + max: LIST_RIGHT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.end", + DSC_R("default" 0.0, + "elm.padding.right", + ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.swallow.icon", + min: 0 -0; + max: 0 -1; + ) + description { state: "enabled" 0.0; + inherit: "default" 0.0; + min: LIST_PADDING_CENTER_LEFT_SIZE -0; + max: LIST_PADDING_CENTER_LEFT_SIZE -1; + } + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.swallow.end", + min: 0 0; + max: 0 -1; + ) + description { state: "enabled" 0.0; + inherit: "default" 0.0; + min: LIST_PADDING_CENTER_RIGHT_SIZE 0; + max: LIST_PADDING_CENTER_RIGHT_SIZE -1; + } + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRT("default" 0.0, + "elm.swallow.icon", "elm.swallow.end", "elm.padding.top", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.text.sub", + DSC_LRTB("default" 0.0, + "elm.swallow.icon", "elm.swallow.end", "elm.text", "elm.padding.bottom", + min: 0 LIST_TEXT_SUB_HEIGHT; + text.min: 0 1; + text.style: "list_text_sub_01"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_sub_01_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( target: "elm.text"; target: "elm.text.sub"; ) + programs { + LIST_PROGRAM_PAD + } +} + +group { name: "elm/genlist/item/full/default"; + alias: "elm/genlist/item_compress/full"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "contents" "elm.swallow.content"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SWALLOW, "elm.swallow.content", + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.pad"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( ; ) +} + +group { name: "elm/genlist/item/one_icon/default"; + alias: "elm/genlist/item_compress/one_icon"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_TOP_PADDING_SIZE; + max: -1 LIST_TOP_PADDING_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOM_PADDING_SIZE; + max: -1 LIST_BOTTOM_PADDING_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_LEFT_PADDING_SIZE 0; + max: LIST_LEFT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_L("default" 0.0, + "elm.padding.left", + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_DEFAULT_PADDING_SIZE 0; + max: LIST_DEFAULT_PADDING_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.center.left", + DSC_L("default" 0.0, + "elm.swallow.icon", + min: LIST_TEXT_LEFT_PADDING_SIZE -0; + max: LIST_TEXT_LEFT_PADDING_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRTB("default" 0.0, + "elm.padding.center.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( target: "elm.text"; ) +} + +group { name: "elm/genlist/item/end_icon/default"; + alias: "elm/genlist/item_compress/end_icon"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_TOP_PADDING_SIZE; + max: -1 LIST_TOP_PADDING_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOM_PADDING_SIZE; + max: -1 LIST_BOTTOM_PADDING_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_DEFAULT_PADDING_SIZE 0; + max: LIST_DEFAULT_PADDING_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_RIGHT_PADDING_SIZE 0; + max: LIST_RIGHT_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.swallow.icon", + DSC_R("default" 0.0, + "elm.padding.right", + ) + ) + PART(SPACER, "elm.padding.center.right", + DSC_R("default" 0.0, + "elm.swallow.icon", + min: LIST_TEXT_RIGHT_PADDING_SIZE 0; + max: LIST_TEXT_RIGHT_PADDING_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.center.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( target: "elm.text"; ) +} + +group { name: "elm/genlist/item/message/default"; + alias: "elm/genlist/item_compress/message"; + + data.item: "treesize" GENLIST_TREESIZE_DEFAULT; + data.item: "texts" "elm.text elm.title.1 elm.title.2"; + + parts { + LIST_PART_BG_NOCLASS + PART(SWALLOW, "elm.swallow.pad", + DSC_FROM_L("default" 0.0, ); + mouse_events: 0; + ) + PART(SPACER, "elm.padding.top", + DSC_FROM_T("default" 0.0, + min: 0 LIST_WRAP_PADDING_TOP_SIZE; + max: -1 LIST_WRAP_PADDING_TOP_SIZE; + ) + ) + PART(SPACER, "elm.padding.bottom", + DSC_FROM_B("default" 0.0, + min: 0 LIST_WRAP_PADDING_BOTTOM_SIZE; + max: -1 LIST_WRAP_PADDING_BOTTOM_SIZE; + ) + ) + PART(SPACER, "elm.padding.left", + DSC_FROM_L("default" 0.0, + min: LIST_LEFT_PADDING_SIZE 0; + max: LIST_RIGHT_PADDING_SIZE -1; + ) + ) + PART(SPACER, "elm.padding.right", + DSC_FROM_R("default" 0.0, + min: LIST_DEFAULT_PADDING_SIZE 0; + max: LIST_DEFAULT_PADDING_SIZE -1; + ) + ) + PART(TEXTBLOCK, "elm.text", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.title.1", + DSC_LRT("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.text", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(TEXTBLOCK, "elm.title.2", + DSC_LRTB("default" 0.0, + "elm.padding.left", "elm.padding.right", "elm.title.1", "elm.padding.bottom", + min: 0 LIST_TEXT_MAIN_HEIGHT; + text.min: 0 1; + text.style: "list_text_main"; + fixed: 1 0;; + ) + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_press"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "list_text_main_dim"; + } + ) + PART(RECT, "elm.bottomline", + DSC_FROM_B("default" 0.0, + min: 0 LIST_BOTTOMLINE_HEIGHT; + max: -1 LIST_BOTTOMLINE_HEIGHT; + color: 192 213 222 255; + ) + ) + } + LIST_PROGRAMS( target: "elm.text"; target: "elm.title.1"; target: "elm.title.2"; ) +} diff --git a/2.3-mobile/widgets_default/genlist_macro.edc b/2.3-mobile/widgets_default/genlist_macro.edc new file mode 100644 index 0000000..730ed2d --- /dev/null +++ b/2.3-mobile/widgets_default/genlist_macro.edc @@ -0,0 +1,548 @@ +/* + * 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. + */ + +//**************************************************************************// +// Generic Macros, EDJE description have 24 patterns +//**************************************************************************// +// ------------------ +// | --> HERE +// ------------------ + #define DSC_FROM_L( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM \ + } + +// ------------------ +// HERE <-- | +// ------------------ + #define DSC_FROM_R( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM \ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DSC_FROM_T( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM \ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DSC_FROM_B( STATE, PARAM ) \ + description { state: STATE; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM \ + } + +// ------------------ +// | PART == HERE | +// ------------------ + #define DSC_TO( STATE, PART, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 0 0; \ + to: PART; \ + } \ + rel2 { \ + relative: 1 1; \ + to: PART; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_LRTB( STATE, LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// --------------------- +// LEFT |--> HERE +// --------------------- +#define DSC_L( STATE, LEFT, PARAM ) \ + description { state: STATE; \ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + PARAM \ + } + +// --------------------- +// HERE <--| RIGHT +// --------------------- +#define DSC_R( STATE, RIGHT, PARAM ) \ + description { state: STATE; \ + align: 1 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + PARAM \ + } + +// -------------------------- +// LEFT |--> HERE <--| RIGHT +// -------------------------- +#define DSC_LR( STATE, LEFT, RIGHT, PARAM ) \ + description { state: STATE; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + } \ + PARAM \ + } + +// | TOP | +// ----------------- +// | HERE <--| RIGHT +// ----------------- +// | BOTTOM | +#define DSC_RTB( STATE, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 1 0.5; \ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_LRB( STATE, LEFT, RIGHT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 1; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +#define DSC_LRT( STATE, LEFT, RIGHT, TOP, PARAM ) \ + description { state: STATE; \ + align: 0.5 0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT | --> HERE | +#define DSC_LT( STATE, LEFT, TOP, PARAM ) \ + description { state: STATE; \ + align: 0 0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// LEFT | --> HERE | +// --------------------- +// | BOTTOM | +#define DSC_LB( STATE, LEFT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0 1; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// LEFT |--> HERE | +// --------------------- +// | BOTTOM | +#define DSC_LTB( STATE, LEFT, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// --------------------- +// | HERE <--| RIGHT +#define DSC_RT( STATE, RIGHT, TOP, PARAM ) \ + description { state: STATE; \ + align: 1 0; \ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | HERE <-- | RIGHT +// --------------------- +// | BOTTOM | +#define DSC_RB( STATE, RIGHT, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 1 1; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DSC_TB( STATE, TOP, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 0.5; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +#define DSC_T( STATE, TOP, PARAM ) \ + description { state: STATE; \ + align: 0.5 0.0; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 1; \ + to_y: TOP; \ + } \ + PARAM \ + } + +// | HERE | +// ---------- +// | BOTTOM | +// ---------- +#define DSC_B( STATE, BOTTOM, PARAM ) \ + description { state: STATE; \ + align: 0.5 1.0; \ + rel1 { \ + relative: 0 0; \ + to_y: BOTTOM; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +// PART +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +//**************************************************************************// +// Genlist Macros +//**************************************************************************// +#define LIST_PART_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color_class: "B0211"; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B0211P"; \ + } \ + description { state: "disabled" 0.0; \ + color_class: "B0211"; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PART_BG_NOCLASS \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color: 165 197 210 255; \ + } \ + description { state: "disabled" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PART_BG_GROUP \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 192 213 222 255; \ + } \ + description { state: "pressed" 0.0; \ + inherit: "default" 0.0; \ + color: 165 197 210 255; \ + } \ + description { state: "disabled" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "reorder" 0.0; \ + color: 0 0 0 0; \ + } \ + ) + +#define LIST_PROGRAM_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +#define LIST_PROGRAM_DISABLED( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define LIST_PROGRAM_SELECT( TARGET ) \ + program { name: "pressed"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "pressed" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + + #define LIST_PROGRAM_REORDER( TARGET ) \ + program { name: "reorder_enabled"; \ + signal: "elm,state,reorder,enabled"; \ + source: "elm"; \ + action: STATE_SET "reorder" 0.0; \ + TARGET \ + } \ + program { name: "reorder_disabled"; \ + signal: "elm,state,reorder,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define LIST_PROGRAM_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"touch_sound"); \ + } \ + } \ + program { name: "touch_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define LIST_PROGRAMS( TARGET ) \ + programs { \ + LIST_PROGRAM_DEFAULT( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_DISABLED( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_SELECT( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_REORDER( TARGET \ + target: "bg"; \ + ) \ + LIST_PROGRAM_SOUND \ + } + +#define PARAM_TEXT(STYLE) \ + text { \ + min: 0 1; \ + style: STYLE; \ + } + +#define LIST_PROGRAM_PAD \ + program { name: "left_default"; \ + signal: "elm,pad,left,default"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "elm.padding.center.left"; \ + } \ + program { name: "left_enabled"; \ + signal: "elm,pad,left,enabled"; \ + source: ""; \ + action: STATE_SET "enabled" 0.0; \ + target: "elm.padding.center.left"; \ + } \ + program { name: "right_default"; \ + signal: "elm,pad,right,default"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "elm.padding.center.right"; \ + } \ + program { name: "right_enabled"; \ + signal: "elm,pad,right,enabled"; \ + source: ""; \ + action: STATE_SET "enabled" 0.0; \ + target: "elm.padding.center.right"; \ + } diff --git a/2.3-mobile/widgets_default/hover.edc b/2.3-mobile/widgets_default/hover.edc new file mode 100644 index 0000000..d59e4c2 --- /dev/null +++ b/2.3-mobile/widgets_default/hover.edc @@ -0,0 +1,1916 @@ +/* TODO: replicate diagonal swallow slots to the other hover styles */ +group { name: "elm/hover/base/default"; + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: HOVER_DEFAULT_DIM_COLOR; + } + } + part { name: "elm.padding.slot.left"; + type: SPACER; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 1 0; + rel1.to: "elm.swallow.size"; + rel2 { + to: "elm.swallow.size"; + relative: 0 1; + } + } + } + part { name: "elm.padding.slot.top"; + type: SPACER; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 0 1; + rel1.to: "elm.swallow.size"; + rel2 { + to: "elm.swallow.size"; + relative: 1 0; + } + } + } + part { name: "elm.padding.slot.right"; + type: SPACER; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 0 0; + rel1 { + to: "elm.swallow.size"; + relative: 1 0; + } + rel2.to: "elm.swallow.size"; + } + } + part { name: "elm.padding.slot.bottom"; + type: SPACER; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 0.5 0; + rel1 { + to: "elm.swallow.size"; + relative: 0 1; + } + rel2.to: "elm.swallow.size"; + } + } + part { name: "box"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.padding.slot.left"; + rel2 { + to: "elm.padding.slot.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.slot.top-left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1 { + to_x: "elm.padding.slot.left"; + to_y: "elm.padding.slot.top"; + relative: 0 0; + } + rel2 { + to_x: "elm.padding.slot.left"; + to_y: "elm.padding.slot.top"; + relative: 0 0; + } + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.padding.slot.top"; + rel2 { + to: "elm.padding.slot.top"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.slot.top-right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.slot.right"; + to_y: "elm.padding.slot.top"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.slot.right"; + to_y: "elm.padding.slot.top"; + relative: 1 0; + } + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + to: "elm.padding.slot.right"; + relative: 1.0 0.0; + } + rel2.to: "elm.padding.slot.right"; + } + } + part { name: "elm.swallow.slot.bottom-right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0 0; + rel1 { + to_x: "elm.padding.slot.right"; + to_y: "elm.padding.slot.bottom"; + relative: 1 1; + } + rel2 { + to_x: "elm.padding.slot.right"; + to_y: "elm.padding.slot.bottom"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1 { + to: "elm.padding.slot.bottom"; + relative: 0.0 1.0; + } + rel2.to: "elm.padding.slot.bottom"; + } + } + part { name: "elm.swallow.slot.bottom-left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1 0; + rel1 { + to_x: "elm.padding.slot.left"; + to_y: "elm.padding.slot.bottom"; + relative: 0 1; + } + rel2 { + to_x: "elm.padding.slot.left"; + to_y: "elm.padding.slot.bottom"; + relative: 0 1; + } + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + } +} + +group { name: "elm/hover/base/popout"; + images { + image: "whitetheme/hover_top_bg.png" COMP; + image: "whitetheme/hover_left_bg.png" COMP; + image: "whitetheme/hover_right_bg.png" COMP; + image: "whitetheme/hover_bottom_bg.png" COMP; + image: "whitetheme/hover_center_bg.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: HOVER_DEFAULT_DIM_COLOR; + } + } + + part { name: "elm.padding.pop.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 1 0.5; + rel1.to: "pop"; + rel2 { + to: "pop"; + relative: 0.0 1.0; + } + } + } + + part { name: "leftclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel2.to_x: "pop"; + rel2 { + relative: 0.0 1.0; + offset: 1 -1; + } + } + } + part { name: "elm.padding.swallow-left.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 1 0.5; + rel1.to: "elm.swallow.slot.left"; + rel2 { + to: "elm.swallow.slot.left"; + relative: 0.0 1.0; + } + } + } + part { name: "left"; + clip_to: "leftclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_x: "elm.padding.swallow-left.left"; + to_y: "pop"; + } + rel2 { + to: "pop"; + relative: 0 1; + } + image { + normal: "whitetheme/hover_left_bg.png"; + border: HOVER_DEFAULT_IMG_BORDER_LEFT; + border_scale: 1; + middle: 1; + } + fill.smooth: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + scale: 1; + clip_to: "leftclip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + to_x: "pop"; + to_y: "elm.swallow.slot.middle"; + relative: 0.0 0.0; + } + rel2 { + to_x: "pop"; + to_y: "elm.swallow.slot.middle"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + } + } + + part { name: "elm.padding.pop.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 0 0.5; + rel1.to: "pop"; + rel2 { + to: "pop"; + relative: 0.0 1.0; + } + } + } + + part { name: "rightclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "pop"; + relative: 1.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.padding.swallow-right.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT 0; + align: 0 0.5; + rel1 { + to: "elm.swallow.slot.right"; + relative: 1 0; + } + rel2.to: "elm.swallow.slot.right"; + } + } + part { name: "right"; + clip_to: "rightclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "pop"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.swallow-right.right"; + to_y: "pop"; + relative: 1 1; + } + image { + normal: "whitetheme/hover_right_bg.png"; + border: HOVER_DEFAULT_IMG_BORDER_RIGHT; + border_scale: 1; + middle: 1; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + clip_to: "rightclip"; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1 { + to_x: "pop"; + to_y: "elm.swallow.slot.middle"; + relative: 1.0 0.0; + } + rel2 { + to_x: "pop"; + to_y: "elm.swallow.slot.middle"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + } + } + part { name: "topclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_y: "pop"; + relative: 1.0 0.0; + offset: -1 0; + } + } + } + part { name: "elm.padding.swallow-top.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 0 1; + rel1.to: "elm.swallow.slot.top"; + rel2 { + to: "elm.swallow.slot.top"; + relative: 1 0; + } + } + } + part { name: "top"; + clip_to: "topclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_x: "pop"; + to_y: "elm.swallow.slot.top"; + relative: 0 0; + } + rel2 { + to: "pop"; + relative: 1 0; + } + image { + normal: "whitetheme/hover_top_bg.png"; + border: HOVER_DEFAULT_IMG_BORDER_TOP; + border_scale: 1; + middle: 1; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + scale: 1; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1 { + to_x: "elm.swallow.slot.middle"; + to_y: "pop"; + relative: 0.0 0; + } + rel2 { + to_x: "elm.swallow.slot.middle"; + to_y: "pop"; + relative: 1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + } + part { name: "bottomclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "pop"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.swallow-bottom.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 0.5 0; + rel1 { + to: "elm.swallow.slot.bottom"; + relative: 0 1; + } + rel2.to: "elm.swallow.slot.bottom"; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "pop"; + relative: 0 1; + } + rel2 { + to_x: "pop"; + to_y: "elm.padding.swallow-bottom.bottom"; + relative: 1 1; + } + image { + normal: "whitetheme/hover_bottom_bg.png"; + border: HOVER_DEFAULT_IMG_BORDER_BOTTOM; + border_scale: 1; + middle: 1; + } + fill.smooth: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + scale: 1; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1; + rel1 { + to_x: "elm.swallow.slot.middle"; + to_y: "pop"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.slot.middle"; + to_y: "pop"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + } + } + part { name: "elm.padding.pop.left-top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 1 1; + rel1.to: "elm.swallow.slot.middle"; + rel2 { + to: "elm.swallow.slot.middle"; + relative: 0 0; + } + } + } + part { name: "elm.padding.pop.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: HOVER_DEFAULT_PADDING_SIZE_DEFAULT HOVER_DEFAULT_PADDING_SIZE_DEFAULT; + align: 0 0; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 1 1; + } + rel2.to: "elm.swallow.slot.middle"; + } + } + part { name: "pop"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.padding.pop.left-top"; + rel2.to: "elm.padding.pop.right-bottom"; + image { + normal: "whitetheme/hover_center_bg.png"; + border: HOVER_DEFAULT_IMG_BORDER_CENTER; + middle: 1; + } + visible: 1; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + color: HOVER_COLOR_TRANSPARENT; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + + program { name: "leftshow"; + signal: "elm,action,slot,left,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "lefthide"; + signal: "elm,action,slot,left,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "rightshow"; + signal: "elm,action,slot,right,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "righthide"; + signal: "elm,action,slot,right,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "topshow"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the menu only the bottom part is used. +group { name: "elm/hover/base/menu"; + images { + image: "whitetheme/hoversel_bg.png" COMP; + image: "whitetheme/hoversel_bg_shadow.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: HOVER_DEFAULT_DIM_COLOR; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.padding.clip.top"; + } + } + part { name: "elm.padding.clip.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1; + min: 0 HOVER_MENU_CLIP_PADDING_TOP; + rel1 { + to_y: "pop"; + relative: 0 0; + } + rel2 { + to_y: "pop"; + relative: 0 0; + } + } + } + part { name: "elm.padding.slot.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: HOVER_MENU_SLOT_PADDING_LEFT_TOP; + rel1.to: "elm.swallow.slot.bottom"; + rel2 { + to: "elm.swallow.slot.bottom"; + relative: 0 0; + } + } + } + part { name: "elm.padding.slot.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0 0; + min: HOVER_MENU_SLOT_PADDING_RIGHT_BOTTOM; + rel1 { + to: "elm.swallow.slot.bottom"; + relative: 1 1; + } + rel2.to: "elm.swallow.slot.bottom"; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.padding.slot.left-top"; + rel2.to: "elm.padding.slot.right-bottom"; + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bottom_sh"; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.padding.slot.left-top"; + rel2.to: "elm.padding.slot.right-bottom"; + image { + normal: "whitetheme/hoversel_bg_shadow.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 1.0 1.0; + offset: -1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + } + } + part { name: "pop"; + mouse_events: 1; + repeat_events:1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel2.to: "elm.swallow.slot.middle"; + visible: 0; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.slot.middle.left-top"; + to_y: "elm.swallow.size"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.size"; + offset: 0 0; + } + } + } + part { name: "elm.padding.slot.middle.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: HOVER_MENU_SLOT_MIDDLE_PADDING_LEFT_TOP; + rel1.to: "elm.swallow.size"; + rel2 { + to: "elm.swallow.size"; + relative: 0 0; + } + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "bottom"; + target: "bottom_sh"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "bottom_sh"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the submenu only the bottom part is used +//and no part should interact except the bottom area +group { name: "elm/hover/base/submenu"; + images { + image: "whitetheme/hoversel_bg.png" COMP; + image: "whitetheme/hoversel_bg_shadow.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + //here we do non catch events like the hover hover does + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: HOVER_COLOR_TRANSPARENT; + visible: 0; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.padding.clip.top"; + } + } + + part { name: "elm.padding.clip.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1; + min: 0 HOVER_MENU_CLIP_PADDING_TOP; + rel1 { + to_y: "pop"; + relative: 0 0; + } + rel2 { + to_y: "pop"; + relative: 0 0; + } + } + } + part { name: "elm.padding.slot.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: HOVER_MENU_SLOT_PADDING_LEFT_TOP; + rel1.to: "elm.swallow.slot.bottom"; + rel2 { + to: "elm.swallow.slot.bottom"; + relative: 0 0; + } + } + } + + part { name: "elm.padding.slot.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0 0; + min: HOVER_MENU_SLOT_PADDING_RIGHT_BOTTOM; + rel1 { + to: "elm.swallow.slot.bottom"; + relative: 1 1; + } + rel2.to: "elm.swallow.slot.bottom"; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.padding.slot.left-top"; + rel2.to: "elm.padding.slot.right-bottom"; + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bottom_sh"; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.padding.slot.left-top"; + rel2.to: "elm.padding.slot.right-bottom"; + image { + normal: "whitetheme/hoversel_bg_shadow.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 1.0 1.0; + offset: -1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + } + } + part { name: "pop"; + mouse_events: 1; + repeat_events:1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel2.to: "elm.swallow.slot.middle"; + visible: 0; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1 { + to_x: "elm.padding.slot.middle.left"; + to_y: "elm.swallow.size"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.size"; + offset: 0 0; + } + } + } + part { name: "elm.padding.slot.middle.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: HOVER_MENU_SLOT_MIDDLE_PADDING_LEFT_TOP; + rel1.to: "elm.swallow.size"; + rel2 { + to: "elm.swallow.size"; + relative: 0 0; + } + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "bottom"; + target: "bottom_sh"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "bottom_sh"; + target: "elm.swallow.slot.bottom"; + } + } +} + +group { name: "elm/hover/base/hoversel_vertical/default"; + alias: "elm/hover/base/hoversel_vertical/entry"; + images { + image: "whitetheme/hoversel_bg.png" COMP; + image: "whitetheme/hoversel_bg_shadow.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.bg-top.left-top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1.to: "elm.swallow.slot.top"; + rel2 { + to: "elm.swallow.slot.top"; + relative: 0 0; + } + } + } + + part { name: "elm.padding.bg-top.right-bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1 { + to_x: "elm.swallow.slot.top"; + to_y: "elm.swallow.slot.bottom"; + relative: 1 0; + } + rel2 { + to_x: "elm.swallow.slot.top"; + to_y: "elm.swallow.slot.bottom"; + } + } + } + + part { name: "elm.padding.bg-bottom.left-top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1 { + to_x: "elm.swallow.slot.bottom"; + to_y: "elm.swallow.slot.top"; + } + rel2 { + to_x: "elm.swallow.slot.bottom"; + to_y: "elm.swallow.slot.top"; + relative: 0 1; + } + } + } + + part { name: "elm.padding.bg-bottom.right-bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1 { + to: "elm.swallow.slot.bottom"; + relative: 1 1; + } + rel2.to: "elm.swallow.slot.bottom"; + } + } + + part { name: "button_image"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.bg-top.left-top"; + relative: 0 0; + } + rel2 { + to: "elm.padding.bg-top.right-bottom"; + relative: 1 1; + } + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + description { state: "bottom" 0.0; + rel1 { + to: "elm.padding.bg-bottom.left-top"; + relative: 0 0; + } + rel2 { + to: "elm.padding.bg-bottom.right-bottom"; + relative: 1 1; + } + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: HOVER_DEFAULT_DIM_COLOR; + } + } + + part { name: "topclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_y: "edge_top"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + clip_to: "topclip"; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 0.0 0.0; + offset: 0 -1; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 1.0 0.0; + offset: -1 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + } + part { name: "bottomclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "edge_bottom"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 1.0 1.0; + offset: -1 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + } + } + + part { name: "over1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "whitetheme/hoversel_bg_shadow.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "edge_top"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "edge_bottom"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "topshow"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "edge_top"; + after: "topshow2"; + } + program { name: "topshow2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + } + program { name: "topshow3"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + after: "tophide2"; + } + program { name: "tophide2"; + action: STATE_SET "default" 0.0; + target: "edge_top"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "edge_bottom"; + after: "bottomshow2"; + } + program { name: "bottomshow2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomshow3"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "button_image"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + after: "bottomhide2"; + } + program { name: "bottomhide2"; + action: STATE_SET "default" 0.0; + target: "edge_bottom"; + } + } +} +group { name: "elm/hover/base/hoversel_horizontal/default"; + alias: "elm/hover/base/hoversel_horizontal/entry"; + images { + image: "whitetheme/hoversel_bg.png" COMP; + image: "whitetheme/hoversel_bg_shadow" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.offset"; + relative: 1.0 1.0; + } + } + } + + part { name: "elm.padding.bg-left.left-top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_TOP; + rel1.to: "elm.swallow.slot.left"; + rel2 { + to: "elm.swallow.slot.left"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bg-left.right-bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1 { + to_x: "elm.swallow.slot.right"; + to_y: "elm.swallow.slot.left"; + relative: 1 1; + } + rel2 { + to_x: "elm.swallow.slot.right"; + to_y: "elm.swallow.slot.left"; + } + } + } + part { name: "elm.padding.bg-right.left-top"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_TOP; + rel1.to: "elm.swallow.slot.left"; + rel2 { + to: "elm.swallow.slot.left"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bg-right.right-bottom"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT + HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT; + rel1 { + to: "elm.swallow.slot.right"; + relative: 1 1; + } + rel2.to: "elm.swallow.slot.right"; + } + } + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: HOVER_DEFAULT_DIM_COLOR; + } + } + part { name: "button_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.padding.bg-left.left-top"; + rel2.to: "elm.padding.bg-left.right-bottom"; + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + description { state: "right" 0.0; + rel1.to: "elm.padding.bg-right.left-top"; + rel2 { + to: "elm.padding.bg-right.right-bottom"; + relative: 1 1; + } + image { + normal: "whitetheme/hoversel_bg.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + middle: SOLID; + } + } + } + part { name: "leftclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_x: "edge_left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + scale: 1; + clip_to: "leftclip"; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 0.0 0.0; + offset: -1 0; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + } + part { name: "rightclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "edge_right"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + scale: 1; + clip_to: "rightclip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + to: "elm.swallow.slot.middle"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.slot.middle"; + relative: 1.0 1.0; + offset: 0 -1; + } + } + } + part { name: "over1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "whitetheme/hoversel_bg_shadow.png"; + border: HOVER_MENU_IMG_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "edge_left"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "edge_right"; + mouse_events: 0; + scale: 1; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.size"; + rel2 { + to: "elm.swallow.size"; + relative: 1 0; + } + color: HOVER_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + + program { name: "leftshow"; + signal: "elm,action,slot,left,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "edge_left"; + after: "leftshow2"; + } + program { name: "leftshow2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.left"; + } + program { name: "leftshow3"; + signal: "elm,action,slot,left,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + } + + program { name: "lefthide"; + signal: "elm,action,slot,left,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.left"; + after: "lefthide2"; + } + program { name: "lefthide2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "edge_left"; + } + program { name: "rightshow"; + signal: "elm,action,slot,right,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "edge_right"; + after: "rightshow2"; + } + program { name: "rightshow2"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.slot.right"; + } + program { name: "rightshow3"; + signal: "elm,action,slot,right,show"; + source: "elm"; + action: STATE_SET "right" 0.0; + target: "button_image"; + } + program { name: "righthide"; + signal: "elm,action,slot,right,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.right"; + after: "righthide2"; + } + program { name: "righthide2"; + action: STATE_SET "default" 0.0; + target: "edge_right"; + } + } +} + diff --git a/2.3-mobile/widgets_default/icon.edc b/2.3-mobile/widgets_default/icon.edc new file mode 100644 index 0000000..fed7019 --- /dev/null +++ b/2.3-mobile/widgets_default/icon.edc @@ -0,0 +1,61 @@ +#define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + alias: "elm/icon/"##Alias##"/default"; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +#define GROUP_ICON(Name, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +group { name: "elm/icon/arrow_down/default"; + alias: "elm/icon/toolbar/arrow_down/default"; + alias: "elm/icon/toolbar/more_menu/default"; min: 68 68; + images.image: "whitetheme/icon_arrow_down.png" COMP; parts { part { name: "base"; + description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "whitetheme/icon_arrow_down.png"; } } } } + +GROUP_ALIAS_ICON("home", "toolbar/home", "whitetheme/icon_home.png", 68, 0); +GROUP_ALIAS_ICON("close", "toolbar/close", "whitetheme/icon_close.png", 68, 0); +GROUP_ALIAS_ICON("apps", "toolbar/apps", "whitetheme/icon_apps.png", 68, 0); +GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "whitetheme/icon_arrow_up.png", 68, 0); +GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "whitetheme/icon_arrow_left.png", 68, 0); +GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "whitetheme/icon_arrow_right.png", 68, 0); +GROUP_ALIAS_ICON("chat", "toolbar/chat", "whitetheme/icon_chat.png", 68, 0); +GROUP_ALIAS_ICON("clock", "toolbar/clock", "whitetheme/icon_clock.png", 68, 0); +GROUP_ALIAS_ICON("delete", "toolbar/delete", "whitetheme/icon_delete.png", 68, 0); +GROUP_ALIAS_ICON("edit", "toolbar/edit", "whitetheme/icon_edit.png", 68, 0); +GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "whitetheme/icon_refresh.png", 68, 0); +GROUP_ALIAS_ICON("folder", "toolbar/folder", "whitetheme/icon_folder.png", 68, 0); +GROUP_ALIAS_ICON("file", "toolbar/file", "whitetheme/icon_file.png", 68, 0); +GROUP_ALIAS_ICON("no_photo", "photo/no_photo", "whitetheme/icon_noimage.png", 68, 0); + +/////////////////////////////////////////////////////////////////////////////// +GROUP_ICON("menu/home", "whitetheme/icon_home.png", 51, 51); +GROUP_ICON("menu/close", "whitetheme/icon_close.png", 51, 51); +GROUP_ICON("menu/apps", "whitetheme/icon_apps.png", 51, 51); +GROUP_ICON("menu/arrow_up", "whitetheme/icon_arrow_up.png", 51, 51); +GROUP_ICON("menu/arrow_down", "whitetheme/icon_arrow_down.png", 51, 51); +GROUP_ICON("menu/arrow_left", "whitetheme/icon_arrow_left.png", 51, 51); +GROUP_ICON("menu/arrow_right", "whitetheme/icon_arrow_right.png", 51, 51); +GROUP_ICON("menu/chat", "whitetheme/icon_chat.png", 51, 51); +GROUP_ICON("menu/clock", "whitetheme/icon_clock.png", 51, 51); +GROUP_ICON("menu/delete", "whitetheme/icon_delete.png", 51, 51); +GROUP_ICON("menu/edit", "whitetheme/icon_edit.png", 51, 51); +GROUP_ICON("menu/refresh", "whitetheme/icon_refresh.png", 51, 51); +GROUP_ICON("menu/folder", "whitetheme/icon_folder.png", 51, 51); +GROUP_ICON("menu/file", "whitetheme/icon_file.png", 51, 51); + +GROUP_ICON("media_player/forward", "whitetheme/icon_media_ff.png", 34, 0); +GROUP_ICON("media_player/info", "whitetheme/icon_media_info.png", 34, 0); +GROUP_ICON("media_player/next", "whitetheme/icon_media_next.png", 34, 0); +GROUP_ICON("media_player/pause", "whitetheme/icon_media_pause.png", 34, 0); +GROUP_ICON("media_player/play", "whitetheme/icon_media_play.png", 34, 0); +GROUP_ICON("media_player/prev", "whitetheme/icon_media_prev.png", 34, 0); +GROUP_ICON("media_player/rewind", "whitetheme/icon_media_rew.png", 34, 0); +GROUP_ICON("media_player/stop", "whitetheme/icon_media_stop.png", 34, 0); + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.3-mobile/widgets_default/index.edc b/2.3-mobile/widgets_default/index.edc new file mode 100644 index 0000000..e438fcb --- /dev/null +++ b/2.3-mobile/widgets_default/index.edc @@ -0,0 +1,696 @@ +group { + name: "elm/index/item/horizontal/pagecontrol"; + alias: "elm/index/item_odd/horizontal/pagecontrol"; + images { + image: "whitetheme/index_pagecontrol_bar_bg0.png" COMP; + image: "whitetheme/index_pagecontrol_bar_bg1.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + min: INDEX_PAGECONTROL_IND_INC; + max: INDEX_PAGECONTROL_IND_INC; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/index_pagecontrol_bar_bg0.png"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_PAGECONTROL_IND_MIN_INC; + max: INDEX_PAGECONTROL_IND_MIN_INC; + image.normal: "whitetheme/index_pagecontrol_bar_bg1.png"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + min: INDEX_PAGECONTROL_IND_INC; + max: INDEX_PAGECONTROL_IND_INC; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: INDEX_PAGECONTROL_FONT_COLOR_INC 0; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: INDEX_PAGECONTROL_FONT_SIZE_INC; + min: 0 1; + align: 0.5 0.5; + text_class: "slp_medium"; + } + rel1 { to: "indicator2"; } + rel2 { to: "indicator2"; } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: INDEX_PAGECONTROL_FONT_COLOR_INC 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "elm.text"; + transition: LINEAR 0.2; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "elm.text"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/index/base/horizontal/default"; + script { + public timer_flag; + public index_hide_timer(val) { + if (get_int(timer_flag) == 1) + run_program(PROGRAM:"index0.inactive"); + return 0; + } + } + images { + image: "whitetheme/index_scroll_popup_bg.png" COMP; + } + data{ + item: "min_obj_height" "32"; + item: "min_1st_level_obj_height" "32"; + item: "special_char" "*"; + } + parts { + part { name: "clip"; + scale: 1; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + scale: 1; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.dragable.index.1"; + type: SPACER; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "elm.swallow.index.0"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 20 38; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "elm.swallow.index.0"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.index.1.padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 INDEX_LEVEL_PADDING_INC; + fixed: 0 1; + align: 0 1; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.index.1"; + type: SWALLOW; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.dragable.index.1"; + relative: 0.5 1; + offset: -1 -1; + } + rel2 { + to_y: "elm.dragable.index.1"; + relative: 0.5 1; + offset: -1 0; + } + color: 255 255 255 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.index.1.padding.right"; + relative: 0.0 0.5; + offset: 0 0; + } + rel2 { + to_x: "elm.swallow.index.1.padding.right"; + relative: 0.0 0.5; + offset: 0 -1; + } + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.5 1; + fixed: 1 1; + rel1 { + relative: 0.5 1; + offset: -1 0; + } + rel2 { + relative: 0.5 1; + offset: -1 0; + } + color: 255 255 255 50; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "button_image_padding"; + type: SPACER; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 0 0; + max: 0 0; + fixed: 0 1; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + } + } + } + part { name: "button_image"; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 0.5; + min: INDEX_POPUP_HEIGHT_INC INDEX_POPUP_HEIGHT_INC; + fixed: 1 1; + rel1 { + to: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text"; + relative: 1.0 1.0; + } + image { + normal: "whitetheme/index_scroll_popup_bg.png"; + border: INDEX_POPUP_BG_NINEPATCH_INC; + border_scale: 1; + } + image.middle: 1; + } + description { state: "invisible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "index1" 0.0; + inherit: "default" 0.0; + min: INDEX_POPUP_HEIGHT_INC INDEX_POPUP_HEIGHT_INC; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: "TEXT"; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: 40 20; + visible: 0; + rel1 { + to_y: "button_image_padding"; + relative: 0.5 1.0; + } + rel2 { + to_y: "button_image_padding"; + relative: 0.5 1.0; + } + color: INDEX_POPUP_TEXT_COLOR_INC; + color3: 0 0 0 64; + text { + font: "SLP:style=Bold"; + size: INDEX_POPUP_TEXT_SIZE_INC; + min: 1 1; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.dragable.pointer"; + type: RECT; + scale: 1; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 1 1 0; + } + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + color: 0 0 0 0; + } + } + part { name: "elm.swallow.event.0.bottom.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SOFTKEY_H; + fixed: 0 1; + align: 0.5 1.0; + rel1{ + relative: 1.0 1.0; offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 1; + rel1 { + relative: 0 1; + offset: 0 -1; + } + rel2 { + relative: 1 1; + offset: -1 -1; + to_y: "elm.swallow.event.0.bottom.padding"; + } + } + } + + part { name: "elm.swallow.event.1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.1"; + relative: 0.0 0.0; + offset: -1 0; + } + rel2 { + to: "elm.swallow.index.1"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + run_program(PROGRAM:"initial.index0.active"); + run_program(PROGRAM:"button.image.hidden"); + timer(2.0, "index_hide_timer", 0); + } + } + program { name: "drag2"; + signal: "drag,set"; + source: "elm.dragable.index.1"; + script { + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + custom_state(PART:"elm.dragable.index.1", "default", 0.0); + set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); + } + } + program { name: "index0.active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.index.0"; + target: "clip"; + after: "disable_timer"; + } + program { name: "initial.index0.active"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.index.0"; + target: "clip"; + after: "enable_timer"; + } + program { name: "index0.inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.index.0"; + target: "clip"; + } + program { name: "index1.inactive"; + signal: "elm,state,level,0"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.index.1"; + target: "clip2"; + } + program { name: "index1.active"; + signal: "elm,state,level,1"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.index.1"; + target: "clip2"; + } + program { name: "index.active"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + target: "elm.swallow.index.0"; + target: "clip"; + target: "elm.text"; + target: "button_image"; + } + program { name: "index.inactive"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "button.image.hidden"; + signal: "elm,state,button,image,hide"; + source: "elm"; + action: STATE_SET "invisible" 0.0; + target: "button_image"; + } + program { name: "disable_timer"; + script { + set_int(timer_flag, 0); + } + } + program { name: "enable_timer"; + script { + set_int(timer_flag, 1); + } + } + } +} + +group { name: "elm/index/item/horizontal/default"; + alias: "elm/index/item_odd/horizontal/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "whitetheme/index_rollover_bg_h.png" COMP; + } + parts { + part { name: "scroll.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: INDEX_SCROLL_BG_COLOR_INC; + } + } + part { name: "top.line"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1 0; + min: 0 2; + fixed: 1 1; + rel1 { + relative: 0 0; + } + rel2 { + relative: 1 0; + } + color: INDEX_LEFT_LINE_COLOR_INC; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + relative: -0.5 0; + } + rel2 { + relative: 1.5 0; + } + color: INDEX_SCROLL_BG_COLOR_INC; + } + } + part { name: "elm.padding.left.line.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 2 6; + align: 0 0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.left.line.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 2 4; + align: 0 1; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "left.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.left.line.top"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.padding.left.line.bottom"; + relative: 1.0 0.0; + } + color: INDEX_BOTTOM_LINE_COLOR_INC; + } + } + part { name: "elm.padding.item.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC-4; + fixed: 1 1; + rel1 { + relative: 0 0; + } + rel2 { + relative: 0 0; + } + } + } + part { name: "elm.padding.item.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC-4; + fixed: 1 1; + rel1 { + relative: 1 0; + } + rel2 { + relative: 1 0; + } + } + } + part { name: "item.bg"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.padding.item.left"; + relative: 0.5 0.0; + } + rel2 { + to: "elm.padding.item.right"; + relative: 0.5 1.0; + } + image { + normal: "whitetheme/index_rollover_bg_h.png"; + border: INDEX_BG_NINEPATCH_INC; + border_scale: 1; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + color: INDEX_ROLLOVER_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: INDEX_ROLLOVER_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + text_class: "slp_medium"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "item.bg"; + target: "top.line"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "item.bg"; + target: "top.line"; + } + } +} + diff --git a/2.3-mobile/widgets_default/layout.edc b/2.3-mobile/widgets_default/layout.edc new file mode 100644 index 0000000..15219eb --- /dev/null +++ b/2.3-mobile/widgets_default/layout.edc @@ -0,0 +1,1230 @@ +group { name: "elm/layout/application/titlebar"; + images { + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "base"; + type:RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TITLE_SIZE_INC; + max: LAYOUT_MAX_WIDTH_INC LAYOUT_TITLE_SIZE_INC; + align: 0.5 0.0; + color: LAYOUT_BG_COLOR_INC; + } + } + part { name: "elm.padding.title.shadow.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.title.shadow.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2 { + to: "base"; + relative: 1 1; + } + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/shadow_title.png"; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.title.shadow.right"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_LEFT_PADDING_INC 0; + fixed: 1 1; + align: 0.0 1.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + } + rel2 { + to: "base"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: LAYOUT_TITLE_ICON_SIZE_INC; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.icon.padding"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.swallow.end"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_RIGHT_PADDING_INC 0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: LAYOUT_TITLE_ICON_SIZE_INC; + align: 1.0 0.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.end"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: LAYOUT_TITLE_FONT_COLOR_INC; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 1.0; + } + text { + font: "SLP:style=Medium"; + size: LAYOUT_TITLE_FONT_SIZE_INC; + min: 0 0; + align: 0.5 0.5; + text_class: "title_bar"; + } + } + } + } + programs { + program { name: "show_icon"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "hide_icon"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "show_end"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "hide_end"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + } +} + +/* application with toolbar and main content area */ +group { name: "elm/layout/application/toolbar-content"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "elm.external.toolbar.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TOOLBAR_SIZE_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + to: "elm.external.toolbar.padding"; + relative: 0.0 1.0; + } + } + } + } +} + +/* application with toolbar and main content area with a back button and title area */ +group { name: "elm/layout/application/toolbar-content-back"; + images { + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "elm.external.toolbar.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TOOLBAR_SIZE_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + to: "elm.external.toolbar.padding"; + relative: 0.0 1.0; + } + } + } + part { name: "base"; + type:RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TITLE_SIZE_INC; + max: LAYOUT_MAX_WIDTH_INC LAYOUT_TITLE_SIZE_INC; + align: 0.0 0.0; + color: LAYOUT_BG_COLOR_INC; + fixed: 1 1; + rel1 { + to: "elm.external.toolbar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.title.shadow.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.title.shadow.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2 { + to: "base"; + relative: 1 1; + } + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/shadow_title.png"; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.title.shadow.right"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.back"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "base"; + relative: 0.0 0.5; + } + rel2 { + to: "base"; + relative: 0.0 0.5; + } + } + } + part { name: "back"; + type: EXTERNAL; + source: "elm/button"; +// clip_to: "back_clipper"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.padding.back"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.back"; + relative: 1.0 1.0; + } + params.string: "label" "Back"; + } + } + part { name: "elm.padding.swallow.end"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_RIGHT_PADDING_INC 0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.0; + min: LAYOUT_TITLE_ICON_SIZE_INC; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.end"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: LAYOUT_TITLE_FONT_COLOR_INC; + rel1 { + to_y: "base"; + to_x: "back"; + relative: 1.0 0.0; + } + rel2 { + to_y: "base"; + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + } + text { + font: "SLP:style=Medium"; + size: LAYOUT_TITLE_FONT_SIZE_INC; + } + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } +/* program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + }*/ + } + } +} + +/* application with toolbar and main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/toolbar-content-back-next"; + images { + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "elm.external.toolbar.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TOOLBAR_SIZE_INC; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.external.toolbar"; + type: EXTERNAL; + scale: 1; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + to: "elm.external.toolbar.padding"; + relative: 0.0 1.0; + } + } + } + part { name: "base"; + type:RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TITLE_SIZE_INC; + max: LAYOUT_MAX_WIDTH_INC LAYOUT_TITLE_SIZE_INC; + align: 0.0 0.0; + color: LAYOUT_BG_COLOR_INC; + fixed: 1 1; + rel1 { + to: "elm.external.toolbar"; + relative: 0.0 1.0; + } + rel2 { + to: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.title.shadow.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.title.shadow.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2 { + to: "base"; + relative: 1 1; + } + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/shadow_title.png"; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.title.shadow.right"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.back"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "base"; + relative: 0.0 0.5; + } + rel2 { + to: "base"; + relative: 0.0 0.5; + } + } + } + part { name: "back"; + type: EXTERNAL; + scale: 1; + source: "elm/button"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.back"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.back"; + relative: 1.0 1.0; + } + params.string: "label" "Back"; + } + } + part { name: "elm.padding.next"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0.5; + fixed: 1 1; + min: LAYOUT_TITLE_ICON_RIGHT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_RIGHT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + rel1 { + to: "base"; + relative: 1.0 0.5; + } + rel2 { + to: "base"; + relative: 1.0 0.5; + } + } + } + part { name: "next"; + type: EXTERNAL; + source: "elm/button"; +// clip_to: "next_clipper"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.next"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.next"; + relative: 0.0 1.0; + } + params.string: "label" "Next"; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; +// clip_to: "title_clipper"; + description { state: "default" 0.0; + color: LAYOUT_TITLE_FONT_COLOR_INC; + rel1 { + to_y: "base"; + to_x: "back"; + relative: 1.0 0.0; + } + rel2 { + to_y: "base"; + to_x: "next"; + relative: 0.0 1.0; + } + text { + font: "SLP:style=Medium"; + size: LAYOUT_TITLE_FONT_SIZE_INC; + } + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } +/* program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + }*/ + program { + signal: "clicked"; + source: "next"; + action: SIGNAL_EMIT "elm,action,next" ""; + } +/* program { + signal: "elm,next,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "next_clipper"; + } + program { + signal: "elm,next,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "next_clipper"; + }*/ + } + } +} +/* application with a main content area with a back button and title area */ +group { name: "elm/layout/application/content-back"; + images { + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "base"; + type:RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TITLE_SIZE_INC; + max: LAYOUT_MAX_WIDTH_INC LAYOUT_TITLE_SIZE_INC; + align: 0.5 0.0; + color: LAYOUT_BG_COLOR_INC; + } + } + part { name: "elm.padding.title.shadow.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.title.shadow.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2 { + to: "base"; + relative: 1 1; + } + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/shadow_title.png"; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.title.shadow.right"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.back"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "base"; + relative: 0.0 0.5; + } + rel2 { + to: "base"; + relative: 0.0 0.5; + } + } + } + part { name: "back"; + type: EXTERNAL; + scale: 1; + source: "elm/button"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.padding.back"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.back"; + relative: 1.0 1.0; + } + params.string: "label" "Back"; + } + } + part { name: "elm.padding.swallow.end"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_RIGHT_PADDING_INC 0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.0; + min: LAYOUT_TITLE_ICON_SIZE_INC; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.end"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: LAYOUT_TITLE_FONT_COLOR_INC; + rel1 { + to_x: "back"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 1.0; + } + text { + font: "SLP:style=Medium"; + size: LAYOUT_TITLE_FONT_SIZE_INC; + min: 0 0; + align: 0.5 0.5; + text_class: "title_bar"; + } + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back"; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "elm.text.title"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + } + } + } +} + +/* application with a main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/content-back-next"; + images { + image: "whitetheme/shadow_title.png" COMP; + } + parts { + part { name: "base"; + type:RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 LAYOUT_TITLE_SIZE_INC; + max: LAYOUT_MAX_WIDTH_INC LAYOUT_TITLE_SIZE_INC; + align: 0.5 0.0; + color: LAYOUT_BG_COLOR_INC; + } + } + part { name: "elm.padding.title.shadow.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 0 1; + } + rel2 { + to: "base"; + relative: 0 1; + } + } + } + part { name: "elm.padding.title.shadow.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 0 LAYOUT_TITLE_SHADOW_HEIGHT_INC; + fixed: 0 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2 { + to: "base"; + relative: 1 1; + } + } + } + part { name: "elm.title.shadow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "whitetheme/shadow_title.png"; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.title.shadow.right"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.title.shadow.left"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.back"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_LEFT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "base"; + relative: 0.0 0.5; + } + rel2 { + to: "base"; + relative: 0.0 0.5; + } + } + } + part { name: "back"; + type: EXTERNAL; + scale: 1; + source: "elm/button"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.back"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.back"; + relative: 1.0 1.0; + } + params.string: "label" "Back"; + } + } + part { name: "elm.padding.next"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0.5; + fixed: 1 1; + min: LAYOUT_TITLE_ICON_RIGHT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + max : LAYOUT_TITLE_ICON_RIGHT_PADDING_INC LAYOUT_TITLE_ICON_HEIGHT_INC; + rel1 { + to: "base"; + relative: 1.0 0.5; + } + rel2 { + to: "base"; + relative: 1.0 0.5; + } + } + } + part { name: "next"; + type: EXTERNAL; + source: "elm/button"; +// clip_to: "next_clipper"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.next"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.next"; + relative: 0.0 1.0; + } + params.string: "label" "Next"; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; +// clip_to: "title_clipper"; + description { state: "default" 0.0; + color: LAYOUT_TITLE_FONT_COLOR_INC; + rel1 { + to_x: "back"; + relative: 1.0 0.0; + } + rel2 { to_y: "back"; + to_x: "next"; + relative: 0.0 1.0; + } + text { + font: "SLP:style=Medium"; + size: LAYOUT_TITLE_FONT_SIZE_INC; + } + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } +/* program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + }*/ + program { + signal: "clicked"; + source: "next"; + action: SIGNAL_EMIT "elm,action,next" ""; + } +/* program { + signal: "elm,next,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "next_clipper"; + } + program { + signal: "elm,next,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "next_clipper"; + }*/ + } + } +} + +/* application with toolbar and main content area as a vertical box */ +group { name: "elm/layout/application/toolbar-vbox"; + parts { + part { name: "elm.box.content"; + type: BOX; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + box.layout: "vertical"; + } + } + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + min: 0 LAYOUT_TOOLBAR_SIZE_INC; + rel2 { + relative: 1.0 0.0; + } + } + } + } +} + +/* application with toolbar and main content area as a table */ +group { name: "elm/layout/application/toolbar-table"; + parts { + part { name: "elm.table.content"; + type: TABLE; + scale: 1; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + min: 0 LAYOUT_TOOLBAR_SIZE_INC; + rel2 { + relative: 1.0 0.0; + } + } + } + } +} + diff --git a/2.3-mobile/widgets_default/list.edc b/2.3-mobile/widgets_default/list.edc new file mode 100644 index 0000000..ef063e7 --- /dev/null +++ b/2.3-mobile/widgets_default/list.edc @@ -0,0 +1,174 @@ +group { name: "elm/list/h_item/default"; + alias: "elm/list/h_item_odd/default"; + alias: "elm/list/h_item_compress/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: LIST_HORIZONTAL_COLOR_TRANSPARENT; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: GENLIST_LIST_BG_COLOR; + } + } + part { name: "elm.right.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 1 0.5; + min: GENLIST_HEIGHT_1_INC 0; + rel1.relative: 1 0; + color: GENLIST_LIST_LINE1_COLOR; + } + } + part { name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: GENLIST_ITEM_DEFAULT_HEIGHT 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + min: GENLIST_ITEM_DEFAULT_HEIGHT 0; + color: GENLIST_LIST_PRESS_COLOR; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0 0.5; + min: 10 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 1 0.5; + min: 10 0; + rel1.relative: 1 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + max: GENLIST_ITEM_DEFAULT_ICON_WIDTH GENLIST_ITEM_DEFAULT_ICON_HEIGHT; + align: 0.5 0.0; + rel1 { + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + relative: 1.0 1.0; + } + rel2 { + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.padding.top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0; + min: 0 GENLIST_ITEM_DEFAULT_PADDING_SIZE_DEFAULT; + rel2.relative: 1 0; + } + } + part { name: "elm.padding.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1; + min: 0 GENLIST_ITEM_DEFAULT_PADDING_SIZE_DEFAULT; + rel1.relative: 0 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + to_x: "elm.padding.left"; + to_y: "elm.padding.bottom"; + relative: 1 0; + } + rel2 { + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + relative: 0 0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1 { + to_x: "elm.padding.left"; + to_y: "elm.swallow.icon"; + relative: 1.0 1.0; + } + rel2 { + to_x: "elm.padding.right"; + to_y: "elm.swallow.end"; + relative: 0.0 0.0; + } + color: GENLIST_LIST_MAIN_TEXT_DEFAULT_COLOR; + text { + font: "SLP:style=Regular"; + size: GENLIST_ITEM_DEFAULT_MAIN_TEXT_SIZE; + min: 0 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} diff --git a/2.3-mobile/widgets_default/map.edc b/2.3-mobile/widgets_default/map.edc new file mode 100644 index 0000000..b79e6ed --- /dev/null +++ b/2.3-mobile/widgets_default/map.edc @@ -0,0 +1,479 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/map/base/default"; + images { + image: "00_winset_list_process_01.png" COMP; + image: "00_winset_list_process_02.png" COMP; + image: "00_winset_list_process_03.png" COMP; + image: "00_winset_list_process_04.png" COMP; + image: "00_winset_list_process_05.png" COMP; + image: "00_winset_list_process_06.png" COMP; + image: "00_winset_list_process_07.png" COMP; + image: "00_winset_list_process_08.png" COMP; + image: "00_winset_list_process_09.png" COMP; + image: "00_winset_list_process_10.png" COMP; + image: "00_winset_list_process_11.png" COMP; + image: "00_winset_list_process_12.png" COMP; + image: "00_winset_list_process_13.png" COMP; + image: "00_winset_list_process_14.png" COMP; + image: "00_winset_list_process_15.png" COMP; + image: "00_winset_list_process_16.png" COMP; + image: "00_winset_list_process_17.png" COMP; + image: "00_winset_list_process_18.png" COMP; + image: "00_winset_list_process_19.png" COMP; + image: "00_winset_list_process_20.png" COMP; + image: "00_winset_list_process_21.png" COMP; + image: "00_winset_list_process_22.png" COMP; + image: "00_winset_list_process_23.png" COMP; + image: "00_winset_list_process_24.png" COMP; + image: "00_winset_list_process_25.png" COMP; + image: "00_winset_list_process_26.png" COMP; + image: "00_winset_list_process_27.png" COMP; + image: "00_winset_list_process_28.png" COMP; + image: "00_winset_list_process_29.png" COMP; + image: "00_winset_list_process_30.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "00_winset_list_process_30.png"; + tween: "00_winset_list_process_01.png"; + tween: "00_winset_list_process_02.png"; + tween: "00_winset_list_process_03.png"; + tween: "00_winset_list_process_04.png"; + tween: "00_winset_list_process_05.png"; + tween: "00_winset_list_process_06.png"; + tween: "00_winset_list_process_07.png"; + tween: "00_winset_list_process_08.png"; + tween: "00_winset_list_process_09.png"; + tween: "00_winset_list_process_10.png"; + tween: "00_winset_list_process_11.png"; + tween: "00_winset_list_process_12.png"; + tween: "00_winset_list_process_13.png"; + tween: "00_winset_list_process_14.png"; + tween: "00_winset_list_process_15.png"; + tween: "00_winset_list_process_16.png"; + tween: "00_winset_list_process_17.png"; + tween: "00_winset_list_process_18.png"; + tween: "00_winset_list_process_19.png"; + tween: "00_winset_list_process_20.png"; + tween: "00_winset_list_process_21.png"; + tween: "00_winset_list_process_22.png"; + tween: "00_winset_list_process_23.png"; + tween: "00_winset_list_process_24.png"; + tween: "00_winset_list_process_25.png"; + tween: "00_winset_list_process_26.png"; + tween: "00_winset_list_process_27.png"; + tween: "00_winset_list_process_28.png"; + tween: "00_winset_list_process_29.png"; + } + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } +} +group { name: "elm/map/marker/radio/default"; + data { + item: size_w 48; + item: size_h 48; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "map_item.png" COMP; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_item.png"; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.27 0.27; + rel2.relative: 0.73 0.73; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "SLP:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "slp"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/radio2/default"; + data { + item: size_w 48; + item: size_h 48; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "map_item_2.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_item_2.png"; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "SLP:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "slp"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/empty/default"; + data { + item: size_w 44; + item: size_h 44; + item: size_max_w 64; + item: size_max_h 64; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "SLP:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + text_class: "slp"; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker_bubble/default"; + images { + image: "bubble.png" COMP; + image: "bubble_shine.png" COMP; + } + data { + item: size_w 200; + item: size_h 100; + } + parts { + part { name: "clipper"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "base0"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image { + normal: "bubble.png"; + border: 11 36 10 19; + } + image.middle: SOLID; + fill.smooth: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1 { + offset: 9 8; + } + rel2 { + offset: -10 -17; + } + } + } + part { name: "shine"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to: "base0"; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + } + image { + normal: "bubble_shine.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + action: STATE_SET "show" 0.0; + target: "clipper"; + transition: ACCELERATE 0.5; + } + } +} +group { name: "elm/map/circle/base/default"; + images { + image: "map_circle.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_circle.png"; + } + } + } +} +group { name: "elm/map/scale/base/default"; + data { + item: size_w 100; + item: size_h 25; + } + images { + image: "map_scale.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_scale.png"; + image.border: 10 10 10 10; + } + } + part { name: "elm.text"; + type: TEXT; + ignore_flags: ON_HOLD; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1 { + relative: 0 0; + offset: 1 1; + } + rel2 { + relative: 1 1; + offset: -1 -1; + } + text { + font: "SLP:style=Medium"; + size: 24; + min: 0 0; + align: 0.1 0.5; + text_class: "slp"; + } + } + } + } +} diff --git a/2.3-mobile/widgets_default/menu.edc b/2.3-mobile/widgets_default/menu.edc new file mode 100644 index 0000000..7e07f8c --- /dev/null +++ b/2.3-mobile/widgets_default/menu.edc @@ -0,0 +1,646 @@ +group { name: "elm/menu/item/default"; + images { + image: "whitetheme/menu_btn_nor.png" COMP; + image: "whitetheme/menu_btn_press.png" COMP; + } + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + parts { + part { name: "item_image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image { + normal: "whitetheme/menu_btn_nor.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "visible" 0.0; + visible: 1; + image { + normal: "whitetheme/menu_btn_nor.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + visible: 1; + image { + normal: "whitetheme/menu_btn_press.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + min: 0 0; + rel1 { + to_x: "elm.padding.text.left"; + relative: 1.0 0.0; + } + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + max: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + max: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_x: "elm.swallow.content"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.text.right"; + relative: 0.0 1.0; + } + color: MENU_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: MENU_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + text_class: "menu_item"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 0 0 0 63; + } + } + part { name: "over"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_mouse_in"; + signal: "mouse,in"; + source: "over"; + action: SIGNAL_EMIT "elm,action,activate" ""; + after: "item_mouse_in1"; + } + program { name: "item_mouse_in1"; + action : STATE_SET "visible" 0.0; + target: "item_image"; + //transition: DECELERATE 0.5; + } + program { name: "item_mouse_out"; + signal: "mouse,out"; + source: "over"; + action: SIGNAL_EMIT "elm,action,inactivate" ""; + after: "item_mouse_out1"; + } + program { name: "item_mouse_out1"; + action: STATE_SET "default" 0.0; + target: "item_image"; + //transition: DECELERATE 0.5; + } + program { name: "visible_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + program { name: "item_unclick"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "visible" 0.0; + target: "item_image"; + } + program { name: "item_click2"; + signal: "mouse,down,1"; + source: "over"; + action: STATE_SET "clicked" 0.0; + target: "item_image"; + } + program { name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "default" 0.0; + //transition: DECELERATE 0.5; + target: "item_image"; + } + program { name: "item_unclick3"; + signal: "mouse,up,1"; + source: "over"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(menu_text_visible, 1); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(menu_text_visible, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "item_image"; + target: "over"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "disabled", 0.0); + set_int(menu_disable, 1); + } + } + program { name: "item_select"; + signal: "elm,state,selected"; + source: "elm"; + after: "item_mouse_in1"; + } + program { name: "item_unselect"; + signal: "elm,state,unselected"; + source: "elm"; + after: "item_mouse_out1"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "over"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "default", 0.0); + set_int(menu_disable, 0); + } + } + } +} + +group { name: "elm/menu/item_with_submenu/default"; + images { + image: "whitetheme/menu_btn_nor.png" COMP; + image: "whitetheme/menu_btn_press.png" COMP; + image: "whitetheme/menu_arrow_left.png" COMP; + image: "whitetheme/menu_arrow_right.png" COMP; + } + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + parts { + part { name: "item_image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image { + normal: "whitetheme/menu_btn_nor.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "visible" 0.0; + visible: 1; + image { + normal: "whitetheme/menu_btn_nor.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + visible: 1; + image { + normal: "whitetheme/menu_btn_press.png"; + border: MENU_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.padding.arrow.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + max: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "arrow"; + mouse_events: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + min: MENU_ARROW_WIDTH_INC MENU_ARROW_HEIGHT_INC; + max: MENU_ARROW_WIDTH_INC MENU_ARROW_HEIGHT_INC; + rel1 { + to_x: "elm.padding.arrow.right"; + relative: 0.0 0.5; + } + rel2 { + to_x: "elm.padding.arrow.right"; + relative: 0.0 0.5; + } + image { + normal: "whitetheme/menu_arrow_right.png"; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/menu_arrow_left.png"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + rel1 { + to_x: "elm.padding.text.left"; + relative: 1.0 0.0; + } + rel2.relative: 0.0 1.0; + min: 0 0; + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + max: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + fixed: 1 1; + rel1 { + to_x: "arrow"; + relative: 0.0 0.0; + } + rel2 { + to_x: "arrow"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + max: MENU_PADDING_TEXT_WIDTH_INC MENU_PADDING_TEXT_HEIGHT_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_x: "elm.swallow.content"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.text.right"; + relative: 0.0 1.0; + } + color: MENU_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: MENU_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + text_class: "menu_item"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 254 254 254 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 0 0 0 63; + } + } + part { name: "over"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_mouse_in"; + signal: "mouse,in"; + source: "over"; + action: SIGNAL_EMIT "elm,action,activate" ""; + after: "item_mouse_in1"; + } + program { name: "item_mouse_in1"; + action : STATE_SET "visible" 0.0; + target: "item_image"; + //transition: DECELERATE 0.5; + } + // + program { name: "item_mouse_out"; + signal: "mouse,out"; + source: "over"; + after: "item_mouse_out1"; + } + program { name: "item_mouse_out1"; + action: STATE_SET "default" 0.0; + target: "item_image"; + //transition: DECELERATE 0.5; + } + program { name: "visible_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + // + program { name: "item_unclick"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "visible" 0.0; + target: "item_image"; + } + program { name: "item_click2"; + signal: "mouse,down,1"; + source: "over"; + action: STATE_SET "clicked" 0.0; + target: "item_image"; + } + program { name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over"; + action: STATE_SET "default" 0.0; + //transition: DECELERATE 0.5; + target: "item_image"; + } + program { name: "item_unclick3"; + signal: "mouse,up,1"; + source: "over"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "menu_open"; + signal: "mouse,in"; + source: "over"; + action: SIGNAL_EMIT "elm,action,open" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(menu_text_visible, 1); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(menu_text_visible, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "item_image"; + target: "over"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else if (!strcmp(st, "default")) + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "over"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "default", 0.0); + set_int(menu_disable, 0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "arrow"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + +group { name: "elm/menu/separator/default"; + images { + image: "whitetheme/menu_separator.png" COMP; + } + parts { + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 1 0; + min: MENU_PADDING_SEPARATOR_SIZE_INC 2; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align : 0 0; + min: MENU_PADDING_SEPARATOR_SIZE_INC 2; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: 1 2; + align: 0 0; + fixed: 1 1; + image { + normal: "whitetheme/menu_separator.png"; + } + rel1 { + to_x: "elm.padding.text.left"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.text.right"; + relative: 0.0 0.0; + } + } + } + } +} diff --git a/2.3-mobile/widgets_default/multisense_haptic.edc b/2.3-mobile/widgets_default/multisense_haptic.edc new file mode 100644 index 0000000..93cfab0 --- /dev/null +++ b/2.3-mobile/widgets_default/multisense_haptic.edc @@ -0,0 +1,95 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +/** + *This file contains the list of BEAT theme haptics. + *The various variables used to describe a haptic are- + + *name:The name of the haptic to be used as reference later in the theme. + *magnitude:The Magnitude of an effect corresponds to its strength, or the amplitude of the vibration. + *duration :The Duration parameter specifies how long the effect lasts from start to finish including the envelope that is the means of shaping the strength of effect in time. + *attack_level :The Attack Level specifies the initial strength of the effect. + *attack_time: specifies the amount of time, in milliseconds, for the effect to ramp from the Attack Level to the Magnitude. + *fade_level: It specifies the final strength of effect to be reduced to from magnitude at the end of effect's fade time + *fade_time: corresponds to the amount of time before the end of the effect, for the vibration to ramp between the Magnitude and the Fade Level. + *type: The Haptic types i.e MAGSWEEP or PERIODIC + *pattern:The Full pattern of Haptic - in hexadecimal values + + *NOTE-Present implementation uses only name and pattern parameters to play haptic + +*/ + +haptics + { + haptic + { + name: "TOUCH_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name: "ALARM_HAPTIC" ; + type: MAGSWEEP ; + pattern:"01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1,E0,02,E2,01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ; + } + haptic + { + name: "WARNING_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,72,FF,20,01,00,00,7F,00,00,41,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name:"POPUP_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name:"PRESS_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name:"RELEASE_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,41,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + + haptic + { + name:"TAP_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,33,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name: "DOUBLE_TAP_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,01,00,12,00,14,00,00,00,30,85,00,06,00,00,7F,00,20,0A,00,00,0D,00,00,01,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + } + haptic + { + name: "LONG_TAP_HAPTIC" ; + type: MAGSWEEP ; + pattern: "01,00,02,00,1A,00,28,00,00,00,0D,00,F1,E0,01,E2,00,00,F1,E0,01,E2,00,BB,FF,20,01,00,00,7F,00,00,E1,00,00,00,12,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ; + + } + } diff --git a/2.3-mobile/widgets_default/multisense_sound.edc b/2.3-mobile/widgets_default/multisense_sound.edc new file mode 100644 index 0000000..fa00a8e --- /dev/null +++ b/2.3-mobile/widgets_default/multisense_sound.edc @@ -0,0 +1,71 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +/** + + *Usage: + *sounds { + sound: BUTTON_PRESSED_SOUND START_POINT ENDPOINT + .. + } + *The " sounds" block contains a list of one or more " sound" items. + + *Present implementation supports only .wav format +*/ + +#define BUTTON_PRESSED_SOUND "button-pressed.wav" +#define BUTTON_TOGGLE_OFF_SOUND "button-toggle-off.wav" +#define BUTTON_TOGGLE_ON_SOUND "button-toggle-on.wav" +#define DIALOG_CANCEL_SOUND "dialog-cancel.wav" +#define DIALOG_ERROR_SOUND "dialog-error.wav" +#define DIALOG_INFORMATION_SOUND "dialog-information.wav" +#define DIALOG_OK_SOUND "dialog-ok.wav" +#define DIALOG_QUESTION_SOUND "dialog-question.wav" +#define DIALOG_WARNING_SOUND "dialog-warning.wav" +#define DRAG_ACCEPT_SOUND "drag-accept.wav" +#define DRAG_FAIL_SOUND "drag-fail.wav" +#define DRAG_START_SOUND "drag-start.wav" +#define LINK_PRESSED_SOUND "link-pressed.wav" +#define MENU_CLICK_SOUND "menu-click.wav" +#define MENU_POPUP_SOUND "menu-popup.wav" +#define TOOLTIP_POPUP_SOUND "tooltip-popup.wav" +#define WINDOW_NEW_SOUND "window-new.wav" +#define WATERDROP_SOUND "Waterdrop.wav" + +sounds { + sound: BUTTON_PRESSED_SOUND 0 100 ; + sound: BUTTON_TOGGLE_OFF_SOUND 0 100 ; + sound: BUTTON_TOGGLE_ON_SOUND 0 100 ; + sound: DIALOG_CANCEL_SOUND 0 100 ; + sound: DIALOG_ERROR_SOUND 0 100 ; + sound: DIALOG_INFORMATION_SOUND 0 100 ; + sound: DIALOG_OK_SOUND 0 100 ; + sound: DIALOG_QUESTION_SOUND 0 100 ; + sound: DIALOG_WARNING_SOUND 0 100 ; + sound: DRAG_ACCEPT_SOUND 0 100 ; + sound: DRAG_FAIL_SOUND 0 100 ; + sound: DRAG_START_SOUND 0 100 ; + sound: LINK_PRESSED_SOUND 0 100 ; + sound: MENU_CLICK_SOUND 0 100 ; + sound: MENU_POPUP_SOUND 0 100 ; + sound: TOOLTIP_POPUP_SOUND 0 100 ; + sound: WINDOW_NEW_SOUND 0 100 ; + sound: WATERDROP_SOUND 0 100 ; + } + + diff --git a/2.3-mobile/widgets_default/multisense_ui.edc b/2.3-mobile/widgets_default/multisense_ui.edc new file mode 100644 index 0000000..6d9907a --- /dev/null +++ b/2.3-mobile/widgets_default/multisense_ui.edc @@ -0,0 +1,1175 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +#include "multisense_sound.edc" +#include "multisense_haptic.edc" + +/* + Sound and Haptic +*/ +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/sound_dark"; + images { + image: "00_button_02_normal.png" COMP; + image: "00_button_02_press.png" COMP; + image: "00_button_02_focus.png" COMP; + } + script { + public button_state = 0; //0:enabled, 1: disabled + } + parts { + part { name: "button_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 16 50; + image { + normal: "00_button_02_normal.png"; + border: 7 7 7 7; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_02_press.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_02_focus.png"; + } + } + part { + name: "padding_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + min: 5 5; + fixed: 1 0; + color: 0 0 0 0; + } + } + part { + name: "padding_right"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + min: 5 5; + fixed: 1 0; + color: 0 0 0 0; + } + } + part { + name: "padding_top"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 5 5; + fixed: 0 1; + color: 0 0 0 0; + } + } + part { + name: "padding_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + min: 5 5; + fixed: 0 1; + color: 0 0 0 0; + } + } + part { + name: "icon_rect"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + min: 0 40; + fixed: 1 0; + rel1 {relative: 0.0 1.0; to_x: "elm.swallow.content"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "elm.swallow.content"; to_y: "padding_bottom"; } + align: 0.0 0.5; + color: 0 0 0 0; + } + } + part { + name: "padding_icon_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "icon_rect"; } + rel2 { relative: 1.0 1.0; to: "icon_rect"; } + fixed: 1 0; + min: 0 0; + color: 0 0 0 0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "icon_rect"; } + rel2 { relative: 1.0 1.0; to: "icon_rect"; } + fixed: 1 0; + min: 5 0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "icononly" 0.0;; + visible: 1; + min: 40 40; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; } + align: 0.5 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; } + rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; } + align: 0.5 0.5; + color: 255 255 255 255; + color2: 0 0 0 0; + text { + font: "SLP:style=Medium"; + size: 24; + min: 0 0; + align: 0.5 0.5; + max: 1 0; + text_class: "slp"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 90 40; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 0; + color: 255 255 255 255; + color2: 0 0 0 102; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 0; + color: 255 255 255 255; + color2: 0 0 0 102; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after:touch_sound ; + after: "button_click_anim"; + } + program { name: touch_sound; + action: TOUCH_SOUND BUTTON_TOGGLE_OFF_SOUND 1 ; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + after: "text_clicked"; + } + program { name: "text_clicked"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { name: "button_unpress"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_mouseout_clicked"; + signal: "mouse,up,1"; + source: "over3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (strcmp(st, "icononly")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if(get_int(button_state) !=1) + set_state(PART:"button_image", "default", 0.0); + } + after: button_unpress; + } + program { name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { name: "button_unclick2"; + signal: "mouse,clicked,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + target: "over3"; + } + program { name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, 0); + } + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + after: "unfocus_text"; + } + program { name: "unfocus_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + } + } + +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/haptic"; + images { + image: "00_message_button_add_recipient.png" COMP; + } + script { + public button_state = 0; //0:enabled, 1: disabled + } + parts { + part { name: "button_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { to_x: "padding.left"; to_y: "elm.text";} + rel2 { to_x: "padding.right"; to_y: "elm.text";} + min: 44 41; + image { + normal: "00_message_button_add_recipient.png"; + border: 21 21 19 19; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 10 1; + fixed: 1 0; + color: 0 0 0 0; + rel1.relative: 0 0; + rel2 { relative: 0.0 1.0; to_x: "elm.text";} + align: 1 0; + } + } + part { name: "padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 10 1; + fixed: 1 0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to_x: "elm.text";} + rel2.relative: 1.0 1.0; + align: 0 0; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0.5; + color: 255 255 255 255; + color2: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: 28; + min: 1 1; + align: 0.5 0.5; + text_class: "slp"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 1 1; + color: 53 45 39 255; + color2: 0 0 0 102; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + min: 1 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 1 1; + color: 255 255 255 255; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: touch_haptic; + after: "button_click_anim"; + } + program { name: touch_haptic; + action: TOUCH_HAPTIC LONG_TAP_HAPTIC 3 ; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "button_unpress"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_mouseout_clicked"; + signal: "mouse,up,1"; + source: "over3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked") || !strcmp(st, "focused")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if(get_int(button_state) !=1) + set_state(PART:"button_image", "default", 0.0); + } + after: button_unpress; + } + program { name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { name: "button_unclick2"; + signal: "mouse,clicked,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + target: "over3"; + } + program { name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, 0); + } + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + } + } +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/sound_haptic_multiline"; + images { + image: "00_button_02_normal.png" COMP; + image: "00_button_02_press.png" COMP; + image: "00_button_02_focus.png" COMP; + } + script { + public button_state = 0; //0:enabled, 1: disabled + } + styles{ + style { name: "btn_sound_haptic_style"; + base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=mixed text_class=slp"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { name: "button_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 16 50; + image { + normal: "00_button_02_normal.png"; + border: 7 7 7 7; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_02_press.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_02_focus.png"; + } + } + part { + name: "padding_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + min: 5 5; + fixed: 1 0; + color: 0 0 0 0; + } + } + part { + name: "padding_right"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + min: 5 5; + fixed: 1 0; + color: 0 0 0 0; + } + } + part { + name: "padding_top"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 5 5; + fixed: 0 1; + color: 0 0 0 0; + } + } + part { + name: "padding_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + min: 5 5; + fixed: 0 1; + color: 0 0 0 0; + } + } + part { + name: "icon_rect"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + min: 0 40; + fixed: 1 0; + rel1 {relative: 0.0 1.0; to_x: "elm.swallow.content"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "elm.swallow.content"; to_y: "padding_bottom"; } + align: 0.0 0.5; + color: 0 0 0 0; + } + } + part { + name: "padding_icon_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "icon_rect"; } + rel2 { relative: 1.0 1.0; to: "icon_rect"; } + fixed: 1 0; + min: 0 0; + color: 0 0 0 0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "icon_rect"; } + rel2 { relative: 1.0 1.0; to: "icon_rect"; } + fixed: 1 0; + min: 5 0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 1.0 0.0; to_x: "padding_left"; to_y: "padding_bottom"; } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "icononly" 0.0;; + visible: 1; + min: 40 40; + rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; } + align: 0.5 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + effect: SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; } + rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; } + align: 0.5 0.5; + color: 255 255 255 255; + color2: 0 0 0 0; + text { + style: "btn_sound_haptic_style"; + min: 0 0; + max: 0 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 90 40; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 0; + color: 255 255 255 255; + color2: 0 0 0 102; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 0; + color: 255 255 255 255; + color2: 0 0 0 102; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after:touch_sound ; + after:touch_haptic ; + after: "button_click_anim"; + } + program { name: touch_sound; + action: TOUCH_SOUND BUTTON_PRESSED_SOUND 1; + } + program { name: touch_haptic; + action: TOUCH_HAPTIC WARNING_HAPTIC 3; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + after: "text_clicked"; + } + program { name: "text_clicked"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { name: "button_unpress"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_mouseout_clicked"; + signal: "mouse,up,1"; + source: "over3"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (strcmp(st, "icononly")) + { + emit("elm,action,default,text,set", ""); + set_state(PART:"elm.text", "visible", 0.0); + } + if(get_int(button_state) !=1) + set_state(PART:"button_image", "default", 0.0); + } + after: button_unpress; + } + program { name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { name: "button_unclick2"; + signal: "mouse,clicked,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + target: "over3"; + } + program { name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(button_state, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(button_state, 0); + } + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + after: "unfocus_text"; + } + program { name: "unfocus_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + } + } diff --git a/2.3-mobile/widgets_default/naviframe.edc b/2.3-mobile/widgets_default/naviframe.edc new file mode 100644 index 0000000..6c65fdb --- /dev/null +++ b/2.3-mobile/widgets_default/naviframe.edc @@ -0,0 +1,755 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +#define NAVIFRAME_VIEW_TRANS_TIME 0.3 + + group { name:"elm/naviframe/item/overlap/default"; + script { + public tbar_bg = 0; //Toolbar BG Show call count + public buttons_visible = 0; //when both buttons are visible + public toolbar_buttons_visible = 0; //when both toolbar buttons are visible + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + } + part { name: "title_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + } + } + part { name: "top_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: NAVIFRAME_TITLE_TOP_PADDING_INC; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 0.0; to: "title_bg"; } + visible: 0; + } + } + part { name: "padding_center_text1"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + visible: 0; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_ICON_PADDING_INC; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "content_clip"; + description { state: "default" 0.0; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "padding_center_text2"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING2_INC; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_left_btn"; } + rel2 { relative: 0.0 1.0; to: "title_left_btn"; } + visible: 0; + } + } + part { name: "padding_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: NAVIFRAME_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + visible: 0; + } + } + part { name: "padding_bottom_text"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: NAVIFRAME_BOTTOM_TEXT_PADDING_INC; + fixed: 0 1; + align: 0.0 1.0; + rel1 { relative: 0.0 1.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 1 NAVIFRAME_TITLE_H_INC; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color: NAVIFRAME_OVERLAP_TITLE_BG_COLOR_INC; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + } + } + + + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "SLP:style=Medium"; + size: NAVIFRAME_TITLE_FONT_SIZE_INC; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + text_class: "slp_medium"; + } + color: NAVIFRAME_TITLE_TEXT_COLOR_INC; + align: 0.0 0.5; + fixed: 1 0; + rel1 { relative: 1.0 1.0; to_x: "padding_center_text1"; to_y: "top_padding"; } + rel2 { relative: 0.0 1.0; to: "padding_center_text2"; } + } + description { state: "subtitle_is_set" 0.0; + inherit: "default" 0.0; + text { font: "SLP:style=Medium"; + size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC; + min: 0 0; + max: 1 0; + align: 0.0 0.2; + text_class: "slp_medium"; + } + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to_x: "padding_center_text1"; to_y: "top_padding"; } + } + } + part { name: "elm.text.subtitle"; + type: TEXT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "SLP:style=Medium"; + size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC; + min: 0 0; + max: 1 0; + text_class: "slp_medium"; + align: 0.0 1.0; + } + color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC; + align: 0.0 1.0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "padding_left"; + to_y: "padding_bottom_text"; + } + rel2 { + relative: 0.0 0.0; + to_x: "padding_center_text2"; + to_y: "padding_bottom_text"; + } + } + } + part { name: "padding_before_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "elm.text.title"; } + rel2 { relative: 0.0 1.0; to: "elm.text.title"; } + fixed: 1 0; + min: NAVIFRAME_PADDING_INC; + visible: 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_ICON_SIZE_INC; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "padding_before_text"; } + rel2 { relative: 0.0 1.0; to: "padding_before_text"; } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + align: 1.0 0.3; + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + repeat_events: 1; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + } + } + part { name: "title_left_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 1 0.5; + rel1 { relative: 0.0 0.0; to: "title_btns_padding"; } + rel2 { relative: 0.0 1.0; to: "title_btns_padding"; } + } + } + part { name: "title_btns_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1 0.5; + visible: 0; + rel1 { relative: 0.0 0.0; to: "elm.swallow.next_btn"; } + rel2 { relative: 0.0 1.0; to: "elm.swallow.next_btn"; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: NAVIFRAME_PADDING2_INC; + } + } + part { name: "bottom_right_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { relative: 1.0 1.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 26 11; + } + } + part { name: "elm.swallow.next_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + align: 1 0.5; + fixed: 1 1; + rel1 { relative: 1.0 1.0; to_x: "title_bg"; to_y: "top_padding"; } + rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; } + } + } + part { name: "toolbar_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 999999 0; + fixed: 0 1; + align: 0.0 1.0; + visible: 0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: NAVIFRAME_TOOLBAR_BG_COLOR_INC; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; + max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; + visible: 1; + } + } + part { name: "more_btn_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "toolbar_bg"; } + rel2 { relative: 0.0 1.0; to: "toolbar_bg"; } + visible: 0; + } + } + part { name: "toolbar_more_btn"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "more_btn_bg"; + rel2.to: "more_btn_bg"; + } + } + part { name: "prev_btn_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + //min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; + min: 155 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 0.0; to: "toolbar_bg"; } + rel2.to: "toolbar_bg"; + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "prev_btn_bg"; + rel2.to: "prev_btn_bg"; + } + } + part { name: "toolbar_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "more_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "prev_btn_bg"; } + } + } + part { name: "toolbar_button1"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "toolbar_clip"; + rel2.to: "toolbar_clip"; + } + description { state: "buttons_set" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "more_btn_bg"; + to_y: "toolbar_button_padding"; + } + rel2 { + relative: 0.0 1.0; + to: "toolbar_button_padding"; + } + } + } + part { name: "toolbar_button_padding"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 10 0; + fixed : 1 0; + visible: 0; + align: 0.5 0.5; + rel1.relative: 0.5 0.0; + rel1.to: "toolbar_clip"; + rel2.relative: 0.5 1.0; + rel2.to: "toolbar_clip"; + } + } + part { name: "toolbar_button2"; + type: SWALLOW; + scale: 1; + clip_to: "toolbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "toolbar_clip"; + rel2.to: "toolbar_clip"; + } + description { state: "buttons_set" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "toolbar_button_padding"; + } + rel2 { + relative: 0.0 1.0; + to_x: "prev_btn_bg"; + to_y: "toolbar_button_padding"; + } + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,internal"; + source: ""; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,internal"; + source: ""; + action: STATE_SET "left" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,internal"; + source: ""; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,internal"; + source: ""; + action: STATE_SET "right" 0.0; + target: "base"; + transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; + after: "popped_finished"; + } + program { name: "cur_pushed"; + signal: "elm,state,cur,pushed"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + emit("elm,state,cur,pushed,internal", ""); + } + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + script { + set_state(PART:"base", "right", 0.0); + emit("elm,state,new,pushed,internal", ""); + } + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + script { + set_state(PART:"base", "left", 0.0); + emit("elm,state,prev,popped,internal", ""); + } + } + program { name: "cur_popped"; + signal: "elm,state,cur,popped"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + emit("elm,state,cur,popped,internal", ""); + } + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "title_bg"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + action: STATE_SET "hide" 0.0; + transition: DECELERATE 0.5; + target: "title_bg"; + } + program { name: "subtitle_show"; + signal: "elm,state,subtitle,show"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); + } + } + program { name: "subtitle_hide"; + signal: "elm,state,subtitle,hide"; + source: "elm"; + script { + set_state(PART:"elm.text.title", "default", 0.0); + } + } + program { name: "prev_btn_show"; + signal: "elm,state,prev_btn,show"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,show", "elm"); + } + } + program { name: "prev_btn_hide"; + signal: "elm,state,prev_btn,hide"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,hide", "elm"); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,show"; + source: "elm"; + action: STATE_SET "icon" 0.0; + target: "padding_center_text1"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "padding_center_text1"; + } + program { name: "left_btn_show"; + signal: "elm,state,title_left_btn,show"; + source: "elm"; + script { + set_int(buttons_visible, get_int(buttons_visible) + 1); + set_state(PART:"bottom_right_padding", "visible", 0.0); + if (get_int(buttons_visible) >= 2) + set_state(PART:"title_btns_padding", "visible", 0.0); + } + } + program { name: "left_btn_hide"; + signal: "elm,state,title_left_btn,hide"; + source: "elm"; + script { + set_int(buttons_visible, get_int(buttons_visible) - 1); + set_state(PART:"title_btns_padding", "default", 0.0); + if (get_int(buttons_visible) == 0) + set_state(PART:"bottom_right_padding", "default", 0.0); + } + } + program { name: "right_btn_show"; + signal: "elm,state,elm.swallow.next_btn,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + script { + set_int(buttons_visible, get_int(buttons_visible) + 1); + set_state(PART:"bottom_right_padding", "visible", 0.0); + if (get_int(buttons_visible) >= 2) + set_state(PART:"title_btns_padding", "visible", 0.0); + } + } + program { name: "right_btn_hide"; + signal: "elm,state,elm.swallow.next_btn,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + script { + set_int(buttons_visible, get_int(buttons_visible) - 1); + set_state(PART:"title_btns_padding", "default", 0.0); + if (get_int(buttons_visible) == 0) + set_state(PART:"bottom_right_padding", "default", 0.0); + } + } + program { name: "more_btn_show"; + signal: "elm,state,toolbar_more_btn,show"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,show", "elm"); + } + } + program { name: "more_btn_hide"; + signal: "elm,state,toolbar_more_btn,hide"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,hide", "elm"); + } + } + program { name: "toolbar_button1_show"; + signal: "elm,state,toolbar_button1,show"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,show", "elm"); + set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1); + if (get_int(toolbar_buttons_visible) >= 2) + { + set_state(PART:"toolbar_button1", "buttons_set", 0.0); + set_state(PART:"toolbar_button2", "buttons_set", 0.0); + } + } + } + program { name: "toolbar_button1_hide"; + signal: "elm,state,toolbar_button1,hide"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,hide", "elm"); + set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1); + set_state(PART:"toolbar_button1", "default", 0.0); + set_state(PART:"toolbar_button2", "default", 0.0); + } + } + program { name: "toolbar_button2_show"; + signal: "elm,state,toolbar_button2,show"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,show", "elm"); + set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) + 1); + if (get_int(toolbar_buttons_visible) >= 2) + { + set_state(PART:"toolbar_button1", "buttons_set", 0.0); + set_state(PART:"toolbar_button2", "buttons_set", 0.0); + } + } + } + program { name: "toolbar_button2_hide"; + signal: "elm,state,toolbar_button2,hide"; + source: "elm"; + script { + emit("elm,state,toolbar_bg,hide", "elm"); + set_int(toolbar_buttons_visible, get_int(toolbar_buttons_visible) - 1); + set_state(PART:"toolbar_button1", "default", 0.0); + set_state(PART:"toolbar_button2", "default", 0.0); + } + } + program { name: "toolbar_bg_show"; + signal: "elm,state,toolbar_bg,show"; + source: "elm"; + script { + set_state(PART:"toolbar_bg", "visible", 0.0); + set_int(tbar_bg, get_int(tbar_bg) + 1); + } + } + program { name: "toolbar_bg_hide"; + signal: "elm,state,toolbar_bg,hide"; + source: "elm"; + script { + set_int(tbar_bg, get_int(tbar_bg) - 1); + if (get_int(tbar_bg) <= 0) + set_state(PART:"toolbar_bg", "default", 0.0); + } + } + program { name: "toolbar_open"; + signal: "elm,state,toolbar,open"; + source: ""; + action: STATE_SET "visible" 0.0; + target: "toolbar_bg"; + transition: LINEAR 0.2; + } + program { name: "toolbar_close"; + signal: "elm,state,toolbar,close"; + source: ""; + action: STATE_SET "default" 0.0; + target: "toolbar_bg"; + transition: LINEAR 0.2; + } + program { name: "toolbar_instant_open"; + signal: "elm,state,toolbar,instant_open"; + source: ""; + script { + emit("elm,state,prev_btn,show", "elm"); + emit("elm,state,toolbar_button1,show", "elm"); + } + } + program { name: "toolbar_instant_close"; + signal: "elm,state,toolbar,instant_close"; + source: ""; + script { + emit("elm,state,prev_btn,hide", "elm"); + emit("elm,state,toolbar_button1,hide", "elm"); + } + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { + name: "display_mode_compress"; + signal: "display,mode,compress"; + source: ""; + action: SIGNAL_EMIT "elm,state,toolbar,instant_close" ""; + } + program { + name: "display_mode_default"; + signal: "display,mode,default"; + source: ""; + action: SIGNAL_EMIT "elm,state,toolbar,instant_open" ""; + } + } + } + diff --git a/2.3-mobile/widgets_default/notify.edc b/2.3-mobile/widgets_default/notify.edc new file mode 100644 index 0000000..58bfe6d --- /dev/null +++ b/2.3-mobile/widgets_default/notify.edc @@ -0,0 +1,467 @@ +group { name: "elm/notify/block_events/default"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color: POPUP_DIM_BG_COLOR_INC; + } + description { state: "clicked" 0.0; + color: POPUP_DIM_BG_CLICKED_COLOR_INC; + } + } + } + programs { + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events"; + transition: LINEAR 0.2; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "default" 0.0; + target: "block_events"; + transition: LINEAR 0.2; + } + } +} + +group { name: "elm/notify/top/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/center/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } +} + +group { name: "elm/notify/bottom/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/top_left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/top_right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/bottom_left/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/notify/bottom_right/default"; + //this group is a design similar to the inwin group + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "hide"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.3-mobile/widgets_default/panel.edc b/2.3-mobile/widgets_default/panel.edc new file mode 100644 index 0000000..e7379bc --- /dev/null +++ b/2.3-mobile/widgets_default/panel.edc @@ -0,0 +1,722 @@ +group { name: "elm/panel/left/default"; + images { + image: "whitetheme/panel_btn_bg_lr.png" COMP; + image: "whitetheme/panel_btn_bg_lr_press.png" COMP; + image: "whitetheme/panel_btn_drag_bg.png" COMP; + image: "whitetheme/panel_btn_selected_left.png" COMP; + image: "whitetheme/panel_arrow_left.png" COMP; + image: "whitetheme/panel_arrow_right.png" COMP; + } + parts { + part { name: "focus_highlight"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0 0.5; + min: PANEL_FOCUS_SIZE_INC 0; + rel1 { + to: "btn"; + } + rel2 { + to: "btn"; + } + image { + normal: "whitetheme/panel_btn_selected_left.png"; + border: PANEL_FOCUS_BORDER_INC; + border_scale: 1; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 0 0 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + part { name: "btn"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min : PANEL_BTN_SIZE_INC 0; + fixed: 1 1; + align: 0 0.5; + rel1 { + to: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + image { + normal: "whitetheme/panel_btn_bg_lr.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/panel_btn_bg_lr_press.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "btn_icon"; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + max: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + fixed: 1 1; + image.normal: "whitetheme/panel_arrow_left.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/panel_arrow_right.png"; + } + } + part { name: "base"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/panel_btn_drag_bg.png"; + border: PANEL_BASE_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "btn_click"; + signal: "mouse,down,1"; + source: "btn"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program { name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program { name: "btn_unclick_signal"; + signal: "mouse,clicked,1"; + source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { + name: "elm/panel/right/default"; + images { + image: "whitetheme/panel_btn_bg_lr.png" COMP; + image: "whitetheme/panel_btn_bg_lr_press.png" COMP; + image: "whitetheme/panel_btn_drag_bg.png" COMP; + image: "whitetheme/panel_btn_selected_right.png" COMP; + image: "whitetheme/panel_arrow_left.png" COMP; + image: "whitetheme/panel_arrow_right.png" COMP; + } + parts { + part { name: "focus_highlight"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1 0.5; + min: PANEL_FOCUS_SIZE_INC 0; + rel1 { + relative: 0.0 0.0; + to: "btn"; + } + rel2 { + relative: 0.0 1.0; + to: "btn"; + } + image { + normal: "whitetheme/panel_btn_selected_right.png"; + border: PANEL_FOCUS_BORDER_INC; + border_scale: 1; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + part { name: "btn"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: PANEL_BTN_SIZE_INC 0; + fixed: 1 1; + align: 1 0.5; + rel1.to: "base"; + rel2 { + relative: 0.0 1; + to: "base"; + } + image { + normal: "whitetheme/panel_btn_bg_lr.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/panel_btn_bg_lr_press.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "btn_icon"; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + max: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + fixed: 1 1; + image.normal: "whitetheme/panel_arrow_right.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/panel_arrow_left.png"; + } + } + part { name: "base"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/panel_btn_drag_bg.png"; + border: PANEL_BASE_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "btn_click"; + signal: "mouse,down,1"; + source: "btn"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program { name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program { name: "btn_unclick_signal"; + signal: "mouse,up,1"; + source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { name: "elm/panel/top/default"; + images { + image: "whitetheme/panel_btn_bg_tb.png" COMP; + image: "whitetheme/panel_btn_bg_tb_press.png" COMP; + image: "whitetheme/panel_btn_drag_bg.png" COMP; + image: "whitetheme/panel_btn_selected_top.png" COMP; + image: "whitetheme/panel_arrow_top.png" COMP; + image: "whitetheme/panel_arrow_bottom.png" COMP; + } + parts { + part { name: "focus_highlight"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0; + min: 0 PANEL_FOCUS_SIZE_INC; + rel1 { + to: "btn"; + relative: 0.0 1.0; + } + rel2 { + to: "btn"; + relative: 1.0 1.0; + } + image { + normal: "whitetheme/panel_btn_selected_top.png"; + border: PANEL_FOCUS_BORDER_INC; + border_scale: 1; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + part { name: "btn"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: 0 PANEL_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 1.0; + to: "base"; + } + rel2.to: "base"; + image { + normal: "whitetheme/panel_btn_bg_tb.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/panel_btn_bg_tb_press.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "btn_icon"; + scale: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + max: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + fixed: 1 1; + image.normal: "whitetheme/panel_arrow_top.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/panel_arrow_bottom.png"; + } + } + part { name: "base"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/panel_btn_drag_bg.png"; + border: PANEL_BASE_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "btn_click"; + signal: "mouse,down,1"; + source: "btn"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program { name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program { name: "btn_unclick_signal"; + signal: "mouse,clicked,1"; + source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { name: "elm/panel/bottom/default"; + images { + image: "whitetheme/panel_btn_bg_tb.png" COMP; + image: "whitetheme/panel_btn_bg_tb_press.png" COMP; + image: "whitetheme/panel_btn_drag_bg.png" COMP; + image: "whitetheme/panel_btn_selected_bottom.png" COMP; + image: "whitetheme/panel_arrow_top.png" COMP; + image: "whitetheme/panel_arrow_bottom.png" COMP; + } + parts { + part { name: "focus_highlight"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1; + min: 0 PANEL_FOCUS_SIZE_INC; + rel1 { + to: "btn"; + relative: 0.0 0.0; + } + rel2 { + to: "btn"; + relative: 1.0 0.0; + } + image { + normal: "whitetheme/panel_btn_selected_bottom.png"; + border: PANEL_FOCUS_BORDER_INC; + border_scale: 1; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + part { name: "btn"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + min: 0 PANEL_BTN_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.to: "base"; + rel2 { + relative: 1.0 0.0; + to: "base"; + } + image { + normal: "whitetheme/panel_btn_bg_tb.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/panel_btn_bg_tb_press.png"; + border: PANEL_BTN_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "btn_icon"; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + max: PANEL_ICON_WIDTH_INC PANEL_ICON_HEIGHT_INC; + fixed: 1 1; + image.normal: "whitetheme/panel_arrow_bottom.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/panel_arrow_top.png"; + } + } + part { name: "base"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/panel_btn_drag_bg.png"; + border: PANEL_BASE_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: DECELERATE 0.2; + } + program { name: "btn_click"; + signal: "mouse,down,1"; + source: "btn"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program { name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program { name: "btn_unclick_signal"; + signal: "mouse,clicked,1"; + source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} diff --git a/2.3-mobile/widgets_default/panes.edc b/2.3-mobile/widgets_default/panes.edc new file mode 100644 index 0000000..cc6cd55 --- /dev/null +++ b/2.3-mobile/widgets_default/panes.edc @@ -0,0 +1,780 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + + group { + name: "elm/panes/vertical/default"; + images { + image: "00_splite_handler_bg_v.png" COMP; + image: "00_splite_handler_bg_press.png" COMP; + image: "00_splite_handler_v.png" COMP; + } + script { + public state_pair = 1; //0:both contents are not set, 1:both contents are set + } + parts + { + part + { + name: "whole"; + type: RECT; + description + { + state: "default" 0.0; + visible: 0; + rel1.to_x: "pad_left"; + rel2.to_x: "pad_right"; + } + } + part { + name: "pad_left"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel2.relative:0.0 1.0; + min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; + fixed: 1 0; + align: 1.0 0.5; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "pad_right"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; + fixed: 1 0; + align: 0.0 0.5; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_x: "pad_left"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bar_bg"; + relative: 0.0 1.0; + } + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + } + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_x: "bar_bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "pad_right"; + relative: 0.0 1.0; + } + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + type: RECT; + dragable { + confine: "whole"; + x: 1 1 1; + y: 0 0 0; + } + scale: 1; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999; + fixed: 0 1; + align: 1.0 0.5; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + min: 0 999999; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999; + } + description { state: "disabled" 0.1; + inherit: "default" 0.1; + } + } + part { name: "pad_bar_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; + align: 0.0 0.5; + rel1.to_x: "elm.bar"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.bar"; + } + fixed: 1 0; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "pad_bar_right"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "elm.bar"; + } + rel2.to_x: "elm.bar"; + fixed: 1 0; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "bar_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "pad_bar_left"; + } + rel2 { + relative: 0.0 1.0; + to_x: "pad_bar_right"; + } + fixed: 1 0; + image.normal: "00_splite_handler_bg_v.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_splite_handler_bg_press.png"; + } + } + part { name:"bar_handler"; + mouse_events: 0; + description { state:"default" 0.0; + rel1 { + to_x: "bar_bg"; + relative: 0.0 0.5; + } + rel2 { + to_x: "bar_bg"; + relative: 1.0 0.5; + } + fixed: 0 1; + min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; + image.normal: "00_splite_handler_v.png"; + } + description { state:"clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_x: "elm.bar"; + rel2.to_x: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "panes_pair"; + signal: "elm,panes,pair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 1); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.0); + set_state(PART:"pad_left", "default", 0.0); + set_state(PART:"pad_right", "default", 0.0); + set_state(PART:"pad_bar_left", "default", 0.0); + set_state(PART:"pad_bar_right", "default", 0.0); + } + } + program { + name: "panes_unpair"; + signal: "elm,panes,unpair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 0); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.1); + set_state(PART:"pad_left", "hidden", 0.0); + set_state(PART:"pad_right", "hidden", 0.0); + set_state(PART:"pad_bar_left", "hidden", 0.0); + set_state(PART:"pad_bar_right", "hidden", 0.0); + } + } + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + script { + set_state(PART:"bar_bg", "clicked", 0.0); + } + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_unclick_anim"; + script { + set_state(PART:"bar_bg", "default", 0.0); + } + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.bar"; + target: "bar_disabled"; + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + target: "bar_disabled"; + } + } + } + + group { + name: "elm/panes/horizontal/default"; + images { + image: "00_splite_handler_bg_h.png" COMP; + image: "00_splite_handler_bg_press.png" COMP; + image: "00_splite_handler_h.png" COMP; + } + script { + public state_pair = 1; //0:both contents are not set, 1:both contents are set + } + parts + { + part + { + name: "whole"; + type: RECT; + description + { + state: "default" 0.0; + visible: 0; + rel1.to_y: "pad_left"; + rel2.to_y: "pad_right"; + } + } + part { + name: "pad_left"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel2.relative:1.0 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; + fixed: 0 1; + align: 0.5 1.0; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "pad_right"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; + fixed: 0 1; + align: 0.5 0.0; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_y: "pad_left"; + relative: 0.0 1.0; + } + rel2 { + to_y: "bar_bg"; + relative: 1.0 0.0; + } + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + } + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 { + to_y: "bar_bg"; + relative: 0.0 1.0; + } + rel2 { + to_y: "pad_right"; + relative: 1.0 0.0; + } + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + type: RECT; + dragable { + confine: "whole"; + x: 0 0 0; + y: 1 1 1; + } + scale: 1; + description { state: "default" 0.0; + min: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; + fixed: 1 0; + align: 0.5 0.0; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + min: 999999 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + min: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC; + visible: 0; + } + description { state: "disabled" 0.1; + inherit: "default" 0.1; + } + } + part { name: "pad_bar_left"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; + align: 0.5 0.0; + rel1.to_y: "elm.bar"; + rel2 { + relative: 1.0 0.0; + to_y: "elm.bar"; + } + fixed: 0 1; + visible: 0; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "pad_bar_right"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to_y: "elm.bar"; + } + rel2.to_y: "elm.bar"; + fixed: 0 1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "bar_bg"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_y: "pad_bar_left"; + } + rel2 { + relative: 1.0 0.0; + to_y: "pad_bar_right"; + } + fixed: 0 1; + image.normal: "00_splite_handler_bg_h.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_splite_handler_bg_press.png"; + } + } + part { name:"bar_handler"; + mouse_events: 0; + description { state:"default" 0.0; + rel1 { + to_y: "bar_bg"; + relative: 0.5 0.0; + } + rel2 { + to_y: "bar_bg"; + relative: 0.5 1.0; + } + fixed: 1 0; + min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0; + image.normal: "00_splite_handler_h.png"; + } + description { state:"clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_y: "elm.bar"; + rel2.to_y: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "panes_pair"; + signal: "elm,panes,pair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 1); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.0); + set_state(PART:"pad_left", "default", 0.0); + set_state(PART:"pad_right", "default", 0.0); + set_state(PART:"pad_bar_left", "default", 0.0); + set_state(PART:"pad_bar_right", "default", 0.0); + } + } + program { + name: "panes_unpair"; + signal: "elm,panes,unpair"; + source: ""; + script { + new st[31]; + new Float:vl; + set_int(state_pair, 0); + get_state(PART:"elm.bar", st, 30, vl); + set_state(PART:"elm.bar", st, 0.1); + set_state(PART:"pad_left", "hidden", 0.0); + set_state(PART:"pad_right", "hidden", 0.0); + set_state(PART:"pad_bar_left", "hidden", 0.0); + set_state(PART:"pad_bar_right", "hidden", 0.0); + } + } + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + script { + set_state(PART:"bar_bg", "clicked", 0.0); + } + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_unclick_anim"; + script { + set_state(PART:"bar_bg", "default", 0.0); + } + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.bar"; + target: "bar_disabled"; + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + target: "bar_disabled"; + } + } + } diff --git a/2.3-mobile/widgets_default/photo.edc b/2.3-mobile/widgets_default/photo.edc new file mode 100644 index 0000000..0e20739 --- /dev/null +++ b/2.3-mobile/widgets_default/photo.edc @@ -0,0 +1,182 @@ +group { name: "elm/photo/base/default"; + images { + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + image: "whitetheme/gengrid_thumb_stroke.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "over"; + rel2.to: "over"; + image { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: PHOTO_DEFAULT_SHADOW_BORDER; + border_scale: 1; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "elm.padding.clip.left-top"; + mouse_events: 0; + type: SPACER ; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: PHOTO_DEFAULT_CLIP_PADDING_LEFT_TOP; + rel1.to: "over"; + rel2 { + to: "over"; + relative: 0 0; + } + } + } + part { name: "elm.padding.clip.right-bottom"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: PHOTO_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM; + rel1 { + to: "over"; + relative: 1 1; + } + rel2.to: "over"; + } + } + + part { name: "clip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: PHOTO_DEFAULT_COLOR_VISIBLE; + rel1 { + to: "elm.padding.clip.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.clip.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + } + } + part { name: "over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/gengrid_thumb_stroke.png"; + border: PHOTO_DEFAULT_STROKE_BORDER; + border_scale: 1; + middle: 0; + } + fill.smooth: 0; + } + } + } +} + +group { name: "elm/photo/base/shadow"; + images { + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + } + script { + public message(Msg_Type:type, id, ...) { + if( (type==MSG_INT_SET) && (id==0) ) + { + new w; + new h; + + custom_state(PART:"size", "default", 0.0); + + w = getarg(2); + h = getarg(3); + set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2); + set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1); + set_state(PART:"size", "custom", 0.0); + } + } + } + parts { + part { name: "size"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + } + part { name: "shadow"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "size"; + rel2.to: "size"; + image { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: PHOTO_DEFAULT_SHADOW_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.clip.left-top"; + mouse_events: 0; + type: SPACER ; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: PHOTO_DEFAULT_CLIP_PADDING_LEFT_TOP; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.clip.right-bottom"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: PHOTO_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM; + rel1.relative: 1 1; + } + } + part { name: "clip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: PHOTO_DEFAULT_COLOR_VISIBLE; + rel1 { + to: "elm.padding.clip.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.clip.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// + diff --git a/2.3-mobile/widgets_default/photocam.edc b/2.3-mobile/widgets_default/photocam.edc new file mode 100644 index 0000000..f53dea8 --- /dev/null +++ b/2.3-mobile/widgets_default/photocam.edc @@ -0,0 +1,650 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +group { name: "elm/photocam/base/default"; + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE COMP; + image: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "sb_runnerh.png" COMP; + image: "sb_runnerv.png" COMP; + image: "00_winset_list_process_01.png" COMP; + image: "00_winset_list_process_02.png" COMP; + image: "00_winset_list_process_03.png" COMP; + image: "00_winset_list_process_04.png" COMP; + image: "00_winset_list_process_05.png" COMP; + image: "00_winset_list_process_06.png" COMP; + image: "00_winset_list_process_07.png" COMP; + image: "00_winset_list_process_08.png" COMP; + image: "00_winset_list_process_09.png" COMP; + image: "00_winset_list_process_10.png" COMP; + image: "00_winset_list_process_11.png" COMP; + image: "00_winset_list_process_12.png" COMP; + image: "00_winset_list_process_13.png" COMP; + image: "00_winset_list_process_14.png" COMP; + image: "00_winset_list_process_15.png" COMP; + image: "00_winset_list_process_16.png" COMP; + image: "00_winset_list_process_17.png" COMP; + image: "00_winset_list_process_18.png" COMP; + image: "00_winset_list_process_19.png" COMP; + image: "00_winset_list_process_20.png" COMP; + image: "00_winset_list_process_21.png" COMP; + image: "00_winset_list_process_22.png" COMP; + image: "00_winset_list_process_23.png" COMP; + image: "00_winset_list_process_24.png" COMP; + image: "00_winset_list_process_25.png" COMP; + image: "00_winset_list_process_26.png" COMP; + image: "00_winset_list_process_27.png" COMP; + image: "00_winset_list_process_28.png" COMP; + image: "00_winset_list_process_29.png" COMP; + image: "00_winset_list_process_30.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "conf_over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + visible: 0; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "00_winset_list_process_30.png"; + tween: "00_winset_list_process_01.png"; + tween: "00_winset_list_process_02.png"; + tween: "00_winset_list_process_03.png"; + tween: "00_winset_list_process_04.png"; + tween: "00_winset_list_process_05.png"; + tween: "00_winset_list_process_06.png"; + tween: "00_winset_list_process_07.png"; + tween: "00_winset_list_process_08.png"; + tween: "00_winset_list_process_09.png"; + tween: "00_winset_list_process_10.png"; + tween: "00_winset_list_process_11.png"; + tween: "00_winset_list_process_12.png"; + tween: "00_winset_list_process_13.png"; + tween: "00_winset_list_process_14.png"; + tween: "00_winset_list_process_15.png"; + tween: "00_winset_list_process_16.png"; + tween: "00_winset_list_process_17.png"; + tween: "00_winset_list_process_18.png"; + tween: "00_winset_list_process_19.png"; + tween: "00_winset_list_process_20.png"; + tween: "00_winset_list_process_21.png"; + tween: "00_winset_list_process_22.png"; + tween: "00_winset_list_process_23.png"; + tween: "00_winset_list_process_24.png"; + tween: "00_winset_list_process_25.png"; + tween: "00_winset_list_process_26.png"; + tween: "00_winset_list_process_27.png"; + tween: "00_winset_list_process_28.png"; + tween: "00_winset_list_process_29.png"; + } + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part {name: "vbar.padding"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; + max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; + align: 1 0.5; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_y: "elm.swallow.content"; + to_x: "vbar.padding"; + } + } + } + part { name: "sb_vbar_runner"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1.to: "sb_vbar"; + rel2.to: "sb_vbar"; + visible: 0; + image { + normal: "sb_runnerv.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER; + border_scale: 1; + } + fill.smooth: 0; + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; + max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE; + border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER; + border_scale: 1; + middle: DEFAULT; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + visible: 0; + image { + normal: "bt_sm_hilight.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1; + border_scale: 1; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + visible: 0; + image { + normal: "bt_sm_shine.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2; + border_scale: 1; + } + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part {name: "hbar.padding"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; + max: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; + align: 1 1; + rel1 { + relative: 0.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + to_y: "hbar.padding"; + } + } + } + part { name: "sb_hbar_runner"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1.to: "sb_hbar"; + rel2.to: "sb_hbar"; + visible: 0; + image { + normal: "sb_runnerh.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER; + border_scale: 1; + } + fill.smooth: 0; + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; + max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + color: 255 255 255 0; + image { + normal: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE; + border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER; + border_scale: 1; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + visible: 0; + image { + normal: "bt_sm_hilight.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1; + border_scale: 1; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + visible: 0; + image { + normal: "bt_sm_shine.png"; + border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2; + border_scale: 1; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(2.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } + } + diff --git a/2.3-mobile/widgets_default/player.edc b/2.3-mobile/widgets_default/player.edc new file mode 100644 index 0000000..abe46b2 --- /dev/null +++ b/2.3-mobile/widgets_default/player.edc @@ -0,0 +1,379 @@ +#define BSZ 64 + +group { + name: "elm/player/base/default"; + parts { + part { name: "elm.padding.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_PADDING_DEFAULT_INC PLAYER_PADDING_DEFAULT_INC; + align: 0 0; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.left-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_PADDING_DEFAULT_INC PLAYER_PADDING_DEFAULT_INC; + align: 0 1; + rel1.relative: 0 1; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.right-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_PADDING_DEFAULT_INC PLAYER_PADDING_DEFAULT_INC; + align: 1 0; + rel1.relative: 1 0; + rel2.relative: 1 0; + } + } + part { name: "elm.padding.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_PADDING_DEFAULT_INC PLAYER_PADDING_DEFAULT_INC; + align: 1 1; + rel1.relative: 1 1; + } + } + part { name: "media_player/slider"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + to: "elm.padding.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.right-top"; + relative: 0 1; + } + } + } + part { name: "elm.padding.rewind.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_PADDING_DEFAULT_INC PLAYER_PADDING_DEFAULT_INC; + align: 0 0; + rel1 { + to_x: "elm.padding.left-top"; + to_y: "media_player/slider"; + relative: 1 1; + } + rel2 { + to_x: "elm.padding.left-top"; + to_y: "media_player/slider"; + relative: 1 1; + } + } + } + part { name: "media_player/rewind"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to: "elm.padding.rewind.left-top"; + relative: 0 1; + } + rel2 { + to: "elm.padding.left-bottom"; + relative: 1 0; + } + } + } + part { name: "elm.padding.rewind.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/rewind"; + relative: 1 0; + } + rel2 { + to: "media_player/rewind"; + relative: 1 1; + } + } + } + part { name: "media_player/prev"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.rewind.right"; + to_y: "media_player/rewind"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.rewind.right"; + to_y: "media_player/rewind"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.prev.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/prev"; + relative: 1 0; + } + rel2 { + to: "media_player/prev"; + relative: 1 1; + } + } + } + part { name: "media_player/play"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.prev.right"; + to_y: "media_player/prev"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.prev.right"; + to_y: "media_player/prev"; + relative: 1.0 1.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "media_player/pause"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "media_player/play"; + rel2.to: "media_player/play"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.padding.play.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/play"; + relative: 1 0; + } + rel2 { + to: "media_player/play"; + relative: 1 1; + } + } + } + part { name: "media_player/info"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.play.right"; + to_y: "media_player/play"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.play.right"; + to_y: "media_player/play"; + relative: 1.0 1.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.padding.info.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/info"; + relative: 1 0; + } + rel2 { + to: "media_player/info"; + relative: 1 1; + } + } + } + part { name: "media_player/stop"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.info.right"; + to_y: "media_player/info"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.info.right"; + to_y: "media_player/info"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.stop.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/stop"; + relative: 1 0; + } + rel2 { + to: "media_player/stop"; + relative: 1 1; + } + } + } + part { name: "media_player/next"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0.0 1.0; + rel1 { + to_x: "elm.padding.stop.right"; + to_y: "media_player/stop"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.stop.right"; + to_y: "media_player/stop"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.padding.next.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: PLAYER_PADDING_DEFAULT_INC 0; + align: 0 0; + rel1 { + to: "media_player/next"; + relative: 1 0; + } + rel2 { + to: "media_player/next"; + relative: 1 1; + } + } + } + + part { name: "media_player/forward"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: PLAYER_BUTTON_WIDTH PLAYER_BUTTON_HEIGHT; + align: 0 1.0; + fixed: 0 1; + rel1 { + to_x: "elm.padding.next.right"; + to_y: "media_player/next"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.right-bottom"; + relative: 0 0; + } + } + } + } + programs { + program { + signal: "show"; + source: ""; + after: "pause/0"; + } + program { + signal: "elm,player,play"; + source: "elm"; + after: "play/0"; + } + program { + signal: "elm,player,pause"; + source: "elm"; + after: "pause/0"; + } + program { + name: "play/0"; + action: STATE_SET "hidden" 0.0; + target: "media_player/play"; + after: "play/1"; + } + program { + name: "play/1"; + action: STATE_SET "default" 0.0; + target: "media_player/pause"; + } + program { + name: "pause/0"; + action: STATE_SET "hidden" 0.0; + target: "media_player/pause"; + after: "pause/1"; + } + program { + name: "pause/1"; + action: STATE_SET "default" 0.0; + target: "media_player/play"; + } + } +} + + diff --git a/2.3-mobile/widgets_default/pointer.edc b/2.3-mobile/widgets_default/pointer.edc new file mode 100644 index 0000000..2218564 --- /dev/null +++ b/2.3-mobile/widgets_default/pointer.edc @@ -0,0 +1,131 @@ +group { + name: "elm/pointer/base/default"; + images { + image: "whitetheme/pointer.png" COMP; + image: "whitetheme/pointer_glow.png" COMP; + image: "whitetheme/pointer_glint_01.png" COMP; + image: "whitetheme/pointer_glint_02.png" COMP; + image: "whitetheme/pointer_glint_03.png" COMP; + image: "whitetheme/pointer_glint_04.png" COMP; + image: "whitetheme/pointer_glint_05.png" COMP; + image: "whitetheme/pointer_glint_06.png" COMP; + image: "whitetheme/pointer_glint_07.png" COMP; + image: "whitetheme/pointer_glint_08.png" COMP; + image: "whitetheme/pointer_glint_09.png" COMP; + image: "whitetheme/pointer_glint_10.png" COMP; + image: "whitetheme/pointer_glint_11.png" COMP; + image: "whitetheme/pointer_glint_12.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + aspect: 0.71875 0.71875; + min: 23 32; + aspect_preference: BOTH; + image { + normal: "whitetheme/pointer.png"; + } + } + } + part { name: "glow"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + color: 255 255 255 0; + image.normal: "whitetheme/pointer_glow.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "glint"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + image.normal: "whitetheme/pointer_glint_12.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + image.tween: "whitetheme/pointer_glint_01.png"; + image.tween: "whitetheme/pointer_glint_02.png"; + image.tween: "whitetheme/pointer_glint_03.png"; + image.tween: "whitetheme/pointer_glint_04.png"; + image.tween: "whitetheme/pointer_glint_05.png"; + image.tween: "whitetheme/pointer_glint_06.png"; + image.tween: "whitetheme/pointer_glint_07.png"; + image.tween: "whitetheme/pointer_glint_08.png"; + image.tween: "whitetheme/pointer_glint_09.png"; + image.tween: "whitetheme/pointer_glint_10.png"; + image.tween: "whitetheme/pointer_glint_11.png"; + image.normal: "whitetheme/pointer_glint_12.png"; + } + } + part { name: "elm.swallow.hotspot"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.27 0.125; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 0.27 0.125; + offset: 0 0; + } + } + } + } + programs { + program { name: "mouse_down"; + signal: "elm,action,mouse,down"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.3; + target: "glint"; + after: "mouse_down2"; + } + program { name: "mouse_down2"; + action: STATE_SET "default" 0.0; + target: "glint"; + } + program { name: "mouse_idle"; + signal: "elm,state,mouse,idle"; + source: "elm"; + action: STATE_SET "visible" 0.0; + in: 5.0 0.0; + transition: SINUSOIDAL 1.0; + target: "glow"; + after: "mouse_idle2"; + } + program { name: "mouse_idle2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 2.0; + target: "glow"; + after: "mouse_idle"; + } + program { name: "mouse_active"; + signal: "elm,state,mouse,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "mouse_active2"; + } + program { name: "mouse_active2"; + action: ACTION_STOP; + target: "mouse_idle"; + target: "mouse_idle2"; + } + } +} + + diff --git a/2.3-mobile/widgets_default/progressbar.edc b/2.3-mobile/widgets_default/progressbar.edc new file mode 100644 index 0000000..d828d60 --- /dev/null +++ b/2.3-mobile/widgets_default/progressbar.edc @@ -0,0 +1,456 @@ +group { name: "elm/progressbar/vertical/default"; + images { + image: "whitetheme/progress_slider_bg_v.png" COMP; + image: "whitetheme/progress_slider_bar_v.png" COMP; + } + parts { + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: PROGRESSBAR_BAR_SIZE_INC 1; + max: PROGRESSBAR_BAR_SIZE_INC 9999; + align: 0.5 1.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.text.box"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1 { + to_x: "elm.swallow.bar"; + } + rel2 { + relative: 1.0 0.0; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0.0; + rel1 { + to_y: "elm.swallow.content"; + relative: 0.5 1.0; + offset: 0 -1; + } + rel2 { + to_y: "elm.swallow.content"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: PROGRESSBAR_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: PROGRESSBAR_TITLE_FONT_SIZE_INC; + min: 0 0; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + } + part { name: "background"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "whitetheme/progress_slider_bg_v.png"; + border: PROGRESSBAR_BG_BORDER_INC; + } + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.bar"; + to_y: "elm.cur.progressbar"; + offset: -1 -1; + } + image { + normal: "whitetheme/progress_slider_bar_v.png"; + border: PROGRESSBAR_BG_BORDER_INC; + } + } + description { state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.bar"; + to_y: "elm.cur.progressbar"; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 0.1; + } + } + description { state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.9; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + dragable { + confine: "background"; + x: 0 0 0; + y: 1 1 1; + } + description { state: "default" 0.0; + min: 28 14; + fixed: 1 1; + visible: 0; + rel1 { + to: "background"; + relative: 0 0; + } + rel2.to: "background"; + } + } + part { name: "elm.text.box"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.text.status"; + } + rel2 { + to: "elm.text.status"; + } + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 0; + } + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: PROGRESSBAR_TITLE_FONT_SIZE_INC; + min: 1 1; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + } + } + } + programs { + program { name: "label_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "label_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.status"; + target: "elm.text.box"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + target: "elm.text.box"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "state_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "units_hide"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + target: "elm.cur.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "elm.cur.progressbar"; + } + } +} + +group { name: "elm/progressbar/horizontal/wheel"; + images { + image: "whitetheme/progress_wheel_0.png" COMP; + image: "whitetheme/progress_wheel_1.png" COMP; + image: "whitetheme/progress_wheel_2.png" COMP; + image: "whitetheme/progress_wheel_3.png" COMP; + image: "whitetheme/progress_wheel_4.png" COMP; + image: "whitetheme/progress_wheel_5.png" COMP; + image: "whitetheme/progress_wheel_6.png" COMP; + image: "whitetheme/progress_wheel_7.png" COMP; + image: "whitetheme/progress_wheel_8.png" COMP; + image: "whitetheme/progress_wheel_9.png" COMP; + image: "whitetheme/progress_wheel_10.png" COMP; + image: "whitetheme/progress_wheel_11.png" COMP; + image: "whitetheme/progress_wheel_12.png" COMP; + image: "whitetheme/progress_wheel_13.png" COMP; + image: "whitetheme/progress_wheel_14.png" COMP; + image: "whitetheme/progress_wheel_15.png" COMP; + image: "whitetheme/progress_wheel_16.png" COMP; + image: "whitetheme/progress_wheel_17.png" COMP; + image: "whitetheme/progress_wheel_18.png" COMP; + image: "whitetheme/progress_wheel_19.png" COMP; + image: "whitetheme/progress_wheel_20.png" COMP; + image: "whitetheme/progress_wheel_21.png" COMP; + image: "whitetheme/progress_wheel_22.png" COMP; + image: "whitetheme/progress_wheel_23.png" COMP; + image: "whitetheme/progress_wheel_24.png" COMP; + image: "whitetheme/progress_wheel_25.png" COMP; + image: "whitetheme/progress_wheel_26.png" COMP; + image: "whitetheme/progress_wheel_27.png" COMP; + image: "whitetheme/progress_wheel_28.png" COMP; + image: "whitetheme/progress_wheel_29.png" COMP; + } + parts { + part { name: "elm.background.progressbar"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + type: SWALLOW; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "background"; + scale: 1; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_WHEEL_SIZE_INC PROGRESSBAR_WHEEL_SIZE_INC; + max: PROGRESSBAR_WHEEL_SIZE_INC PROGRESSBAR_WHEEL_SIZE_INC; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { normal: "whitetheme/progress_wheel_0.png"; + } + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/progress_wheel_0.png"; + tween: "whitetheme/progress_wheel_1.png"; + tween: "whitetheme/progress_wheel_2.png"; + tween: "whitetheme/progress_wheel_3.png"; + tween: "whitetheme/progress_wheel_4.png"; + tween: "whitetheme/progress_wheel_5.png"; + tween: "whitetheme/progress_wheel_6.png"; + tween: "whitetheme/progress_wheel_7.png"; + tween: "whitetheme/progress_wheel_8.png"; + tween: "whitetheme/progress_wheel_9.png"; + tween: "whitetheme/progress_wheel_10.png"; + tween: "whitetheme/progress_wheel_11.png"; + tween: "whitetheme/progress_wheel_12.png"; + tween: "whitetheme/progress_wheel_13.png"; + tween: "whitetheme/progress_wheel_14.png"; + tween: "whitetheme/progress_wheel_15.png"; + tween: "whitetheme/progress_wheel_16.png"; + tween: "whitetheme/progress_wheel_17.png"; + tween: "whitetheme/progress_wheel_18.png"; + tween: "whitetheme/progress_wheel_19.png"; + tween: "whitetheme/progress_wheel_20.png"; + tween: "whitetheme/progress_wheel_21.png"; + tween: "whitetheme/progress_wheel_22.png"; + tween: "whitetheme/progress_wheel_23.png"; + tween: "whitetheme/progress_wheel_24.png"; + tween: "whitetheme/progress_wheel_25.png"; + tween: "whitetheme/progress_wheel_26.png"; + tween: "whitetheme/progress_wheel_27.png"; + tween: "whitetheme/progress_wheel_28.png"; + tween: "whitetheme/progress_wheel_29.png"; + //border: 7 7 7 7; + } + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "background"; + transition: LINEAR 1.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } +} diff --git a/2.3-mobile/widgets_default/segmentedcontrol.edc b/2.3-mobile/widgets_default/segmentedcontrol.edc new file mode 100644 index 0000000..7dd5067 --- /dev/null +++ b/2.3-mobile/widgets_default/segmentedcontrol.edc @@ -0,0 +1,758 @@ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * + * PROPRIETARY/CONFIDENTIAL + * + * This software is the confidential and proprietary information of SAMSUNG + * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this + * software is owned by Samsung and you shall not disclose such Confidential + * Information and shall use it only in accordance with the terms of the license + * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no + * representations or warranties about the suitability of the software, either + * express or implied, including but not limited to the implied warranties of + * merchantability, fitness for a particular purpose, or non-infringement. + * SAMSUNG shall not be liable for any damages suffered by licensee arising out + * of or releated to this software. + * + */ + +//################################################################ +//Segment Control +//################################################################ + +group { name: "elm/segment_control/base/default"; +#define SEGMENT_TYPE_SINGLE 1 +#define SEGMENT_TYPE_LEFT 2 +#define SEGMENT_TYPE_MIDDLE 3 +#define SEGMENT_TYPE_RIGHT 4 +#define SEGMENT_STATE_NORMAL 1 +#define SEGMENT_STATE_PRESSED 2 +#define SEGMENT_STATE_SELECTED 3 +#define SEGMENT_STATUS_ENABLED 0 +#define SEGMENT_STATUS_DISABLED 1 + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 100 40; + visible: 0; + } + } + } +} +group { name: "elm/segment_control/item/default"; + styles{ + style { name: "segment_control_multiline_style"; + base: "font=SLP:style=Bold font_size="SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC" align=center color=#ffffff wrap=char ellipsis=1.0 text_class=slp"; + tag: "br" "\n"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "tab" "\t"; + } + } + images { + image: "00_divider_line.png" COMP; + image: "00_badge_bg.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "segment"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 1 1; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + color: 0 0 0 0; + } + description { state: "default_single" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed_single" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_single" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + } + } + part { name: "seg_padding"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "segment"; + relative: 1.0 0.5; + } + rel2 { + to: "segment"; + relative: 1.0 0.5; + } + image { + normal: "00_divider_line.png"; + border_scale: 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC; + visible: 1; + } + } + part { name: "left_text_padding"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; + fixed: 1 0; + rel1 { + to: "segment"; + relative: 0.0 0.0; + } + rel2 { + to: "segment"; + relative: 0.0 1.0; + } + } + } + part { name: "right_text_padding"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to: "segment"; + relative: 1.0 0.0; + } + rel2 { + to: "segment"; + relative: 1.0 1.0; + } + } + } + part { name: "icon.bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; + align: 0 0.5; + fixed: 1 0; + rel1 { + to: "segment"; + relative: 0.0 0.0; + } + rel2 { + to: "segment"; + relative: 0.0 1.0; + } + } + } + part { name: "padding_icon_text"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 1.0 0.5; + rel1 { + to: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text"; + relative: 0.0 1.0; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + // rel2.offset: 2 0; + min: 10 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to: "padding_icon_text"; + relative: 0.0 0.0; + } + rel2 { + to: "padding_icon_text"; + relative: 0.0 1.0; + } + // aspect: 1.0 1.0; + // aspect_preference: BOTH; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0.5; + min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; + rel1 { + to: "left_text_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "right_text_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + //min: 1 1; + align: 0.5 0.5; + // fixed: 1 1; + // max: 9999 84; + rel1 { + to_x: "icon.bg"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to: "right_text_padding"; + relative: 0.0 1.0; + } + color: SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC; + text { + style: "segment_control_multiline_style"; + max: 1 0; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC; + } + } + part { name: "elm.text.badge.bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "left.padding.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "right.padding.text.badge"; + relative: 1.0 1.0; + } + align: 1.0 0.5; + image { + normal: "00_badge_bg.png"; + border: 29 24 0 0; + border_scale: 1; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left.padding.text.badge"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC; + rel1 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text.badge"; + relative: 0.0 0.0; + } + align: 1.0 0.0; + } + } + part { name: "right.padding.text.badge"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC; + rel1 { + to: "segment"; + relative: 1.0 0.0; + } + rel2 { + to: "segment"; + relative: 1.0 0.0; + } + align: 1.0 0.0; + } + } + part { name: "elm.text.badge"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 1 1; + rel1 { + to: "segment"; + relative: 0.2 0.0; // rel_x is given 0.2, so bg image will not cross the segment image in left dir. + } + rel2 { + to: "right.padding.text.badge"; + relative: 0.0 1.0; + } + align: 1.0 0.5; + color: SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC; + text { + font: "SLP:style=Bold"; + size: SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC; + min: 1 1; + max: 1 0; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "segment"; + } + rel2 { + relative: 1.0 1.0; + to: "segment"; + } + color: 255 255 255 150; + } + description { state: "disabled_single" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_right" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + script { + public seg_type; // Single, Left, Middle, Right. + public seg_state; // Normal/Default, Pressed, Selected. + public seg_status;// Enabled/Default, Disabled + + public update_state() { + new type, state, disabled; + type = get_int(seg_type); + state = get_int(seg_state); + disabled = get_int(seg_status); + + if(state == SEGMENT_STATE_NORMAL) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "default_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "default_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "default_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "default_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "normal", 0.0); + } + else if(state == SEGMENT_STATE_PRESSED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "pressed_single", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "pressed_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "pressed_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "pressed_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "pressed", 0.0); + } + else if(state == SEGMENT_STATE_SELECTED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"segment", "selected_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"segment", "selected_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"segment", "selected_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"segment", "selected_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "selected", 0.0); + } + if(disabled == SEGMENT_STATUS_DISABLED) + { + if(type == SEGMENT_TYPE_SINGLE) + { + set_state(PART:"disabler", "disabled_single", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + else if(type == SEGMENT_TYPE_LEFT) + { + set_state(PART:"disabler", "disabled_left", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_MIDDLE) + { + set_state(PART:"disabler", "disabled_middle", 0.0); + set_state(PART:"seg_padding", "visible", 0.0); + } + else if(type == SEGMENT_TYPE_RIGHT) + { + set_state(PART:"disabler", "disabled_right", 0.0); + set_state(PART:"seg_padding", "default", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + else + { + set_state(PART:"disabler", "default", 0.0); + } + } + } + program { + name: "segment_type_s"; + signal: "elm,type,segment,single"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_SINGLE); + update_state(); + } + } + program { + name: "segment_type_l"; + signal: "elm,type,segment,left"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_LEFT); + update_state(); + } + } + program { + name: "segment_type_m"; + signal: "elm,type,segment,middle"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_MIDDLE); + update_state(); + } + } + program { + name: "segment_type_r"; + signal: "elm,type,segment,right"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_RIGHT); + update_state(); + } + } + program { + name: "normal_segment"; + signal: "elm,state,segment,normal"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_NORMAL); + update_state(); + } + } + program { + name: "pressed_segment"; + signal: "elm,state,segment,pressed"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_PRESSED); + update_state(); + } + } + program { + name: "selected_segment"; + signal: "elm,state,segment,selected"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_SELECTED); + update_state(); + } + } + program { name: "disable_segment"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_DISABLED); + update_state(); + } + } + program { name: "enable_segment"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_ENABLED); + update_state(); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "selected")) + set_state(PART:"elm.text", "selected", 0.0); + else + set_state(PART:"elm.text", "normal", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "badge_text_show"; + signal: "elm,state,elm.text.badge,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text.badge", st, 30, vl); + if (!strcmp(st, "selected")) + { + set_state(PART:"elm.text.badge", "selected", 0.0); + set_state(PART:"elm.text.badge.bg", "selected", 0.0); + } + else + { + set_state(PART:"elm.text.badge", "normal", 0.0); + set_state(PART:"elm.text.badge.bg", "normal", 0.0); + } + } + } + program { name: "badge_text_hide"; + signal: "elm,state,elm.text.badge,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.badge"; + target: "elm.text.badge.bg"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + } +#undef SEGMENT_TYPE_SINGLE +#undef SEGMENT_TYPE_LEFT +#undef SEGMENT_TYPE_MIDDLE +#undef SEGMENT_TYPE_RIGHT +#undef SEGMENT_STATE_NORMAL +#undef SEGMENT_STATE_PRESSED +#undef SEGMENT_STATE_SELECTED +#undef SEGMENT_STATUS_ENABLED +#undef SEGMENT_STATUS_DISABLED +} diff --git a/2.3-mobile/widgets_default/separator.edc b/2.3-mobile/widgets_default/separator.edc new file mode 100644 index 0000000..fc0f54f --- /dev/null +++ b/2.3-mobile/widgets_default/separator.edc @@ -0,0 +1,95 @@ +group { name: "elm/separator/horizontal/default"; + images { + image: "whitetheme/line_h_2px.png" COMP; + } + parts { + part { name: "elm.padding.separator.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEPARATOR_PADDING_LEFT_INC; + fixed: 1 1; + align: 0 0; + rel2.relative: 0 0; + } + } + part { + name: "elm.padding.separator.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEPARATOR_PADDING_RIGHT_INC; + fixed: 1 1; + align: 1 1; + rel1.relative: 1 1; + } + } + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: SEPARATOR_PADDING_MIN_SIZE; + rel1 { + to: "elm.padding.separator.left"; + relative: 1 1; + } + rel2 { + to: "elm.padding.separator.right"; + relative: 0 0; + } + image { + normal: "whitetheme/line_h_2px.png"; + } + fill { + smooth: 0; + } + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/separator/vertical/default"; + images { + image: "whitetheme/line_v_2px.png" COMP; + } + parts { + part { name: "elm.padding.separator.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEPARATOR_PADDING_LEFT_INC; + fixed: 1 1; + align: 0 0; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.separator.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEPARATOR_PADDING_RIGHT_INC; + fixed: 1 1; + align: 1 1; + rel1.relative: 1 1; + } + } + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: SEPARATOR_PADDING_MIN_SIZE; + rel1 { + to: "elm.padding.separator.left"; + relative: 1 1; + } + rel2 { + to: "elm.padding.separator.right"; + relative: 0 0; + } + image { + normal: "whitetheme/line_v_2px.png"; + } + fill { + smooth: 0; + } + } + } + } +} diff --git a/2.3-mobile/widgets_default/slider.edc b/2.3-mobile/widgets_default/slider.edc new file mode 100644 index 0000000..6b356c5 --- /dev/null +++ b/2.3-mobile/widgets_default/slider.edc @@ -0,0 +1,593 @@ +/* FIXME: Decide whether "elm/slider/horizontal/indicator/default" is deleted or not. + * "elm/slider/horizontal/indicator/default" is from redwood and only used for + * "elm/slider/vertical/default". */ +/* + group { name: "elm/slider/horizontal/indicator/default"; + alias: "elm/slider/horizontal/indicator/disabled"; + alias: "elm/slider/vertical/indicator/default"; + alias: "elm/slider/vertical/indicator/disabled"; + alias: "elm/slider/horizontal/indicator/tap_to_drag"; + images { + image: "00_slider_handle.png" COMP; + image: "00_slider_handle_dim.png" COMP; + image: "00_slider_handle_press.png" COMP; + } + parts { + part { name: "button_events"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "button0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + rel1 { + to: "elm.indicator"; + offset: -2 -2; + } + rel2 { + to: "elm.indicator"; + offset: 2 2; + } + image { + normal: "00_slider_handle.png"; + border: 3 3 3 3; + border_scale: 1; + } + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image { + normal: "00_slider_handle_press.png"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "00_slider_handle_dim.png"; + } + } + } + part { name: "elm.indicator"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color: SLIDER_INDICATOR_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: SLIDER_INDICATOR_TEXT_SIZE_INC; + min: 1 1; + align: 0.5 0.5; + text_class: "slp"; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "set_val_show"; + signal: "elm,state,val,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + } + program { name: "set_val_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.indicator"; + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button0"; + target: "button_events"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button0"; + target: "button_events"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "button_events"; + action: STATE_SET "pressed" 0.0; + target: "button0"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "button_events"; + action: STATE_SET "default" 0.0; + target: "button0"; + } + } + } + +group { name: "elm/slider/vertical/default"; + alias: "elm/slider/vertical/disabled"; + images { + image: "whitetheme/slider_v_bg.png" COMP; + image: "whitetheme/slider_v_guage.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_BASE_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC; + max: SLIDER_BASE_HEIGHT_INC SLIDER_BASE_WIDTH_LIMIT_INC; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/slider_v_bg.png"; + border: SLIDER_VERTICAL_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.level.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_VERTICAL_LEVEL_PADDING_LEFT_TOP; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0 0; + } + rel2 { + to: "base"; + relative: 0 0; + } + align: 0 0; + } + } + part { name: "elm.padding.level.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_VERTICAL_LEVEL_PADDING_RIGHT_BOTTOM; + fixed: 1 1; + align: 1 1; + rel1 { + to: "base"; + relative: 1 1; + } + rel2.to: "base"; + } + } + part { name: "level"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.padding.level.left-top"; + relative: 1 1; + } + rel2 { + to_x: "elm.padding.level.right-bottom"; + to_y: "elm.dragable.slider"; + relative: 0.0 0.5; + } + image { + normal: "whitetheme/slider_v_guage.png"; + border: SLIDER_VERTICAL_GUAGE_BORDER; + border_scale: 1; + } + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "level2"; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_x: "elm.padding.level.left-top"; + to_y: "elm.dragable.slider"; + relative: 1 0.5; + } + rel2 { + to: "elm.padding.level.right-bottom"; + relative: 0 0; + } + image { + normal: "whitetheme/slider_v_guage.png"; + border: SLIDER_VERTICAL_GUAGE_BORDER; + border_scale: 1; + } + align: 0.5 0.5; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + } + } + + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: SLIDER_SWALLOW_BAR_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC; + max: SLIDER_SWALLOW_BAR_HEIGHT_INC SLIDER_BASE_WIDTH_LIMIT_INC; + rel1 { + to_y: "bar_top_padding"; + relative: 0.0 1.0; + } + rel2 { + to_y: "bar_bottom_padding"; + relative: 1.0 0.0; + } + } + } + part { name: "bar_top_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 SLIDER_VERTICAL_PADDING_SIZE_DEFAULT; + fixed: 1 1; + rel1 { + relative: 0.5 1.0; + to_y: "elm.text"; + } + rel2 { + relative: 0.5 1.0; + to_y: "elm.text"; + } + align: 0.5 0.0; + } + } + part { name: "bar_bottom_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 SLIDER_VERTICAL_PADDING_SIZE_DEFAULT; + fixed: 1 1; + rel1 { + relative: 0.5 0.0; + to_y: "elm.units"; + } + rel2 { + relative: 0.5 0.0; + to_y: "elm.units"; + } + align: 0.5 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_y: "elm.swallow.icon"; + } + rel2.to_y: "elm.swallow.icon"; + align: 0.5 0.0; + color: SLIDER_UNITS_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: SLIDER_UNITS_TEXT_SIZE_INC; + min: 0 0; + align: 0.5 0.5; + text_class: "slp_medium"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0.0; + rel1.to_x: "elm.swallow.bar"; + rel2 { + relative: 1.0 0.0; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: SLIDER_INDICATOR_HEIGHT_INC SLIDER_INDICATOR_HEIGHT_INC; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.swallow.bar"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.units"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1.0; + color: SLIDER_UNITS_TEXT_COLOR_INC; + rel1.to_y: "elm.swallow.end"; + rel2 { + relative: 1.0 0.0; + to_y: "elm.swallow.end"; + } + text { + font: "SLP:style=Bold"; + size: SLIDER_UNITS_TEXT_SIZE_INC; + min: 0 0; + align: 0.5 0.0; + text_class: "slp_bold"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + text.min: 1 1; + } + } + part { name: "limits"; + type: GROUP; + source: "elm/slider/hidden/limit"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1 0; + min: SOURCE; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + relative: 0.0 0.0; + offset: 0 8; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: 0 -9; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.offset: -5 0; + rel2.offset: -5 -1; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/vertical/indicator/default"; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "bg"; + } + description { state: "default" 0.0; + min: SLIDER_INDICATOR_HEIGHT_INC SLIDER_INDICATOR_WIDTH_INC; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + color: 255 255 255 102; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units"; + target: "limits"; + after: "limits,children,visible"; + } + program { name: "limits,children,visible"; + action: SIGNAL_EMIT "limits:limits,visible" "elm"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units"; + target: "limits"; + after: "limits,children,hide"; + } + program { name: "limits,children,hide"; + action: SIGNAL_EMIT "limits:limits,hide" "elm"; + } + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "inverted" 0.0; + target: "level"; + target: "level2"; + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "level"; + target: "level2"; + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "clipper"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + } +} +*/ + +group { name: "elm/slider/hidden/limit"; + parts { + part { name: "elm.units.min"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: SLIDER_HIDDEN_FONT_SIZE; + min: 1 1; + align: 0.0 0.5; + } + } + } + part { name: "elm.units.max"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: SLIDER_HIDDEN_FONT_SIZE; + min: 1 1; + align: 0.0 0.5; + } + } + } + } +} diff --git a/2.3-mobile/widgets_default/spinner.edc b/2.3-mobile/widgets_default/spinner.edc new file mode 100644 index 0000000..80b48fe --- /dev/null +++ b/2.3-mobile/widgets_default/spinner.edc @@ -0,0 +1,915 @@ +group { name: "elm/spinner/base/default"; + images { + image: "whitetheme/spinner_bg.png" COMP; + image: "whitetheme/btn_style_nor.png" COMP; + image: "whitetheme/btn_style_sel.png" COMP; + image: "whitetheme/btn_arrow_left_nor.png" COMP; + image: "whitetheme/btn_arrow_left_sel.png" COMP; + image: "whitetheme/btn_arrow_right_nor.png" COMP; + image: "whitetheme/btn_arrow_right_sel.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC+10; + color: 255 255 255 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/spinner_bg.png"; + border: SPINNER_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.left"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 0 0; + min: 5 0; + fixed: 1 0; + rel1 { + to: "bg"; + relative: 0 0; + } + rel2 { + to: "bg"; + relative: 0 1; + } + } + } + part { name: "left_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.left"; + relative: 1 1; + } + align: 0.0 0.5; + min: SPINNER_NORMAL_BUTTON_MIN_WIDTH_INC SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC; + max: SPINNER_NORMAL_BUTTON_MIN_WIDTH_INC SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_sel.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "left_bt_icon"; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + align: 0.5 0.5; + min: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + max: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "whitetheme/btn_arrow_left_nor.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_left_sel.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_right_nor.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 63; + } + } + part { name: "elm.padding.right"; + type: RECT; + scale:1 ; + description { state: "default" 0.0; + color: 255 0 0 0; + align: 1 0; + min: 5 0; + fixed: 1 0; + rel1 { + to: "bg"; + relative: 1 0; + } + rel2 { + to: "bg"; + relative: 1 1; + } + } + } + part { name: "right_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { to: "elm.padding.right"; + relative: 0 0; + } + rel2 { to: "elm.padding.right"; + relative: 0 1; + } + align: 1.0 0.5; + min: SPINNER_NORMAL_BUTTON_MIN_WIDTH_INC SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC; + max: SPINNER_NORMAL_BUTTON_MIN_WIDTH_INC SPINNER_NORMAL_BUTTON_MIN_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_sel.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "right_bt_icon"; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + align: 0.5 0.5; + min: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + max: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "whitetheme/btn_arrow_right_nor.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_right_sel.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_left_nor.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 63; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.0 0.5; + rel1 { relative: 1.1 0.0; + to_x: "left_bt"; + to_y: "bg"; + } + rel2 { relative: -0.1 1.0; + to_x: "right_bt"; + to_y: "bg"; + } + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: SPINNER_FONT_SIZE_INC; + min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + } + } + part { name: "elm.dragable.slider"; + type: RECT; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + } + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "elm.dragable.slider"; + } + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + relative: 1.0 0.5; + to_x: "left_bt"; + to_y: "bg"; + } + rel2 { + relative: 0.0 0.5; + to_x: "right_bt"; + to_y: "bg"; + } + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "dec"; + signal: "mouse,down,1*"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "left_bt_click"; + signal: "mouse,down,1*"; + source: "left_bt"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + target: "left_bt_icon"; + } + program { name: "left_bt_unclick"; + signal: "mouse,up,1"; + source: "left_bt"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + target: "left_bt_icon"; + } + program { name: "left_bt_click2"; + signal: "mouse,down,1*"; + source: "left_bt"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + } + program { name: "left_bt_unclick2"; + signal: "mouse,up,1"; + source: "left_bt"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left_bt"; + } + program { name: "left_bt_unclick3"; + signal: "mouse,up,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "left_bt_pressed_anim"; + signal: "elm,left,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + //target: "left_over3"; + after: "left_bt_unpressed_anim"; + } + program { + name: "left_bt_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left_bt"; + //target: "left_over3"; + } + program { name: "right_bt_click"; + signal: "mouse,down,1*"; + source: "right_bt"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + target: "right_bt_icon"; + } + program { name: "right_bt_unclick"; + signal: "mouse,up,1"; + source: "right_bt"; + action: STATE_SET "default" 0.0; + target: "right_bt"; + target: "right_bt_icon"; + } + program { name: "right_bt_click2"; + signal: "mouse,down,1*"; + source: "right_bt"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + } + program { name: "right_bt_unclick2"; + signal: "mouse,up,1"; + source: "right_bt"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right_bt"; + } + program { name: "right_bt_unclick3"; + signal: "mouse,up,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "right_bt_pressed_anim"; + signal: "elm,right,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + after: "right_bt_unpressed_anim"; + } + program { name: "right_bt_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right_bt"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "left_bt"; + target: "right_bt"; + target: "left_bt_icon"; + target: "right_bt_icon"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.text", "disabled_active", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); + else + set_state(PART:"elm.swallow.entry", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + target: "right_bt"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.text", "active", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.swallow.entry", "active", 0.0); + else + set_state(PART:"elm.swallow.entry", "default", 0.0); + } + } + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "toggle_text"; + signal: "mouse,up,1"; + source: "button_events"; + action: SIGNAL_EMIT "elm,action,entry,toggle" ""; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/spinner/base/vertical"; + images { + image: "whitetheme/spinner_bg.png" COMP; + image: "whitetheme/btn_style_nor.png" COMP; + image: "whitetheme/btn_style_sel.png" COMP; + image: "whitetheme/btn_arrow_bottom_nor.png" COMP; + image: "whitetheme/btn_arrow_bottom_sel.png" COMP; + image: "whitetheme/btn_arrow_top_nor.png" COMP; + image: "whitetheme/btn_arrow_top_sel.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 100+10; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "whitetheme/spinner_bg.png"; + border: SPINNER_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.right"; + type: SPACER; + scale:1 ; + description { state: "default" 0.0; + align: 1 0; + min: 5 0; + fixed: 1 0; + rel1 { + to: "bg"; + relative: 1 0; + } + rel2 { + to: "bg"; + relative: 1 1; + } + } + } + part { name: "down_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { to: "up_bt"; + relative: 0 1; + } + rel2 { to: "up_bt"; + relative: 0 1; + } + align: 0 0; + min: SPINNER_VERTICAL_BUTTON_MIN_WIDTH_INC SPINNER_VERTICAL_BUTTON_MIN_HEIGHT_INC; + max: SPINNER_VERTICAL_BUTTON_MIN_WIDTH_INC SPINNER_VERTICAL_BUTTON_MIN_HEIGHT_INC; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_sel.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "down_bt_icon"; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1.to: "down_bt"; + rel2.to: "down_bt"; + align: 0.5 0.5; + min: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + max: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "whitetheme/btn_arrow_bottom_nor.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_bottom_sel.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 63; + } + } + part { name: "up_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { to: "elm.padding.right"; + relative: 0 0.05; + } + rel2 { to: "elm.padding.right"; + relative: 0 0.05; + } + align: 1.0 0; + min: SPINNER_VERTICAL_BUTTON_MIN_WIDTH_INC SPINNER_VERTICAL_BUTTON_MIN_HEIGHT_INC; + max: SPINNER_VERTICAL_BUTTON_MIN_WIDTH_INC SPINNER_VERTICAL_BUTTON_MIN_HEIGHT_INC; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_sel.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/btn_style_nor.png"; + border: SPINNER_NORMAL_BUTTON_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "up_bt_icon"; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1.to: "up_bt"; + rel2.to: "up_bt"; + align: 0.5 0.5; + min: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + max: SPINNER_NORMAL_ARROW_WIDTH_INC SPINNER_NORMAL_ARROW_HEIGHT_INC; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "whitetheme/btn_arrow_top_nor.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "whitetheme/btn_arrow_top_sel.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 63; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; + offset: 3 2; + to_x: "bg"; + to_y: "bg"; + } + rel2 { relative: 0.0 1.0; + offset: -3 -2; + to_x: "down_bt"; + to_y: "bg"; + } + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: SPINNER_FONT_SIZE_INC; + min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + color3: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 63; + color3: 0 0 0 0; + } + } + part { name: "elm.dragable.slider"; + type: RECT; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + } + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "elm.dragable.slider"; + } + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { relative: 0.0 0.5; + offset: 3 2; + to: "elm.text"; + } + rel2 { relative: 1.0 0.5; + offset: -3 -2; + to: "elm.text"; + } + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "dec"; + signal: "mouse,down,1*"; + source: "down_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "down_bt"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "up_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "up_bt"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "down_bt_click2"; + signal: "mouse,down,1*"; + source: "down_bt"; + action: STATE_SET "clicked" 0.0; + target: "down_bt"; + target: "down_bt_icon"; + } + program { name: "down_bt_unclick2"; + signal: "mouse,up,1"; + source: "down_bt"; + action: STATE_SET "default" 0.0; + target: "down_bt"; + target: "down_bt_icon"; + } + program { name: "up_bt_click2"; + signal: "mouse,down,1*"; + source: "up_bt"; + action: STATE_SET "clicked" 0.0; + target: "up_bt"; + target: "up_bt_icon"; + } + program { name: "up_bt_unclick2"; + signal: "mouse,up,1"; + source: "up_bt"; + action: STATE_SET "default" 0.0; + target: "up_bt"; + target: "up_bt_icon"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "down_bt"; + target: "up_bt"; + target: "down_bt"; + target: "down_bt_icon"; + target: "up_bt"; + target: "up_bt_icon"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.text", "disabled_active", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); + else + set_state(PART:"elm.swallow.entry", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "down_bt"; + target: "up_bt"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.text", "active", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.swallow.entry", "active", 0.0); + else + set_state(PART:"elm.swallow.entry", "default", 0.0); + } + } + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "toggle_text"; + signal: "mouse,up,1"; + source: "button_events"; + action: SIGNAL_EMIT "elm,action,entry,toggle" ""; + } + } +} + + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.3-mobile/widgets_default/thumb.edc b/2.3-mobile/widgets_default/thumb.edc new file mode 100644 index 0000000..431fa1b --- /dev/null +++ b/2.3-mobile/widgets_default/thumb.edc @@ -0,0 +1,325 @@ +group { name: "elm/thumb/base/default"; + images { + image: "whitetheme/gengrid_thumb_shadow.png" COMP; + image: "whitetheme/gengrid_thumb_stroke.png" COMP; + image: "whitetheme/progress_wheel_0.png" COMP; + image: "whitetheme/progress_wheel_1.png" COMP; + image: "whitetheme/progress_wheel_2.png" COMP; + image: "whitetheme/progress_wheel_3.png" COMP; + image: "whitetheme/progress_wheel_4.png" COMP; + image: "whitetheme/progress_wheel_5.png" COMP; + image: "whitetheme/progress_wheel_6.png" COMP; + image: "whitetheme/progress_wheel_7.png" COMP; + image: "whitetheme/progress_wheel_8.png" COMP; + image: "whitetheme/progress_wheel_9.png" COMP; + image: "whitetheme/progress_wheel_10.png" COMP; + image: "whitetheme/progress_wheel_11.png" COMP; + image: "whitetheme/progress_wheel_12.png" COMP; + image: "whitetheme/progress_wheel_13.png" COMP; + image: "whitetheme/progress_wheel_14.png" COMP; + image: "whitetheme/progress_wheel_15.png" COMP; + image: "whitetheme/progress_wheel_16.png" COMP; + image: "whitetheme/progress_wheel_17.png" COMP; + image: "whitetheme/progress_wheel_18.png" COMP; + image: "whitetheme/progress_wheel_19.png" COMP; + image: "whitetheme/progress_wheel_20.png" COMP; + image: "whitetheme/progress_wheel_21.png" COMP; + image: "whitetheme/progress_wheel_22.png" COMP; + image: "whitetheme/progress_wheel_23.png" COMP; + image: "whitetheme/progress_wheel_24.png" COMP; + image: "whitetheme/progress_wheel_25.png" COMP; + image: "whitetheme/progress_wheel_26.png" COMP; + image: "whitetheme/progress_wheel_27.png" COMP; + image: "whitetheme/progress_wheel_28.png" COMP; + image: "whitetheme/progress_wheel_29.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "over"; + rel2.to: "over"; + image { + normal: "whitetheme/gengrid_thumb_shadow.png"; + border: THUMB_DEFAULT_SHADOW_BORDER; + border_scale: 1; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "elm.padding.clip.left-top"; + mouse_events: 0; + type: SPACER ; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: THUMB_DEFAULT_CLIP_PADDING_LEFT_TOP; + rel1.to: "over"; + rel2 { + to: "over"; + relative: 0 0; + } + } + } + part { name: "elm.padding.clip.right-bottom"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: THUMB_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM; + rel1 { + to: "over"; + relative: 1 1; + } + rel2.to: "over"; + } + } + part { name: "clip"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: THUMB_DEFAULT_COLOR_VISIBLE; + rel1 { + to: "elm.padding.clip.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.clip.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + } + } + part { name: "progress"; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: THUMB_DEFAULT_PROGRESS_BG_SIZE; + max: THUMB_DEFAULT_PROGRESS_BG_SIZE; + visible: 0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "whitetheme/progress_wheel_0.png"; + tween: "whitetheme/progress_wheel_1.png"; + tween: "whitetheme/progress_wheel_2.png"; + tween: "whitetheme/progress_wheel_3.png"; + tween: "whitetheme/progress_wheel_4.png"; + tween: "whitetheme/progress_wheel_5.png"; + tween: "whitetheme/progress_wheel_6.png"; + tween: "whitetheme/progress_wheel_7.png"; + tween: "whitetheme/progress_wheel_8.png"; + tween: "whitetheme/progress_wheel_9.png"; + tween: "whitetheme/progress_wheel_10.png"; + tween: "whitetheme/progress_wheel_11.png"; + tween: "whitetheme/progress_wheel_12.png"; + tween: "whitetheme/progress_wheel_13.png"; + tween: "whitetheme/progress_wheel_14.png"; + tween: "whitetheme/progress_wheel_15.png"; + tween: "whitetheme/progress_wheel_16.png"; + tween: "whitetheme/progress_wheel_17.png"; + tween: "whitetheme/progress_wheel_18.png"; + tween: "whitetheme/progress_wheel_19.png"; + tween: "whitetheme/progress_wheel_20.png"; + tween: "whitetheme/progress_wheel_21.png"; + tween: "whitetheme/progress_wheel_22.png"; + tween: "whitetheme/progress_wheel_23.png"; + tween: "whitetheme/progress_wheel_24.png"; + tween: "whitetheme/progress_wheel_25.png"; + tween: "whitetheme/progress_wheel_26.png"; + tween: "whitetheme/progress_wheel_27.png"; + tween: "whitetheme/progress_wheel_28.png"; + tween: "whitetheme/progress_wheel_29.png"; + border: THUMB_DEFAULT_PROGRESS_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "over"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/gengrid_thumb_stroke.png"; + border: THUMB_DEFAULT_STROKE_BORDER; + border_scale: 1; + middle: 0; + } + fill.smooth: 0; + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "progress"; + transition: LINEAR 0.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "progress"; + } + } + } +} + +group { name: "elm/thumb/base/noframe"; + images { + image: "whitetheme/progress_wheel_0.png" COMP; + image: "whitetheme/progress_wheel_1.png" COMP; + image: "whitetheme/progress_wheel_2.png" COMP; + image: "whitetheme/progress_wheel_3.png" COMP; + image: "whitetheme/progress_wheel_4.png" COMP; + image: "whitetheme/progress_wheel_5.png" COMP; + image: "whitetheme/progress_wheel_6.png" COMP; + image: "whitetheme/progress_wheel_7.png" COMP; + image: "whitetheme/progress_wheel_8.png" COMP; + image: "whitetheme/progress_wheel_9.png" COMP; + image: "whitetheme/progress_wheel_10.png" COMP; + image: "whitetheme/progress_wheel_11.png" COMP; + image: "whitetheme/progress_wheel_12.png" COMP; + image: "whitetheme/progress_wheel_13.png" COMP; + image: "whitetheme/progress_wheel_14.png" COMP; + image: "whitetheme/progress_wheel_15.png" COMP; + image: "whitetheme/progress_wheel_16.png" COMP; + image: "whitetheme/progress_wheel_17.png" COMP; + image: "whitetheme/progress_wheel_18.png" COMP; + image: "whitetheme/progress_wheel_19.png" COMP; + image: "whitetheme/progress_wheel_20.png" COMP; + image: "whitetheme/progress_wheel_21.png" COMP; + image: "whitetheme/progress_wheel_22.png" COMP; + image: "whitetheme/progress_wheel_23.png" COMP; + image: "whitetheme/progress_wheel_24.png" COMP; + image: "whitetheme/progress_wheel_25.png" COMP; + image: "whitetheme/progress_wheel_26.png" COMP; + image: "whitetheme/progress_wheel_27.png" COMP; + image: "whitetheme/progress_wheel_28.png" COMP; + image: "whitetheme/progress_wheel_29.png" COMP; + } + parts { + part { name: "elm.padding.content.left-top"; + mouse_events: 0; + type: SPACER ; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: THUMB_DEFAULT_CLIP_PADDING_LEFT_TOP; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.content.right-bottom"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: THUMB_DEFAULT_CLIP_PADDING_RIGHT_BOTTOM; + rel1.relative: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.content.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.content.right-bottom"; + relative: 0 0; + } + } + } + part { name: "progress"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: THUMB_DEFAULT_PROGRESS_BG_SIZE; + max: THUMB_DEFAULT_PROGRESS_BG_SIZE; + visible: 0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "whitetheme/progress_wheel_0.png"; + tween: "whitetheme/progress_wheel_1.png"; + tween: "whitetheme/progress_wheel_2.png"; + tween: "whitetheme/progress_wheel_3.png"; + tween: "whitetheme/progress_wheel_4.png"; + tween: "whitetheme/progress_wheel_5.png"; + tween: "whitetheme/progress_wheel_6.png"; + tween: "whitetheme/progress_wheel_7.png"; + tween: "whitetheme/progress_wheel_8.png"; + tween: "whitetheme/progress_wheel_9.png"; + tween: "whitetheme/progress_wheel_10.png"; + tween: "whitetheme/progress_wheel_11.png"; + tween: "whitetheme/progress_wheel_12.png"; + tween: "whitetheme/progress_wheel_13.png"; + tween: "whitetheme/progress_wheel_14.png"; + tween: "whitetheme/progress_wheel_15.png"; + tween: "whitetheme/progress_wheel_16.png"; + tween: "whitetheme/progress_wheel_17.png"; + tween: "whitetheme/progress_wheel_18.png"; + tween: "whitetheme/progress_wheel_19.png"; + tween: "whitetheme/progress_wheel_20.png"; + tween: "whitetheme/progress_wheel_21.png"; + tween: "whitetheme/progress_wheel_22.png"; + tween: "whitetheme/progress_wheel_23.png"; + tween: "whitetheme/progress_wheel_24.png"; + tween: "whitetheme/progress_wheel_25.png"; + tween: "whitetheme/progress_wheel_26.png"; + tween: "whitetheme/progress_wheel_27.png"; + tween: "whitetheme/progress_wheel_28.png"; + tween: "whitetheme/progress_wheel_29.png"; + border: THUMB_DEFAULT_PROGRESS_BG_BORDER; + border_scale: 1; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "progress"; + transition: LINEAR 0.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "progress"; + } + } + } +} + + + diff --git a/2.3-mobile/widgets_default/toolbar.edc b/2.3-mobile/widgets_default/toolbar.edc new file mode 100644 index 0000000..9eacb5a --- /dev/null +++ b/2.3-mobile/widgets_default/toolbar.edc @@ -0,0 +1,140 @@ +group { name: "elm/toolbar/more/default"; + images { + image: "whitetheme/toolbar_more_bg.png" COMP; + image: "whitetheme/line_h_2px.png" COMP; + } + parts { + part { name: "base"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + image { + normal: "whitetheme/toolbar_more_bg.png"; + border: TOOLBAR_MORE_BG_BORDER_INC; + border_scale: 1; + } + image.middle: SOLID; + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 2.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + } + part { name: "clipper2"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.5; + to: "base"; + } + rel2 { + to: "base"; + } + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.5; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "elm.swallow.content2"; + clip_to: "clipper2"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "clipper2"; + rel2.to: "clipper2"; + } + } + part { name: "separator2"; + scale: 1; + //clip_to: "clipper2"; + description { state: "default" 0.0; + min: 1 2; + max: 9999 2; + fixed: 1 1; + rel1 { + relative: 0 0.0; + to: "clipper2"; + } + rel2 { + relative: 1 0.0; + to: "clipper2"; + } + image { + normal: "whitetheme/line_h_2px.png"; + } + } + } + programs { + program { name: "open"; + signal: "elm,state,open"; + source: "elm"; + action: STATE_SET "open" 0.0; + target: "base"; + target: "clipper"; + target: "clipper2"; + transition: DECELERATE 0.2; + } + program { name: "open2"; + signal: "elm,state,open2"; + source: "elm"; + action: STATE_SET "open2" 0.0; + target: "base"; + target: "clipper"; + target: "clipper2"; + transition: DECELERATE 0.2; + } + program { name: "close"; + signal: "elm,state,close"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.2; + } + } + } +} diff --git a/2.3-mobile/widgets_default/tooltip.edc b/2.3-mobile/widgets_default/tooltip.edc new file mode 100644 index 0000000..fc82357 --- /dev/null +++ b/2.3-mobile/widgets_default/tooltip.edc @@ -0,0 +1,523 @@ +group { name: "elm/label/base/tooltip"; + styles { + style { name: "tooltip_style"; + base: "font=SLP:sytle=Bold font_size=30 color=#fff wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "tooltip_style"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/tooltip/base/default"; + data { + item: "pad_x" "23"; + item: "pad_y" "35"; + item: "hide_timeout" "0.35"; + } + images { + image: "whitetheme/tooltip-base.png" COMP; + image: "whitetheme/tooltip-corner-top-left-tip.png" COMP; + image: "whitetheme/tooltip-corner-top-right-tip.png" COMP; + image: "whitetheme/tooltip-corner-bottom-left-tip.png" COMP; + image: "whitetheme/tooltip-corner-bottom-right-tip.png" COMP; + image: "whitetheme/tooltip-edge-left-tip.png" COMP; + image: "whitetheme/tooltip-edge-right-tip.png" COMP; + image: "whitetheme/tooltip-edge-bottom-tip.png" COMP; + image: "whitetheme/tooltip-edge-top-tip.png" COMP; + } + script { + hide_corners() { + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + } + hide_edges() { + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + } + + show_corner_top_left() { + set_state(PART:"corner-top-left", "visible", 0.0); + + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + show_corner_top_right() { + set_state(PART:"corner-top-right", "visible", 0.0); + + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + + show_corner_bottom_left() { + set_state(PART:"corner-bottom-left", "visible", 0.0); + + set_state(PART:"corner-bottom-right", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + show_corner_bottom_right() { + set_state(PART:"corner-bottom-right", "visible", 0.0); + + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + + show_edge_left(Float:val) { + set_state(PART:"clipper-edge-left", "visible", 0.0); + set_drag(PART:"edge-drag-left", 0.0, val); + + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + show_edge_right(Float:val) { + set_state(PART:"clipper-edge-right", "visible", 0.0); + set_drag(PART:"edge-drag-right", 0.0, val); + + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + + show_edge_top(Float:val) { + set_state(PART:"clipper-edge-top", "visible", 0.0); + set_drag(PART:"edge-drag-top", val, 0.0); + + set_state(PART:"clipper-edge-bottom", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + show_edge_bottom(Float:val) { + set_state(PART:"clipper-edge-bottom", "visible", 0.0); + set_drag(PART:"edge-drag-bottom", val, 0.0); + + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 1)) { + new Float:x, Float:y; + + x = getfarg(2); + y = getfarg(3); + + if (x < 0.0) + { + if (y < 0.0) show_corner_top_left(); + else if (y > 1.0) show_corner_bottom_left(); + else show_edge_left(y); + } + else if (x > 1.0) + { + if (y < 0.0) show_corner_top_right(); + else if (y > 1.0) show_corner_bottom_right(); + else show_edge_right(y); + } + else + { + if (y < 0.0) show_edge_top(x); + else if (y > 1.0) show_edge_bottom(x); + else + { + hide_corners(); + hide_edges(); + } + } + } + } + } + parts { + part { name: "clipper"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.padding.clipper.lt"; + rel2.to: "elm.padding.clipper.rb"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.padding.clipper.lt"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1 1; + min: TOOLTIP_BG_PADDING_TOP_LEFT_WIDTH TOOLTIP_BG_PADDING_TOP_LEFT_HEIGHT; + max: TOOLTIP_BG_PADDING_TOP_LEFT_WIDTH TOOLTIP_BG_PADDING_TOP_LEFT_HEIGHT; + rel1 { + to: "elm.swallow.content"; + relative: 0 0; + } + rel2 { + to: "elm.swallow.content"; + relative: 0 0; + } + } + } + part { name: "elm.padding.clipper.rb"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0 0; + min: TOOLTIP_BG_PADDING_TOP_LEFT_WIDTH TOOLTIP_BG_PADDING_TOP_LEFT_HEIGHT; + max: TOOLTIP_BG_PADDING_TOP_LEFT_WIDTH TOOLTIP_BG_PADDING_TOP_LEFT_HEIGHT; + rel1 { + to: "elm.swallow.content"; + relative: 1 1; + } + rel2 { + to: "elm.swallow.content"; + relative: 1 1; + } + } + } + part { name: "pop"; + mouse_events: 0; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.padding.clipper.lt"; + } + rel2 { + to: "elm.padding.clipper.rb"; + } + image { + normal: "whitetheme/tooltip-base.png"; + border: TOOLTIP_BG_BORDER_INC; + border_scale: 1; + } + image.middle: SOLID; + } + } + #define TT_CORNER(name_, rx, ry, ax, ay) \ + part { name: "corner-"name_; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + max: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: ax ay; \ + fixed: 1 1; \ + rel1 { \ + relative: rx ry; \ + to: "pop"; \ + } \ + rel2 { \ + relative: rx ry; \ + to: "pop"; \ + } \ + image.normal: "whitetheme/tooltip-corner-"name_"-tip.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } + TT_CORNER("top-left", 0, 0, 0, 0); + TT_CORNER("top-right", 1, 0, 1, 0); + TT_CORNER("bottom-left", 0, 1, 0, 1); + TT_CORNER("bottom-right", 1, 1, 1, 1); + #undef TT_CORNER + + #define TT_EDGE_VERT(name_, rx, ax) \ + part { name: "clipper-edge-"name_; \ + type: RECT; \ + scale: 1; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + to: "pop"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + to: "pop"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + to: "pop"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + to: "pop"; \ + } \ + } \ + } \ + part { name: "edge-drag-"name_; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + dragable { \ + x: 0 0 0; \ + y: 1 1 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + max: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "whitetheme/tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_VERT("left", 0, 0); + TT_EDGE_VERT("right", 1, 1); + #undef TT_EDGE_VERT + + #define TT_EDGE_HORIZ(name_, ry, ay) \ + part { name: "clipper-edge-"name_; \ + type: RECT; \ + scale: 1; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 ry; \ + to: "pop"; \ + } \ + rel2 { \ + relative: 1.0 ry; \ + to: "pop"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 ry; \ + to: "pop"; \ + } \ + rel2 { \ + relative: 1.0 ry; \ + to: "pop"; \ + } \ + } \ + } \ + part { name: "edge-drag-"name_; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; \ + scale: 1; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + min: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + max: TOOLTIP_ARROW_MIN_WIDTH_INC TOOLTIP_ARROW_MIN_HEIGHT_INC; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "whitetheme/tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_HORIZ("top", 0, 0); + TT_EDGE_HORIZ("bottom", 1, 1); + #undef TT_EDGE_HORIZ + + part { name: "clipper_content"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "clipper_content"; + description { state: "default" 0.0; } + } + programs { + program { + name: "show0"; + signal: "elm,action,show"; + source: "elm"; + action: ACTION_STOP; + target: "hide0"; + target: "hide1"; + target: "hide2"; + target: "hide3"; + after: "show1"; + after: "show2"; + } + program { + name: "show1"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper"; + } + program { + name: "show2"; + in: 0.1 0.0; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper_content"; + } + + program { + name: "hide0"; + signal: "elm,action,hide"; + source: "elm"; + action: ACTION_STOP; + target: "show0"; + target: "show1"; + target: "show2"; + after: "hide1"; + after: "hide2"; + after: "hide3"; + } + program { + name: "hide1"; + script { + hide_corners(); + hide_edges(); + } + } + program { + name: "hide2"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper_content"; + } + program { + name: "hide3"; + in: 0.1 0.0; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper"; + } + } + } +} +group { name: "elm/tooltip/base/transparent"; + data { + item: "pad_x" "10"; + item: "pad_y" "10"; + item: "transparent" "enabled"; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.3-mobile/widgets_default/win.edc b/2.3-mobile/widgets_default/win.edc new file mode 100644 index 0000000..e8fa2fe --- /dev/null +++ b/2.3-mobile/widgets_default/win.edc @@ -0,0 +1,302 @@ +group { name: "elm/win/inwin/default"; + images { + image: "whitetheme/toast_popup.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "pop"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + image { + normal: "whitetheme/toast_popup.png"; + border: INWIN_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.content.padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 0 0; + rel1 { + to: "pop"; + relative: 0.0 0.0; + } + rel2 { + to: "pop"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.content.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "pop"; + relative: 1.0 1.0; + } + rel2 { + to: "pop"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.content.padding.left"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.content.padding.right"; + relative: 0.0 0.0; + } + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/win/inwin/minimal"; + images { + image: "whitetheme/toast_popup.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "pop"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.content.padding.left"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.content.padding.right"; + relative: 0.9 0.5; + } + image { + normal: "whitetheme/toast_popup.png"; + border: INWIN_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.content.padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "elm.swallow.content"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.content"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.content.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 0 0; + rel1 { + to: "elm.swallow.content"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.content"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.5 0.5; + } + rel2 { + relative: 0.5 0.5; + } + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/win/inwin/minimal_vertical"; + images { + image: "whitetheme/toast_popup.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "pop"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.content.padding.left"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.content.padding.right"; + relative: 0.9 0.5; + } + image { + normal: "whitetheme/toast_popup.png"; + border: INWIN_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.content.padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "elm.swallow.content"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.content"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.content.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 0 0; + rel1 { + to: "elm.swallow.content"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.swallow.content"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.1 0.5; + } + rel2 { + relative: 0.9 0.5; + } + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/2.3-wearable/HVGA-inc.edc b/2.3-wearable/HVGA-inc.edc new file mode 100644 index 0000000..f5a4cdb --- /dev/null +++ b/2.3-wearable/HVGA-inc.edc @@ -0,0 +1,605 @@ +/* + * 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. + */ + + +//*** This file defines the width, height (not color!) for W widgets *** // + +// ************* Naming ************ // +// {WIDGET}_{PART}_{TYPE}_{STATE}_COLOR + + +// ***************************** Action bar ***********************************/ +#define ACTIONBAR_PADDING_SIZE 16 +#define ACTIONBAR_HEIGHT 60 +#define ACTIONBAR_TEXT_SIZE 33 +#define ACTIONBAR_ICON_SIZE 39 39 +#define ACTIONBAR_NEXT_BTN_SIZE 68 60 +#define ACTIONBAR_FADE_WIDTH 14 +#define ACTIONBAR_ICON_TEXT_TOP_PADDING_SIZE 11 +#define ACTIONBAR_ICON_TEXT_BOTTOM_PADDING_SIZE 10 + +// ***************************** Sroller **************************************/ +#define SCROLLER_VBAR_MIN_SIZE 4 15 +#define SCROLLER_VBAR_MAX_SIZE 4 99999 +#define SCROLLER_HBAR_MIN_SIZE 15 4 +#define SCROLLER_HBAR_MAX_SIZE 99999 4 +#define SCROLLER_VBAR_PADDING_TOP_SIZE 2 +#define SCROLLER_VBAR_PADDING_BOTTOM_SIZE 2 +#define SCROLLER_VBAR_PADDING_LEFT_SIZE 2 +#define SCROLLER_VBAR_PADDING_RIGHT_SIZE 4 +#define SCROLLER_HBAR_PADDING_TOP_SIZE 2 +#define SCROLLER_HBAR_PADDING_BOTTOM_SIZE 2 +#define SCROLLER_HBAR_PADDING_LEFT_SIZE 2 +#define SCROLLER_HBAR_PADDING_RIGHT_SIZE 2 +#define END_EFFECT_GLOW_MAX_SIZE 50 +#define END_EFFECT_GLOW_MIN_SIZE 40 +#define END_EFFECT_GLOW_MOVE_CORRECTION_VALUE 10 +#define END_EFFECT_HORIZONTAL_EDGE_SIZE 2 +#define END_EFFECT_VERTICAL_EDGE_SIZE 1 + +// ***************************** List *****************************************/ +#define LIST_PADDING_LEFT_SIZE 16 +#define LIST_PADDING_RIGHT_SIZE 8 +#define LIST_PADDING_DEFAULT_SIZE 16 +#define LIST_PADDING_R_ICON_RIGHT_SIZE 8 +#define LIST_PADDING_R_ICON_DEFAULT_SIZE 8 +#define LIST_GROUPINDEX_PADDING_TOP_SIZE 1 +#define LIST_GROUPINDEX_PADDING_BOTTOM_SIZE 1 +#define LIST_1LINE_HEIGHT 100 +#define LIST_1LINE_PADDING_TOP_SIZE 25 +#define LIST_1LINE_PADDING_BOTTOM_SIZE 26 +#define LIST_2LINE_PADDING_TOP_SIZE 8 +#define LIST_2LINE_PADDING_BOTTOM_SIZE 9 +#define LIST_TEXT_MAIN_SIZE 42 +#define LIST_TEXT_SUB_SIZE 27 +#define LIST_TEXT_SWEEP_SIZE 32 +#define LIST_DIVIDER_HEIGHT 56 +#define LIST_DIVIDER_PADDING_SIZE 8 +#define LIST_GROUPINDEX_HEIGHT 34 +#define LIST_GROUPINDEX_TEXT_SIZE 27 +#define LIST_HIDDEN_HEIGHT 85 +#define LIST_MULTILINE_HEIGHT 44 +#define LIST_MULTILINE_2LINE_HEIGHT 100 +// Notification +#define LIST_NOTI_ICON_SIZE 52 52 +#define LIST_NOTI_NUMBER_ICON_HEIGHT 30 +#define LIST_NOTI_TEXT_SIZE 24 +// Device option +#define LIST_DEVICE_OPTION_PADDING_LEFT_SIZE 25 // NOT USED +#define LIST_DEVICE_OPTION_PADDING_RIGHT_SIZE 25 // NOT USED +#define LIST_DEVICE_OPTION_PADDING_TOP_SIZE 14 +#define LIST_DEVICE_OPTION_PADDING_BOTTOM_SIZE 15 +#define LIST_DEVICE_OPTION_ICON_MIN_MAX_SIZE 56 56 +#define LIST_DEVICE_OPTION_PADDING_DEFAULT_SIZE 12 // NOT USED +#define LIST_DEVICE_OPTION_HEIGHT 115 +#define LIST_DEVICE_OPTION_TEXT_MAIN_SIZE 34 +#define LIST_DEVICE_OPTION_TEXT_SUB_SIZE 27 +#define LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE 160 115 +#define LIST_DEVICE_OPTION_ICON_DIVIDER_MIN_MAX_INC 1 68 + + +// ***************************** Button ***************************************/ +#define BUTTON_TEXT_SIZE 31 +#define BUTTON_HEIGHT 85 +#define BUTTON_NEXTDEPTH_SIZE 56 56 +#define BUTTON_PLUS_SIZE 66 66 +#define BUTTON_BOTTOM_SIZE_LEFT 60 60 +#define BUTTON_BOTTOM_SIZE_RIGHT 60 60 +#define BUTTON_BOTTOM_BG_SIZE_LEFT 180 83 +#define BUTTON_BOTTOM_BG_SIZE_RIGHT 179 83 +#define BUTTON_DELETE_SIZE 50 50 +#define BUTTON_PADDING_SIZE 1 0 +#define BUTTON_ICON_SIZE 60 60 +// Naviframe +#define BUTTON_NAVIFRAME_BG_BORDER_SIZE 15 15 15 15 +// Divider +#define BUTTON_DIVIDER_BTN_SIZE 74 // ( 2 + 8 + 56 + 8 ) +#define BUTTON_DIVIDER_BTN_ICON_SIZE 56 +#define BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 10 // LEFT PADDING + DIVIDER LINE ( 8 + 2 ) +#define BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 8 +// Device_option +#define BUTTON_DEVICE_OPTION_TOP_PADDING_SIZE 1 +#define BUTTON_DEVICE_OPTION_ICON_SIZE 65 44 +#define BUTTON_DEVICE_OPTION_TEXT_PART_SIZE 0 70 +#define BUTTON_DEVICE_OPTION_LR_PADDING_SIZE 10 +// Hidden Button +#define HIDDEN_BUTTON_HEIGHT 85 +// Clear Button +#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 34 34 +#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 34 34 + +// ***************************** Check and Radio ****************************************/ +#define CHECK_SIZE 56 56 +#define CHECK_TOGGLE_SIZE 207 110 +#define CHECK_TOGGLE_THUMB_SIZE 132 110 +#define RADIO_SIZE 56 56 +// popup +#define CHECK_TEXT_SIZE 36 +#define CHECK_PADDING_SIZE 8 0 + +// ***************************** Index ****************************************/ +// Scroll +#define INDEX_SCROLL_PADDING_SIZE 0 +#define INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE 27 +#define INDEX_SCROLL_HANDLE_ITEM_WIDTH 45 +#define INDEX_DIVIDER_WIDTH_INC 1 +#define INDEX_SCROLL_BG_LINE_WIDTH_INC 2 +#define INDEX_SCROLL_HANDLE_ITEM_HEIGHT 41 +#define INDEX_SCROLL_POPUP_TEXT_SIZE 70 +#define INDEX_SCROLL_2DEPTH_FOCUS_SIZE 34 +#define INDEX_SCROLL_DRAG_PART_SIZE 20 40 +#define INDEX_SCROLL_REF_RECT_SIZE 40 0 +#define INDEX_SCROLL_POPUP_SIZE 156 99 +#define INDEX_SCROLL_POPUP_TEXT_LEFT_RIGHT_PADDING 79 +#define INDEX_SCROLL_DIVIDER_WIDTH_INC 2 +// Tab +#define INDEX_TAB_HEIGHT 6 +#define INDEX_TAB_PADDING_SIZE 2 +// Thumbnail +#define INDEX_THUMBNAIL_BG_SIZE 40 20 +#define INDEX_THUMBNAIL_IND_SIZE 20 20 +#define INDEX_THUMBNAIL_IMAGE_BORDER_SIZE 6 6 5 7 + +// ***************************** Gengrid **************************************/ +#define GENGRID_DEFAULT_PADDING_LT_SIZE 0 0 +#define GENGRID_DEFAULT_PADDING_RB_SIZE 0 0 +#define GENGRID_DEFAULT_PADDING_ITEM_BG_LT_SIZE 0 0 +#define GENGRID_DEFAULT_PADDING_ITEM_BG_RB_SIZE 0 0 + +// ***************************** Ctxpopup **************************************/ +#define CTXPOPUP_MOVE_PAD_INC 40 +#define CTXPOPUP_SHADOW_LEFT_PADDING 1 +#define CTXPOPUP_SHADOW_TOP_PADDING 1 +#define CTXPOPUP_SHADOW_RIGHT_PADDING 1 +#define CTXPOPUP_SHADOW_BOTTOM_PADDING 1 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 60 +#define CTXPOPUP_ICON_ITEM_HORIZONTAL_HEIGHT_INC 69 +#define CTXPOPUP_ARROW_SIZE_INC 32 32 +#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 +#define CTXPOPUP_CONTENT_PADDING_WIDTH 1 +#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 +#define CTXPOPUP_ARROW_PADDING 3 +#define CTXPOPUP_HORIZONTAL_WIDTH_MIN_INC 73 +#define CTXPOPUP_WIDTH_MIN_INC 320 +#define CTXPOPUP_WIDTH_MAX_INC 320 +#define CTXPOPUP_ITEM_HEIGHT_MIN_INC 81 +#define CTXPOPUP_ITEM_HEIGHT_MAX_INC 101 +#define CTXPOPUP_HORIZONTAL_ITEM_HEIGHT_MAX_INC 89 +#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 +#define CTXPOPUP_HORIZONTAL_ITEM_LR_PADDING 8 +#define CTXPOPUP_HORIZONTAL_ITEM_TEXT_TOP_PADDING_INC 18 +#define CTXPOPUP_HORIZONTAL_ITEM_TEXT_BOTTOM_PADDING_INC 18 +#define CTXPOPUP_ITEM_TEXT_LR_PADDING_INC 6 +#define CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC 19 +#define CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC 19 +#define CTXPOPUP_ITEM_ICON_LR_PADDING_INC 8 +#define CTXPOPUP_ITEM_ICON_TOP_PADDING_INC 6 +#define CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC 6 +#define CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC 42 +#define CTXPOPUP_TEXT_MAX_INC 306 +#define CTXPOPUP_ITEM_TEXT_SIZE_INC 36 +#define CTXPOPUP_ITEM_TEXT_MAX_SIZE_INC (CTXPOPUP_ITEM_TEXT_SIZE_INC*2) +#define CTXPOPUP_HORIZONTAL_ITEM_TEXT_SIZE_INC 28 +#define CTXPOPUP_HORIZONTAL_ITEM_TEXT_HEIGHT_MIN_INC 33 +#define CTXPOPUP_HORIZONTAL_ITEM_TEXT_MAX_SIZE_INC (CTXPOPUP_HORIZONTAL_ITEM_TEXT_SIZE_INC*2) +#define CTXPOPUP_ITEM_ICON_PADDING_INC 6 +#define CTXPOPUP_ITEM_ICON_TEXT_PADDING_INC 8 +#define CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC 12 +#define CTXPOPUP_ICON_WIDTH_INC 56 +#define CTXPOPUP_ICON_HEIGHT_INC 56 +#define CTXPOPUP_HORIZONTAL_ICON_WIDTH_INC 44 +#define CTXPOPUP_HORIZONTAL_ICON_HEIGHT_INC 43 + +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC 52 +#define CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC 52 +#define CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC 70 +#define CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 52 +#define CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC 70 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_TOP_PADDING_INC 0 +#define CTXPOPUP_COPYPASTE_ITEM_ICON_BOTTOM_PADDING_INC 0 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_PADDING_INC 0 +#define CTXPOPUP_COPYPASTE_ITEM_TEXT_BOTTOM_PADDING_INC 0 +#define CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC 1 CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC +#define CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC 1 -1 + +#define CTXPOPUP_HELP_BG_WIDTH_INC 328 +#define CTXPOPUP_HELP_BG_LINE_SIZE_INC 3 +#define CTXPOPUP_HELP_ITEM_WIDTH_INC 322 +#define CTXPOPUP_HELP_ITEM_HEIGHT_INC 126 +#define CTXPOPUP_HELP_ITEM_LR_PAD_INC 13 +#define CTXPOPUP_HELP_ITEM_TB_PAD_INC 23 +#define CTXPOPUP_HELP_ITEM_TEXT_MAX_WIDTH_INC 296 + +// Help popup (made by ctxpopup) +#define POPUP_HELP_TEXT_SIZE 36 + +// ***************************** Popup ****************************************/ + +#define POPUP_OUTSIDE_PADDING "6" //480(total height) - 480(popup max height) + 3*2(top, bottom outline width) +#define POPUP_TITLE_AREA_HEIGHT "68" + +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 360 0 +#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 360 480 +#define POPUP_CONTENT_AREA_DEFAULT_MIN_INC 358 0 +#define POPUP_TEXT_PADDING_LEFT_SIZE 16 +#define POPUP_TEXT_PADDING_RIGHT_SIZE 16 +#define POPUP_TITLE_HEIGHT 68 +#define POPUP_TITLE_TEXT_SIZE 30 +#define POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT 3 +#define POPUP_LEFT_RIGHT_LINE_WIDTH 3 +#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "83" +#define POPUP_BUTTON_HEIGHT 83 +#define POPUP_BUTTON_CENTER_PADDING_SIZE 1 +#define POPUP_BODY_TEXT_SIZE 34 +#define POPUP_BODY_TEXT_PADDING_TOP_SIZE 8 +#define POPUP_BODY_TEXT_PADDING_BOTTOM_SIZE 8 +// Popup -Toast +#define POPUP_TOAST_BG_WIDTH 360 +#define POPUP_TOAST_PADDING_BOTTOM_SIZE 0 +#define POPUP_TOAST_PADDING_LEFT_SIZE 16 +#define POPUP_TOAST_PADDING_RIGHT_SIZE 16 +#define POPUP_TOAST_PADDING_TOP_SIZE 25 +#define POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE 26 +#define POPUP_TOAST_TEXT_WIDTH 328 +#define POPUP_TOAST_TEXT_MAX_HEIGHT_INC 429 +#define POPUP_TOAST_ICON_TEXT_MAX_HEIGHT_INC 365 +#define POPUP_TOAST_TEXT_SIZE 36 +#define POPUP_TOAST_ICON_SIZE 56 +#define POPUP_TOAST_ICON_BOTTOM_PADDING_SIZE 8 + +// ***************************** Progressbar **********************************/ +#define PROGRESS_BG_BORDER_SIZE 6 6 2 2 +#define PROGRESS_BAR_IMAGE_BORDER_SIZE 6 6 2 2 +#define PROGRESSBAR_HEIGHT 6 +#define PROGRESSBAR_PENDING_SIZE 288 6 +#define PROGRESSBAR_POPUP_PENDING_SIZE 258 6 +#define PROGRESSBAR_ACTIVITY_IMAGE_SIZE 84 84 +#define PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE 34 34 + +// ***************************** Layout ***************************************/ +#define BUTTON_CONTROLLER_PADDING_LT_SIZE 8 8 +#define BUTTON_CONTROLLER_PADDING_RB_SIZE 8 8 +#define BUTTON_CONTROLLER_ICON_CENTER_SIZE 168 168 +#define BUTTON_CONTROLLER_ICON_SIZE 68 68 +// Layout - thumbnail +#define BODY_THUMBNAIL_LAYOUT_SIZE 248 480 +#define BODY_THUMBNAIL_SIZE 216 288 +#define BODY_THUMBNAIL_PADDING_TOP_SIZE 66 +#define BODY_THUMBNAIL_PADDING_LEFT_SIZE 16 +#define BODY_THUMBNAIL_PADDING_RIGHT_SIZE 16 +#define BODY_THUMBNAIL_PADDING_CENTER_SIZE 14 +#define BODY_THUMBNAIL_TEXT_SIZE 36 +#define BODY_THUMBNAIL_TEXT_SUB_SIZE 28 +#define BODY_THUMBNAIL_1LINE_TEXT_HEIGHT 88 +#define BODY_THUMBNAIL_LINE_SIZE 2 +// Layout - No Item +#define NOITEM_TEXT_SIZE 32 +#define NOITEM_LR_PADDING_SIZE 16 +#define NOITEM_IMAGE_SIZE 98 +#define NOITEM_IMAGE_PADDING_HEIGHT 12 +// Search bar +#define SEARCHBAR_CANCEL_BUTTON_W_INC 34 +#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 +#define SEARCHBAR_H_INC 64 +#define SEARCHBAR_HEIGHT_INC 48 +#define SEARCHBAR_BASE_HEIGHT_INC 64 +#define SEARCHBAR_WIDTH_INC 120 +#define SEARCHBAR_TOP_PADDING_INC 8 +#define SEARCHBAR_BOTTOM_PADDING_INC 8 +#define SEARCHBAR_LEFT_PADDING_INC 16 +#define SEARCHBAR_RIGHT_PADDING_INC 16 +// ***************************** Slider ***************************************/ +#define SLIDER_IND_WIDTH 36 +#define SLIDER_IND_HEIGHT 36 +#define SLIDER_IND_MAX_WIDTH 46 +#define SLIDER_IND_MAX_HEIGHT 46 +#define SLIDER_BG_HEIGHT_INC 48 +#define SLIDER_ICON_PADDING_SIZE_INC 22 13 +#define SLIDER_POPUP_BOTTOM_PADDING_HEIGHT_INC 59 +#define SLIDER_POPUP_SIZE_INC 86 79 + +// ***************************** Radio ****************************************/ + +// ***************************** Datetime *************************************/ +#define DATETIME_DATE_PICKER_BG_MIN_SIZE 300 290 +#define DATETIME_TIME_PICKER_BG_MIN_SIZE 300 290 +#define DATETIME_DATE_PICKER_BG_NO_BTN_MIN_SIZE 328 179 +#define DATETIME_TIME_PICKER_BG_NO_BTN_MIN_SIZE 300 179 +#define DATETIME_DATE_YEAR_FIELD_WIDTH 112 +#define DATETIME_DATE_MONTH_FIELD_WIDTH 90 +#define DATETIME_DATE_DATE_FIELD_WIDTH 84 +#define DATETIME_DATE_FIELD_PADDING_WIDTH 8 +#define DATETIME_TIME_HOUR_FIELD_WIDTH 84 +#define DATETIME_TIME_MINUTE_FIELD_WIDTH 84 +#define DATETIME_TIME_AMPM_FIELD_WIDTH 94 +#define DATETIME_TIME_LEFT_PADDING_MIN_WIDTH 51 //AM_PM_w(94)/2 + filed_padding(8)/2 +#define DATETIME_TIME_COLON_BG_MIN_SIZE 30 +#define DATETIME_TIME_COLON_IMAGE_SIZE 20 106 +#define DATETIME_FIELD_HEIGHT 106 +#define DATETIME_TOP_FOOT_BUTTON_SIZE 72 72 +#define DATETIME_TOP_FOOT_BUTTON_SWALLOW_SIZE 84 92 // To increase the touch event area of top/foot button +#define DATETIME_TEXT_DIGIT_SIZE_INC 35 52 +#define DATETIME_TEXT_STRING_SIZE_INC 35 47 +#define DATETIME_ENTRY_DIGIT_SIZE 52 +#define DATETIME_ENTRY_TEXT_SIZE 47 +// ***************************** Spiiner **************************************/ + +// ***************************** Spiiner **************************************/ +#define SPINNER_HORIZONTAL_DEFAULT_BG_SIZE 336 87 +#define SPINNER_VERTICAL_DEFAULT_BG_SIZE 168 304 +#define SPINNER_BG_LEFT_RIGHT_SIZE 77 87 +#define SPINNER_ICON_LEFT_RIGHT_SIZE 58 58 +#define SPINNER_ICON_TOP_BOTTOM_SIZE 68 68 +#define SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE 168 168 +#define SPINNER_DRAGABLE_PART_MIN_SIZE 90 180 +#define SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE 1 87 +#define SPINNER_CONTENT_BG_SIZE 180 87 +#define SPINNER_CENTER_IMAGE_SIZE 48 48 +#define SPINNER_TEXT_TOP_PADDING_HEIGHT 2 +#define SPINNER_BOTTOM_PADDING_SIZE 180 16 +#define SPINNER_PICKERSTYLE_BG_SIZE 124 290 +#define SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE 72 45 +#define SPINNER_PICKERSTYLE_TEXT_HEIGHT 52 +#define SPINNER_PICKERSTYLE_FIELD_HEIGHT 90 +#define SPINNER_PICKERSTYLE_FIELD_WIDTH 84 + +// ***************************** Entry ****************************************/ +#define ENTRY_TEXT_SIZE 34 +#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 51 79 +#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 4 +#define ENTRY_TOP_BOTTOM_PADDING_HEIGHT 7 +#define MAGNIFIER_HEIGHT_FIXED 90 +#define MAGNIFIER_WIDTH_FIXED 200 +#define MAGNIFIER_ARROW_HEIGHT_INC 10 +#define MAGNIFIER_LEFT_OFFSET_INC 7 2 +#define MAGNIFIER_RIGHT_OFFSET_INC 7 14 +#define ENTRY_EMOTICON_SIZE 26 26 +#define ENTRY_FOCUS_RECT_EDGE_INC 2 + +#define ENTRY_EDITFIELD_TEXT_SIZE_INC 24 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 42 0 +#define ENTRY_EDITFIELD_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC 4 0 + +#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 24 + +#define ENTRY_SEARCH_ICON_MIN_MAX_INC 34 34 +#define ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC 0 0 +#define ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC 3 0 +#define ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 38 0 +#define ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC 4 0 + +// ***************************** Label ****************************************/ +#define LABEL_FONT_SIZE_INC 34 + +// PRESS +#define PRESS_TIMER_VAL 0.1 + +#define STYLE_TAG \ + tag: "br" "\n";\ + tag: "ps" "ps";\ + tag: "tab" "\t";\ + tag: "b" "+ font_weight=Bold"; + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T0212"; + +#define STYLE_TAG_MATCH_FOCUS \ + tag: "match" ; + +styles { + // Index_Scroller Styles + style { name: "Index_scroll_bar_select"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color=#FFFFFF color_class=T0311P text_class=T0311P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "Index_scroll_bar_unselect"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color=#FFFFFF color_class=T0311 text_class=T0311 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "Index_scroll_1depth_popup"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=center color=#FFFFFF color_class=T0312P text_class=T0312P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "Index_scroll_1depth_popup_left_align"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=left color=#FFFFFF color_class=T0312 text_class=T0312 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "Index_scroll_bar_2depth_popup"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=right color=#FFFFFF color_class=T0312P text_class=T0312P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "Index_scroll_bar_2depth_focus_bar"; + base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color=#FFFFFF color_class=T0313 text_class=T0313 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + // Naviframe Style + style { name: "action_bar_title"; + base: "font=Tizen:style=Bold font_size="ACTIONBAR_TEXT_SIZE" color=#FFFFFF color_class=T012 text_class=T012 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + // List Style + style { name: "list_text_groupindex_normal"; + base: "font=Tizen:style=Regular font_size="LIST_GROUPINDEX_TEXT_SIZE" color=#ffffff color_class=T0231 text_class=T0231 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_groupindex_sub_normal"; + base: "font=Tizen:style=Regular font_size="LIST_GROUPINDEX_TEXT_SIZE" color=#FFFFFF color_class=T0232 text_class=T0232 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_main_normal"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211 text_class=T0211 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_main_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211P text_class=T0211P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_main_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211D text_class=T0211D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_normal"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022 text_class=T022 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022 text_class=T022P ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022D text_class=T022D ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_multiline_normal"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022 text_class=T022 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_multiline_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022D text_class=T022D wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_sub_multiline_press"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022P text_class=T022P wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_multiline"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211 text_class=T0211 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_2line_normal"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211 text_class=T0211 wrap=mixed ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_text_multiline_2line_dim"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color=#ffffff color_class=T0211D text_class=T0211D wrap=mixed ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_noti_style"; + base: "font=Tizen:style=Bold font_size="LIST_NOTI_TEXT_SIZE" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=tizen"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "list_sweep_style"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SWEEP_SIZE" align=center color=#ffffff color_class=T024 text_class=T024 ellipsis=1.0 align=center"; + STYLE_TAG + STYLE_TAG_MATCH + } + // device_option + style { name: "list_device_option_sub_normal"; + base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color=#ffffff color_class=T022 text_class=T022 ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "button_popup_device_option_2_text_normal"; + base: "font=Tizen:style=Regular align=center font_size="LIST_DEVICE_OPTION_TEXT_SUB_SIZE" color=#FFFFFF color_class=T095 text_class=T095 wrap=mixed ellipsis=1.0"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "button_popup_device_option_2_text_press"; + base: "font=Tizen:style=Regular align=center font_size="LIST_DEVICE_OPTION_TEXT_SUB_SIZE" align=center color=#FFFFFF color_class=T095P text_class=T095P ellipsis=1.0 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + style { name: "button_popup_device_option_2_text_dim"; + base: "font=Tizen:style=Regular align=center font_size="LIST_DEVICE_OPTION_TEXT_SUB_SIZE" align=center color=#FFFFFF color_class=T095D text_class=T095D ellipsis=1.0 wrap=mixed"; + STYLE_TAG + STYLE_TAG_MATCH + } + // Nocontent styles + style { name: "nocontent_style"; + base: "font=Tizen:style=Regular font_size="NOITEM_TEXT_SIZE" align=center color=#FFFFFF color_class=T071 text_class=T071 wrap=mixed "; + STYLE_TAG + } + // Button styles + style { name: "button_general_text_normal"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T041 ellipsis=1.0 wrap=mixed text_class=T041"; + STYLE_TAG + } + style { name: "button_general_text_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T041D ellipsis=1.0 wrap=mixed text_class=T041D"; + STYLE_TAG + } + style { name: "button_general_text_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T041P ellipsis=1.0 wrap=mixed text_class=T041P"; + STYLE_TAG + } + style { name: "button_popup_text_normal"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T093 ellipsis=1.0 wrap=mixed text_class=T093"; + STYLE_TAG + } + style { name: "button_popup_text_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T093D ellipsis=1.0 wrap=mixed text_class=T093D"; + STYLE_TAG + } + style { name: "button_popup_text_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color=#FFFFFF color_class=T093P ellipsis=1.0 wrap=mixed text_class=T093P"; + STYLE_TAG + } + style { name: "check_text_normal"; + base: "font=Tizen:style=Regular font_size="CHECK_TEXT_SIZE" align=left color=#FFFFFF color_class=T092 wrap=mixed ellipsis=1.0 text_class=T092"; + } + style { name: "popup_title_style"; + base: "font=Tizen:style=Bold font_size="POPUP_TITLE_TEXT_SIZE" color=#FFFFFF color_class=T091 ellipsis=1.0 text_class=T091"; + STYLE_TAG + } + style { name: "popup_body_default_font_style"; + base: "font=Tizen:style=Regular font_size="POPUP_BODY_TEXT_SIZE" color=#FFFFFF color_class=T092 wrap=mixed text_class=T092"; + STYLE_TAG + } + style { name: "popup_toast_style"; + base: "font=Tizen:style=Regular font_size="POPUP_TOAST_TEXT_SIZE" color=#FFFFFF color_class=T092 wrap=mixed text_class=T092"; + STYLE_TAG + } + style { name: "popup_help_style"; + base: "font=Tizen:style=Regular font_size="POPUP_HELP_TEXT_SIZE" color=#FFFFFF color_class=T141 ellipsis=1.0 wrap=mixed text_class=T141"; + STYLE_TAG + } + style { name: "body_thumbnail_1line_style"; + base: "font=Tizen:style=Bold font_size="BODY_THUMBNAIL_TEXT_SIZE" align=center color=#FFFFFF color_class=T0812 wrap=mixed ellipsis=1.0 text_class=T0812"; + STYLE_TAG + } +} diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_00.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_00.png new file mode 100755 index 0000000..cb0c282 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_00.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_01.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_01.png new file mode 100755 index 0000000..3f2b6e2 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_01.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_02.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_02.png new file mode 100755 index 0000000..a2fb891 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_02.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_03.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_03.png new file mode 100755 index 0000000..62ced12 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_03.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_04.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_04.png new file mode 100755 index 0000000..5be7c04 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_04.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_05.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_05.png new file mode 100755 index 0000000..acd9a66 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_05.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_06.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_06.png new file mode 100755 index 0000000..42cdf99 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_06.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_07.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_07.png new file mode 100755 index 0000000..7f13526 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_07.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_08.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_08.png new file mode 100755 index 0000000..38c7ff6 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_08.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_09.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_09.png new file mode 100755 index 0000000..e55e6c3 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_09.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_10.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_10.png new file mode 100755 index 0000000..a3c744f Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_10.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_11.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_11.png new file mode 100755 index 0000000..fd075d9 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_11.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_12.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_12.png new file mode 100755 index 0000000..6e4cfbf Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_12.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_13.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_13.png new file mode 100755 index 0000000..16081d1 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_13.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_14.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_14.png new file mode 100755 index 0000000..e4dc687 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_14.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_15.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_15.png new file mode 100755 index 0000000..88b9c01 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_15.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_16.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_16.png new file mode 100755 index 0000000..de5ab3f Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_16.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_17.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_17.png new file mode 100755 index 0000000..c3e9780 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_17.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_18.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_18.png new file mode 100755 index 0000000..1ed3d2d Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_18.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_19.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_19.png new file mode 100755 index 0000000..147d76d Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_19.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_20.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_20.png new file mode 100755 index 0000000..cd0fe5e Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_20.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_21.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_21.png new file mode 100755 index 0000000..0349ef8 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_21.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_22.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_22.png new file mode 100755 index 0000000..6afed41 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_22.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_23.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_23.png new file mode 100755 index 0000000..aef9cb6 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_23.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_24.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_24.png new file mode 100755 index 0000000..af0e30a Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_24.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_25.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_25.png new file mode 100755 index 0000000..8448029 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_25.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_26.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_26.png new file mode 100755 index 0000000..cecefcd Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_26.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_27.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_27.png new file mode 100755 index 0000000..3e9e7f7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_27.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_28.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_28.png new file mode 100755 index 0000000..6d3668d Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_28.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_29.png b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_29.png new file mode 100755 index 0000000..8e93abf Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/Activity/tw_widget_actionbar_activity_29.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_left_holo_dark.png b/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_left_holo_dark.png new file mode 100755 index 0000000..cb22924 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_left_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_right_holo_dark.png b/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_right_holo_dark.png new file mode 100755 index 0000000..7f8c596 Binary files /dev/null and b/2.3-wearable/HVGA/images/Action_bar/tw_action_text_fadeout_right_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Body/indicator_on_focused.png b/2.3-wearable/HVGA/images/Body/indicator_on_focused.png new file mode 100644 index 0000000..0c84b5f Binary files /dev/null and b/2.3-wearable/HVGA/images/Body/indicator_on_focused.png differ diff --git a/2.3-wearable/HVGA/images/Body/indicator_on_focused_ef.png b/2.3-wearable/HVGA/images/Body/indicator_on_focused_ef.png new file mode 100644 index 0000000..7e52913 Binary files /dev/null and b/2.3-wearable/HVGA/images/Body/indicator_on_focused_ef.png differ diff --git a/2.3-wearable/HVGA/images/Body/indicator_on_normal.png b/2.3-wearable/HVGA/images/Body/indicator_on_normal.png new file mode 100644 index 0000000..a844317 Binary files /dev/null and b/2.3-wearable/HVGA/images/Body/indicator_on_normal.png differ diff --git a/2.3-wearable/HVGA/images/Body/indicator_on_normal_ef.png b/2.3-wearable/HVGA/images/Body/indicator_on_normal_ef.png new file mode 100644 index 0000000..e2b20f6 Binary files /dev/null and b/2.3-wearable/HVGA/images/Body/indicator_on_normal_ef.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_check_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_check_holo_dark.png new file mode 100755 index 0000000..b93066e Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_check_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_holo_dark.png new file mode 100755 index 0000000..b66d28c Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png new file mode 100755 index 0000000..e76b081 Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_next_depth_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_next_depth_holo_dark.png similarity index 100% rename from wearable/themes/images/default/Controller_icon/tw_btn_next_depth_holo_dark.png rename to 2.3-wearable/HVGA/images/Controller_icon/tw_btn_next_depth_holo_dark.png diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radio_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radio_holo_dark.png new file mode 100644 index 0000000..0fc1881 Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radio_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_holo_dark.png new file mode 100644 index 0000000..703cb0c Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_line.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_line.png new file mode 100644 index 0000000..1f92e88 Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_radiobox_line.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_bg_holo.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_bg_holo.png new file mode 100644 index 0000000..64425ba Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_bg_holo.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_handle_holo.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_handle_holo.png new file mode 100644 index 0000000..6a5b994 Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_handle_holo.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_off_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_off_holo_dark.png new file mode 100644 index 0000000..3e93ebd Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_off_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_on_holo_dark.png b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_on_holo_dark.png new file mode 100644 index 0000000..b82efb5 Binary files /dev/null and b/2.3-wearable/HVGA/images/Controller_icon/tw_btn_toggle_on_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-angry-shout.png b/2.3-wearable/HVGA/images/Emoticon/emo-angry-shout.png new file mode 100644 index 0000000..9995fe8 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-angry-shout.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-angry.png b/2.3-wearable/HVGA/images/Emoticon/emo-angry.png new file mode 100644 index 0000000..8ad74e1 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-angry.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-guilty.png b/2.3-wearable/HVGA/images/Emoticon/emo-guilty.png new file mode 100644 index 0000000..d289441 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-guilty.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-haha.png b/2.3-wearable/HVGA/images/Emoticon/emo-haha.png new file mode 100644 index 0000000..a4c61b7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-haha.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-half-smile.png b/2.3-wearable/HVGA/images/Emoticon/emo-half-smile.png new file mode 100644 index 0000000..d1d07cc Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-half-smile.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-happy.png b/2.3-wearable/HVGA/images/Emoticon/emo-happy.png new file mode 100644 index 0000000..8cdfd56 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-happy.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-kiss.png b/2.3-wearable/HVGA/images/Emoticon/emo-kiss.png new file mode 100644 index 0000000..0f148a8 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-kiss.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-little-bit-sorry.png b/2.3-wearable/HVGA/images/Emoticon/emo-little-bit-sorry.png new file mode 100644 index 0000000..e053f28 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-little-bit-sorry.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-love.png b/2.3-wearable/HVGA/images/Emoticon/emo-love.png new file mode 100644 index 0000000..78892a0 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-love.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-minimal-smile.png b/2.3-wearable/HVGA/images/Emoticon/emo-minimal-smile.png new file mode 100644 index 0000000..aff28da Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-minimal-smile.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-omg.png b/2.3-wearable/HVGA/images/Emoticon/emo-omg.png new file mode 100644 index 0000000..94faeef Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-omg.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-smile.png b/2.3-wearable/HVGA/images/Emoticon/emo-smile.png new file mode 100644 index 0000000..7a011d3 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-smile.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-sorry.png b/2.3-wearable/HVGA/images/Emoticon/emo-sorry.png new file mode 100644 index 0000000..bbfbe4e Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-sorry.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-surprised.png b/2.3-wearable/HVGA/images/Emoticon/emo-surprised.png new file mode 100644 index 0000000..87a9d98 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-surprised.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-tongue-dangling.png b/2.3-wearable/HVGA/images/Emoticon/emo-tongue-dangling.png new file mode 100644 index 0000000..3a7f0ac Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-tongue-dangling.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-very-sorry.png b/2.3-wearable/HVGA/images/Emoticon/emo-very-sorry.png new file mode 100644 index 0000000..a9daeb7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-very-sorry.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-wink.png b/2.3-wearable/HVGA/images/Emoticon/emo-wink.png new file mode 100644 index 0000000..2f22878 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-wink.png differ diff --git a/2.3-wearable/HVGA/images/Emoticon/emo-worried.png b/2.3-wearable/HVGA/images/Emoticon/emo-worried.png new file mode 100644 index 0000000..9bb78c8 Binary files /dev/null and b/2.3-wearable/HVGA/images/Emoticon/emo-worried.png differ diff --git a/2.3-wearable/HVGA/images/Focus/tw_focused_effect.#.png b/2.3-wearable/HVGA/images/Focus/tw_focused_effect.#.png new file mode 100644 index 0000000..78f6796 Binary files /dev/null and b/2.3-wearable/HVGA/images/Focus/tw_focused_effect.#.png differ diff --git a/2.3-wearable/HVGA/images/List/b_list_swipe-delete.png b/2.3-wearable/HVGA/images/List/b_list_swipe-delete.png new file mode 100644 index 0000000..f1f5634 Binary files /dev/null and b/2.3-wearable/HVGA/images/List/b_list_swipe-delete.png differ diff --git a/2.3-wearable/HVGA/images/List/b_list_swipe_left.#.png b/2.3-wearable/HVGA/images/List/b_list_swipe_left.#.png new file mode 100755 index 0000000..6817226 Binary files /dev/null and b/2.3-wearable/HVGA/images/List/b_list_swipe_left.#.png differ diff --git a/2.3-wearable/HVGA/images/List/b_list_swipe_right.#.png b/2.3-wearable/HVGA/images/List/b_list_swipe_right.#.png new file mode 100755 index 0000000..ea131f4 Binary files /dev/null and b/2.3-wearable/HVGA/images/List/b_list_swipe_right.#.png differ diff --git a/2.3-wearable/HVGA/images/List/tw_list_add_holo_dark.png b/2.3-wearable/HVGA/images/List/tw_list_add_holo_dark.png new file mode 100644 index 0000000..bd24e0e Binary files /dev/null and b/2.3-wearable/HVGA/images/List/tw_list_add_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/List/tw_list_delete_holo_dark.png b/2.3-wearable/HVGA/images/List/tw_list_delete_holo_dark.png new file mode 100644 index 0000000..ccbb700 Binary files /dev/null and b/2.3-wearable/HVGA/images/List/tw_list_delete_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/List/tw_list_setting_holo_dark.png b/2.3-wearable/HVGA/images/List/tw_list_setting_holo_dark.png new file mode 100644 index 0000000..5b90223 Binary files /dev/null and b/2.3-wearable/HVGA/images/List/tw_list_setting_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg.#.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg.#.png new file mode 100755 index 0000000..a96fe0a Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg.#.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg_line.#.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg_line.#.png new file mode 100755 index 0000000..bf28635 Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bg_line.#.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail.png new file mode 100755 index 0000000..6f4ddef Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail_line.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail_line.png new file mode 100755 index 0000000..00eb174 Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_bottom_tail_line.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail.png new file mode 100755 index 0000000..4ea7547 Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail_line.png b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail_line.png new file mode 100755 index 0000000..0f3cb8f Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/b_list_option_popup_top_tail_line.png differ diff --git a/2.3-wearable/HVGA/images/Option popup/tw_focused_effect.#.png b/2.3-wearable/HVGA/images/Option popup/tw_focused_effect.#.png new file mode 100755 index 0000000..78f6796 Binary files /dev/null and b/2.3-wearable/HVGA/images/Option popup/tw_focused_effect.#.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_edge.png b/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_edge.png new file mode 100644 index 0000000..7259d14 Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_edge.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_glow.png b/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_glow.png new file mode 100644 index 0000000..5b150b0 Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Bottom/bouncing_bottom_glow.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_edge.png b/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_edge.png new file mode 100644 index 0000000..413fccd Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_edge.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_glow.png b/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_glow.png new file mode 100644 index 0000000..11015e4 Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Left/bouncing_left_glow.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_edge.png b/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_edge.png new file mode 100644 index 0000000..e14f69b Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_edge.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_glow.png b/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_glow.png new file mode 100644 index 0000000..69ed30b Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Right/bouncing_right_glow.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_edge.png b/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_edge.png new file mode 100644 index 0000000..6138e66 Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_edge.png differ diff --git a/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_glow.png b/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_glow.png new file mode 100644 index 0000000..73b2fc9 Binary files /dev/null and b/2.3-wearable/HVGA/images/Overscrolling/Top/bouncing_top_glow.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_brightness.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_brightness.png new file mode 100644 index 0000000..9ee71b0 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_brightness.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_mute.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_mute.png new file mode 100644 index 0000000..913cff7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_mute.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_outdoor.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_outdoor.png new file mode 100644 index 0000000..f72aa5b Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_outdoor.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_sound.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_sound.png new file mode 100644 index 0000000..9f8e847 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_sound.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_sound_off.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_sound_off.png new file mode 100644 index 0000000..35ca255 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_sound_off.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_device_options_vibrate.png b/2.3-wearable/HVGA/images/Popup/tw_device_options_vibrate.png new file mode 100644 index 0000000..28c7d78 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_device_options_vibrate.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_ic_lock_power_off.png b/2.3-wearable/HVGA/images/Popup/tw_ic_lock_power_off.png new file mode 100644 index 0000000..0ba3b27 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_ic_lock_power_off.png differ diff --git a/2.3-wearable/HVGA/images/Popup/tw_ic_lock_restart.png b/2.3-wearable/HVGA/images/Popup/tw_ic_lock_restart.png new file mode 100644 index 0000000..719d557 Binary files /dev/null and b/2.3-wearable/HVGA/images/Popup/tw_ic_lock_restart.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_00.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_00.png new file mode 100755 index 0000000..9128c26 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_00.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_01.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_01.png new file mode 100755 index 0000000..96980a1 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_01.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_02.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_02.png new file mode 100755 index 0000000..f7d4019 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_02.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_03.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_03.png new file mode 100755 index 0000000..1287a10 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_03.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_04.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_04.png new file mode 100755 index 0000000..fb6c817 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_04.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_05.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_05.png new file mode 100755 index 0000000..c8c51e5 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_05.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_06.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_06.png new file mode 100755 index 0000000..8d1cd97 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_06.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_07.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_07.png new file mode 100755 index 0000000..50cea0f Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_07.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_08.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_08.png new file mode 100755 index 0000000..29fdb42 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_08.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_09.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_09.png new file mode 100755 index 0000000..f8f22d7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_09.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_10.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_10.png new file mode 100755 index 0000000..8b600ca Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_10.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_11.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_11.png new file mode 100755 index 0000000..6a48174 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_11.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_12.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_12.png new file mode 100755 index 0000000..f119235 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_12.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_13.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_13.png new file mode 100755 index 0000000..57f29b1 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_13.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_14.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_14.png new file mode 100755 index 0000000..dbb76bc Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_14.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_15.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_15.png new file mode 100755 index 0000000..2d55d0f Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_15.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_16.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_16.png new file mode 100755 index 0000000..83b5bb1 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_16.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_17.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_17.png new file mode 100755 index 0000000..9bea785 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_17.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_18.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_18.png new file mode 100755 index 0000000..ab9a03c Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_18.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_19.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_19.png new file mode 100755 index 0000000..5c4f5fc Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_19.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_20.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_20.png new file mode 100755 index 0000000..a0b9972 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_20.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_21.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_21.png new file mode 100755 index 0000000..664251e Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_21.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_22.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_22.png new file mode 100755 index 0000000..e0aa870 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_22.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_23.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_23.png new file mode 100755 index 0000000..c054610 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_23.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_24.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_24.png new file mode 100755 index 0000000..3a348c9 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_24.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_25.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_25.png new file mode 100755 index 0000000..a9bcf74 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_25.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_26.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_26.png new file mode 100755 index 0000000..6ab5e0d Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_26.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_27.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_27.png new file mode 100755 index 0000000..2adcfee Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_27.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_28.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_28.png new file mode 100755 index 0000000..a0cf8c2 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_28.png differ diff --git a/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_29.png b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_29.png new file mode 100755 index 0000000..ac20309 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/Activity/tw_widget_activity_29.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate1_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate1_holo_dark.png new file mode 100755 index 0000000..a0116ab Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate1_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate2_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate2_holo_dark.png new file mode 100755 index 0000000..e54361f Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate2_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate3_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate3_holo_dark.png new file mode 100755 index 0000000..465103c Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate3_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate4_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate4_holo_dark.png new file mode 100755 index 0000000..cdad605 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate4_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate5_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate5_holo_dark.png new file mode 100755 index 0000000..b35108d Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_progressbar_indeterminate5_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark.png b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark.png new file mode 100644 index 0000000..2c67a5d Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark_press.png b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark_press.png new file mode 100755 index 0000000..b5f624b Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_holo_dark_press.png differ diff --git a/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_press_line.png b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_press_line.png new file mode 100755 index 0000000..773f021 Binary files /dev/null and b/2.3-wearable/HVGA/images/Progress/tw_scrubber_control_press_line.png differ diff --git a/2.3-wearable/HVGA/images/Scroll/b_fast_scroll_rollover_bg_line.png b/2.3-wearable/HVGA/images/Scroll/b_fast_scroll_rollover_bg_line.png new file mode 100755 index 0000000..af56b82 Binary files /dev/null and b/2.3-wearable/HVGA/images/Scroll/b_fast_scroll_rollover_bg_line.png differ diff --git a/2.3-wearable/HVGA/images/Scroll/b_index_scroll_press_bg_line.png b/2.3-wearable/HVGA/images/Scroll/b_index_scroll_press_bg_line.png new file mode 100755 index 0000000..bb60fd8 Binary files /dev/null and b/2.3-wearable/HVGA/images/Scroll/b_index_scroll_press_bg_line.png differ diff --git a/2.3-wearable/HVGA/images/Search/b_list_search_icon.png b/2.3-wearable/HVGA/images/Search/b_list_search_icon.png new file mode 100644 index 0000000..c22d12a Binary files /dev/null and b/2.3-wearable/HVGA/images/Search/b_list_search_icon.png differ diff --git a/2.3-wearable/HVGA/images/Search/tw_ic_clear_search_api_holo_dark.png b/2.3-wearable/HVGA/images/Search/tw_ic_clear_search_api_holo_dark.png new file mode 100644 index 0000000..b2a5007 Binary files /dev/null and b/2.3-wearable/HVGA/images/Search/tw_ic_clear_search_api_holo_dark.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg.png b/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg.png new file mode 100755 index 0000000..0beab95 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg_press.png b/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg_press.png new file mode 100755 index 0000000..58f453f Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_button_controller_bg_press.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_button_controller_icon_mute.png b/2.3-wearable/HVGA/images/Slider/tw_button_controller_icon_mute.png new file mode 100755 index 0000000..ce55a8c Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_button_controller_icon_mute.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_btn_bg.png b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_bg.png new file mode 100755 index 0000000..1768607 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_bg.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_btn_ff.png b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_ff.png new file mode 100755 index 0000000..10dede0 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_ff.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_btn_minus.png b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_minus.png new file mode 100755 index 0000000..1a476ce Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_minus.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_btn_plus.png b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_plus.png new file mode 100755 index 0000000..654d183 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_plus.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_btn_rw.png b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_rw.png new file mode 100755 index 0000000..b9532b0 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_btn_rw.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_module_close.png b/2.3-wearable/HVGA/images/Slider/tw_controller_module_close.png new file mode 100755 index 0000000..daa4eb7 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_module_close.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_module_ff.png b/2.3-wearable/HVGA/images/Slider/tw_controller_module_ff.png new file mode 100755 index 0000000..2a10442 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_module_ff.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_module_minus.png b/2.3-wearable/HVGA/images/Slider/tw_controller_module_minus.png new file mode 100755 index 0000000..e0c2433 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_module_minus.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_module_plus.png b/2.3-wearable/HVGA/images/Slider/tw_controller_module_plus.png new file mode 100755 index 0000000..6f8da29 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_module_plus.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_controller_module_rw.png b/2.3-wearable/HVGA/images/Slider/tw_controller_module_rw.png new file mode 100755 index 0000000..bb4e20f Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_controller_module_rw.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_brightness.png b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_brightness.png new file mode 100755 index 0000000..8e114eb Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_brightness.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_outdoor.png b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_outdoor.png new file mode 100755 index 0000000..d0f8971 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_outdoor.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_mute.png b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_mute.png new file mode 100755 index 0000000..2e780b2 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_mute.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_sound.png b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_sound.png new file mode 100755 index 0000000..8c10370 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_sound.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_vibrate.png b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_vibrate.png new file mode 100755 index 0000000..97834df Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_number_controller_icon_ringtone_vibrate.png differ diff --git a/2.3-wearable/HVGA/images/Slider/tw_timepicker_num_bg_new.#.png b/2.3-wearable/HVGA/images/Slider/tw_timepicker_num_bg_new.#.png new file mode 100755 index 0000000..2ba7f03 Binary files /dev/null and b/2.3-wearable/HVGA/images/Slider/tw_timepicker_num_bg_new.#.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_colon.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_colon.png new file mode 100644 index 0000000..cd5ce81 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_colon.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left.png new file mode 100644 index 0000000..dfb39a3 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left_minus.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left_minus.png new file mode 100644 index 0000000..f3c5bc8 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_left_minus.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right.png new file mode 100644 index 0000000..5124a01 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right_plus.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right_plus.png new file mode 100644 index 0000000..954de22 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_dialbtn_right_plus.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_focus_line.#.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_focus_line.#.png new file mode 100644 index 0000000..ea2b5f8 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_focus_line.#.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot.png new file mode 100644 index 0000000..654a4f0 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot_effect.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot_effect.png new file mode 100755 index 0000000..a9585e7 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_foot_effect.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_left_softbtn.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_left_softbtn.png new file mode 100644 index 0000000..0a21eb4 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_left_softbtn.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new.#.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new.#.png new file mode 100644 index 0000000..2ba7f03 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new.#.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new_transparent.#.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new_transparent.#.png new file mode 100755 index 0000000..cc200ee Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_bg_new_transparent.#.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_btn.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_btn.png new file mode 100755 index 0000000..3837b7b Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_num_btn.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_right_softbtn.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_right_softbtn.png new file mode 100644 index 0000000..f62dbba Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_right_softbtn.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top.png new file mode 100644 index 0000000..8ef6718 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top.png differ diff --git a/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top_effect.png b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top_effect.png new file mode 100755 index 0000000..012d032 Binary files /dev/null and b/2.3-wearable/HVGA/images/TimePicker/tw_timepicker_top_effect.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_1.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_1.png new file mode 100644 index 0000000..b79d797 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_1.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_2.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_2.png new file mode 100644 index 0000000..9ed6029 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_bottom_2.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_1.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_1.png new file mode 100644 index 0000000..d1176a7 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_1.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_2.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_2.png new file mode 100644 index 0000000..203f09c Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_handler_top_2.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_clipboard.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_clipboard.png new file mode 100644 index 0000000..679f65e Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_clipboard.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_copy.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_copy.png new file mode 100644 index 0000000..0dedd0b Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_copy.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_cut.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_cut.png new file mode 100644 index 0000000..a625893 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_cut.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_paste.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_paste.png new file mode 100644 index 0000000..83196be Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_paste.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_select_all.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_select_all.png new file mode 100644 index 0000000..874b4d1 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/b_popup_icon_select_all.png differ diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_center.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_center.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_center.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_center.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_center_reverse.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_center_reverse.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_center_reverse.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_center_reverse.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_01.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_01.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_01.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_01.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_01_reverse.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_01_reverse.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_01_reverse.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_01_reverse.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_reverse.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_reverse.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_left_reverse.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_left_reverse.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_01.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_01.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_01.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_01.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_01_reverse.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_01_reverse.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_01_reverse.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_01_reverse.png diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_reverse.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_reverse.png similarity index 100% rename from mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Handler_right_reverse.png rename to 2.3-wearable/HVGA/images/temp/Copy_Paste/copy&paste_Handler_right_reverse.png diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg.#.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg.#.png new file mode 100644 index 0000000..10de92a Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg.#.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_effect.#.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_effect.#.png new file mode 100644 index 0000000..ee794fd Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_effect.#.png differ diff --git a/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_line.#.png b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_line.#.png new file mode 100644 index 0000000..d84c137 Binary files /dev/null and b/2.3-wearable/HVGA/images/temp/Copy_Paste/tw_magnifier_bg_line.#.png differ diff --git a/wearable/themes/images/default/temp/swipe/00_list_swipe_left.png b/2.3-wearable/HVGA/images/temp/swipe/00_list_swipe_left.png similarity index 100% rename from wearable/themes/images/default/temp/swipe/00_list_swipe_left.png rename to 2.3-wearable/HVGA/images/temp/swipe/00_list_swipe_left.png diff --git a/wearable/themes/images/default/temp/swipe/00_list_swipe_right.png b/2.3-wearable/HVGA/images/temp/swipe/00_list_swipe_right.png similarity index 100% rename from wearable/themes/images/default/temp/swipe/00_list_swipe_right.png rename to 2.3-wearable/HVGA/images/temp/swipe/00_list_swipe_right.png diff --git a/2.3-wearable/HVGA/sounds/End_of_List.wav b/2.3-wearable/HVGA/sounds/End_of_List.wav new file mode 100644 index 0000000..3ea5f12 Binary files /dev/null and b/2.3-wearable/HVGA/sounds/End_of_List.wav differ diff --git a/2.3-wearable/HVGA/sounds/Focus.wav b/2.3-wearable/HVGA/sounds/Focus.wav new file mode 100644 index 0000000..a92dee2 Binary files /dev/null and b/2.3-wearable/HVGA/sounds/Focus.wav differ diff --git a/2.3-wearable/HVGA/sounds/List_scroll.wav b/2.3-wearable/HVGA/sounds/List_scroll.wav new file mode 100644 index 0000000..41a19bc Binary files /dev/null and b/2.3-wearable/HVGA/sounds/List_scroll.wav differ diff --git a/2.3-wearable/Makefile b/2.3-wearable/Makefile new file mode 100644 index 0000000..113e1d4 --- /dev/null +++ b/2.3-wearable/Makefile @@ -0,0 +1,56 @@ +prefix ?= /usr +INSTALL=install -c +THEME_DIR=$(DESTDIR)/$(prefix)/share/elementary/themes +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +SRC=tizen + +all: + for s in $(SIZE); do \ + cp $(SRC).edc $(SRC)-$(TARGET)-$$s.edc; \ + perl -pi -e "s/TIZEN_TMP_INC/\"$$s-inc.edc\"/g" $(SRC)-$(TARGET)-$$s.edc; \ + edje_cc $(EDJE_FLAGS_$(V))\ + -id ./$$s/images/\ + -id ./$$s/images/Action_bar\ + -id ./$$s/images/Action_bar/Activity\ + -id ./$$s/images/Body\ + -id ./$$s/images/Controller_icon\ + -id ./$$s/images/List\ + -id ./$$s/images/Overscrolling\ + -id ./$$s/images/Overscrolling/Bottom\ + -id ./$$s/images/Overscrolling/Left\ + -id ./$$s/images/Overscrolling/Right\ + -id ./$$s/images/Overscrolling/Top\ + -id ./$$s/images/Option\ popup\ + -id ./$$s/images/Popup\ + -id ./$$s/images/Progress\ + -id ./$$s/images/Progress/Activity\ + -id ./$$s/images/Scroll\ + -id ./$$s/images/Slider\ + -id ./$$s/images/TimePicker\ + -id ./$$s/images/Search\ + -id ./$$s/images/Focus\ + -id ./$$s/images/temp\ + -id ./$$s/images/temp/Copy_Paste\ + -id ./$$s/images/Emoticon\ + -id ./$$s/images/temp/swipe\ + -sd ./$$s/sounds -fd ../objects \ + $(SRC)-$(TARGET)-$$s.edc $(SRC)-$(TARGET)-$$s.edj; \ + done + +clean: + for s in $(SIZE); do \ + rm -rf $(SRC)-$(TARGET)-$$s.*; \ + done + +install: + mkdir -p $(THEME_DIR) + for s in $(SIZE); do \ + $(INSTALL) $(SRC)-$(TARGET)-$$s.edj $(THEME_DIR); \ + done + +uninstall: + rm -rf $(THEME_DIR)/ + +distclean: clean diff --git a/2.3-wearable/tizen.edc b/2.3-wearable/tizen.edc new file mode 100644 index 0000000..676e767 --- /dev/null +++ b/2.3-wearable/tizen.edc @@ -0,0 +1,183 @@ +/* + * 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. + */ + + +// 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. + +// theme configuration file for each theme (tizen, tizen-black, ...) + +// Default definitions +#include TIZEN_TMP_INC + +externals { + external: "elm"; +} + +collections { + base_scale: 1.3; + 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, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + } + sounds { + sample { + name: "access_focus_sound" RAW; + source: "Focus.wav"; + } + } + sounds { + sample { + name: "access_scroll_sound" RAW; + source: "List_scroll.wav"; + } + } + sounds { + sample { + name: "access_end_sound" RAW; + source: "End_of_List.wav"; + } + } + #include "widgets/access.edc" + #include "widgets/bg.edc" + #include "widgets/conform.edc" + #include "widgets/ctxpopup.edc" + #include "widgets/button.edc" + #include "widgets/check.edc" + #include "widgets/datetime.edc" + #include "widgets/genlist.edc" + #include "widgets/genlist_decorate.edc" + #include "widgets/gengrid.edc" + #include "widgets/index.edc" + #include "widgets/layout.edc" + #include "widgets/naviframe.edc" + #include "widgets/popup.edc" + #include "widgets/progressbar.edc" + #include "widgets/radio.edc" + #include "widgets/scroller.edc" + #include "widgets/slider.edc" + #include "widgets/entry.edc" + #include "widgets/label.edc" + #include "widgets/spinner.edc" + + color_classes { + color_class { + name: "transparent"; + color: 0 0 0 0; + } + } + + group { name: "elm/focus_highlight/top/default"; + images { + image: "tw_focused_effect.#.png" COMP; + } + data { + item: "animate" "off"; + } + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + visible: 0; + } + } + part { name: "shine"; + type: IMAGE; + mouse_events: 0; + repeat_events: 1; + ignore_flags: ON_HOLD; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image.normal: "tw_focused_effect.#.png"; + color_class: "W201"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } + } + +// ***************************** Applications *************************************** // +} diff --git a/2.3-wearable/widgets/access.edc b/2.3-wearable/widgets/access.edc new file mode 100644 index 0000000..69f210a --- /dev/null +++ b/2.3-wearable/widgets/access.edc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// +// +// access +// +/////////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/access/base/default"; + images { + image: "tw_focused_effect.#.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "tw_focused_effect.#.png"; + } + fill.smooth: 0; + color_class: "W201"; + } + } + } + programs { + program { name: "access_focus_sound"; + signal: "elm,action,focus,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_focus_sound" 1.0; + } + program { name: "access_scroll_sound"; + signal: "elm,action,scroll,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_scroll_sound" 1.0; + } + program { name: "access_end_sound"; + signal: "elm,action,end,sound"; + source: "elm"; + action: PLAY_SAMPLE "access_end_sound" 1.0; + } + } + } diff --git a/2.3-wearable/widgets/bg.edc b/2.3-wearable/widgets/bg.edc new file mode 100644 index 0000000..f1f0250 --- /dev/null +++ b/2.3-wearable/widgets/bg.edc @@ -0,0 +1,70 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/bg/base/default"; + parts { + part { name: "base"; + type: RECT; + description { state: "default" 0.0; + color_class: "B011"; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } + + group { name: "elm/bg/base/datetime"; + inherit: "elm/bg/base/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + } + } \ No newline at end of file diff --git a/2.3-wearable/widgets/button.edc b/2.3-wearable/widgets/button.edc new file mode 100644 index 0000000..388248b --- /dev/null +++ b/2.3-wearable/widgets/button.edc @@ -0,0 +1,2529 @@ +/* + * 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. + */ + + group { name: "elm/button/base/default"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_HEIGHT; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + max: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F022L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F022L1iD"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "bg"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "bg"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "bg"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +group { name: "elm/button/base/green"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + color_class: W014; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: W014P; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: W014D; + } + } + } +} + +group { name: "elm/button/base/orange"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + color_class: W013; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: W013P; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: W013D; + } + } + } +} + +group { name: "elm/button/base/red"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + color_class: W012; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: W012P; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: W012D; + } + } + } +} + + group { name: "elm/button/base/popup"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 POPUP_BUTTON_HEIGHT; + max: -1 POPUP_BUTTON_HEIGHT; + color: 0 0 0 0; + } + } + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1.to: "base"; + rel2.to: "base"; + min: 0 POPUP_BUTTON_HEIGHT; + max: -1 POPUP_BUTTON_HEIGHT; + color_class: "B065L4"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B065L4P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B065L4D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + min: BUTTON_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + min: BUTTON_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_ICON_SIZE; + max: BUTTON_ICON_SIZE; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + max: 1 0; + style: "button_popup_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_popup_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_popup_text_press"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "B0522"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0522D"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "base"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "base"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "base"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/naviframe/title_icon"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "button_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_NEXT_BTN_SIZE; + max: ACTIONBAR_NEXT_BTN_SIZE; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B0511P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B052L1"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + color_class: "B052L1D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_click1"); + } + } + } + program { name: "button_click1"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + script { + set_state(PART:"elm.icon.clipper", "clicked", 0.0); + set_state(PART:"button_bg", "pressed", 0.0); + } + } + program { name: "button_double_click"; + signal: "mouse,down,1,double"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_click_anim"); + } + } + } + program { name: "button_unpress"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "button_bg"; + } + program { name: "button_mouseout_clicked"; + signal: "mouse,up,1"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + set_state(PART:"elm.icon.clipper", "default", 0.0); + run_program(PROGRAM:"button_unpress"); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_unclick3"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_unclick3"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "elm.icon.clipper"; + target: "button_bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "elm.icon.clipper"; + target: "button_bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +group { name: "elm/button/base/nextdepth"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + image: "tw_btn_next_depth_holo_dark.png" COMP; + } + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_NEXTDEPTH_SIZE; + max: BUTTON_NEXTDEPTH_SIZE; + fixed: 1 1; + image.normal: "tw_btn_next_depth_holo_dark.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W015P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W015D"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "bg"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "bg"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "bg"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/button/base/plus"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + image: "tw_controller_btn_bg.png" COMP; + image: "tw_controller_btn_plus.png" COMP; + } + parts { + part { name: "btn_bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_controller_btn_bg.png"; + color_class: "W181L2"; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_PLUS_SIZE; + max: BUTTON_PLUS_SIZE; + fixed: 1 1; + align: 1.0 0.5; + image.normal: "tw_controller_btn_plus.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"btn_bg", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"btn_bg", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "bg"; + target: "btn_bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "bg"; + target: "btn_bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/button/base/minus"; + inherit: "elm/button/base/plus"; + images { + image: "tw_controller_btn_minus.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_PLUS_SIZE; + max: BUTTON_PLUS_SIZE; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "tw_controller_btn_minus.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + } +} + +group { name: "elm/button/base/controller_plus"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + image: "tw_timepicker_dialbtn_right_plus.png" COMP; + image: "tw_timepicker_dialbtn_right.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_dialbtn_right.png"; + color_class: "W0821L11"; + } + description { state: "pressed" 0.0; + image.normal: "tw_timepicker_dialbtn_right.png"; + color_class: "W0821L11P"; + } + } + part { name: "icon_image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_timepicker_dialbtn_right_plus.png"; + color_class: "W0821L1"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/button/base/controller_minus"; + inherit: "elm/button/base/controller_plus"; + images { + image: "tw_timepicker_dialbtn_left_minus.png" COMP; + image: "tw_timepicker_dialbtn_left.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_dialbtn_left.png"; + color_class: "W0821L11"; + } + description { state: "pressed" 0.0; + image.normal: "tw_timepicker_dialbtn_left.png"; + color_class: "W0821L11P"; + } + } + part { name: "icon_image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_timepicker_dialbtn_left_minus.png"; + color_class: "W0821L1"; + } + } + } +} + +group { name: "elm/button/base/fast_forward"; + inherit: "elm/button/base/plus"; + images { + image: "tw_controller_btn_ff.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_controller_btn_ff.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + } +} + +group { name: "elm/button/base/rewind"; + inherit: "elm/button/base/fast_forward"; + images { + image: "tw_controller_btn_rw.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_controller_btn_rw.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + } +} + +group { name: "elm/button/base/list_divider_btn"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color_class: "B041P"; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 0; + max: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE -1; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 0; + max: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE -1; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "elm.swallow.content.clip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_DIVIDER_BTN_ICON_SIZE 0; + max: BUTTON_DIVIDER_BTN_ICON_SIZE -1; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + rel1 { + to: "left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "right_padding"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F022L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F022L1iD"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + repeat_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + new st[31]; + new Float:vl; + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + get_state(PART:"event", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "bg"; + } + } +} + + group { name: "elm/button/base/editfield_clear"; + alias: "elm/button/base/search_clear"; + script { + public mouse_down = 0; + public multi_down = 0; + } + images { + image: "tw_ic_clear_search_api_holo_dark.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; + } + } + part { name: "button_image"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clear_button"; + rel2.to: "clear_button"; + color_class: "transparent"; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B041P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + } + } + part { name: "clear_button"; + scale: 1; + mouse_events: 0; + clip_to: "clear_button.clipper"; + description { state: "default" 0.0; + min: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + max: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; + align: 0.5 0.5; + image.normal: "tw_ic_clear_search_api_holo_dark.png"; + } + } + part { name: "clear_button.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B085"; + } + description { state: "pressed" 0.0; + color_class: "B085P"; + } + description { state: "disabled" 0.0; + color_class: "B085D"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "clear_button.clipper"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "disabler"; + target: "clear_button.clipper"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } +#define BUTTON_DEFAULT_FOCUS_STYLES(style_name, image_normal) \ + group { name: "elm/button/base/"style_name; \ + data { \ + item: "focus_highlight" "on"; \ + } \ + images { \ + image: image_normal COMP; \ + } \ + script { \ + public mouse_down = 0; \ + public multi_down = 0; \ + } \ + parts { \ + part { name: "elm.swallow.content"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + } \ + } \ + part { name: "focus_image"; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + image.normal: image_normal; \ + fill.smooth: 0; \ + color_class: "W201"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "over2"; \ + type: RECT; \ + repeat_events: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "over3"; \ + type: RECT; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + } \ + programs { \ + program { name: "button_press"; \ + signal: "mouse,down,1*"; \ + source: "over2"; \ + script { \ + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ + { \ + set_int(mouse_down, 1); \ + emit("elm,action,press", ""); \ + } \ + } \ + } \ + program { name: "button_unpress"; \ + signal: "mouse,up,1*"; \ + source: "over3"; \ + script { \ + if (get_int(mouse_down) == 1) \ + { \ + set_int(mouse_down, 0); \ + emit("elm,action,unpress", ""); \ + } \ + } \ + } \ + program { name: "button_click"; \ + signal: "mouse,clicked,1"; \ + source: "over2"; \ + script { \ + if (get_int(multi_down) == 0) { \ + emit("elm,action,click", ""); \ + } \ + } \ + } \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_image"; \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_image"; \ + } \ + program { \ + name: "multi_down"; \ + signal: "elm,action,multi,down"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 1); \ + } \ + } \ + program { \ + name: "multi_up"; \ + signal: "elm,action,multi,up"; \ + source: "elm"; \ + script { \ + set_int(multi_down, 0); \ + } \ + } \ + } \ + } \ + +BUTTON_DEFAULT_FOCUS_STYLES("focus", "tw_focused_effect.#.png") + + group { name: "elm/button/base/datetime/top_btn"; + images { + image: "tw_timepicker_top.png" COMP; + image: "tw_timepicker_top_effect.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "top_button_normal"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: DATETIME_TOP_FOOT_BUTTON_SIZE; + max: DATETIME_TOP_FOOT_BUTTON_SIZE; + image.normal: "tw_timepicker_top.png"; + color_class: "W089"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W089P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W263D"; + } + } + part { name: "top_button_effect"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tw_timepicker_top_effect.png"; + color_class: "W211"; + rel1.to: "top_button_normal"; + rel2.to: "top_button_normal"; + } + } + part { name: "over2"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over2"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_state_set"; + } + program { name: "button_press_state_set"; + action: STATE_SET "pressed" 0.0; + target: "top_button_normal"; + target: "top_button_effect"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over3"; + script { + if (get_int(mouse_down) == 1) + { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_state_set"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_state_set"; + action: STATE_SET "default" 0.0; + target: "top_button_normal"; + target: "top_button_effect"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over2"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "action_unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "button_unpress_state_set"; + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "access_pressed"; + signal: "elm,action,anim,activate"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "top_button_normal"; + after: "access_pressed_anim"; + } + program { name: "access_pressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.2; + target: "top_button_normal"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "top_button_normal"; + target: "top_button_effect"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "top_button_normal"; + target: "top_button_effect"; + target: "disabler"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/datetime/foot_btn"; + inherit: "elm/button/base/datetime/top_btn"; + images { + image: "tw_timepicker_foot.png" COMP; + image: "tw_timepicker_foot_effect.png" COMP; + } + parts { + part { name: "top_button_normal"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: DATETIME_TOP_FOOT_BUTTON_SIZE; + max: DATETIME_TOP_FOOT_BUTTON_SIZE; + image.normal: "tw_timepicker_foot.png"; + color_class: "W089"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W089P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W089"; + } + } + part { name: "top_button_effect"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tw_timepicker_foot_effect.png"; + rel1.to: "top_button_normal"; + rel2.to: "top_button_normal"; + color_class: "W211"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + } + + /******************* SPINNER BUTTONS STYLES **********************/ + + group { name: "elm/button/base/spinner/increase/default"; + alias: "elm/button/base/spinner/inc_button"; + alias: "elm/button/base/spinner/increase/datetime"; + data.item: "focus_highlight" "on"; + images { + image: "tw_timepicker_top.png" COMP; + image: "tw_timepicker_top_effect.png" COMP; + } + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "arrow.image.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + } + } + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + color_class: "W089"; + image.normal: "tw_timepicker_top.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W089P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W263D"; + } + } + part { name: "arrow.effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image"; + rel2.to: "arrow.image"; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + image.normal: "tw_timepicker_top_effect.png"; + color_class: "W211"; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_press"; + signal: "mouse,down,1*"; + source: "over"; + script { + if ((get_int(multi_down) == 0) && + (get_int(mouse_down) == 0)) { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press2"); + } + } + } + program { name: "button_press2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_press_anim"; + } + program { name: "button_press_anim"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image"; + } + program { name: "button_unpress"; + signal: "mouse,up,1*"; + source: "over"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress2"); + run_program(PROGRAM:"button_unpress_anim"); + } + } + } + program { name: "button_unpress2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_unpress_anim"; + action: STATE_SET "default" 0.0; + target: "arrow.image"; + } + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + if (get_int(multi_down) == 0) { + run_program(PROGRAM:"play_sound"); + run_program(PROGRAM:"button_click2"); + } + } + } + program { name: "play_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "action_unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "button_unpress_anim"; + } + program { name: "action_pressed"; + signal: "elm,action,pressed"; + source: "elm"; + after: "button_press_anim"; + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "access_pressed"; + signal: "elm,action,anim,activate"; + source: "elm"; + action: STATE_SET "pressed" 0.0; + target: "arrow.image"; + after: "access_pressed_anim"; + } + program { name: "access_pressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.1; + target: "arrow.image"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + + group { name: "elm/button/base/spinner/decrease/default"; + alias: "elm/button/base/spinner/dec_button"; + alias: "elm/button/base/spinner/decrease/datetime"; + inherit: "elm/button/base/spinner/increase/default"; + images { + image: "tw_timepicker_foot.png" COMP; + image: "tw_timepicker_foot_effect.png" COMP; + } + parts { + part { name: "arrow.image"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image.bg"; + rel2.to: "arrow.image.bg"; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + color_class: "W089"; + image.normal: "tw_timepicker_foot.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W089P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W263D"; + } + } + part { name: "arrow.effect"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "arrow.image"; + rel2.to: "arrow.image"; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + image.normal: "tw_timepicker_foot_effect.png"; + color_class: "W211"; + } + } + } + } + + group { name: "elm/button/base/spinner/default"; + alias: "elm/button/base/spinner/vertical"; + images { + image: "tw_timepicker_num_bg_new_transparent.#.png" COMP; + } + script { + public button_state; + public button_disabled; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new_transparent.#.png"; + min: SPINNER_PICKERSTYLE_FIELD_WIDTH SPINNER_PICKERSTYLE_FIELD_HEIGHT; + color_class: "W0811"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W0812"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W262D"; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T051"; + min: 0 SPINNER_PICKERSTYLE_TEXT_HEIGHT; + max: -1 SPINNER_PICKERSTYLE_TEXT_HEIGHT; + rel1.to: "bg"; + rel2.to: "bg"; + text { + min: 0 0; + max: 1 0; + text_class: "T051"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0 0 ; + color_class: "T051D"; + text.text_class: "T051D"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "T051"; + text.text_class: "T051"; + } + } + part { name: "over"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,clicked,1"; + source: "over"; + script { + run_program(PROGRAM:"button_click2"); + } + } + program { name: "button_click2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "elm.text"; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "elm.text"; + target: "bg"; + } + program { name: "select"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "on" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "unselect"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + } + } + } + group { name: "elm/button/base/spinner/datetime"; + inherit: "elm/button/base/spinner/default"; + parts { + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "T094"; + min: 0 SPINNER_PICKERSTYLE_TEXT_HEIGHT; + max: -1 SPINNER_PICKERSTYLE_TEXT_HEIGHT; + rel1.to: "bg"; + rel2.to: "bg"; + text { + min: 0 0; + max: 1 0; + text_class: "T094"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0 0 ; + color_class: "T094D"; + text.text_class: "T094D"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "T094"; + text.text_class: "T094"; + } + } + } + } + /* This transparent button style is used by applications which use webview. */ + group{ name: "elm/button/base/transparent"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "event"; + type: RECT; + scale: 1; + /* Do not remove the following line. + * elm.swallow.content part should receive mouse events. */ + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"touch_sound"); + emit("elm,action,click", ""); + } + } + } + } + program { name: "touch_sound"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + diff --git a/2.3-wearable/widgets/check.edc b/2.3-wearable/widgets/check.edc new file mode 100644 index 0000000..30cec4b --- /dev/null +++ b/2.3-wearable/widgets/check.edc @@ -0,0 +1,1205 @@ +/* + * 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. + */ +group { name: "elm/check/base/default"; + images { + image: "tw_btn_checkbox_holo_dark.png" COMP; + image: "tw_btn_check_holo_dark.png" COMP; + image: "tw_btn_checkbox_line_holo_dark.png" COMP; + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: CHECK_SIZE; + max: CHECK_SIZE; + image.normal: "tw_btn_checkbox_holo_dark.png"; + color_class: "W012L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L1D"; + } + } + part { name: "check"; + clip_to: "sequence_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_check_holo_dark.png"; + visible: 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W012L2"; + } + description { state: "pressed" 0.0; + inherit: "on" 0.0; + color_class: "W012L2P"; + } + description { state: "disabled" 0.0; + inherit: "on" 0.0; + color_class: "W012L2D"; + } + } + part { name: "outline"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_checkbox_line_holo_dark.png"; + color_class: "W231"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W231P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W231D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + } + part { name: "sequence_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + color: 255 255 255 255; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + emit("elm,action,check,toggle", ""); + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "pressed", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "pressed2"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "pressed", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_state(PART:"check", "disabled", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + else if (get_int(check_visible) == 1) + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + run_program(PROGRAM:"check_show_effect"); + run_program(PROGRAM:"check_draw_effect"); + } + else if (get_int(check_visible) == 0) + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_state(PART:"check", "on", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + } + else + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + set_state(PART:"check", "default", 0.0); + set_state(PART:"sequence_clip", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "check_show_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.233; + target: "check"; + } + program { name: "check_draw_effect"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.267; + target: "sequence_clip"; + } + program { name: "focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "outline"; + } + program { name: "unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "outline"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(check_state) == 1) + set_state(PART:"check", "disabled", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_int(check_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_int(check_disabled, 0); + } + } + } +} + +// List Check Style + +group { name: "elm/check/base/list"; + images { + image: "tw_btn_checkbox_holo_dark.png" COMP; + image: "tw_btn_check_holo_dark.png" COMP; + image: "tw_btn_checkbox_line_holo_dark.png" COMP; + } + script { + public check_state; + public check_disabled; + public check_visible; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: CHECK_SIZE; + max: CHECK_SIZE; + image.normal: "tw_btn_checkbox_holo_dark.png"; + color_class: "W012L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L1D"; + } + } + part { name: "check"; + clip_to: "sequence_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_check_holo_dark.png"; + visible: 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W012L2"; + } + description { state: "pressed" 0.0; + inherit: "on" 0.0; + color_class: "W012L2P"; + } + description { state: "disabled" 0.0; + inherit: "on" 0.0; + color_class: "W012L2D"; + } + } + part { name: "outline"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_checkbox_line_holo_dark.png"; + color_class: "W231"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W231P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W231D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + } + part { name: "sequence_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + color: 255 255 255 255; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(check_visible, 1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(check_visible, 0); + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "unpressed2"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "pressed", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "pressed2"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) return; + if (get_int(check_state) == 1) + set_state(PART:"check", "pressed", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_state(PART:"check", "disabled", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + else if (get_int(check_visible) == 1) + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + run_program(PROGRAM:"check_show_effect"); + run_program(PROGRAM:"check_draw_effect"); + } + else if (get_int(check_visible) == 0) + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_state(PART:"check", "on", 0.0); + set_state(PART:"sequence_clip", "visible", 0.0); + } + set_int(check_state, 1); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + if (get_int(check_disabled) == 1) + { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + } + else + { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + set_state(PART:"check", "default", 0.0); + set_state(PART:"sequence_clip", "default", 0.0); + set_int(check_state, 0); + } + } + program { name: "check_show_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.233; + target: "check"; + } + program { name: "check_draw_effect"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.267; + target: "sequence_clip"; + } + program { name: "focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "outline"; + } + program { name: "unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "outline"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(check_state) == 1) + set_state(PART:"check", "disabled", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_int(check_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(check_state) == 1) + set_state(PART:"check", "on", 0.0); + else + set_state(PART:"check", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_int(check_disabled, 0); + } + } + } +} + + +group { name: "elm/check/base/list_divider"; + inherit: "elm/check/base/default"; + parts{ + part { name: "elm.padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + min: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 0; + max: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE -1; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 1.0 0.5; + min: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 0; + max: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE -1; + rel1.relative: 1.0 0.0; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: CHECK_SIZE; + max: CHECK_SIZE; + image.normal: "tw_btn_checkbox_holo_dark.png"; + color_class: "W012L1"; + rel1.to: "elm.padding.left"; + rel1.relative: 1.0 0.0; + rel2.to: "elm.padding.right"; + rel2.relative: 0.0 1.0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W012L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W012L1D"; + } + } + } +} + +group { name: "elm/check/base/on&off"; + images { + image: "tw_btn_toggle_bg_holo.png" COMP; + image: "tw_btn_toggle_on_holo_dark.png" COMP; + image: "tw_btn_toggle_off_holo_dark.png" COMP; + image: "tw_btn_toggle_handle_holo.png" COMP; + } + script { + public is_rtl = 0; + public is_drag = 0; + public was_drag = 0; + public check_on = 0; + public check_disabled = 0; + } + parts { + part { name: "bg"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_SIZE; + max: CHECK_TOGGLE_SIZE; + } + } + part { name: "bg_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_SIZE; + max: CHECK_TOGGLE_SIZE; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_toggle_bg_holo.png"; + color_class: "W014L2"; + } + description { state: "on_pressed" 0.0; + inherit: "default" 0.0; + color_class: "W014L1P"; + } + description { state: "on_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L1D"; + } + description { state: "off_pressed" 0.0; + inherit: "default" 0.0; + color_class: "W014L2P"; + } + description { state: "off_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L2D"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L1"; + } + } + part { name: "drag_container"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 255 255 255 255; + } + } + part { name: "button_handler"; + scale: 1; + description { state: "default" 0.0; + min: CHECK_TOGGLE_THUMB_SIZE; + max: CHECK_TOGGLE_THUMB_SIZE; + rel1.to: "button"; + rel2.to: "button"; + image.normal: "tw_btn_toggle_handle_holo.png"; + color_class: "W014L4"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color_class: "W014L3"; + } + description { state: "on_pressed" 0.0; + inherit: "default" 0.0; + color_class: "W014L3P"; + } + description { state: "on_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L3D"; + } + description { state: "off_pressed" 0.0; + inherit: "default" 0.0; + color_class: "W014L4P"; + } + description { state: "off_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L4D"; + } + } + part { name: "opacity_clip_button"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button"; + rel2.to: "button"; + color: 255 255 255 255; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "button"; + scale: 1; + clip_to: "clipper"; + clip_to: "opacity_clip_button"; + mouse_events: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_container"; + } + description { state: "default" 0.0; + min: CHECK_TOGGLE_THUMB_SIZE; + max: CHECK_TOGGLE_THUMB_SIZE; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + image.normal: "tw_btn_toggle_off_holo_dark.png"; + color_class: "W014L6"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + image.normal: "tw_btn_toggle_on_holo_dark.png"; + color_class: "W014L5"; + } + description { state: "on_pressed" 0.0; + inherit: "on" 0.0; + color_class: "W014L5P"; + } + description { state: "on_disabled" 0.0; + inherit: "on" 0.0; + color_class: "W014L5D"; + } + description { state: "off_pressed" 0.0; + inherit: "default" 0.0; + color_class: "W014L6P"; + } + description { state: "off_disabled" 0.0; + inherit: "default" 0.0; + color_class: "W014L6D"; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "button"; + } + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel2.to_x: "bg"; + color: 0 0 0 0; + } + } + part { name: "onrect"; + type: RECT; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: -1.0 0.0; + to: "button"; + } + rel2 { + relative: 0.0 1.0; + to: "button"; + } + align: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "offrect"; + type: RECT; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to: "button"; + } + rel2 { + relative: 2.0 1.0; + to: "button"; + } + color: 0 0 0 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "disclip"; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1 { + to_x: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "disclip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (!get_int(was_drag)) { + if (dx > 0.5) { + set_drag(PART:"button", 0.0, 0.0); + } + else { + set_drag(PART:"button", 1.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + if (get_int(check_on)) { + emit("elm,action,check,off", ""); + emit("elm,action,touch,sound", ""); + } + } + else { + if (!get_int(check_on)) { + emit("elm,action,check,on", ""); + emit("elm,action,touch,sound", ""); + } + } + } + } + } + program { name: "press"; + signal: "mouse,down,1"; + source: "button"; + script { + if (get_int(check_on)) { + set_state(PART:"button", "on_pressed", 0.0); + set_state(PART:"button_handler", "on_pressed", 0.0); + set_state(PART:"bg_image", "on_pressed", 0.0); + } + else { + set_state(PART:"button", "off_pressed", 0.0); + set_state(PART:"button_handler", "off_pressed", 0.0); + set_state(PART:"bg_image", "off_pressed", 0.0); + } + } + } + program { name: "unpress"; + signal: "mouse,up,1"; + source: "button"; + script { + if (get_int(check_on)) { + set_state(PART:"button", "on", 0.0); + set_state(PART:"button_handler", "on", 0.0); + set_state(PART:"bg_image", "on", 0.0); + } + else { + set_state(PART:"button", "default", 0.0); + set_state(PART:"button_handler", "default", 0.0); + set_state(PART:"bg_image", "default", 0.0); + } + } + } + program { name: "touch_sound"; + signal: "elm,action,touch,sound"; + source: ""; + action: RUN_PLUGIN "touch_sound"; + } + program { + signal: "drag"; + source: "button"; + script { + if (get_int(check_disabled) == 1) return; + if (!get_int(is_drag)) emit("elm,action,check,drag,start", ""); + set_int(is_drag, 1); + } + } + program { + signal: "mouse,down,1"; + source: "button"; + script { + set_int(was_drag, 0); + set_int(is_drag, 0); + } + } + program { name: "drag_end"; + signal: "mouse,up,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (get_int(is_drag)) { + if (dx > 0.5) { + set_drag(PART:"button", 1.0, 0.0); + } + else { + set_drag(PART:"button", 0.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + if (!get_int(check_on)) { + emit("elm,action,check,on", ""); + emit("elm,action,touch,sound", ""); + } + } + else { + if (get_int(check_on)) { + emit("elm,action,check,off", ""); + emit("elm,action,touch,sound", ""); + } + } + set_int(was_drag, get_int(is_drag)); + set_int(is_drag, 0); + emit("elm,action,check,drag,stop", ""); + } + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } + else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); + if (get_int(check_disabled) == 0) { + set_state(PART:"bg_image", "on_pressed", 0.0); + run_program(PROGRAM:"check_show_on_effect"); + set_state(PART:"opacity_clip_button", "on", 0.0); + run_program(PROGRAM:"check_draw_on_effect"); + set_state(PART:"button", "on", 0.0); + set_state(PART:"button_handler", "on", 0.0); + } + else { + set_state(PART:"bg_image", "on_disabled", 0.0); + set_state(PART:"button", "on_disabled", 0.0); + set_state(PART:"button_handler", "on_disabled", 0.0); + } + set_int(check_on, 1); + } + } + program { name: "check_show_on_effect"; + action: STATE_SET "on" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "bg_image"; + } + program { name: "check_draw_on_effect"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.25; + target: "opacity_clip_button"; + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } + else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); + if (get_int(check_disabled) == 0) { + set_state(PART:"bg_image", "off_pressed", 0.0); + run_program(PROGRAM:"check_show_off_effect"); + set_state(PART:"opacity_clip_button", "on", 0.0); + run_program(PROGRAM:"check_draw_off_effect"); + set_state(PART:"button", "default", 0.0); + set_state(PART:"button_handler", "default", 0.0); + } + else { + set_state(PART:"bg_image", "off_disabled", 0.0); + set_state(PART:"button", "off_disbaled", 0.0); + set_state(PART:"button_handler", "off_disbaled", 0.0); + } + set_int(check_on, 0); + } + } + program { name: "check_show_off_effect"; + action: STATE_SET "default" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "bg_image"; + } + program { name: "check_draw_off_effect"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.25; + target: "opacity_clip_button"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(check_on) == 1) { + set_state(PART:"button", "on_disabled", 0.0); + set_state(PART:"button_handler", "on_disabled", 0.0); + set_state(PART:"bg_image", "on_disabled", 0.0); + } + else { + set_state(PART:"button", "off_disabled", 0.0); + set_state(PART:"button_handler", "off_disabled", 0.0); + set_state(PART:"bg_image", "off_disabled", 0.0); + } + set_state(PART:"onrect", "disabled", 0.0); + set_state(PART:"offrect", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + set_int(check_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(check_on) == 1) { + set_state(PART:"button", "on", 0.0); + set_state(PART:"button_handler", "on", 0.0); + set_state(PART:"bg_image", "on", 0.0); + } + else { + set_state(PART:"button", "default", 0.0); + set_state(PART:"button_handler", "default", 0.0); + set_state(PART:"bg_image", "default", 0.0); + } + set_state(PART:"onrect", "default", 0.0); + set_state(PART:"offrect", "default", 0.0); + set_state(PART:"disabler", "default", 0.0); + set_int(check_disabled, 0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(is_rtl, 0); + } + } + } +} + +group { name: "elm/check/base/popup"; +inherit: "elm/check/base/default"; + parts { + part { name: "padding_before_text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: 0 0; + fixed: 1 0; + rel1 { + to_x: "check"; + relative: 1.0 0.0; + } + rel2 { + to_x: "check"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: CHECK_PADDING_SIZE; + max: CHECK_PADDING_SIZE; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "padding_before_text"; + } + rel2 { + relative: 1.0 1.0; + } + align: 0.0 0.5; + rel2.offset: -7 0; + text { + style: "check_text_normal"; + align: 0.0 0.5; + min: 0 1; + } + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "padding_before_text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "padding_before_text"; + } + } +} diff --git a/2.3-wearable/widgets/conform.edc b/2.3-wearable/widgets/conform.edc new file mode 100644 index 0000000..8a8ad11 --- /dev/null +++ b/2.3-wearable/widgets/conform.edc @@ -0,0 +1,587 @@ +/* + * 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. + */ + +#define LAYOUT_INDICATOR_HEIGHT_INC 0 + +// FIXME: conformant UX is not defined for wearable yet +// indicator area size is 0. indicator color is transparent. +group { name: "elm/conformant/base/default"; + script { + public indicator_effect = 0; //Indicator need effect + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + public indicator_overlap = 0; //check indicator overlap/nooverlap + public clipboard_disable = 0; //check clipboard enable/disable + public keypad_disable = 0; //check virtualkeypad enable/disable + public landscape = 0; //Landscape mode status + public portrait_overlap = 0; //save portrait_overlap mode + public portrait_opacity = 0; //save portrait_opacity + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "indicator_base"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "indicator_overlap_base"; + type: RECT; + description { state: "default" 0.0; //nooverlap + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 0; + } + description { state: "overlap" 0.0; //content start (0,0) + inherit: "default" 0.0; + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; //sip: enable + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.ug"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "indicator_overlap_base"; + rel2.relative: 1.0 0.0; + rel2.to: "sip_area"; + } + description { state: "disable_sip" 0.0; //sip: disable + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.to: "elm.swallow.bg"; + } + } + part { name: "elm.swallow.dim"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "indicator_event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } + color: 0 0 0 0; + visible: 1; + } + } + part { name: "indicator_clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_base"; } + rel2 { relative: 1.0 1.0; to: "indicator_base"; } + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 -1.0; to: "indicator_base"; } + rel2 { relative: 1.0 0.0; to: "indicator_base"; } + } + } + part { name: "indicator_bg"; + type: RECT; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + color: 0 0 0 0; // FIXME + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + clip_to: "indicator_clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } + rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } + } + } + part { name: "sip_area"; + type: RECT; + description { state: "default" 0.0; + fixed: 0 1; + min: 0 0; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.swallow.virtualkeypad"; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.swallow.virtualkeypad"; + visible: 0; + } + description { state: "clipboard_on" 0.0; + inherit: "default" 0.0; + rel1.to_y: "elm.swallow.clipboard"; + rel2.to_y: "elm.swallow.clipboard"; + } + } + part { name: "clipboard_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.clipboard"; + rel2.to: "elm.swallow.clipboard"; + color_class: "B011"; + } + } + part { name: "elm.swallow.clipboard"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "virtualkeypad_bg"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.virtualkeypad"; + rel2.to: "elm.swallow.virtualkeypad"; + color_class: "B011"; + } + } + part { name: "elm.swallow.virtualkeypad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + name: "show_indicator"; //show indicator using effect + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"indicator_base", "default", 0.0); + //it is possible app call show after opacity call + /////Portrait + if (get_int(landscape) == 0) { + if (get_int(indicator_opacity) == 0) + run_program(PROGRAM:"opaque_state"); + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + } + /////Landscape + else + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"indicator_base", "hide", 0.0); + } + } + program { + name: "show_indicator_transition"; //show indicator using effect + action: STATE_SET "default" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "hide_indicator_transition"; //show indicator using effect + action: STATE_SET "hide" 0.0; + target: "indicator_clipper"; + transition: DECELERATE 0.2; + } + program { + name: "show_indicator_effect"; //show indicator using effect + signal: "indicator,show,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"show_indicator_transition"); + } + } + program { + name: "hide_indicator_effect"; //show indicator using effect + signal: "indicator,hide,effect"; + source: "elm"; + script { + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"hide_indicator_transition"); + } + } + program { + name: "opaque_state"; + script { + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + set_state(PART:"indicator_clipper", "default", 0.0); + if (get_int(indicator_overlap) == 0) + { + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + else + { + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + } + program { + name: "transparent_state"; + script { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + set_state(PART:"indicator_clipper", "hide", 0.0); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + } + } + + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if ((get_int(indicator_visible) == 1) && (get_int(landscape) == 0)) + run_program(PROGRAM:"opaque_state"); + } + } + program { + name: "transparent_indicator"; + signal: "elm,state,indicator,transparent"; + source: "elm"; + script { + set_int(indicator_opacity, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + program { + name: "overlap_indicator"; + signal: "elm,state,indicator,overlap"; + source: "elm"; + script { + set_int(indicator_overlap, 1); + set_state(PART:"indicator_overlap_base", "overlap", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + } + } + program { + name: "nooverlap_indicator"; + signal: "elm,state,indicator,nooverlap"; + source: "elm"; + script { + //Only portrait state get nooverlap mode + set_int(indicator_overlap, 0); + if (get_int(indicator_visible) == 1) + if (get_int(indicator_opacity) == 0) { //only opaque can be nooverlap + if (get_int(landscape) == 0) { //landscape should be overlap + set_state(PART:"indicator_overlap_base", "default", 0.0); + set_state(PART:"indicator_bg", "default", 0.0); + } + } + } + } + program { name: "enable_clipboard"; + signal: "elm,state,clipboard,enable"; + source: ""; + script { + set_int(clipboard_disable, 0); + //set content state + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_clipboard"; + signal: "elm,state,clipboard,disable"; + source: ""; + script { + set_int(clipboard_disable, 1); + set_state(PART:"sip_area", "default", 0.0); + if (get_int(keypad_disable) == 1) + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "enable_virtualkeypad"; + signal: "elm,state,virtualkeypad,enable"; + source: ""; + script { + set_int(keypad_disable, 0); + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "disable_virtualkeypad"; + signal: "elm,state,virtualkeypad,disable"; + source: ""; + script { + set_int(keypad_disable, 1); + if (get_int(clipboard_disable) == 1) + { + set_state(PART:"sip_area", "clipboard_on", 0.0); + set_state(PART:"elm.swallow.content", "disable_sip", 0.0); + } + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { + name: "change_to_landscape"; + script { + if (get_int(landscape) == 0) { + set_int(landscape, 1); + if (get_int(indicator_visible) == 1) + run_program(PROGRAM:"transparent_state"); + } + } + } + program { + name: "change_to_portrait"; + script { + if (get_int(landscape) == 1) { //content start (0, indicator height) + set_int(landscape, 0); + if (get_int(indicator_visible) == 1) { + if (get_int(indicator_opacity) == 1) + run_program(PROGRAM:"transparent_state"); + else + run_program(PROGRAM:"opaque_state"); + } + } + } + } + program { name: "landscape_mode"; + source: "elm"; + signal: "elm,state,orient,90"; + after: "change_to_landscape"; + } + program { name: "landscape_mode2"; + source: "elm"; + signal: "elm,state,orient,270"; + after: "change_to_landscape"; + } + program { name: "portrait_mode"; + source: "elm"; + signal: "elm,state,orient,0"; + after: "change_to_portrait"; + } + program { name: "portrait_mode2"; + source: "elm"; + signal: "elm,state,orient,180"; + after: "change_to_portrait"; + } + program { + name: "clipboard_on"; + signal: "elm,state,clipboard,on"; + source: "elm"; + action: STATE_SET "clipboard_on" 0.0; + target: "sip_area"; + } + program { + name: "clipboard_off"; + signal: "elm,state,clipboard,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sip_area"; + } + program { name: "indicator_event_down"; + signal: "mouse,down,1"; + source: "indicator_event"; + action: SIGNAL_EMIT "elm,action,press" ""; + } + } +} + +group { name: "elm/conformant/base/without_resize"; + script { + public indicator_visible = 0; //Indicator visible check + public indicator_opacity = 0; //0=opaque, 1=transparent + } + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.indicator_area"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to: "elm.swallow.indicator_area"; + } + } + part { name: "indicator_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + color: 0 0 0 0; // FIXME + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + part { name: "elm.swallow.indicator_bg"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.indicator"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 LAYOUT_INDICATOR_HEIGHT_INC; + rel2.relative: 1.0 0.0; + visible: 1; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + min: 0 0; + } + } + } + programs { + program { + name: "show_indicator"; + signal: "elm,state,indicator,show"; + source: "elm"; + script { + set_int(indicator_visible, 1); + set_state(PART:"elm.swallow.indicator", "default", 0.0); + if (get_int(indicator_opacity) == 0) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + program { + name: "hide_indicator"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + set_int(indicator_visible, 0); + set_state(PART:"elm.swallow.indicator", "hide", 0.0); + set_state(PART:"indicator_bg", "hidden", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "hidden", 0.0); + } + } + program { + name: "opaque_indicator"; + signal: "elm,state,indicator,opaque"; + source: "elm"; + script { + set_int(indicator_opacity, 0); + if (get_int(indicator_visible) == 1) + { + set_state(PART:"indicator_bg", "default", 0.0); + set_state(PART:"elm.swallow.indicator_bg", "default", 0.0); + } + } + } + } +} diff --git a/2.3-wearable/widgets/ctxpopup.edc b/2.3-wearable/widgets/ctxpopup.edc new file mode 100644 index 0000000..55343e4 --- /dev/null +++ b/2.3-wearable/widgets/ctxpopup.edc @@ -0,0 +1,2558 @@ +/* + * 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 IPLIED WARRANTIES, INCLUDING, BUT NOT LIITED TO, THE IPLIED + * WARRANTIES OF ERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEPLARY, OR CONSEQUENTIAL DAAGES + * (INCLUDING, BUT NOT LIITED TO, PROCUREENT 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 DAAGE. + */ +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*4.2)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*4)+2); + + parts { + part { + name:"top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { + state: "show_up" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name:"bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 CTXPOPUP_MOVE_PAD_INC; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + description { + state: "show_down" 0.0; + inherit: "default" 0.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show_up" 0.0; + rel1 {to_y:"top_padding"; relative: 0.0 1.0;} + rel2 {to_y:"top_padding"; relative: 1.0 1.0;} + align: 0.5 0.0; + } + description { + state: "show_down" 0.0; + rel1 {to_y:"bottom_padding"; relative: 0.0 0.0;} + rel2 {to_y:"bottom_padding"; relative: 1.0 0.0;} + align: 0.5 1.0; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + rel1 {to: "swallow"; relative: -0.2 -0.2; } + rel2 {to: "swallow"; relative: 1.2 1.2;} + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "showup"; + signal: "elm,state,show,up"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_up")) { + set_state(PART:"swallow", "show_up", 0.0); + set_state(PART:"top_padding", "show_up", 0.0); + } + } + after: "showupend"; + } + program { + name: "showdown"; + signal: "elm,state,show,down"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show_down")) { + set_state(PART:"swallow", "show_down", 0.0); + set_state(PART:"bottom_padding", "show_down", 0.0); + } + } + after: "showdownend"; + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 0.5; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "showupend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "top_padding"; + } + program { + name: "showdownend"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "bottom_padding"; + } + program { + name: "hideup"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + target: "swallow"; + target: "top_padding"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; + transition: SIN_FAC 0.13 0.5; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + target: "top_padding"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/landscape/default"; + inherit: "elm/ctxpopup/layout/default"; + + data.item: "visible_maxw" (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING); + data.item: "visible_maxh" ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*4.2)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*4)+2); +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/layout/help"; + + data.item: "visible_maxw" CTXPOPUP_HELP_BG_WIDTH_INC; + data.item: "visible_maxh" 480; + + parts { + part { + name: "swallow"; + type: SWALLOW; + clip_to: "layout_clip"; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "show" 0.0; + } + } + part { + name: "event_blocker"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "layout_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "show"; + signal: "elm,state,show,*"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"swallow", st, 30, vl); + if (strcmp(st, "show")) { + set_state(PART:"swallow", "show", 0.0); + } + } + } + program { + name: "show_clip_blocker"; + signal: "elm,state,show,*"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: SIN_FAC 0.25 0.5; + target: "layout_clip"; + target: "event_blocker"; + } + program { + name: "hide"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "swallow"; + transition: SIN_FAC 0.13 1.1; + after: "be_default"; + } + program { + name: "hide_clip"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "layout_clip"; + transition: SIN_FAC 0.13 0.5; + after: "be_default"; + } + program { + name: "hide_event_blocker"; + signal: "elm,state,hide,*"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_blocker"; + } + program { + name: "be_default"; + action: STATE_SET "default" 0.0; + target: "swallow"; + after: "hidefinished"; + } + program { + name: "hidefinished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/default"; + script { + public event_grab = 0; + } + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color_class: "B091"; + min: 360 480; + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "event_checker"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "mouse_down"; + signal: "mouse,down,1"; + source: "event_checker"; + script { + set_int(event_grab, 1); + } + } + program { + name: "mouse_drag"; + signal: "drag"; + source: "event_checker"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event_checker", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) { + set_int(event_grab, 0); + } + } + } + program { + name: "mouse_up"; + signal: "mouse,up,1"; + source: "event_checker"; + script { + if (get_int(event_grab)) + emit("elm,action,click", ""); + set_drag(PART:"event_checker", 0.0, 0.0); + } + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/copypaste"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 0; + min: 480 480; + align: 0.0 0.0; + visible: 1; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/bg/help"; + script { + public event_grab = 0; + } + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "visible" 0.0; + color_class: "transparent"; + min: 360 480; + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "event_checker"; + type: RECT; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "mouse_down"; + signal: "mouse,down,1"; + source: "event_checker"; + script { + set_int(event_grab, 1); + } + } + program { + name: "mouse_drag"; + signal: "drag"; + source: "event_checker"; + script { + new Float:dx, Float:dy; + get_drag(PART:"event_checker", dx, dy); + if (abs(dx) > 60 || abs(dy) > 60) { + set_int(event_grab, 0); + } + } + } + program { + name: "mouse_up"; + signal: "mouse,up,1"; + source: "event_checker"; + script { + if (get_int(event_grab)) + emit("elm,action,click", ""); + set_drag(PART:"event_checker", 0.0, 0.0); + } + } + program { + name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/default"; + images { + image: "b_list_option_popup_bg.#.png" COMP; + image: "b_list_option_popup_bg_line.#.png" COMP; + } + parts { + part { + name:"frame_shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + rel2 { relative: 0 0; } + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + rel1{relative: 1 1;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to:"frame_shadow_left_top_padding"; + rel2.to:"frame_shadow_right_bottom_padding"; + min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 0; + image.normal: "b_list_option_popup_bg.#.png"; + color_class: "B092L1"; + } + } + part { + name: "frame_line_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to: "frame_shadow_left_top_padding"; relative: 1.0 1.0;} + rel2 {to: "frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + image.normal: "b_list_option_popup_bg_line.#.png"; + color_class: "B092L2"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { name: "arrow_area_down"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 1 0; + to_x: "ctxpopup_frame_left_top"; + to_y: "arrow_right_bottom_padding"; + } + rel2 { + relative: 0 0; + to_x:"ctxpopup_frame_right_bottom"; + to_y: "arrow_right_bottom_padding"; + } + } + } + part { name: "arrow_area_up"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1; + rel1 { + relative: 1 1; + to_x: "ctxpopup_frame_left_top"; + to_y: "arrow_left_top_padding"; + } + rel2 { + relative: 0 1; + to_x: "ctxpopup_frame_right_bottom"; + to_y: "arrow_left_top_padding"; + } + } + } + part { name: "elm.swallow.arrow_down"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_down"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_up"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_up"; + } + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 1; + } + } + part { + name: "ctxpopup_frame_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";} + } + } + part { + name: "ctxpopup_frame_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";} + } + } + part { + name:"content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name:"content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "arrow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + } + } + part { + name: "arrow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/copypaste"; + images { + image: "b_list_option_popup_bg.#.png" COMP; + image: "b_list_option_popup_bg_line.#.png" COMP; + } + parts { + part { + name:"frame_shadow_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; + rel2 { relative: 0 0; } + align: 0 0; + fixed: 1 1; + } + } + part { + name:"frame_shadow_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; + rel1{relative: 1 1;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "frame_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to:"frame_shadow_left_top_padding"; + rel2.to:"frame_shadow_right_bottom_padding"; + min: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC 0; + image.normal: "b_list_option_popup_bg.#.png"; + color_class: "B092L1"; + } + } + part { + name: "frame_line_bg"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 {to: "frame_shadow_left_top_padding"; relative: 1.0 1.0;} + rel2 {to: "frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + image.normal: "b_list_option_popup_bg_line.#.png"; + color_class: "B092L2"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name: "ctxpopup_frame_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";} + } + } + part { + name: "ctxpopup_frame_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING 0; + rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";} + } + } + part { + name:"content_left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} + align: 0 0; + fixed: 1 1; + } + } + part { + name:"content_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; + rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} + align: 1 1; + fixed: 1 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} + rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/help"; + parts { + part { + name: "frame_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_HELP_BG_WIDTH_INC 0; + color_class: "B061L1E"; + } + } + part { + name: "frame_top_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 1.0 0.0;} + align: 0.5 0.0; + fixed: 0 1; + min: 0 CTXPOPUP_HELP_BG_LINE_SIZE_INC; + max: -1 CTXPOPUP_HELP_BG_LINE_SIZE_INC; + color_class: "B061L7"; + } + } + part { + name: "frame_bottom_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "frame_bg"; relative: 0.0 1.0;} + rel2.to: "frame_bg"; + align: 0.5 1.0; + fixed: 0 1; + min: 0 CTXPOPUP_HELP_BG_LINE_SIZE_INC; + max: -1 CTXPOPUP_HELP_BG_LINE_SIZE_INC; + color_class: "B061L7"; + } + } + part { + name: "frame_left_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "frame_bg"; + rel2 {to: "frame_bg"; relative: 0.0 1.0;} + align: 0.0 0.5; + fixed: 1 0; + min: CTXPOPUP_HELP_BG_LINE_SIZE_INC 0; + max: CTXPOPUP_HELP_BG_LINE_SIZE_INC -1; + color_class: "B061L7"; + } + } + part { + name: "frame_right_line"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "frame_bg"; relative: 1.0 0.0;} + rel2.to: "frame_bg"; + align: 1.0 0.5; + fixed: 1 0; + min: CTXPOPUP_HELP_BG_LINE_SIZE_INC 0; + max: CTXPOPUP_HELP_BG_LINE_SIZE_INC -1; + color_class: "B061L7"; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "frame_bg"; + rel2.to: "frame_bg"; + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 {to_x: "frame_left_line"; to_y: "frame_top_line"; relative: 1.0 1.0;} + rel2 {to_x: "frame_right_line"; to_y: "frame_bottom_line"; relative: 0.0 0.0;} + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/default"; + images { + image: "b_list_option_popup_top_tail.png" COMP; + image: "b_list_option_popup_top_tail_line.png" COMP; + image: "b_list_option_popup_bottom_tail.png" COMP; + image: "b_list_option_popup_bottom_tail_line.png" COMP; + } + parts { + part { + name: "ctxpopup_arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + image.normal: "b_list_option_popup_top_tail.png"; + color_class: "B092L1"; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + image.normal: "b_list_option_popup_bottom_tail.png"; + color_class: "B092L1"; + } + } + part { + name: "ctxpopup_arrow_effect"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 0.0; + image.normal: "b_list_option_popup_top_tail_line.png"; + color_class: "B092L2"; + } + description { + state: "top" 0.0; + min: CTXPOPUP_ARROW_SIZE_INC; + max: CTXPOPUP_ARROW_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + image.normal: "b_list_option_popup_bottom_tail_line.png"; + color_class: "B092L2"; + } + } + } + programs { + program { + name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_effect"; + } + program { + name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + target: "ctxpopup_arrow_effect"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/copypaste"; +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/arrow/help"; +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 1; + max: CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 CTXPOPUP_ITEM_HEIGHT_MAX_INC; + rel1 {to_y: "separator"; relative: 0.0 1.0;} + color_class: "B093P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B094"; + rel2 {relative: 1.0 0.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: -1 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: CTXPOPUP_TEXT_MAX_INC (CTXPOPUP_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T111"; + text { + text_class: "T111"; + size_range: CTXPOPUP_ITEM_TEXT_SIZE_INC CTXPOPUP_ITEM_TEXT_MAX_SIZE_INC; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T111P"; + color_class: "T111P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T111D"; + color_class: "T111D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T111P"; + color_class: "T111P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T111D"; + color_class: "T111D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "elipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_ICON_TEXT_ITEM_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_WIDTH_MIN_INC 1; + max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC; + rel1 {to_y: "separator"; relative: 0.0 1.0;} + color_class: "B093P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_left_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B094"; + rel2 { relative: 1.0 0.0; offset: 0 0;} + align: 0.5 0; + fixed: 0 1; + min: 0 0; + max: -1 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + max: -1 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; + align: 0 0; + aspect: 1.0 1.0; + rel1 { to:"icon_left_padding"; relative: 1 1; } + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B095"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B095P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B095D"; + } + } + part { + name: "icon_right_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_ITEM_ICON_TEXT_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + max: CTXPOPUP_ITEM_ICON_TEXT_PADDING_INC CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + rel1 { to_x:"elm.swallow.icon"; to_y:"separator"; relative: 1 1; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) (CTXPOPUP_ITEM_HEIGHT_MAX_INC-CTXPOPUP_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "icon_right_top_padding";} + rel2 {relative: 0.0 0.0; to: "text_right_bottom_padding";} + color_class: "T111"; + text { + text_class: "T111"; + size_range: CTXPOPUP_ITEM_TEXT_SIZE_INC CTXPOPUP_ITEM_TEXT_MAX_SIZE_INC; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T111P"; + color_class: "T111P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T111D"; + color_class: "T111D"; + } + description { + state: "ellipsis" 0.0; + inherit: "default" 0.0; + min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_TEXT_HEIGHT_MIN_INC; + text.min: 0 1; + } + description { + state: "ellipsis_clicked" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T111P"; + color_class: "T111P"; + } + description { + state: "ellipsis_disabled" 0.0; + inherit: "ellipsis" 0.0; + text.text_class: "T111D"; + color_class: "T111D"; + } + } + part { + name: "text_right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_TEXT_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 0; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "text_default"; + signal: "elm,state,text,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "disabled")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "disabled", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_ellipsis"; + signal: "elm,state,text,ellipsis"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || !strcmp(st, "ellipsis_disabled")) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis_disabled", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) + set_state(PART:"elm.text", "ellipsis", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.text", "clicked", 0.0); + else + set_state(PART:"elm.text", "ellipsis_clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || !strcmp(st, "clicked")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "ellipsis", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/copypaste"; + alias: "elm/ctxpopup/text_style_item_horizontal/copypaste"; + alias: "elm/ctxpopup/text_style_item/copypaste"; + alias: "elm/ctxpopup/icon_style_item/copypaste"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: (CTXPOPUP_COPYPASTE_ITEM_HORIZONTAL_WIDTH_MIN_INC-1) CTXPOPUP_COPYPASTE_ITEM_HEIGHT_MIN_INC; + rel1 {to: "separator"; relative: 1.0 0.0;} + color_class: "B093P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B097"; + align: 0 0.5; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_COPYPASTE_SEPARATOR_MIN_SIZE_INC; + max: CTXPOPUP_COPYPASTE_SEPARATOR_MAX_SIZE_INC; + visible: 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC; + max: CTXPOPUP_COPYPASTE_ICON_WIDTH_INC CTXPOPUP_COPYPASTE_ICON_HEIGHT_INC; + align: 0.5 0.0; + aspect: 1.0 1.0; + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B096"; + } + description { + state: "clicked" 0.0; + inherit: "clicked" 0.0; + color_class: "B096P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B096D"; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "item_click"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/help"; + alias: "elm/ctxpopup/text_style_item_horizontal/help"; + alias: "elm/ctxpopup/text_style_item/help"; + alias: "elm/ctxpopup/icon_style_item/help"; + + data.item: "item_max_size" CTXPOPUP_HELP_ITEM_WIDTH_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_HELP_ITEM_WIDTH_INC CTXPOPUP_HELP_ITEM_HEIGHT_INC; + max: CTXPOPUP_HELP_ITEM_WIDTH_INC CTXPOPUP_HELP_ITEM_HEIGHT_INC; + } + } + part { + name: "left_top_padding"; + scale: 1; + type: SPACER; + description { + state: "default" 0.0; + min: CTXPOPUP_HELP_ITEM_LR_PAD_INC CTXPOPUP_HELP_ITEM_TB_PAD_INC; + max: CTXPOPUP_HELP_ITEM_LR_PAD_INC CTXPOPUP_HELP_ITEM_TB_PAD_INC; + align: 0 0; + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 1 CTXPOPUP_HELP_ITEM_HEIGHT_INC; + max: CTXPOPUP_HELP_ITEM_TEXT_MAX_WIDTH_INC CTXPOPUP_HELP_ITEM_HEIGHT_INC; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + text { + max: 1 0; + style: "popup_help_style"; + } + fixed: 1 1; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_HELP_ITEM_LR_PAD_INC CTXPOPUP_HELP_ITEM_TB_PAD_INC; + max: CTXPOPUP_HELP_ITEM_LR_PAD_INC CTXPOPUP_HELP_ITEM_TB_PAD_INC; + align: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item_horizontal/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC; + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_HORIZONTAL_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 1; + max: CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 CTXPOPUP_HORIZONTAL_ITEM_HEIGHT_MAX_INC; + rel1 {to_x: "separator"; relative: 1.0 0.0;} + color_class: "B093P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B097"; + rel2 {relative: 0.0 1.0; offset: 0 0;} + align: 0 0.5; + fixed: 0 1; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 0; + max: CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC -1; + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_HORIZONTAL_ITEM_LR_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_HORIZONTAL_ITEM_TEXT_TOP_PADDING_INC; + max: (CTXPOPUP_HORIZONTAL_ITEM_LR_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_HORIZONTAL_ITEM_TEXT_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_HORIZONTAL_ITEM_TEXT_HEIGHT_MIN_INC; + max: CTXPOPUP_TEXT_MAX_INC (CTXPOPUP_HORIZONTAL_ITEM_HEIGHT_MAX_INC-CTXPOPUP_HORIZONTAL_ITEM_TEXT_TOP_PADDING_INC-CTXPOPUP_HORIZONTAL_ITEM_TEXT_BOTTOM_PADDING_INC); + align: 0.5 0.5; + rel1 {relative: 1.0 1.0; to: "left_top_padding";} + rel2 {relative: 0.0 0.0; to: "right_bottom_padding";} + color_class: "T112"; + text { + text_class: "T112"; + size_range: CTXPOPUP_HORIZONTAL_ITEM_TEXT_SIZE_INC CTXPOPUP_HORIZONTAL_ITEM_TEXT_MAX_SIZE_INC; + align: 0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + text.text_class: "T112P"; + color_class: "T112P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T112D"; + color_class: "T112D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_HORIZONTAL_ITEM_LR_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_HORIZONTAL_ITEM_TEXT_BOTTOM_PADDING_INC; + max: (CTXPOPUP_HORIZONTAL_ITEM_LR_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_HORIZONTAL_ITEM_TEXT_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"disclip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"disclip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"elm.text", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_style_item/default"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + + parts { + part { + name: "event_blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 CTXPOPUP_ICON_ITEM_HORIZONTAL_HEIGHT_INC; + max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2 CTXPOPUP_HORIZONTAL_ITEM_HEIGHT_MAX_INC; + rel1 {to_x: "separator"; relative: 1.0 0.0;} + color_class: "B093P"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color_class: "B097"; + rel2 {relative: 0.0 1.0; offset: 0 0;} + align: 0 0.5; + fixed: 0 1; + min: 0 0; + max: 0 -1; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 0; + max: CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC -1; + visible: 1; + } + } + part { + name: "left_top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_ICON_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TOP_PADDING_INC; + max: (CTXPOPUP_ITEM_ICON_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_TOP_PADDING_INC; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_HORIZONTAL_ICON_WIDTH_INC CTXPOPUP_HORIZONTAL_ICON_HEIGHT_INC; + max: CTXPOPUP_HORIZONTAL_ICON_WIDTH_INC CTXPOPUP_HORIZONTAL_ICON_HEIGHT_INC; + rel1 {to: "left_top_padding"; relative: 1 1;} + rel2 {to: "right_bottom_padding"; relative: 0 0;} + } + } + part { + name: "icon_clip"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color_class: "B096"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color_class: "B096P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B096D"; + } + } + part { + name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: (CTXPOPUP_ITEM_ICON_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC; + max: (CTXPOPUP_ITEM_ICON_LR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_ICON_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + } + } + part { + name: "events"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "item_clicked"; + signal: "mouse,clicked,1"; + source: "events"; + script { + if (get_int(multi_down) == 0) { + emit("elm,action,click", ""); + run_program(PROGRAM:"touch_snd"); + } + } + } + program { + name: "touch_snd"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disclip", "disabled", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + } + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disclip", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + } + } + program { + name: "hide_separator"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "separator"; + } + program { + name: "show_separator"; + signal: "elm,state,separator"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "separator"; + } + program { + name: "item_pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + if (get_int(multi_down) == 0 && get_int(mouse_down) == 0) { + set_int(mouse_down, 1); + set_state(PART:"bg", "clicked", 0.0); + set_state(PART:"icon_clip", "clicked", 0.0); + } + } + } + program { name: "item,unpressed"; + signal: "elm,action,unpressed"; + source: "elm"; + after: "item_released"; + } + program { + name: "item_released"; + signal: "mouse,up,1"; + source: "events"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + } + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} diff --git a/2.3-wearable/widgets/datetime.edc b/2.3-wearable/widgets/datetime.edc new file mode 100644 index 0000000..f4f1581 --- /dev/null +++ b/2.3-wearable/widgets/datetime.edc @@ -0,0 +1,1328 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////// +// datetime +/////////////////////////////////////////////////////////////////////////////// + +#define UP_SWALLOW_BTN(_to_part, _visibility) \ + part { \ + name: "up_btn_"#_to_part; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 0.0; \ + min: DATETIME_TOP_FOOT_BUTTON_SWALLOW_SIZE; \ + max: DATETIME_TOP_FOOT_BUTTON_SWALLOW_SIZE; \ + fixed: 1 1; \ + visible: _visibility; \ + rel1 { \ + to: _to_part; \ + } \ + rel2 { \ + to: _to_part; \ + } \ + } \ + } + +#define DOWN_SWALLOW_BTN(_to_part, _visibility) \ + part { \ + name: "down_btn_"#_to_part; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 0.5 1.0; \ + min: DATETIME_TOP_FOOT_BUTTON_SWALLOW_SIZE; \ + max: DATETIME_TOP_FOOT_BUTTON_SWALLOW_SIZE; \ + fixed: 1 1; \ + visible: _visibility; \ + rel1 { \ + to: _to_part; \ + } \ + rel2 { \ + to: _to_part; \ + } \ + } \ + } + +group { name: "elm/datetime/base/default"; + alias: "elm/datetime/base/datepicker_layout"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_DATE_PICKER_BG_MIN_SIZE; + max: DATETIME_DATE_PICKER_BG_MIN_SIZE; + fixed: 1 1; + } + } + UP_SWALLOW_BTN(field0.padding, 1) + part { name: "field0.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + description { state: "year" 0.0; + inherit: "default"; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + } + description { state: "month" 0.0; + inherit: "default"; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field0.padding"; + rel2.to: "field0.padding"; + } + } + DOWN_SWALLOW_BTN(field0.padding, 1) + part { name: "field.padding0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field0.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field0.padding"; + } + align: 0.0 0.5; + } + } + UP_SWALLOW_BTN(field1.padding, 1) + part { name: "field1.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding0"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding0"; + } + align: 0.0 0.5; + } + description { state: "year" 0.0; + inherit: "default"; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + } + description { state: "date" 0.0; + inherit: "default"; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field1.padding"; + rel2.to: "field1.padding"; + } + } + DOWN_SWALLOW_BTN(field1.padding, 1) + part { name: "field.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field1.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field1.padding"; + } + align: 0.0 0.5; + } + } + UP_SWALLOW_BTN(field2.padding, 1) + part { name: "field2.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding1"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding1"; + } + align: 0.0 0.5; + } + description { state: "month" 0.0; + inherit: "default"; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + } + description { state: "date" 0.0; + inherit: "default"; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field2.padding"; + rel2.to: "field2.padding"; + } + } + DOWN_SWALLOW_BTN(field2.padding, 1) + UP_SWALLOW_BTN(field3.padding, 0) + part { name: "field3.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field3.padding, 0) + UP_SWALLOW_BTN(field4.padding, 0) + part { name: "field4.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field4.padding, 0) + UP_SWALLOW_BTN(field5.padding, 0) + part { name: "field5.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field5.padding, 0) + } + programs { + program { name: "field0.year"; + signal: "elm,state,field0,year"; + source: "*"; + action: STATE_SET "year" 0.0; + target: "field0.padding"; + } + program { name: "field0.month"; + signal: "elm,state,field0,month"; + source: "*"; + action: STATE_SET "month" 0.0; + target: "field0.padding"; + } + program { name: "field0.date"; + signal: "elm,state,field0,date"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field0.padding"; + } + program { name: "field1.year"; + signal: "elm,state,field1,year"; + source: "*"; + action: STATE_SET "year" 0.0; + target: "field1.padding"; + } + program { name: "field1.month"; + signal: "elm,state,field1,month"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field1.padding"; + } + program { name: "field1.date"; + signal: "elm,state,field1,date"; + source: "*"; + action: STATE_SET "date" 0.0; + target: "field1.padding"; + } + program { name: "field2.year"; + signal: "elm,state,field2,year"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field2.padding"; + } + program { name: "field2.month"; + signal: "elm,state,field2,month"; + source: "*"; + action: STATE_SET "month" 0.0; + target: "field2.padding"; + } + program { name: "field2.date"; + signal: "elm,state,field2,date"; + source: "*"; + action: STATE_SET "date" 0.0; + target: "field2.padding"; + } + } +} + +group { name: "elm/datetime/base/timepicker_layout"; + images { + image: "tw_timepicker_colon.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_TIME_PICKER_BG_MIN_SIZE; + max: DATETIME_TIME_PICKER_BG_MIN_SIZE; + fixed: 1 1; + } + } + part { name: "left.padding"; + type: SPACER; + scale:1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_LEFT_PADDING_MIN_WIDTH 0; + fixed: 1 0; + } + } + UP_SWALLOW_BTN(field3.padding, 1) + part { name: "field3.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + description { state: "minute" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + } + description { state: "ampm" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field3.padding"; + rel2.to: "field3.padding"; + visible: 1; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field3.padding, 1) + part { name: "field.padding3"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field3.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field3.padding"; + } + align: 0.0 0.5; + } + description { state: "colon" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_COLON_BG_MIN_SIZE 0; + } + } + UP_SWALLOW_BTN(field4.padding, 1) + part { name: "field4.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding3"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding3"; + } + align: 0.0 0.5; + } + description { state: "hour" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field4.padding"; + rel2.to: "field4.padding"; + visible: 1; + } + } + DOWN_SWALLOW_BTN(field4.padding, 1) + part { name: "field.padding4"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field4.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field4.padding"; + } + align: 0.0 0.5; + } + description { state: "colon" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_COLON_BG_MIN_SIZE 0; + } + } + UP_SWALLOW_BTN(field5.padding, 1) + part { name: "field5.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding4"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding4"; + } + align: 0.0 0.5; + } + description { state: "hour" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + } + description { state: "minute" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 1 1; + rel1.to: "field5.padding"; + rel2.to: "field5.padding"; + visible: 1; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field5.padding, 1) + part { name: "colon"; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_TIME_COLON_IMAGE_SIZE; + max: DATETIME_TIME_COLON_IMAGE_SIZE; + fixed: 1 1; + image.normal: "tw_timepicker_colon.png"; + color_class: "W084"; + rel1.to: "field.padding3"; + rel2.to: "field.padding3"; + } + description { state: "field4" 0.0; + inherit: "default" 0.0; + rel1.to: "field.padding4"; + rel2.to: "field.padding4"; + } + } + UP_SWALLOW_BTN(field0.padding, 0) + part { name: "field0.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field0.padding, 0) + UP_SWALLOW_BTN(field1.padding, 0) + part { name: "field1.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field1.padding, 0) + UP_SWALLOW_BTN(field2.padding, 0) + part { name: "field2.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + DOWN_SWALLOW_BTN(field2.padding, 0) + } + programs { + program { name: "field3.hour"; + signal: "elm,state,field3,hour"; + source: "*"; + script { + set_state(PART:"field3.padding", "default", 0.0); + set_state(PART:"field3", "default", 0.0); + } + } + program { name: "field3.minute"; + signal: "elm,state,field3,minute"; + source: "*"; + action: STATE_SET "minute" 0.0; + script { + set_state(PART:"field3.padding", "minute", 0.0); + set_state(PART:"field3", "default", 0.0); + } + } + program { name: "field3.ampm"; + signal: "elm,state,field3,ampm"; + source: "*"; + action: STATE_SET "ampm" 0.0; + script { + set_state(PART:"field3.padding", "ampm", 0.0); + set_state(PART:"field3", "default", 0.0); + set_state(PART:"left.padding", "default", 0.0); + set_state(PART:"field.padding4", "colon", 0.0); + set_state(PART:"field.padding3", "defuault", 0.0); + set_state(PART:"colon", "field4", 0.0); + } + } + program { name: "field4.hour"; + signal: "elm,state,field4,hour"; + source: "*"; + action: STATE_SET "hour" 0.0; + target: "field4.padding"; + } + program { name: "field4.minute"; + signal: "elm,state,field4,minute"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field4.padding"; + } + program { name: "field5.hour"; + signal: "elm,state,field5,hour"; + source: "*"; + script { + set_state(PART:"field5.padding", "hour", 0.0); + set_state(PART:"field5", "default", 0.0); + } + } + program { name: "field5.minute"; + signal: "elm,state,field5,minute"; + source: "*"; + script { + set_state(PART:"field5.padding", "minute", 0.0); + set_state(PART:"field5", "default", 0.0); + } + } + program { name: "field5.ampm"; + signal: "elm,state,field5,ampm"; + source: "*"; + script { + set_state(PART:"field5.padding", "default", 0.0); + set_state(PART:"field5", "default", 0.0); + set_state(PART:"left.padding", "default", 0.0); + set_state(PART:"field.padding3", "colon", 0.0); + set_state(PART:"field.padding4", "defualt", 0.0); + set_state(PART:"colon", "default", 0.0); + } + } + program { name: "field3.ampm.hide"; + signal: "elm,state,field3,ampm,hide"; + source: "*"; + action: STATE_SET "ampm_hide" 0.0; + target: "field3"; + target: "field3.padding"; + target: "left.padding"; + } + program { name: "field5.ampm.hide"; + signal: "elm,state,field5,ampm,hide"; + source: "*"; + action: STATE_SET "ampm_hide" 0.0; + target: "field5"; + target: "field5.padding"; + target: "left.padding"; + } + } +} + +group { name: "elm/datetime/datepicker_layout/entry"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_DATE_PICKER_BG_NO_BTN_MIN_SIZE; + max: DATETIME_DATE_PICKER_BG_NO_BTN_MIN_SIZE; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "field0.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + description { state: "month" 0.0; + inherit: "default"; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + } + description { state: "date" 0.0; + inherit: "default"; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field0.padding"; + rel2.to: "field0.padding"; + } + } + part { name: "field.padding0"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field0.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field0.padding"; + } + align: 0.0 0.5; + } + } + part { name: "field1.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding0"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding0"; + } + align: 0.0 0.5; + } + description { state: "year" 0.0; + inherit: "default"; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + } + description { state: "date" 0.0; + inherit: "default"; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field1.padding"; + rel2.to: "field1.padding"; + } + } + part { name: "field.padding1"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field1.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field1.padding"; + } + align: 0.0 0.5; + } + } + part { name: "field2.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_DATE_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding1"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding1"; + } + align: 0.0 0.5; + } + description { state: "year" 0.0; + inherit: "default"; + min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; + } + description { state: "month" 0.0; + inherit: "default"; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field2.padding"; + rel2.to: "field2.padding"; + } + } + part { name: "field3.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + part { name: "field4.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + part { name: "field5.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + } + programs { + program { name: "field0.year"; + signal: "elm,state,field0,year"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field0.padding"; + } + program { name: "field0.month"; + signal: "elm,state,field0,month"; + source: "*"; + action: STATE_SET "month" 0.0; + target: "field0.padding"; + } + program { name: "field0.date"; + signal: "elm,state,field0,date"; + source: "*"; + action: STATE_SET "date" 0.0; + target: "field0.padding"; + } + program { name: "field1.year"; + signal: "elm,state,field1,year"; + source: "*"; + action: STATE_SET "year" 0.0; + target: "field1.padding"; + } + program { name: "field1.month"; + signal: "elm,state,field1,month"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field1.padding"; + } + program { name: "field1.date"; + signal: "elm,state,field1,date"; + source: "*"; + action: STATE_SET "date" 0.0; + target: "field1.padding"; + } + program { name: "field2.year"; + signal: "elm,state,field2,year"; + source: "*"; + action: STATE_SET "year" 0.0; + target: "field2.padding"; + } + program { name: "field2.month"; + signal: "elm,state,field2,month"; + source: "*"; + action: STATE_SET "month" 0.0; + target: "field2.padding"; + } + program { name: "field2.date"; + signal: "elm,state,field2,date"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field2.padding"; + } + } +} + +group { name: "elm/datetime/timepicker_layout/entry"; + images { + image: "tw_timepicker_colon.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_TIME_PICKER_BG_NO_BTN_MIN_SIZE; + max: DATETIME_TIME_PICKER_BG_NO_BTN_MIN_SIZE; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "left.padding"; + type: SPACER; + scale:1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_LEFT_PADDING_MIN_WIDTH 0; + fixed: 1 0; + } + } + part { name: "field3.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "left.padding"; + } + rel2.to: "left.padding"; + align: 0.0 0.5; + } + description { state: "minute" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + } + description { state: "ampm" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "field3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field3.padding"; + rel2.to: "field3.padding"; + visible: 1; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "field.padding3"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field3.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field3.padding"; + } + align: 0.0 0.5; + } + description { state: "colon" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_COLON_BG_MIN_SIZE 0; + } + } + part { name: "field4.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding3"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding3"; + } + align: 0.0 0.5; + } + description { state: "hour" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + } + } + part { name: "field4"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "field4.padding"; + rel2.to: "field4.padding"; + visible: 1; + } + } + part { name: "field.padding4"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field4.padding"; + } + rel2 { + relative: 1.0 1.0; + to: "field4.padding"; + } + align: 0.0 0.5; + } + description { state: "colon" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_COLON_BG_MIN_SIZE 0; + } + } + part { name: "field5.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; + rel1 { + relative: 1.0 0.0; + to: "field.padding4"; + } + rel2 { + relative: 1.0 1.0; + to: "field.padding4"; + } + align: 0.0 0.5; + } + description { state: "hour" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; + } + description { state: "minute" 0.0; + inherit: "default" 0.0; + min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "field5"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 1 1; + rel1.to: "field5.padding"; + rel2.to: "field5.padding"; + visible: 1; + } + description { state: "ampm_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "colon"; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_TIME_COLON_IMAGE_SIZE; + max: DATETIME_TIME_COLON_IMAGE_SIZE; + fixed: 1 1; + image.normal: "tw_timepicker_colon.png"; + color_class: "W084"; + rel1.to: "field.padding3"; + rel2.to: "field.padding3"; + } + description { state: "field4" 0.0; + inherit: "default" 0.0; + rel1.to: "field.padding4"; + rel2.to: "field.padding4"; + } + } + part { name: "field0.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + part { name: "field1.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + part { name: "field2.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "field2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + align: 0.0 0.5; + visible: 0; + } + } + } + programs { + program { name: "field3.hour"; + signal: "elm,state,field3,hour"; + source: "*"; + script { + set_state(PART:"field3.padding", "default", 0.0); + set_state(PART:"field3", "default", 0.0); + } + } + program { name: "field3.minute"; + signal: "elm,state,field3,minute"; + source: "*"; + action: STATE_SET "minute" 0.0; + script { + set_state(PART:"field3.padding", "minute", 0.0); + set_state(PART:"field3", "default", 0.0); + } + } + program { name: "field3.ampm"; + signal: "elm,state,field3,ampm"; + source: "*"; + action: STATE_SET "ampm" 0.0; + script { + set_state(PART:"field3.padding", "ampm", 0.0); + set_state(PART:"field3", "default", 0.0); + set_state(PART:"left.padding", "default", 0.0); + set_state(PART:"field.padding4", "colon", 0.0); + set_state(PART:"field.padding3", "defuault", 0.0); + set_state(PART:"colon", "field4", 0.0); + } + } + program { name: "field4.hour"; + signal: "elm,state,field4,hour"; + source: "*"; + action: STATE_SET "hour" 0.0; + target: "field4.padding"; + } + program { name: "field4.minute"; + signal: "elm,state,field4,minute"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "field4.padding"; + } + program { name: "field5.hour"; + signal: "elm,state,field5,hour"; + source: "*"; + script { + set_state(PART:"field5.padding", "hour", 0.0); + set_state(PART:"field5", "default", 0.0); + } + } + program { name: "field5.minute"; + signal: "elm,state,field5,minute"; + source: "*"; + script { + set_state(PART:"field5.padding", "minute", 0.0); + set_state(PART:"field5", "default", 0.0); + } + } + program { name: "field5.ampm"; + signal: "elm,state,field5,ampm"; + source: "*"; + script { + set_state(PART:"field5.padding", "default", 0.0); + set_state(PART:"field5", "default", 0.0); + set_state(PART:"left.padding", "default", 0.0); + set_state(PART:"field.padding3", "colon", 0.0); + set_state(PART:"field.padding4", "defualt", 0.0); + set_state(PART:"colon", "default", 0.0); + } + } + program { name: "field3.ampm.hide"; + signal: "elm,state,field3,ampm,hide"; + source: "*"; + action: STATE_SET "ampm_hide" 0.0; + target: "field3"; + target: "field3.padding"; + target: "left.padding"; + } + program { name: "field5.ampm.hide"; + signal: "elm,state,field5,ampm,hide"; + source: "*"; + action: STATE_SET "ampm_hide" 0.0; + target: "field5"; + target: "field5.padding"; + target: "left.padding"; + } + } +} \ No newline at end of file diff --git a/2.3-wearable/widgets/entry.edc b/2.3-wearable/widgets/entry.edc new file mode 100755 index 0000000..3dbaa41 --- /dev/null +++ b/2.3-wearable/widgets/entry.edc @@ -0,0 +1,6621 @@ +/* + * 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. + */ + +// FIXME: There is no UI images for entry !!! +// All images from redwood dark theme + +#define ENTRY_PREEDIT_SUB1_COLOR "#2EA8E1" +#define ENTRY_PREEDIT_SUB2_COLOR "#9962C3" +#define ENTRY_PREEDIT_SUB3_COLOR "#76DE37" +#define ENTRY_PREEDIT_SUB4_COLOR "#999999" +#define ENTRY_PREEDIT_UNDERLINE_COLOR "#FFFFFF" +#define ENTRY_PREEDIT_TEXT_COLOR "#000000" +#define ENTRY_PREEDIT_BACKGROUND_COLOR "#FFFFFF" +#define ENTRY_SELECTION_BG_COLOR 19 106 144 255 +#define ENTRY_SELECTION_EDGE_COLOR 59 115 182 255 + +#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" +#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" +#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" +#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" +#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" + +#define ENTRY_EDITFIELD_FOCUS_DATA \ + data.item: "focus_highlight" "on"; + +#define ENTRY_TOP_BOTTOM_PADDING( SIZE ) \ + part { name: "top_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: 0 SIZE; \ + align: 0.5 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 0.0; \ + } \ + } \ + part { name: "bottom_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 0 SIZE; \ + max: 0 SIZE; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + rel2.relative: 1.0 1.0; \ + } \ + } + +#define ENTRY_TOP_BOTTOM_REL \ + rel1 { \ + to_y: "top_padding"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to_y: "bottom_padding"; \ + relative: 1.0 0.0; \ + } + +#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \ + rel1 { \ + to_x: "focus_left_padding"; \ + to_y: "top_padding";\ + relative: 1.0 1.0; \ + } \ + rel2 { \ + to_x: "clear_padding"; \ + to_y: "bottom_padding"; \ + relative: 0.0 0.0; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \ + script { \ + public scroll_enabled; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PARTS \ + part { name: "clear_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; \ + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; \ + } \ + } \ + part { name: "elm.swallow.clear"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + fixed: 1 1; \ + rel1 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_right_padding"; \ + relative: 0.0 1.0; \ + } \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PARTS \ + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) \ + part { name: "focus_bg"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + repeat_events: 1; \ + description { state: "default" 0.0; \ + visible: 1; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + color_class: "B099L1"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B099L1D"; \ + visible: 1; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_left_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 10 0; \ + max: 10 0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel1 { \ + to_x: "focus_bg"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_bg"; \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_right_padding"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + min: 10 0; \ + max: 10 0; \ + align: 1.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + to_x: "focus_bg"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + } \ + part { name: "focus_rect_top"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; \ + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; \ + align: 0.0 0.0; \ + rel1 { \ + to: "focus_bg"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "B099L2"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W201"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B099L2D"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_left"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: ENTRY_FOCUS_RECT_EDGE_INC 0; \ + max: ENTRY_FOCUS_RECT_EDGE_INC -1; \ + align: 0.0 0.0; \ + rel1 { \ + to: "focus_rect_top"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "B099L2"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W201"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B099L2D"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_right"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: ENTRY_FOCUS_RECT_EDGE_INC 0; \ + max: ENTRY_FOCUS_RECT_EDGE_INC -1; \ + align: 1.0 0.0; \ + rel1 { \ + to: "focus_rect_top"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + color_class: "B099L2"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W201"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B099L2D"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "focus_rect_bottom"; \ + type: RECT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 1; \ + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; \ + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; \ + align: 0.0 1.0; \ + rel1 { \ + to: "focus_rect_left"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "focus_rect_right"; \ + relative: 0.0 1.0; \ + } \ + color_class: "B099L2"; \ + } \ + description { state: "focused" 0.0; \ + inherit: "default" 0.0; \ + color_class: "W201"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color_class: "B099L2D"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART \ + part { name: "event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "event_rect"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PART \ + part { name: "scroller_event_rect"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.0; \ + visible: 1; \ + } \ + } + +#define ENTRY_EDITFIELD_SCROLLER_EVENT_RECT_SWALLOW_PROGRAM \ + program { name: "scroller_event_rect_touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "scroller_event_rect"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \ + program { name: "scroll_enabled"; \ + signal: "elm,state,scroll,enabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 1); \ + set_state(PART:"focus_bg", "hidden", 0.0); \ + set_state(PART:"focus_rect_top", "hidden", 0.0); \ + set_state(PART:"focus_rect_left", "hidden", 0.0); \ + set_state(PART:"focus_rect_right", "hidden", 0.0); \ + set_state(PART:"focus_rect_bottom", "hidden", 0.0); \ + set_state(PART:"focus_left_padding", "hidden", 0.0); \ + set_state(PART:"focus_right_padding", "hidden", 0.0); \ + } \ + } \ + program { name: "scroll_disabled"; \ + signal: "elm,state,scroll,disabled"; \ + source: "*"; \ + script { \ + set_int(scroll_enabled, 0); \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + set_state(PART:"focus_left_padding", "default", 0.0); \ + set_state(PART:"focus_right_padding", "default", 0.0); \ + } \ + } \ + program { name: "clear_show"; \ + signal: "elm,state,clear,visible"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "visible", 0.0); \ + set_state(PART:"clear_padding", "visible", 0.0); \ + } \ + } \ + } \ + program { name: "clear_hide"; \ + signal: "elm,state,clear,hidden"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.clear", "default", 0.0); \ + set_state(PART:"clear_padding", "default", 0.0); \ + } \ + } \ + } + +#define ENTRY_EDITFIELD_FOCUS_PROGRAMS \ + program { name: "action_focus"; \ + signal: "elm,state,focus,on"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "focused", 0.0); \ + set_state(PART:"focus_rect_top", "focused", 0.0); \ + set_state(PART:"focus_rect_left", "focused", 0.0); \ + set_state(PART:"focus_rect_right", "focused", 0.0); \ + set_state(PART:"focus_rect_bottom", "focused", 0.0); \ + } \ + set_state(PART:"elm.text", "focused", 0.0); \ + } \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,state,focus,off"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + } \ + set_state(PART:"elm.text", "default", 0.0); \ + } \ + } \ + program { name: "enable_focus_bg"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "default", 0.0); \ + set_state(PART:"focus_rect_top", "default", 0.0); \ + set_state(PART:"focus_rect_left", "default", 0.0); \ + set_state(PART:"focus_rect_right", "default", 0.0); \ + set_state(PART:"focus_rect_bottom", "default", 0.0); \ + } \ + } \ + } \ + program { name: "disable_focus_bg"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_bg", "disabled", 0.0); \ + set_state(PART:"focus_rect_top", "disabled", 0.0); \ + set_state(PART:"focus_rect_left", "disabled", 0.0); \ + set_state(PART:"focus_rect_right", "disabled", 0.0); \ + set_state(PART:"focus_rect_bottom", "disabled", 0.0); \ + } \ + } \ + } + +#define ENTRY_SOUND_PROGRAM \ + program { name: "touch_snd"; \ + signal: "mouse,clicked,1"; \ + source: "elm.text"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"elm.text", st, 30, vl); \ + if (strcmp(st, "disabled")) \ + run_program(PROGRAM:"play_sound"); \ + } \ + } \ + program { name: "play_sound"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +group { name: "elm/entry/base/editfield"; + alias: "elm/entry/base-mixedwrap/editfield"; + alias: "elm/entry/base/editfield/default"; + alias: "elm/entry/base/editfield/lighting"; + alias: "elm/entry/base/editfield/multiline"; + alias: "elm/entry/base/editfield/multiline/default"; + alias: "elm/entry/base/editfield/multiline/lighting"; + alias: "elm/entry/base/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=mixed left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=mixed left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=mixed left_margin=1 right_margin=2 text_class=T121D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G left_margin=4 right_margin=2 ellipsis=1.0 text_class=T121G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_style"; + min: 0 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_focused_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_disabled_style"; + min: 0 1; + max: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield"; + alias: "elm/entry/base-noedit-mixedwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/default"; + alias: "elm/entry/base-noedit/editfield/lighting"; + alias: "elm/entry/base-noedit/editfield/multiline"; + alias: "elm/entry/base-noedit/editfield/multiline/default"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting"; + inherit: "elm/entry/base/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base/editfield/fixed_size"; + alias: "elm/entry/base-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/multiline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=mixed left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=mixed left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=mixed left_margin=1 right_margin=2 text_class=T121D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G left_margin=4 right_margin=2 ellipsis=1.0 text_class=T121G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit/editfield/fixed_size"; + alias: "elm/entry/base-noedit-mixedwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/fixed_size"; + inherit: "elm/entry/base/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield"; + alias: "elm/entry/base/editfield/char_wrap"; + alias: "elm/entry/base/editfield/default/char_wrap"; + alias: "elm/entry/base/editfield/lighting/char_wrap"; + alias: "elm/entry/base/editfield/multiline/char_wrap"; + alias: "elm/entry/base/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base/editfield/multiline/lighting/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=char left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=char left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=char left_margin=1 right_margin=2 text_class=T121D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G left_margin=4 right_margin=2 ellipsis=1.0 text_class=T121G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield"; + alias: "elm/entry/base-noedit/editfield/char_wrap"; + alias: "elm/entry/base-noedit/editfield/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/lighting/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/default/char_wrap"; + alias: "elm/entry/base-noedit/editfield/multiline/lighting/char_wrap"; + inherit: "elm/entry/base-charwrap/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-charwrap/editfield/fixed_size"; + alias: "elm/entry/base/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base/editfield/multiline/char_wrap/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_textblock_char_wrap_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=char left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=char left_margin=1 right_margin=2 text_class=T121"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=char left_margin=1 right_margin=2 text_class=T121D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_textblock_char_wrap_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G left_margin=4 right_margin=2 ellipsis=1.0 text_class=T121G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_textblock_char_wrap_fixed_size_guide_style"; + min: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "editfield_textblock_char_wrap_fixed_size_style"; + min: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_focused_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_textblock_char_wrap_fixed_size_disabled_style"; + min: 0 1; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-noedit-charwrap/editfield/fixed_size"; + alias: "elm/entry/base-noedit/editfield/char_wrap/fixed_size"; + alias: "elm/entry/base-noedit/editfield/multiline/char_wrap/fixed_size"; + inherit: "elm/entry/base-charwrap/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield"; + alias: "elm/entry/base-single/editfield/default"; + alias: "elm/entry/base-single/editfield/lighting"; + alias: "elm/entry/base-single/editfield/singleline"; + alias: "elm/entry/base-single/editfield/singleline/default"; + alias: "elm/entry/base-single/editfield/singleline/lighting"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=none left_margin=1 right_margin=3 text_class=T121"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=none left_margin=1 right_margin=3 text_class=T121"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=none left_margin=1 right_margin=3 text_class=T121D"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G wrap=none left_margin=4 right_margin=3 text_class=T121G ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield"; + alias: "elm/entry/base-single-noedit/editfield/default"; + alias: "elm/entry/base-single-noedit/editfield/lighting"; + alias: "elm/entry/base-single-noedit/editfield/singleline"; + alias: "elm/entry/base-single-noedit/editfield/singleline/default"; + alias: "elm/entry/base-single-noedit/editfield/singleline/lighting"; + inherit: "elm/entry/base-single/editfield"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/fixed_size"; + alias: "elm/entry/base-single/editfield/singleline/fixed_size"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "editfield_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=none left_margin=1 right_margin=3 text_class=T121"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121 wrap=none left_margin=1 right_margin=3 text_class=T121"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121D wrap=none left_margin=1 right_margin=3 text_class=T121D"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color=#ffffff color_class=T121G wrap=none left_margin=4 right_margin=3 text_class=T121G ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + ENTRY_EDITFIELD_FOCUS_DATA + parts { + ENTRY_EDITFIELD_FOCUS_PARTS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PART + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: ; // selection over + //source3: ; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_fixed_size_disabled_style"; + } + } + } + ENTRY_EDITFIELD_SWALLOW_PARTS + } + ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + ENTRY_SOUND_PROGRAM + ENTRY_EDITFIELD_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS + ENTRY_EDITFIELD_EVENT_RECT_SWALLOW_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/singleline/fixed_size"; + inherit: "elm/entry/base-single/editfield/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101 wrap=none left_margin=1 right_margin=3 text_class=T101"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101 wrap=none left_margin=1 right_margin=3 text_class=T101"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101D wrap=none left_margin=1 right_margin=3 text_class=T101D"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101G wrap=none left_margin=4 right_margin=3 text_class=T101G ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101D wrap=none left_margin=4 right_margin=3 text_class=T101D ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/default"; + inherit: "elm/entry/base-single/editfield/searchbar/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/base-single/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single/editfield/popup"; + alias: "elm/entry/base-single/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + styles { + style { name: "editfield_searchbar_single_textblock_fixed_size_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101 wrap=none left_margin=1 right_margin=3 text_class=T101"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101 wrap=none left_margin=1 right_margin=3 text_class=T101"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101D wrap=none left_margin=1 right_margin=3 text_class=T101D"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101G wrap=none left_margin=4 right_margin=3 text_class=T101G ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + style { name: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + base: "font=Tizen:style=Regular font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T101D wrap=none left_margin=4 right_margin=3 text_class=T101D ellipsis=1.0"; + tag: "br" ""; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + script { + public guide_hidden; + public disabled; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_guide_style"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(disabled, 1); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(disabled, 0); + if (!get_int(guide_hidden)) { + set_state(PART:"elm.guide", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + script { + set_int(guide_hidden, 1); + set_state(PART:"elm.guide", "hidden", 0.0); + } + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + script { + set_int(guide_hidden, 0); + if (get_int(disabled)) { + set_state(PART:"elm.guide", "disabled", 0.0); + } else { + set_state(PART:"elm.guide", "default", 0.0); + } + } + } + ENTRY_SOUND_PROGRAM + } +} + +group { name: "elm/entry/base-single-noedit/editfield/searchbar/fixed_size"; + alias: "elm/entry/base-single-noedit/editfield/popup"; + alias: "elm/entry/base-single-noedit/editfield/password/popup"; + inherit: "elm/entry/base-single/editfield/searchbar/fixed_size"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source4: ""; + } + } + programs { + program { name: "touch_snd"; + } + } +} + +group { name: "elm/entry/emoticon/angry/default"; images.image: + "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: ENTRY_EMOTICON_SIZE; image.normal: + "emo-worried.png"; } } } } + +group { name: "elm/entry/base/default"; + alias: "elm/entry/base-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122 left_margin=1 right_margin=2 wrap=mixed text_class=T122"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122D left_margin=1 right_margin=2 wrap=mixed text_class=T122D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122G left_margin=4 right_margin=2 wrap=mixed text_class=T122G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-charwrap/default"; + alias: "elm/entry/base/char_wrap"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_textblock_char_wrap_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122 wrap=char left_margin=1 right_margin=2 text_class=T122"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122D wrap=char left_margin=1 right_margin=2 text_class=T122D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122G wrap=char left_margin=4 right_margin=2 text_class=T122G"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-nowrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + styles { + style { name: "entry_single_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122 wrap=none left_margin=1 right_margin=3 text_class=T122"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_single_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122D wrap=none left_margin=1 right_margin=3 text_class=T122D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_single_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color=#ffffff color_class=T122G wrap=none left_margin=4 right_margin=3 text_class=T122G ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + + group { name: "elm/entry/base-noedit-charwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_char_wrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_char_wrap_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-noedit-mixedwrap/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-nowrap-noedit/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } + } + + group { name: "elm/entry/base-password/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } + } + + group { name: "elm/entry/base-password/editfield/popup"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/password/popup"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_searchbar_single_textblock_fixed_size_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_searchbar_single_textblock_fixed_size_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_searchbar_single_textblock_fixed_size_disabled_style"; + } + } + } + } + } + + group { name: "elm/entry/cursor/default"; + parts { + part { name: "clip2"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clip"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.offset: -10 0; + rel2.offset: 9 9; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: 2 2; + align: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "glow"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + min: 3 0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 0 -2; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -2; + } + color_class: "B084"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + action: STATE_SET "hidden" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + in: 0.6 0.0; + target: "glow"; + after: "show"; + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "clip2"; + after: "show4"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + after: "stop_glow"; + } + program { name: "stop_glow"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + } + program { name: "show_cursor"; + signal: "elm,action,show,cursor"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show4"; + after: "show_cursor1"; + } + program { name: "show_cursor1"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "show"; + } + } + } + + group { name: "elm/entry/selection/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "B132"; + } + } + } + } + + group { name: "elm/entry/selection/block_handle_left"; + data.item: "height" "79"; + data.item: "gap" "32"; + } + + group { name: "elm/entry/selection/block_handle_right"; + data.item: "height" "79"; + data.item: "gap" "32"; + } + + group { name: "elm/entry/cursor_handle/default"; + images { + image: "b_handler_bottom_1.png" COMP; + image: "b_handler_bottom_2.png" COMP; + image: "b_handler_top_1.png" COMP; + image: "b_handler_top_2.png" COMP; + } + parts { + part { name: "handle"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + max: 41 52; + min: 41 52; + align: 0 0; + visible: 0; + align: 0.5 0; + image { + normal: "b_handler_bottom_1.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + color_class: "B103L1"; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + image { + normal: "b_handler_top_1.png"; + border: 0 0 0 0; + } + } + } + part { name: "handle_mask"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "handle"; + rel2.to: "handle"; + visible: 0; + align: 0.5 0; + image { + normal: "b_handler_bottom_2.png"; + border: 0 0 0 0; + } + image.middle: SOLID; + color_class: "B103L2"; + fill.smooth: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + image { + normal: "b_handler_top_2.png"; + border: 0 0 0 0; + } + } + } + } + script { + public on_top; + } + programs { + program { name: "focused"; + signal: "edje,focus,in"; + source: "edje"; + script { + new on_top_val = get_int(on_top); + if (on_top_val) + { + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handle_mask", "top", 0.0); + } + else + { + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handle_mask", "show", 0.0); + } + } + } + program { name: "unfocused"; + signal: "edje,focus,out"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handle_mask", "default", 0.0); + } + } + program { name: "show"; + signal: "edje,cursor,handle,show"; + source: "edje"; + script { + set_int(on_top, 0); + set_state(PART:"handle", "show", 0.0); + set_state(PART:"handle_mask", "show", 0.0); + } + } + program { name: "hide"; + signal: "edje,cursor,handle,hide"; + source: "edje"; + script { + set_state(PART:"handle", "default", 0.0); + set_state(PART:"handle_mask", "default", 0.0); + } + } + program { name: "top"; + signal: "edje,cursor,handle,top"; + source: "edje"; + script { + set_int(on_top, 1); + set_state(PART:"handle", "top", 0.0); + set_state(PART:"handle_mask", "top", 0.0); + } + } + } + } + + group { name: "elm/entry/selection/block_handle_edge_left"; + } + + group { name: "elm/entry/selection/block_handle_edge_right"; + } + + group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: SPACER; + description { state: "default" 0.0; + } + } + } + } + + group { name: "elm/entry/preedit/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 128 128 255; + } + } + } + } + +#define MAGNIFIER_SCALE 1.5 + + group { name: "elm/entry/magnifier/fixed-size"; + data.item: "height" MAGNIFIER_HEIGHT_FIXED; + data.item: "scale" MAGNIFIER_SCALE; + data.item: "arrow" MAGNIFIER_ARROW_HEIGHT_INC; + images { + image: "tw_magnifier_bg.#.png" COMP; + image: "tw_magnifier_bg_effect.#.png" COMP; + image: "tw_magnifier_bg_line.#.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED; + image.normal: "tw_magnifier_bg.#.png"; + color_class: "B131"; + } + description { state: "custom_cc" 0.0; + inherit: "default" 0.0; + color_class: "mgf_custom_cc"; + } + } + part { name: "bg_line"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_magnifier_bg_line.#.png"; + color_class: "W201"; + align: 0.0 0.0; + } + } + part { name: "bg_effect"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_magnifier_bg_effect.#.png"; + color_class: "B161"; + align: 0.0 0.0; + } + } + part { name: "left_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_LEFT_OFFSET_INC; + max: MAGNIFIER_LEFT_OFFSET_INC; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + align: 0.0 0.0; + } + } + part { name: "right_offset"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: MAGNIFIER_RIGHT_OFFSET_INC; + max: MAGNIFIER_RIGHT_OFFSET_INC; + rel1 { + to: "bg"; + relative: 1.0 1.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 1.0 1.0; + } + } + part { name: "swallow"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "left_offset"; + relative: 1.0 1.0; + } + rel2 { + to: "right_offset"; + relative: 0.0 0.0; + } + } + } + } + script { + public message(Msg_Type:type, id, ...) { + if (type == MSG_INT_SET) { + new r, g, b, a; + + r = getarg(2); + g = getarg(3); + b = getarg(4); + a = getarg(5); + + set_state(PART:"bg", "custom_cc", 0.0); + set_color_class("mgf_custom_cc", r, g, b, a); + } + } + } + } + + group { name: "elm/entry/matchlist/default"; + data.item: "max_height" "230"; + parts { + part { name: "base"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 20; + } + rel2 { + relative: 1.0 1.0; + offset: 0 20; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + } + } + } + } + +group { name: "elm/entry/base/font_color_black"; + alias: "elm/entry/base-mixedwrap/font_color_black"; + alias: "elm/entry/base/font_color_black/default"; + alias: "elm/entry/base/font_color_black/lighting"; + alias: "elm/entry/base/font_color_black/multiline"; + alias: "elm/entry/base/font_color_black/multiline/default"; + alias: "elm/entry/base/font_color_black/multiline/lighting"; + alias: "elm/entry/base/editfield/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-noedit/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-charwrap/font_color_black"; + alias: "elm/entry/base/font_color_black/char_wrap"; + alias: "elm/entry/base/font_color_black/default/char_wrap"; + alias: "elm/entry/base/font_color_black/lighting/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; + alias: "elm/entry/base-charwrap/editfield/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_textblock_char_wrap_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_char_wrap_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_textblock_char_wrap_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_textblock_char_wrap_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_char_wrap_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single/font_color_black"; + alias: "elm/entry/base-single/font_color_black/default"; + alias: "elm/entry/base-single/font_color_black/lighting"; + alias: "elm/entry/base-single/font_color_black/singleline"; + alias: "elm/entry/base-single/font_color_black/singleline/default"; + alias: "elm/entry/base-single/font_color_black/singleline/lighting"; + alias: "elm/entry/base-single/editfield/font_color_black"; + alias: "elm/entry/base-single/editfield/searchbar/font_color_black"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_single_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_single_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "font_color_black_single_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single-noedit/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} +group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; + inherit: "elm/entry/base-single/font_color_black"; + styles { + style { name: "tizen_text_class_single_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "tizen_text_class_single_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; + } + style { name: "tizen_text_class_single_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "tizen_text_class_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + text { + style: "tizen_text_class_single_textblock_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "tizen_text_class_single_textblock_disabled_style"; + } + } + } + } +} +group { name: "elm/entry/base-password/font_color_black"; + alias: "elm/entry/base-password/editfield/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "font_color_black_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + + group { name: "elm/entry/base-password/editfield"; + inherit: "elm/entry/base-password/default"; + alias: "elm/entry/base-password/editfield/default"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + ENTRY_TOP_BOTTOM_PADDING(ENTRY_TOP_BOTTOM_PADDING_HEIGHT) + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "editfield_single_textblock_guide_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + ENTRY_TOP_BOTTOM_REL + text { + style: "editfield_single_textblock_style"; + repch: "•"; + min: 1 1; + max: 0 1; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_focused_style"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "editfield_single_textblock_disabled_style"; + } + } + } + } + } + + +group { name: "elm/scroller/entry/default"; + data { + item: "focus_highlight" "off"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + parts { + part { name: "focus_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "focus_rect_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "clipper"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "contentclipper"; + type: RECT; + scale: 1; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "icon_padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.clear"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + clip_to: "contentclipper"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_x: "icon_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "clear_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + to_y: "elm.swallow.content"; + to_x: "clear_padding"; + } + rel2 { + relative: 0.0 0.0; + to_y: "sb_hbar"; + to_x: "clear_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + type: RECT; + scale: 1; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.swallow.content"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + to_x: "sb_vbar"; + to_y: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.hbar"; + type: RECT; + scale: 1; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "icon_padding"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } + +group { name: "elm/scroller/entry/editfield"; + inherit: "elm/scroller/entry/default"; + alias: "elm/scroller/entry/editfield/fixed_size"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "B099L1"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B099L1D"; + } + } + part { name: "focus_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 8 0; + max: 8 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 0.0 1.0; + } + } + } + part { name: "focus_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 8 0; + max: 8 0; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to: "focus_bg"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "B099L2"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B099L2D"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "B099L2"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B099L2D"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1 0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + color_class: "B099L2"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B099L2D"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0 1; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + color_class: "B099L2"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B099L2D"; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + max: ENTRY_EDITFIELD_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_y: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_EDITFIELD_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC; + max: ENTRY_EDITFIELD_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC; + } + } + } + programs { + program { name: "action_focus"; + signal: "elm,state,focus,on"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "action_unfocus"; + signal: "elm,state,focus,off"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + } +} + +group { name: "elm/scroller/entry/editfield/searchbar/default"; + inherit: "elm/scroller/entry/default"; + alias: "elm/scroller/entry/editfield/searchbar/fixed_size"; + alias: "elm/scroller/entry/editfield/popup"; + alias: "elm/scroller/entry/editfield/password/popup"; + data { + item: "focus_highlight" "on"; + } + images { + image: "b_list_search_icon.png" COMP; + } + parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "B082L1"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B082L1S"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "B082L1D"; + } + } + part { name: "focus_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 6 0; + max: 6 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 0.0 1.0; + } + } + } + part { name: "focus_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 8 0; + max: 8 0; + align: 1.0 0.5; + fixed: 1 0; + rel1 { + to: "focus_bg"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + } + part { name: "focus_rect_top"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "B082L2"; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0.0 0.0; + rel1 { + to: "focus_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "B082L2S"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B082L2D"; + } + } + part { name: "focus_rect_left"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "B082L2"; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 0.0 0.0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "B082L2S"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B082L2D"; + } + } + part { name: "focus_rect_right"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "B082L2"; + min: ENTRY_FOCUS_RECT_EDGE_INC 0; + max: ENTRY_FOCUS_RECT_EDGE_INC -1; + align: 1.0 0.0; + rel1 { + to: "focus_rect_top"; + relative: 0.0 1.0; + } + rel2 { + to: "focus_bg"; + relative: 1.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "B082L2S"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B082L2D"; + } + } + part { name: "focus_rect_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "B082L2"; + min: 0 ENTRY_FOCUS_RECT_EDGE_INC; + max: -1 ENTRY_FOCUS_RECT_EDGE_INC; + align: 0.0 1.0; + rel1 { + to: "focus_rect_left"; + relative: 1.0 0.0; + } + rel2 { + to: "focus_rect_right"; + relative: 0.0 1.0; + } + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "B082L2S"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B082L2D"; + } + } + part { name: "search_icon_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_left_padding"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "search_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + repeat_events: 1; + clip_to: "search_icon.clipper"; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_MIN_MAX_INC; + fixed: 1 1; + align: 0.0 0.5; + image.normal: "b_list_search_icon.png"; + rel1 { + to_x: "search_icon_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_left_padding"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "search_icon_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; + max: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "search_icon"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon"; + relative: 1.0 1.0; + } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + } + } + part { name: "search_icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B083"; + } + description { state: "focused" 0.0; + color_class: "B083"; + } + description { state: "disabled" 0.0; + color_class: "B083D"; + } + } + part { name: "search_icon_over"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { + to_x: "search_icon_left_padding"; + relative: 0.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + relative: 1.0 1.0; + } + color: 0 0 0 0; + } + } + part { name: "search_icon_disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "search_icon"; + rel2.to: "search_icon"; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "focus_left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "focus_right_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "icon_padding"; + type: SPACER; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_x: "search_icon_right_padding"; + to_y: "bg"; + relative: 1.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + max: ENTRY_SEARCH_CLEAR_BUTTON_PADDING_MIN_MAX_INC 0; + } + } + part { name: "elm.swallow.clear"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 0.0; + } + rel2 { + to_x: "clear_right_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clear_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "bg"; + relative: 1.0 0.0; + } + rel2 { + to_y: "bg"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC; + max: ENTRY_SEARCH_CLEAR_BUTTON_RIGHT_PADDING_MIN_MAX_INC; + } + } + } + programs { + program { name: "search_icon_show"; + signal: "elm,action,show,search_icon"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "search_icon_left_padding"; + target: "search_icon_right_padding"; + target: "search_icon"; + } + program { name: "search_icon_hide"; + signal: "elm,action,hide,search_icon"; + source: "*"; + action: STATE_SET "hide" 0.0; + target: "search_icon_left_padding"; + target: "search_icon_right_padding"; + target: "search_icon"; + } + program { name: "action_focus"; + signal: "elm,state,focus,on"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "action_unfocus"; + signal: "elm,state,focus,off"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + target: "search_icon.clipper"; + } + program { name: "search_icon_touch_snd"; + signal: "mouse,clicked,1"; + source: "search_icon_over"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "search_icon_disabler"; + target: "search_icon.clipper"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "search_icon_disabler"; + target: "search_icon.clipper"; + target: "focus_bg"; + target: "focus_rect_top"; + target: "focus_rect_left"; + target: "focus_rect_right"; + target: "focus_rect_bottom"; + target: "search_icon.clipper"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "clear_padding"; + target: "clear_right_padding"; + } + } +} + +//////////////////////////// DATETIME UI ////////////////////////////////////// + +group { name: "elm/entry/base-single/datetime/style1"; + alias: "elm/entry/base-single/datetime"; + alias: "elm/entry/base-single/spinner/default"; + alias: "elm/entry/base-single/spinner/datetime"; + data.item: "default_font_size" "52"; + data.item: "min_font_size" "35"; + data.item: "max_font_size" "52"; + images { + image: "tw_timepicker_focus_line.#.png" COMP; + image: "tw_timepicker_num_bg_new_transparent.#.png" COMP; + } + styles { + style { name: "entry_datetime_textblock_style_1_3"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_DIGIT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T051 wrap=none text_class=T051"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_datetime_textblock_disabled_style_1_3"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_DIGIT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T051D wrap=none text_class=T051D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + } + data { + item: context_menu_orientation "none"; + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + } + } + part { name: "bg_base"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new_transparent.#.png"; + color_class: "W0811"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_focus_line.#.png"; + color_class: "W201"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1 { + to: "base"; + offset: -3 -3; + } + rel2 { + to: "base"; + offset: 2 2; + } + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + //source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + //source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_datetime_textblock_style_1_3"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_datetime_textblock_disabled_style_1_3"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single/datetime/style2"; + alias: "elm/entry/base-single/datetime/style3"; + data.item: "default_font_size" "47"; + data.item: "min_font_size" "35"; + data.item: "max_font_size" "47"; + images { + image: "tw_timepicker_focus_line.#.png" COMP; + image: "tw_timepicker_num_bg_new_transparent.#.png" COMP; + } + styles { + style { name: "entry_datetime_textblock_style2"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_TEXT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T052 wrap=none text_class=T052"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_datetime_textblock_disabled_style2"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_TEXT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T052D wrap=none text_class=T052D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + } + data { + item: context_menu_orientation "none"; + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + } + } + part { name: "bg_base"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new_transparent.#.png"; + color_class: "W0811"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_focus_line.#.png"; + color_class: "W201"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1 { + to: "base"; + offset: -3 -3; + } + rel2 { + to: "base"; + offset: 2 2; + } + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: DATETIME_DATE_MONTH_FIELD_WIDTH 60; // Here 60 pixal is adjusted to make UI look simiar to radio one. + max: DATETIME_DATE_MONTH_FIELD_WIDTH 60; + fixed: 1 1; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + //source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + // source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "text_bg"; + rel2.to: "text_bg"; + text { + style: "entry_datetime_textblock_style2"; + min: 1 1; + fit: 1 1; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_datetime_textblock_disabled_style2"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "action_focus"; + signal: "elm,action,focus"; + source: "*"; + action: STATE_SET "focused" 0.0; + target: "bg"; + } + program { name: "action_unfocus"; + signal: "elm,action,unfocus"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +group { name: "elm/entry/base-single/datetime/AM_PM"; + data.item: "default_font_size" "47"; + data.item: "min_font_size" "35"; + data.item: "max_font_size" "47"; + images { + image: "tw_timepicker_focus_line.#.png" COMP; + image: "tw_timepicker_num_bg_new.#.png" COMP; + } + styles { + style { name: "entry_datetime_textblock_AM_PM"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_TEXT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T052 wrap=none text_class=T052"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + style { name: "entry_datetime_textblock_disabled_AM_PM"; + base: "font=Tizen:style=Roman font_size="DATETIME_ENTRY_TEXT_SIZE" color=#ffffff align=center left_margin=1 right_margin=2 color_class=T052D wrap=none text_class=T052D"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font_style=Oblique"; + tag: "b" "+ font_weight=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; + tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; + } + } + data { + item: context_menu_orientation "none"; + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + } + } + part { name: "bg_base"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new.#.png"; + color_class: "W0811"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W0812"; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_focus_line.#.png"; + color_class: "W201"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1 { + to: "base"; + offset: -3 -3; + } + rel2 { + to: "base"; + offset: 2 2; + } + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + cursor_mode: BEFORE; + multiline: 0; + //source: "elm/entry/selection/default"; // selection under + //source2: "X"; // selection over + //source3: "X"; // cursor under + //source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + //source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler + // source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler + source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler + //source10: ""; // start edge selection + //source11: ""; // end edge selection + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_datetime_textblock_AM_PM"; + min: 1 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_datetime_textblock_disabled_AM_PM"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "action_focus"; + signal: "mouse,down,1"; + source: "elm.text"; + action: STATE_SET "focused" 0.0; + target: "bg"; + target: "bg_base"; + } + program { name: "action_unfocus"; + signal: "mouse,up,1"; + source: "elm.text"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "bg_base"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.text"; + action: RUN_PLUGIN "touch_sound"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// + +//////////////////////////// COPY&PASTE UI /////////////////////////////////// +#define IMAGE_GROUP(GROUP_NAME, IMAGE_NAME) \ + group { name: GROUP_NAME; \ + images.image: IMAGE_NAME COMP; \ + parts { \ + part { name: "image"; \ + description { \ + state: "default" 0.0; \ + visible: 1; \ + image.normal: IMAGE_NAME; \ + aspect: 1 1; \ + aspect_preference: BOTH; \ + } \ + } \ + } \ + } +/////////////////////////////////////////////////////////////////////////////// + +IMAGE_GROUP("elm/copypaste/clipboard/default", "b_popup_icon_clipboard.png"); +IMAGE_GROUP("elm/copypaste/copy/default", "b_popup_icon_copy.png"); +IMAGE_GROUP("elm/copypaste/cut/default", "b_popup_icon_cut.png"); +IMAGE_GROUP("elm/copypaste/paste/default", "b_popup_icon_paste.png"); +IMAGE_GROUP("elm/copypaste/select_all/default", "b_popup_icon_select_all.png"); diff --git a/2.3-wearable/widgets/gengrid.edc b/2.3-wearable/widgets/gengrid.edc new file mode 100644 index 0000000..f41ebd3 --- /dev/null +++ b/2.3-wearable/widgets/gengrid.edc @@ -0,0 +1,153 @@ +/* + * 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. + */ + + group { name: "elm/gengrid/item/default/default"; + alias: "elm/gengrid/item/default_grid/default"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "left_top_padding"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_PADDING_LT_SIZE; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 0.0; + to: "bg"; + } + } + } + part { name: "right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_PADDING_RB_SIZE; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + } + } + part { name: "item_bg"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1 { + relative: 1.0 1.0; + to: "left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "right_bottom_padding"; + } + } + } + part { name: "item_bg_left_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_PADDING_ITEM_BG_LT_SIZE; + align: 0.0 0.0; + fixed: 1 1; + rel1.to: "item_bg"; + rel2 { + relative: 0.0 0.0; + to: "item_bg"; + } + } + } + part { name: "item_bg_right_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: GENGRID_DEFAULT_PADDING_ITEM_BG_RB_SIZE; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "item_bg"; + } + rel2.to: "item_bg"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to: "item_bg_left_top_padding"; + } + rel2 { + relative: 0.0 0.0; + to: "item_bg_right_bottom_padding"; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + } + programs { + program { name: "selected"; + signal: "elm,state,selected"; + source: "elm"; + } + program { name: "unselected"; + signal: "elm,state,unselected"; + source: "elm"; + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "elm.swallow.icon"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + } + } diff --git a/2.3-wearable/widgets/genlist.edc b/2.3-wearable/widgets/genlist.edc new file mode 100644 index 0000000..54594de --- /dev/null +++ b/2.3-wearable/widgets/genlist.edc @@ -0,0 +1,805 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ +#include "genlist_macro.edc" + +group { name: "elm/genlist/item/default/default"; + alias: "elm/list/item/default"; + alias: "elm/list/item_odd/default"; + alias: "elm/list/item_compress/default"; + alias: "elm/list/item_compress_odd/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(SWALLOW, "elm.swallow.icon", + DESC_L("elm.padding.left",) + ) + PART(TEXT, "elm.text", + DESC_LRTB("elm.swallow.icon", "elm.swallow.end", "elm.padding.top", "elm.padding.bottom", + min: 0 0; + text { + min: 0 1; + text_class: "T0211"; + align: 0 0.5; + } + color_class: "T0211"; + ) + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T0211D"; + color_class: "T0211D"; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.text_class: "T0211P"; + color_class: "T0211P"; + } + ) + PART(SWALLOW, "elm.swallow.end", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom",) + ) + } + PROGRAMS_LIST( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; ) +} + +group { name: "elm/genlist/item/groupindex/default"; + + PROLOG_LIST + data.item: "texts" "elm.text elm.text.1"; + data.item: "contents" "elm.icon"; + + parts { + PART(RECT, "bg", + description { state: "default" 0.0; + color_class: "B012"; + } + description { state: "selected" 0.0; + color_class: "B012P"; + } + ) + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, + LIST_GROUPINDEX_PADDING_TOP_SIZE, LIST_GROUPINDEX_PADDING_BOTTOM_SIZE + ) + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.text.padding", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_GROUPINDEX_HEIGHT; + PARAM_TEXT("list_text_groupindex_normal",) + ) + ) + PART(SPACER, "elm.text.padding", + DESC_R("elm.text.1", min: 8 0; max: 8 -1; ) + ) + PART(TEXTBLOCK, "elm.text.1", + DESC_RTB("elm.icon.padding", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_GROUPINDEX_HEIGHT; + align: 1.0 0.5; + rel1 { + to: "bg"; + relative: 0.5 0; + } + PARAM_TEXT("list_text_groupindex_sub_normal", max: 1 0;) + ) + ) + PART(SPACER, "elm.icon.padding", + DESC_R("elm.icon", min: 2 0; max: 2 -1;) + ) + PART(SWALLOW, "elm.icon", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_GROUPINDEX_HEIGHT; + fixed: 1 0; + ) + ) + } + programs{ + PROGRAM_LIST_DEFAULT( + target: "bg"; + ) + PROGRAM_LIST_SELECT( + target: "bg"; + ) + } +} + +group { name: "elm/genlist/item/1text/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + } + PROGRAMS_LIST( target: "elm.text"; ) +} + +group { name: "elm/genlist/item/1text/swipe/default"; + inherit: "elm/genlist/item/1text/default"; + + SCRIPTS_LIST_SWIPE + IMAGES_LIST_SWIPE + + data.item: "texts" "elm.text elm.text.swipe.left elm.text.swipe.right"; + data.item: "contents" "elm.icon.swipe.left elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE + } + PROGRAMS_LIST_SWIPE +} + +group { name: "elm/genlist/item/1text/swipe_left/default"; + inherit: "elm/genlist/item/1text/swipe/default"; + + data.item: "texts" "elm.text elm.text.swipe.left"; + data.item: "contents" "elm.icon.swipe.left"; + + parts { + PARTS_LIST_SWIPE_LEFT + } + PROGRAMS_LIST_SWIPE_LEFT +} + +group { name: "elm/genlist/item/1text/swipe_right/default"; + inherit: "elm/genlist/item/1text/swipe/default"; + + data.item: "texts" "elm.text elm.text.swipe.right"; + data.item: "contents" "elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE_RIGHT + } + PROGRAMS_LIST_SWIPE_RIGHT +} + +group { name: "elm/genlist/item/2text/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti"; + data.item: "contents" "elm.swallow.colorbar elm.icon.noti"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.left", "elm.icon.noti", "elm.padding.top", "elm.text.2", + fixed: 1 0; + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(SWALLOW, "elm.icon.noti", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", + min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; + ) + ) + PART(TEXTBLOCK, "elm.text.noti", + mouse_events: 0; + DESC_TO("elm.icon.noti", + min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; + PARAM_TEXT("list_noti_style", min: 1 1;) + ) + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", + fixed: 1 0; + min: 0 0; + PARAM_TEXT("list_text_sub_normal",) + ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.text.noti"; target: "elm.icon.noti";) +} + +group { name: "elm/genlist/item/2text/swipe/default"; + inherit: "elm/genlist/item/2text/default"; + + SCRIPTS_LIST_SWIPE + IMAGES_LIST_SWIPE + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.left elm.text.swipe.right"; + data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.left elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE + } + PROGRAMS_LIST_SWIPE +} + +group { name: "elm/genlist/item/2text/swipe_left/default"; + inherit: "elm/genlist/item/2text/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.left"; + data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.left"; + + parts { + PARTS_LIST_SWIPE_LEFT + } + PROGRAMS_LIST_SWIPE_LEFT +} + +group { name: "elm/genlist/item/2text/swipe_right/default"; + inherit: "elm/genlist/item/2text/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.right"; + data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE_RIGHT + } + PROGRAMS_LIST_SWIPE_RIGHT +} + +group { name: "elm/genlist/item/2text.1/default"; + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.swallow.colorbar"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text.2", + DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 0; + PARAM_TEXT("list_text_sub_normal",) + ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_press") + ) + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.right","elm.text.2", "elm.padding.bottom", + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; ) +} + +group { name: "elm/genlist/item/2text.1/swipe/default"; + inherit: "elm/genlist/item/2text.1/default"; + + SCRIPTS_LIST_SWIPE + IMAGES_LIST_SWIPE + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left elm.text.swipe.right"; + data.item: "contents" "elm.icon.swipe.left elm.icon.swipe.right elm.swallow.colorbar"; + + parts { + PARTS_LIST_SWIPE + } + PROGRAMS_LIST_SWIPE +} + +group { name: "elm/genlist/item/2text.1/swipe_left/default"; + inherit: "elm/genlist/item/2text.1/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left"; + data.item: "contents" "elm.icon.swipe.left elm.swallow.colorbar"; + + parts { + PARTS_LIST_SWIPE_LEFT + } + PROGRAMS_LIST_SWIPE_LEFT +} + +group { name: "elm/genlist/item/2text.1/swipe_right/default"; + inherit: "elm/genlist/item/2text.1/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.right"; + data.item: "contents" "elm.icon.swipe.right elm.swallow.colorbar"; + + parts { + PARTS_LIST_SWIPE_RIGHT + } + PROGRAMS_LIST_SWIPE_RIGHT +} + +group { name: "elm/genlist/item/1icon/default"; + + PROLOG_LIST + data.item: "contents" "elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + 2, 2 // FIXME: arbitrary value to prevent overlap with bottom lines + ) + PART_LIST_BOTTOMLINE + PART(SWALLOW, "elm.icon", + DESC_LRTB( + "elm.padding.left", "elm.padding.right", + "elm.padding.top", "elm.padding.bottom", + min: 0 ( LIST_1LINE_HEIGHT - (2 + 2)); + ) + ) + } + PROGRAMS_LIST( target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/1icon/with_no_line/default"; + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_BOTTOMLINE_OFF + } +} + +group { name: "elm/genlist/item/1icon/no_padding/default"; + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_PADDINGS(0, 0, 0, 0) + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 LIST_1LINE_HEIGHT; + } + } + } +} + +group { name: "elm/genlist/item/1icon/no_padding_line/default"; + inherit: "elm/genlist/item/1icon/default"; + + parts { + PART_LIST_PADDINGS(0, 0, 0, 0) + PART_LIST_BOTTOMLINE_OFF + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 LIST_1LINE_HEIGHT; + } + } + } +} + +group { name: "elm/genlist/item/1icon/no_line_transparent/default"; + inherit: "elm/genlist/item/1icon/default"; + + parts { + part { name: "bg"; + clip_to: "bg_clip"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + PART_LIST_PADDINGS(0, 0, 8, 8) + PART_LIST_BOTTOMLINE_OFF + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 LIST_1LINE_HEIGHT; + } + } + } +} + +group { name: "elm/genlist/item/1text.1icon/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(SWALLOW, "elm.icon", + DESC_L("elm.padding.left", + fixed: 1 1; + ) + ) + PART(SPACER, "elm.padding.icon.right", + DESC_L("elm.icon", min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) + ) + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + } + PROGRAMS_LIST( target: "elm.text"; target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/1text.1icon.1/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, + LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.padding.bottom", + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(SPACER, "elm.padding.icon.left", + DESC_R("elm.icon", min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; ) + ) + PART(SWALLOW, "elm.icon", DESC_R("elm.padding.right", ) ) + } + PROGRAMS_LIST( target: "elm.text"; target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/1text.1icon.divider/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1"; + data.item: "contents" "elm.swallow.colorbar elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, + LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.padding.bottom", + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(SPACER, "elm.padding.divider.left", + DESC_R("elm.divider", + min: LIST_DIVIDER_PADDING_SIZE 0; max: LIST_DIVIDER_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon", + DESC_FROM_R( + min: BUTTON_DIVIDER_BTN_SIZE 0; + max: BUTTON_DIVIDER_BTN_SIZE -1; + rel1.to: "bg"; + rel2.to: "bg"; + ) + ) + PART(RECT, "elm.divider", + DESC_R("elm.icon", + align: 0 0.5; + min: 2 LIST_DIVIDER_HEIGHT; + max: 2 LIST_DIVIDER_HEIGHT; + color_class: "B0221L1"; + ) + ) + } + PROGRAMS_LIST( target: "elm.text.1"; + target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/1text.1icon.divider/sweep/default"; + inherit: "elm/genlist/item/1text.1icon.divider/default"; + + data.item: "texts" "elm.text.1 elm.text.sweep"; + data.item: "contents" "elm.icon elm.icon.sweep"; + SCRIPTS_LIST_SWEEP + + parts { + PARTS_LIST_SWEEP + } + programs { + PROGRAMS_LIST_SWEEP + } +} + +group { name: "elm/genlist/item/2text.1icon/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + + PART(SWALLOW, "elm.icon", + DESC_L("elm.padding.left",) + ) + PART(SPACER, "elm.padding.icon.right", + DESC_L("elm.icon", min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) + ) + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.text.2", + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRB( "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom", + min: 0 0; + PARAM_TEXT("list_text_sub_normal",) + ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_press") + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/2text.1icon/swipe/default"; + inherit: "elm/genlist/item/2text.1icon/default"; + + SCRIPTS_LIST_SWIPE + IMAGES_LIST_SWIPE + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left elm.text.swipe.right"; + data.item: "contents" "elm.icon elm.icon.swipe.left elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE + } + PROGRAMS_LIST_SWIPE +} + +group { name: "elm/genlist/item/2text.1icon/swipe_left/default"; + inherit: "elm/genlist/item/2text.1icon/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left"; + data.item: "contents" "elm.icon elm.icon.swipe.left"; + + parts { + PARTS_LIST_SWIPE_LEFT + } + PROGRAMS_LIST_SWIPE_LEFT +} + +group { name: "elm/genlist/item/2text.1icon/swipe_right/default"; + inherit: "elm/genlist/item/2text.1icon/swipe/default"; + + data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.right"; + data.item: "contents" "elm.icon elm.icon.swipe.right"; + + parts { + PARTS_LIST_SWIPE_RIGHT + } + PROGRAMS_LIST_SWIPE_RIGHT +} + +group { name: "elm/genlist/item/2text.1icon.1/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.swallow.colorbar elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.text.2", + min: 0 0; + fixed: 1 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRB("elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom", + min: 0 0; + fixed: 1 0; + PARAM_TEXT("list_text_sub_normal",) + ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_press") + ) + PART(SPACER, "elm.padding.icon.left", + DESC_R("elm.icon", + min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon", + DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom", + ) + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/2text.1icon.divider/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2"; + data.item: "contents" "elm.swallow.colorbar elm.icon"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text.1", + DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.text.2", + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRB("elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom", + min: 0 0; + PARAM_TEXT("list_text_sub_normal",) + ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_press") + ) + PART(SPACER, "elm.padding.divider.left", + DESC_R("elm.divider", + min: LIST_DIVIDER_PADDING_SIZE 0; max: LIST_DIVIDER_PADDING_SIZE -1; + ) + ) + PART(SWALLOW, "elm.icon", + DESC_FROM_R( + min: BUTTON_DIVIDER_BTN_SIZE 0; + max: BUTTON_DIVIDER_BTN_SIZE -1; + rel1.to: "bg"; + rel2.to: "bg"; + ) + ) + PART(RECT, "elm.divider", + DESC_R("elm.icon", + align: 0 0.5; + min: 2 LIST_DIVIDER_HEIGHT; + max: 2 LIST_DIVIDER_HEIGHT; + color_class: "B0221L1"; + ) + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; + target: "elm.icon"; ) +} + +group { name: "elm/genlist/item/multiline/2text/default"; + + PROLOG_LIST + data.item: "texts" "elm.text.1 elm.text.2"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + + PART(TEXTBLOCK, "elm.text.1", + DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", + min: 0 0; + PARAM_TEXT("list_text_main_normal",) + ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press") + ) + PART(SPACER, "elm.padding.text1.bottom", + DESC_T("elm.text.1", + min: 0 4; max: -1 4; + ) + ) + PART(TEXTBLOCK, "elm.text.2", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", + min: 0 0; + PARAM_TEXT("list_text_sub_multiline_normal",) + ) + DESCRIPIONS_TEXT("list_text_sub_multiline_dim", "list_text_sub_multiline_selected") + ) + } + PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; ) +} + +group { name: "elm/genlist/item/multiline/1text/default"; + alias: "elm/layout/multiline/1text/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_PADDING_DEFAULT_SIZE, LIST_PADDING_DEFAULT_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_MULTILINE_HEIGHT; + PARAM_TEXT("list_text_multiline",) + ) + ) + } + PROGRAM_LIST_DEFAULT( target: "elm.text"; ) + PROGRAM_LIST_BOTTOMLINE +} + +group { name: "elm/genlist/item/multiline/1text.1/default"; + alias: "elm/layout/multiline/1text.1/default"; + + PROLOG_LIST + data.item: "texts" "elm.text"; + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, + LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE + ) + PART_LIST_BOTTOMLINE + PART(TEXTBLOCK, "elm.text", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 0 LIST_MULTILINE_2LINE_HEIGHT; + PARAM_TEXT("list_text_multiline_2line_normal",) + ) DESCRIPIONS_TEXT("list_text_multiline_2line_dim", "list_text_multiline_2line_normal") + ) + } + PROGRAMS_LIST( target: "elm.text"; ) +} + +group { name: "elm/genlist/item/hidden/default"; + inherit: "elm/genlist/item/1icon/no_padding/default"; + + parts { + PART_LIST_PADDINGS(0, 0, 0, 0) + part { name: "elm.icon"; + description { state: "default" 0.0; + min: 0 LIST_HIDDEN_HEIGHT; + } + } + } +} \ No newline at end of file diff --git a/wearable/themes/widgets/genlist_decorate.edc b/2.3-wearable/widgets/genlist_decorate.edc similarity index 100% rename from wearable/themes/widgets/genlist_decorate.edc rename to 2.3-wearable/widgets/genlist_decorate.edc diff --git a/2.3-wearable/widgets/genlist_macro.edc b/2.3-wearable/widgets/genlist_macro.edc new file mode 100644 index 0000000..8157f28 --- /dev/null +++ b/2.3-wearable/widgets/genlist_macro.edc @@ -0,0 +1,1973 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ + +//****************************************************************************// +// ***************** EDJE description have 24 patterns **********************// + //**************************************************************************// +// ------------------ +// | --> HERE +// ------------------ + #define DESC_FROM_L( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM\ + } + +// ------------------ +// HERE <-- | +// ------------------ + #define DESC_FROM_R( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DESC_FROM_T( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | | +// ---------- + #define DESC_FROM_B( PARAM ) \ + description { state: "default" 0.0;\ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM\ + } + +// ------------------ +// | PART == HERE | +// ------------------ + #define DESC_TO( PART, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 0 0; \ + to: PART; \ + }\ + rel2 {\ + relative: 1 1;\ + to: PART; \ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// --------------------- +// LEFT |--> HERE +// --------------------- +#define DESC_L( LEFT, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + }\ + rel2 { \ + relative: 1 1;\ + to_x: LEFT; \ + }\ + PARAM\ + } + +// --------------------- +// HERE <--| RIGHT +// --------------------- +#define DESC_R( RIGHT, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT; \ + }\ + PARAM\ + } + +// -------------------------- +// LEFT |--> HERE <--| RIGHT +// -------------------------- +#define DESC_LR( LEFT, RIGHT, PARAM ) \ + description { state: "default" 0.0;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + }\ + PARAM\ + } + +// | TOP | +// ----------------- +// | HERE <--| RIGHT +// ----------------- +// | BOTTOM | +#define DESC_RTB( RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0.5;\ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// LEFT | HERE | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_LRB( LEFT, RIGHT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 1;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | HERE | RIGHT +#define DESC_LRT( LEFT, RIGHT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT | --> HERE | +#define DESC_LT( LEFT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 1;\ + to_x: LEFT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// LEFT | --> HERE | +// --------------------- +// | BOTTOM | +#define DESC_LB( LEFT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 1;\ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: LEFT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// LEFT |--> HERE | +// --------------------- +// | BOTTOM | +#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0 0.5;\ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 0;\ + to_x: LEFT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// --------------------- +// | HERE <--| RIGHT +#define DESC_RT( RIGHT, TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 0;\ + rel1 { \ + relative: 0 1; \ + to_x: RIGHT; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 0 1;\ + to_x: RIGHT;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// | HERE <-- | RIGHT +// --------------------- +// | BOTTOM | +#define DESC_RB( RIGHT, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 1 1;\ + rel1 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 0 0;\ + to_x: RIGHT;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DESC_TB( TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0.5;\ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 0;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +// | TOP | +// ---------- +// | HERE | +// ---------- +#define DESC_T( TOP, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 0.0;\ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + }\ + rel2 {\ + relative: 1 1;\ + to_y: TOP;\ + }\ + PARAM\ + } + +// ---------- +// | HERE | +// ---------- +// | BOTTOM | +#define DESC_B( BOTTOM, PARAM ) \ + description { state: "default" 0.0;\ + align: 0.5 1.0;\ + rel1 { \ + relative: 0 0; \ + to_y: BOTTOM; \ + }\ + rel2 {\ + relative: 1 0;\ + to_y: BOTTOM;\ + }\ + PARAM\ + } + +//****************************************************************************// +//******************************* Part Macros ********************************// +//****************************************************************************// +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +//****************************************************************************// +//**************************** Genlist Macros ********************************// +//****************************************************************************// + +#define PROLOG_LIST \ + data.item: "treesize" 0; \ + data.item: "flips" "elm.flip.icon elm.flip.content"; \ + +#define PART_LIST_BG \ + PART(RECT, "bg_clip", \ + mouse_events: 0; \ + description { state: "default" 0.0; } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + ) \ + PART(RECT, "bg", \ + clip_to: "bg_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0211D"; \ + } \ + ) + +#define PART_LIST_BOTTOMLINE \ + PART(RECT, "bottom_line_clip", \ + description { state: "default" 0.0; } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "flipped" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + ) \ + PART(RECT, "bottom_line", \ + mouse_events: 0; \ + clip_to: "bottom_line_clip"; \ + description { state: "default" 0.0; \ + min: 0 1; \ + max: -1 1; \ + fixed: 0 1; \ + align: 0.5 1; \ + color_class: "B0222"; \ + rel1.offset: -1 -1; \ + } \ + ) + +#define PART_LIST_BOTTOMLINE_OFF \ + PART(RECT, "bottom_line_clip", \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + ) \ + PART(RECT, "bottom_line", \ + description { state: "default" 0.0; \ + visible: 0; \ + } \ + ) + +//**************************** Genlist PADDING *******************************// +#define DESC_LIST_PADDINGS \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 32 0; \ + max: 32 -1; \ + } + +#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ + PART(SWALLOW, "elm.swallow.pad", \ + mouse_events: 0; \ + DESC_FROM_L( ; ) \ + ) \ + PART(SWALLOW, "elm.swallow.colorbar", \ + mouse_events: 0; \ + DESC_L("elm.swallow.pad", ) \ + ) \ + PART(SPACER, "elm.padding.left", \ + DESC_L("elm.swallow.pad", \ + min: LEFT_SIZE 0; \ + max: LEFT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.right", \ + DESC_FROM_R( \ + min: RIGHT_SIZE 0; \ + max: RIGHT_SIZE -1; \ + ) \ + description { state: "decorate" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "decorate_reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0; \ + } \ + description { state: "reorder" 0.0; \ + inherit: "default" 0.0; \ + min: 32 0; \ + max: 32 -1; \ + } \ + ) \ + PART(SPACER, "elm.padding.top", \ + DESC_FROM_T( \ + min: 0 TOP_SIZE; \ + max: -1 TOP_SIZE; \ + ) \ + ) \ + PART(SPACER, "elm.padding.bottom", \ + DESC_FROM_B( \ + min: 0 BOTTOM_SIZE; \ + max: -1 BOTTOM_SIZE; \ + ) \ + ) + +//*************************** Genlist Programs ****************************// +#define PROGRAM_LIST_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + +#define PROGRAM_LIST_DISABLE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_SELECT( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"play_sample"); \ + } \ + } \ + program { \ + name: "play_sample"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + +#define PROGRAM_LIST_FOCUS \ + program { name: "focused"; \ + signal: "elm,state,focused"; \ + source: "elm"; \ + action: STATE_SET "focused" 0.0; \ + target: "focus_part"; \ + } \ + program { name: "unfocused"; \ + signal: "elm,state,unfocused"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "focus_part"; \ + } + +#define PROGRAM_LIST_FLIP \ + program { name: "flip_enabled"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + transition: DECELERATE 0.5; \ + action: STATE_SET "flipped" 0.0; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_disabled"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + transition: DECELERATE 0.5; \ + action: STATE_SET "default" 0.0; \ + target: "elm.flip.content"; \ + target: "elm.flip.icon"; \ + } \ + program { name: "flip_enabled_bg"; \ + signal: "elm,state,flip,enabled"; \ + source: "elm"; \ + action: STATE_SET "flipped" 0.0; \ + target: "elm.flip.bg"; \ + } \ + program { name: "flip_disabled_bg"; \ + signal: "elm,state,flip,disabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.flip.bg"; \ + } + +#define PROGRAM_LIST_DECORATE( TARGET ) \ + program { name: "decorate_enabled_effect_ef"; \ + signal: "elm,state,decorate,enabled,effect";\ + source: "elm";\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_effect_ef";\ + signal: "elm,state,decorate,disabled,effect";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } \ + program { name: "decorate_enabled_ef";\ + signal: "elm,state,decorate,enabled";\ + source: "elm";\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_ef";\ + signal: "elm,state,decorate,disabled";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } + +#define PROGRAM_LIST_DECORATE_FX( TARGET ) \ + program { name: "decorate_enabled_effect_ef"; \ + signal: "elm,state,decorate,enabled,effect";\ + source: "elm";\ + transition: DECELERATE 0.5;\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_effect_ef";\ + signal: "elm,state,decorate,disabled,effect";\ + source: "elm";\ + transition: ACCELERATE 0.5;\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } \ + program { name: "decorate_enabled_ef";\ + signal: "elm,state,decorate,enabled";\ + source: "elm";\ + action: STATE_SET "decorate" 0.0;\ + TARGET \ + }\ + program { name: "decorate_disabled_ef";\ + signal: "elm,state,decorate,disabled";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + TARGET \ + } + +#define PROGRAM_LIST_BOTTOMLINE \ + program { name : "hide_bottomline"; \ + signal: "elm,state,bottomline,hide"; \ + source: ""; \ + action: STATE_SET "hide" 0.0; \ + target: "bottom_line_clip"; \ + } \ + program { name : "show_bottomline"; \ + signal: "elm,state,bottomline,show"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + target: "bottom_line_clip"; \ + } \ + + +#define PROGRAMS_LIST( TARGET ) \ + programs { \ + PROGRAM_LIST_DEFAULT( TARGET \ + target: "bg"; \ + target: "bg_clip"; \ + target: "bottom_line"; \ + target: "bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + PROGRAM_LIST_DISABLE( TARGET \ + target: "bg"; \ + ) \ + PROGRAM_LIST_SELECT( TARGET \ + target: "bg"; \ + ) \ + PROGRAM_LIST_SOUND \ + PROGRAM_LIST_DECORATE( \ + target: "bg"; \ + target: "bg_clip"; \ + target: "bottom_line"; \ + target: "bottom_line_clip"; \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + PROGRAM_LIST_BOTTOMLINE \ + } + +//******************************* Genlist TEXT ********************************// +#define PARAM_TEXT(STYLE, PARAM) \ + text { \ + min: 0 1; \ + style: STYLE; \ + PARAM \ + } + +#define DESCRIPIONS_TEXT(DISABLED, SELECTED) \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + text.style: DISABLED; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + text.style: SELECTED; \ + } + +//******************************* Genlist SWIPE ********************************// +#define SWIPE_TRANSIT SIN_FAC 0.667 0.8 + +#define SWIPE_THRESH_X 60 +#define SWIPE_THRESH_Y 30 + +#define SWIPE_OVERLAP_SIZE 100 +#define SWIPE_ICON_SIZE 64 100 + +// state: normal(0)->start,right( 1)->rollback,right ( 3), swipe,right ( 2)-> normal(0) +// ->start,left (-1)->rollback,right (-3), swipe,right (-2)-> +#define SCRIPTS_LIST_SWIPE \ + script { \ + public _state; \ + public x1, y1; \ + public cleanup() { \ + set_int(_state, 0); \ + set_int(x1, 0); \ + set_int(y1, 0); \ + set_drag(PART:"drag_part", 0, 0); \ + set_state(PART:"drag_part", "default", 0.0); \ + set_state(PART:"drag_part_left", "default", 0.0); \ + set_state(PART:"drag_part_right", "default", 0.0); \ + set_state(PART:"elm.text.swipe.left", "default", 0.0); \ + set_state(PART:"elm.text.swipe.right", "default", 0.0); \ + set_state(PART:"elm.icon.swipe.left", "default", 0.0); \ + set_state(PART:"elm.icon.swipe.right", "default", 0.0); \ + set_state(PART:"swipe_temp_disabler", "default", 0.0); \ + } \ + } + +#define IMAGES_LIST_SWIPE \ + image : "b_list_swipe_right.#.png" COMP; \ + image : "b_list_swipe_left.#.png" COMP; + +#define PARTS_LIST_SWIPE \ + part { name: "drag_part"; \ + type: RECT; \ + scale: 1; \ + repeat_events: 1; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ + rel2.offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + description { state: "disable" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 0; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + description { state: "right_end" 0.0; \ + inherit: "start_right"; \ + rel1.relative: 1 0; \ + } \ + description { state: "right_rollback" 0.0; \ + inherit: "start_right" 0.0; \ + rel1.relative: -1 0; \ + color: 0 0 0 0; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + description { state: "left_end" 0.0; \ + inherit: "start_left" 0.0; \ + rel2.relative: 0 1; \ + } \ + description { state: "left_rollback" 0.0; \ + inherit: "start_left" 0.0; \ + rel2.relative: 2 1; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "drag_part_left"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + relative: -999 0; \ + } \ + rel2 { \ + to_x: "drag_part"; \ + relative: 0 1; \ + offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + image { \ + normal: "b_list_swipe_left.#.png"; \ + } \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0242"; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0242"; \ + } \ + } \ + part { name: "drag_part_right"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "drag_part"; \ + relative: 1 0; \ + offset: -SWIPE_OVERLAP_SIZE 0; \ + } \ + rel2 { \ + relative: 999 1; \ + } \ + image { \ + normal: "b_list_swipe_right.#.png"; \ + } \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0241"; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0241"; \ + } \ + } \ + part { name: "swipe_temp_disabler"; \ + type: RECT; \ + scale:1; \ + repeat_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 0 0 0 0; \ + } \ + description { state: "enable" 0.0; \ + inherit: "default"; \ + visible: 1; \ + } \ + } \ + part { name: "elm.icon.swipe.left"; \ + type: SWALLOW; \ + clip_to: "elm.icon.swipe.clip"; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1 { \ + to_x: "elm.padding.left"; \ + relative: 1 0; \ + } \ + rel2 { \ + to_x: "elm.padding.right"; \ + relative: 1 1; \ + } \ + align: 0 0.5; \ + fixed: 1 1; \ + min: SWIPE_ICON_SIZE; \ + max: SWIPE_ICON_SIZE; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 250 250 250 255; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "right_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "left_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "elm.icon.swipe.right"; \ + type: SWALLOW; \ + clip_to: "elm.icon.swipe.clip"; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1 { \ + to_x: "elm.padding.right"; \ + relative: 0 0; \ + } \ + rel2 { \ + to_x: "elm.padding.right"; \ + relative: 0 1; \ + } \ + align: 1 0.5; \ + fixed: 1 1; \ + min: SWIPE_ICON_SIZE; \ + max: SWIPE_ICON_SIZE; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 250 250 250 255; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + } \ + description { state: "right_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "left_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "elm.icon.swipe.clip"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + color_class: "F071"; \ + } \ + } \ + part { name: "elm.text.swipe.left"; \ + type: TEXT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 0; \ + to_x: "elm.icon.swipe.left"; \ + } \ + visible: 0; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default"; \ + visible: 1; \ + align: 0.5 0.5; \ + color_class: "T025"; \ + text { \ + align: 0.5 0.5; \ + min: 0 1; \ + text_class: "T025"; \ + } \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + } \ + } \ + part { name: "elm.text.swipe.right"; \ + type: TEXT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel2 { \ + relative: 0 1; \ + to_x: "elm.icon.swipe.right"; \ + } \ + visible: 0; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + align: 0.5 0.5; \ + color_class: "T025"; \ + text { \ + align: 0.5 0.5; \ + min: 0 1; \ + text_class: "T025"; \ + text: "Call"; \ + } \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + } \ + } + +#define PARTS_LIST_SWIPE_RIGHT \ + part { name: "drag_part"; \ + type: RECT; \ + scale: 1; \ + repeat_events: 1; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ + rel2.offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + description { state: "disable" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + description { state: "right_end" 0.0; \ + inherit: "start_right"; \ + rel1.relative: 1 0; \ + } \ + description { state: "right_rollback" 0.0; \ + inherit: "start_right" 0.0; \ + rel1.relative: -1 0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "drag_part_left"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + relative: -999 0; \ + } \ + rel2 { \ + to_x: "drag_part"; \ + relative: 0 1; \ + offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + image { \ + normal: "b_list_swipe_left.#.png"; \ + } \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0242"; \ + } \ + } \ + part { name: "drag_part_right"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "drag_part"; \ + relative: 1 0; \ + offset: -SWIPE_OVERLAP_SIZE 0; \ + } \ + rel2 { \ + relative: 999 1; \ + } \ + image { \ + normal: "b_list_swipe_right.#.png"; \ + } \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + } \ + part { name: "swipe_temp_disabler"; \ + type: RECT; \ + scale:1; \ + repeat_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 0 0 0 0; \ + } \ + description { state: "enable" 0.0; \ + inherit: "default"; \ + visible: 1; \ + } \ + } \ + part { name: "elm.icon.swipe.right"; \ + type: SWALLOW; \ + clip_to: "elm.icon.swipe.clip"; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1 { \ + to_x: "elm.padding.right"; \ + relative: 0 0; \ + } \ + rel2 { \ + to_x: "elm.padding.right"; \ + relative: 0 1; \ + } \ + align: 1 0.5; \ + fixed: 1 1; \ + min: SWIPE_ICON_SIZE; \ + max: SWIPE_ICON_SIZE; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 250 250 250 255; \ + } \ + description { state: "right_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "elm.icon.swipe.clip"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + color_class: "F071"; \ + } \ + } \ + part { name: "elm.text.swipe.right"; \ + type: TEXT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel2 { \ + relative: 0 1; \ + to_x: "elm.icon.swipe.right"; \ + } \ + visible: 0; \ + } \ + description { state: "start_right" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + align: 0.5 0.5; \ + color_class: "T025"; \ + text { \ + align: 0.5 0.5; \ + min: 0 1; \ + text_class: "T025"; \ + text: "Call"; \ + } \ + } \ + } + +#define PARTS_LIST_SWIPE_LEFT \ + part { name: "drag_part"; \ + type: RECT; \ + scale: 1; \ + repeat_events: 1; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ + rel2.offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + description { state: "disable" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + description { state: "left_end" 0.0; \ + inherit: "start_left" 0.0; \ + rel2.relative: 0 1; \ + } \ + description { state: "left_rollback" 0.0; \ + inherit: "start_left" 0.0; \ + rel2.relative: 2 1; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "drag_part_left"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + relative: -999 0; \ + } \ + rel2 { \ + to_x: "drag_part"; \ + relative: 0 1; \ + offset: SWIPE_OVERLAP_SIZE 0; \ + } \ + image { \ + normal: "b_list_swipe_left.#.png"; \ + } \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B041P"; \ + } \ + } \ + part { name: "drag_part_right"; \ + type: IMAGE; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "drag_part"; \ + relative: 1 0; \ + offset: -SWIPE_OVERLAP_SIZE 0; \ + } \ + rel2 { \ + relative: 999 1; \ + } \ + image { \ + normal: "b_list_swipe_right.#.png"; \ + } \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + color_class: "B0241"; \ + } \ + } \ + part { name: "swipe_temp_disabler"; \ + type: RECT; \ + scale:1; \ + repeat_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 0 0 0 0; \ + } \ + description { state: "enable" 0.0; \ + inherit: "default"; \ + visible: 1; \ + } \ + } \ + part { name: "elm.icon.swipe.left"; \ + type: SWALLOW; \ + clip_to: "elm.icon.swipe.clip"; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1 { \ + to_x: "elm.padding.left"; \ + relative: 1 0; \ + } \ + rel2 { \ + to_x: "elm.padding.right"; \ + relative: 1 1; \ + } \ + align: 0 0.5; \ + fixed: 1 1; \ + min: SWIPE_ICON_SIZE; \ + max: SWIPE_ICON_SIZE; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 250 250 250 255; \ + } \ + description { state: "left_rollback" 0.0; \ + inherit: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "elm.icon.swipe.clip"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + color_class: "F071"; \ + } \ + } \ + part { name: "elm.text.swipe.left"; \ + type: TEXT; \ + scale: 1; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 0; \ + to_x: "elm.icon.swipe.left"; \ + } \ + visible: 0; \ + } \ + description { state: "start_left" 0.0; \ + inherit: "default"; \ + visible: 1; \ + align: 0.5 0.5; \ + color_class: "T025"; \ + text { \ + align: 0.5 0.5; \ + min: 0 1; \ + text_class: "T025"; \ + } \ + } \ + } \ + +#define PROGRAMS_LIST_SWIPE \ + program { name: "drag_up"; \ + signal: "mouse,up,1"; \ + source: "drag_part"; \ + script { \ + new x, y, w, h, ww, hh; \ + get_geometry(PART:"bg", x, y, ww, hh); \ + get_geometry(PART:"drag_part", x, y, w, h); \ + x = x + SWIPE_OVERLAP_SIZE; \ + if (get_int(_state) == 1) { \ + if (x >= (ww/2)) { \ + set_int(_state, 3); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + run_program(PROGRAM:"end_move_right"); \ + } else { \ + set_int(_state, 2); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + set_state(PART:"elm.text.swipe.right", "default", 0.0); \ + set_state(PART:"elm.text.swipe.left", "default", 0.0); \ + run_program(PROGRAM:"end_rollback_right"); \ + } \ + } else if (get_int(_state) == -1) { \ + if (-x >= (ww/2)) { \ + set_int(_state, -3); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + run_program(PROGRAM:"end_move_left"); \ + } else { \ + set_int(_state, -2); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + set_state(PART:"elm.text.swipe.right", "default", 0.0); \ + set_state(PART:"elm.text.swipe.left", "default", 0.0); \ + run_program(PROGRAM:"end_rollback_left"); \ + } \ + } else cleanup(); \ + } \ + } \ + program { name: "drag_down"; \ + signal: "mouse,down,1"; \ + source: "drag_part"; \ + script { \ + new x, y; \ + get_mouse(x, y); \ + set_int(_state, 0); \ + set_int(x1, x); \ + set_int(y1, y); \ + } \ + } \ + program { name: "drag"; \ + signal: "drag"; \ + source: "drag_part"; \ + script { \ + new x2, y2; \ + get_mouse(x2, y2); \ + if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ + ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ + return; \ + if (get_int(_state) == 0) { \ + if ((x2 - get_int(x1)) >= SWIPE_THRESH_X) { \ + emit("elm,swipe,start", ""); \ + set_int(_state, 1); \ + run_program(PROGRAM:"start_right"); \ + } else if ((x2 - get_int(x1)) <= -SWIPE_THRESH_X) { \ + emit("elm,swipe,start", ""); \ + set_int(_state, -1); \ + run_program(PROGRAM:"start_left"); \ + } \ + } else if (get_int(_state) == -1) { \ + if (x2 > get_int(x1)) { \ + set_int(_state, 1); \ + run_program(PROGRAM:"start_right"); \ + }\ + } else if (get_int(_state) == 1) { \ + if (x2 < get_int(x1)) { \ + set_int(_state, -1); \ + run_program(PROGRAM:"start_left"); \ + } \ + } \ + } \ + } \ + program { name: "start_right"; \ + action: STATE_SET "start_right" 0.0; \ + target: "elm.icon.swipe.right"; \ + target: "elm.icon.swipe.left"; \ + target: "elm.text.swipe.right"; \ + target: "elm.text.swipe.left"; \ + target: "drag_part"; \ + target: "drag_part_left"; \ + target: "drag_part_right"; \ + } \ + program { name: "start_left"; \ + action: STATE_SET "start_left" 0.0; \ + target: "elm.icon.swipe.right"; \ + target: "elm.icon.swipe.left"; \ + target: "elm.text.swipe.right"; \ + target: "elm.text.swipe.left"; \ + target: "drag_part"; \ + target: "drag_part_left"; \ + target: "drag_part_right"; \ + } \ + program { name: "end_move_right"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "right_end" 0.0; \ + target: "drag_part"; \ + after: "right_ender"; \ + } \ + program { name: "end_move_left"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "left_end" 0.0; \ + target: "drag_part"; \ + after: "left_ender"; \ + } \ + program { name: "end_rollback_right"; \ + action: STATE_SET "right_rollback" 0.0; \ + target: "elm.icon.swipe.right"; \ + target: "elm.icon.swipe.left"; \ + after: "end_rollback_right_transit"; \ + } \ + program { name: "end_rollback_right_transit"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "right_rollback" 0.0; \ + target: "drag_part"; \ + after: "rollback_ender"; \ + } \ + program { name: "end_rollback_left"; \ + action: STATE_SET "left_rollback" 0.0; \ + target: "elm.icon.swipe.right"; \ + target: "elm.icon.swipe.left"; \ + after: "end_rollback_left_transit"; \ + } \ + program { name: "end_rollback_left_transit"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "left_rollback" 0.0; \ + target: "drag_part"; \ + after: "rollback_ender"; \ + } \ + program { name: "right_ender"; \ + script { \ + emit("elm,swipe,stop,right", ""); \ + cleanup(); \ + } \ + } \ + program { name: "left_ender"; \ + script { \ + emit("elm,swipe,stop,left", ""); \ + cleanup(); \ + } \ + } \ + program { name: "rollback_ender"; \ + source: ""; \ + script { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + } \ + } \ + program { name: "swipe_revert"; \ + signal: "elm,swipe,revert"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + }\ + cleanup(); \ + } \ + } \ + program { name: "swipe_disable"; \ + signal: "elm,swipe,disabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "disable", 0.0); \ + } \ + } \ + program { name: "swipe_enable"; \ + signal: "elm,swipe,enabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "default", 0.0); \ + } \ + } \ + program { name: "swipe_default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_enable"); \ + } \ + } \ + program { name: "swipe_disable_state"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_disable"); \ + } \ + } \ + +#define PROGRAMS_LIST_SWIPE_RIGHT \ + program { name: "drag_up"; \ + signal: "mouse,up,1"; \ + source: "drag_part"; \ + script { \ + new x, y, w, h, ww, hh; \ + get_geometry(PART:"bg", x, y, ww, hh); \ + get_geometry(PART:"drag_part", x, y, w, h); \ + x = x + SWIPE_OVERLAP_SIZE; \ + if (get_int(_state) == 1) { \ + if (x >= (ww/2)) { \ + set_int(_state, 3); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + run_program(PROGRAM:"end_move_right"); \ + } else { \ + set_int(_state, 2); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + set_state(PART:"elm.text.swipe.right", "default", 0.0); \ + set_state(PART:"elm.text.swipe.left", "default", 0.0); \ + run_program(PROGRAM:"end_rollback_right"); \ + } \ + } else cleanup(); \ + } \ + } \ + program { name: "drag_down"; \ + signal: "mouse,down,1"; \ + source: "drag_part"; \ + script { \ + new x, y; \ + get_mouse(x, y); \ + set_int(_state, 0); \ + set_int(x1, x); \ + set_int(y1, y); \ + } \ + } \ + program { name: "drag"; \ + signal: "drag"; \ + source: "drag_part"; \ + script { \ + new x2, y2; \ + get_mouse(x2, y2); \ + if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ + ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ + return; \ + if (get_int(_state) == 0) { \ + if ((x2 - get_int(x1)) >= SWIPE_THRESH_X) { \ + emit("elm,swipe,start", ""); \ + set_int(_state, 1); \ + run_program(PROGRAM:"start_right"); \ + } \ + } \ + } \ + } \ + program { name: "start_right"; \ + action: STATE_SET "start_right" 0.0; \ + target: "elm.icon.swipe.right"; \ + target: "elm.text.swipe.right"; \ + target: "drag_part"; \ + target: "drag_part_left"; \ + target: "drag_part_right"; \ + } \ + program { name: "end_move_right"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "right_end" 0.0; \ + target: "drag_part"; \ + after: "right_ender"; \ + } \ + program { name: "end_rollback_right"; \ + action: STATE_SET "right_rollback" 0.0; \ + target: "elm.icon.swipe.right"; \ + after: "end_rollback_right_transit"; \ + } \ + program { name: "end_rollback_right_transit"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "right_rollback" 0.0; \ + target: "drag_part"; \ + after: "rollback_ender"; \ + } \ + program { name: "right_ender"; \ + script { \ + emit("elm,swipe,stop,right", ""); \ + cleanup(); \ + } \ + } \ + program { name: "rollback_ender"; \ + source: ""; \ + script { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + } \ + } \ + program { name: "swipe_revert"; \ + signal: "elm,swipe,revert"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + }\ + cleanup(); \ + } \ + } \ + program { name: "swipe_disable"; \ + signal: "elm,swipe,disabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "disable", 0.0); \ + } \ + } \ + program { name: "swipe_enable"; \ + signal: "elm,swipe,enabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "default", 0.0); \ + } \ + } \ + program { name: "swipe_default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_enable"); \ + } \ + } \ + program { name: "swipe_disable_state"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_disable"); \ + } \ + } \ + +#define PROGRAMS_LIST_SWIPE_LEFT \ + program { name: "drag_up"; \ + signal: "mouse,up,1"; \ + source: "drag_part"; \ + script { \ + new x, y, w, h, ww, hh; \ + get_geometry(PART:"bg", x, y, ww, hh); \ + get_geometry(PART:"drag_part", x, y, w, h); \ + x = x + SWIPE_OVERLAP_SIZE; \ + if (get_int(_state) == -1) { \ + if (-x >= (ww/2)) { \ + set_int(_state, -3); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + run_program(PROGRAM:"end_move_left"); \ + } else { \ + set_int(_state, -2); \ + set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ + set_state(PART:"elm.text.swipe.left", "default", 0.0); \ + run_program(PROGRAM:"end_rollback_left"); \ + } \ + } else cleanup(); \ + } \ + } \ + program { name: "drag_down"; \ + signal: "mouse,down,1"; \ + source: "drag_part"; \ + script { \ + new x, y; \ + get_mouse(x, y); \ + set_int(_state, 0); \ + set_int(x1, x); \ + set_int(y1, y); \ + } \ + } \ + program { name: "drag"; \ + signal: "drag"; \ + source: "drag_part"; \ + script { \ + new x2, y2; \ + get_mouse(x2, y2); \ + if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ + ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ + return; \ + if (get_int(_state) == 0) { \ + if ((x2 - get_int(x1)) <= -SWIPE_THRESH_X) { \ + emit("elm,swipe,start", ""); \ + set_int(_state, -1); \ + run_program(PROGRAM:"start_left"); \ + } \ + } \ + } \ + } \ + program { name: "start_left"; \ + action: STATE_SET "start_left" 0.0; \ + target: "elm.icon.swipe.left"; \ + target: "elm.text.swipe.left"; \ + target: "drag_part"; \ + target: "drag_part_left"; \ + } \ + program { name: "end_move_left"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "left_end" 0.0; \ + target: "drag_part"; \ + after: "left_ender"; \ + } \ + program { name: "end_rollback_left"; \ + action: STATE_SET "left_rollback" 0.0; \ + target: "elm.icon.swipe.left"; \ + after: "end_rollback_left_transit"; \ + } \ + program { name: "end_rollback_left_transit"; \ + transition: SWIPE_TRANSIT; \ + action: STATE_SET "left_rollback" 0.0; \ + target: "drag_part"; \ + after: "rollback_ender"; \ + } \ + program { name: "left_ender"; \ + script { \ + emit("elm,swipe,stop,left", ""); \ + cleanup(); \ + } \ + } \ + program { name: "rollback_ender"; \ + source: ""; \ + script { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + } \ + } \ + program { name: "swipe_revert"; \ + signal: "elm,swipe,revert"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + }\ + cleanup(); \ + } \ + } \ + program { name: "swipe_disable"; \ + signal: "elm,swipe,disabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "disable", 0.0); \ + } \ + } \ + program { name: "swipe_enable"; \ + signal: "elm,swipe,enabled"; \ + source: ""; \ + script { \ + if (get_int(_state) != 0) { \ + emit("elm,swipe,stop", ""); \ + cleanup(); \ + }\ + set_state(PART:"drag_part", "default", 0.0); \ + } \ + } \ + program { name: "swipe_default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_enable"); \ + } \ + } \ + program { name: "swipe_disable_state"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"swipe_disable"); \ + } \ + } \ + + + +#define SCRIPTS_LIST_SWEEP \ + script { \ + public dir_right; \ + } + +#define PARTS_LIST_SWEEP \ + PART(RECT, "bg.sweep",\ + description { state: "default" 0.0;\ + color_class: "B0232";\ + rel1.relative: -1.0 0.0;\ + rel2.relative: 0.0 1.0;\ + visible: 0;\ + }\ + description { state: "default_r" 0.0;\ + inherit: "default" 0.0;\ + rel1.relative: 1.0 0.0;\ + rel2.relative: 2.0 1.0;\ + visible: 0;\ + }\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + rel1.relative: 0.0 0.0;\ + rel2.relative: 1.0 1.0;\ + visible: 1;\ + }\ + )\ + PART(TEXTBLOCK, "elm.text.sweep",\ + description { state: "default" 0.0;\ + rel1.to_x: "bg.sweep";\ + rel2.to_x: "elm.divider.sweep.left.padding";\ + rel2.relative: 0.0 1.0;\ + PARAM_TEXT("list_sweep_style",)\ + visible: 0;\ + }\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + }\ + )\ + PART(SPACER, "elm.divider.sweep.left.padding",\ + DESC_R("elm.divider.sweep",\ + min: LIST_DIVIDER_PADDING_SIZE 0;\ + max: LIST_DIVIDER_PADDING_SIZE -1;\ + )\ + )\ + PART(SWALLOW, "elm.icon.sweep",\ + DESC_FROM_R(\ + min: BUTTON_DIVIDER_BTN_SIZE 0;\ + max: BUTTON_DIVIDER_BTN_SIZE -1;\ + rel1.to: "bg.sweep";\ + rel2.to: "bg.sweep";\ + visible: 0;\ + )\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + }\ + )\ + PART(RECT, "elm.divider.sweep",\ + DESC_R("elm.icon.sweep",\ + visible: 0;\ + align: 0.0 0.5;\ + min: 1 LIST_DIVIDER_HEIGHT;\ + max: 1 LIST_DIVIDER_HEIGHT;\ + color_class: "B0221L2"; \ + )\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + }\ + ) + +#define PROGRAMS_LIST_SWEEP \ + program { name: "sweep_default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0;\ + target: "bg.sweep";\ + target: "elm.icon.sweep";\ + target: "elm.text.sweep";\ + target: "elm.divider.sweep";\ + } \ + program { name: "sweep_right_show";\ + signal: "elm,state,sweep,right";\ + source: "";\ + script {\ + set_int(dir_right, 1);\ + set_state(PART:"bg.sweep", "default", 0.0);\ + run_program(PROGRAM:"sweep_show");\ + }\ + }\ + program { name: "sweep_left_show";\ + signal: "elm,state,sweep,left";\ + source: "";\ + script {\ + set_int(dir_right, 0);\ + set_state(PART:"bg.sweep", "default_r", 0.0);\ + run_program(PROGRAM:"sweep_show");\ + }\ + }\ + program { name: "sweep_show";\ + action: STATE_SET "visible" 0.0;\ + transition: DECELERATE 0.5;\ + target: "bg.sweep";\ + target: "elm.icon.sweep";\ + target: "elm.text.sweep";\ + target: "elm.divider.sweep";\ + }\ + program { name: "sweep_hide";\ + signal: "elm,state,sweep,hide";\ + source: "";\ + script {\ + if (get_int(dir_right)) {\ + run_program(PROGRAM:"sweep_left_hide");\ + } else {\ + run_program(PROGRAM:"sweep_right_hide");\ + }\ + }\ + }\ + program { name: "sweep_left_hide"; \ + action: STATE_SET "default" 0.0;\ + transition: DECELERATE 0.5;\ + target: "bg.sweep";\ + target: "elm.icon.sweep";\ + target: "elm.text.sweep";\ + target: "elm.divider.sweep";\ + }\ + program { name: "sweep_right_hide"; \ + action: STATE_SET "default_r" 0.0;\ + transition: DECELERATE 0.5;\ + target: "bg.sweep";\ + target: "elm.icon.sweep";\ + target: "elm.text.sweep";\ + target: "elm.divider.sweep";\ + } diff --git a/2.3-wearable/widgets/index.edc b/2.3-wearable/widgets/index.edc new file mode 100644 index 0000000..bc59044 --- /dev/null +++ b/2.3-wearable/widgets/index.edc @@ -0,0 +1,1109 @@ +/* + * 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. + */ + + group { name: "elm/index/base/vertical/default"; + script { + public timer_id, timer_flag, timer_id_2, timer_flag_2; + public index_hide_timer(val) { + if (get_int(timer_flag) == 1) + run_program(PROGRAM:"index0.hide"); + return 0; + } + } + images { + image: "b_fast_scroll_rollover_bg_line.png" COMP; + } + parts { + part { name: "clip"; + scale: 1; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + scale: 1; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.dragable.index.1"; + type: SPACER; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "elm.swallow.index.0"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: INDEX_SCROLL_DRAG_PART_SIZE; + rel1.to: "elm.swallow.index.0"; + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "elm.swallow.index.1.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + max:1 0; + visible: 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.to: "elm.swallow.index.0"; + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + description { state: "active" 0.0; + max:1 0; + visible: 1; + color_class: "B0722"; + } + } + part { name: "elm.swallow.index.1"; + type: SWALLOW; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.dragable.index.1"; + offset: -1 0; + } + rel2 { + to: "elm.dragable.index.1"; + offset: -1 0; + relative: 0.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "align_bottom" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "index.bottom.padding"; + } + rel2 { + relative: 0.0 1.0; + to: "index.bottom.padding"; + } + } + description { state: "align_top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.0; + rel1.to: "index.top.padding"; + rel2 { + relative: 0.0 0.0; + to: "index.top.padding"; + } + } + } + part { name: "index.top.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 0.0; + min: 0 INDEX_SCROLL_PADDING_SIZE; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 0.0; + } + } + } + part { name: "index.bottom.padding"; + type: SPACER; + scale: 1; + description { + align: 0.5 1.0; + min: 0 INDEX_SCROLL_PADDING_SIZE; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.index.0"; + relative: 0.0 1.0; + } + rel2 { + to_x: "elm.swallow.index.0"; + relative: 1.0 1.0; + } + } + } + part { name: "bg_index.0"; + type: RECT; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "index.top.padding"; + rel2.to: "index.bottom.padding"; + color_class: "B0722"; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "index.top.padding"; + relative: 1.0 1.0; + } + rel2 { + to_y: "index.bottom.padding"; + relative: 1.0 0.0; + } + } + } + part { name: "popup_bg"; + type: RECT; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + fixed: 1 1; + color_class: "B0731"; + min: INDEX_SCROLL_POPUP_SIZE; + max: INDEX_SCROLL_POPUP_SIZE; + rel2 { + relative: 0.0 1.0; + to: "elm.swallow.index.0"; + } + } + } + part { name: "popup_bg_line"; + scale: 1; + clip_to: "clip2"; + description { state: "deafult" 0.0; + rel1.to: "popup_bg"; + rel2.to: "popup_bg"; + color_class: "B151"; + image.normal: "b_fast_scroll_rollover_bg_line.png"; + } + } + part { + name: "align_prop"; + type: "SPACER"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + min: 1 0; + max: 1 -1; + fixed: 1 0; + rel1 { + to: "popup_bg"; + relative: 0.5 0.0; + } + rel2 { + to: "popup_bg"; + relative: 0.5 1.0; + } + } + } + part { + name: "elm.text.1"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + fixed: 1 1; + text.style: "Index_scroll_1depth_popup"; + text.min: 1 1; + align: 0.5 0.5; + rel1 { + to: "popup_bg"; + relative: 0.0 0.0; + } + rel2 { + to: "popup_bg"; + relative: 1.0 1.0; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + text.style: "Index_scroll_1depth_popup_left_align"; + text.min: 1 1; + rel1 { + to: "align_prop"; + relative: 1.0 0.0; + } + } + } + part { + name: "elm.text"; + type: "TEXTBLOCK"; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { + state: "default" 0.0; + fixed: 1 1; + text.style: "Index_scroll_bar_2depth_popup"; + text.min: 1 1; + visible: 0; + align: 1.0 0.5; + rel1.to: "align_prop"; + rel2 { + to: "align_prop"; + relative: 0.0 1.0; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1.to: "elm.swallow.index.0"; + rel2.to: "elm.swallow.index.0"; + } + } + part { name: "elm.swallow.event.1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1.to: "elm.swallow.index.1"; + rel2.to: "elm.swallow.index.1"; + } + } + part { + name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "elm.swallow.index.0"; + offset: -3 0; + } + rel2.to: "elm.swallow.index.0"; + color: 0 0 0 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + run_program(PROGRAM:"initial.index0.active"); + } + } + program { name: "drag2"; + signal: "drag,set"; + source: "elm.dragable.index.1"; + script { + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + custom_state(PART:"elm.dragable.index.1", "default", 0.0); + set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); + } + } + program { name: "initial.index0.active"; + action: STATE_SET "active" 0.0; + target: "clip"; + after: "index0.inactive"; + } + program { name: "index0.active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip"; + after: "disable_timer"; + } + program { name: "index0.inactive"; + signal: "elm,state,inactive"; + source: "elm"; + script { + new v; + v = get_int(timer_id); + if (v > 0) cancel_timer(v); + run_program(PROGRAM:"enable_timer"); + v = timer(2.0, "index_hide_timer", 0); + set_int(timer_id, v); + } + } + program { name: "index1.inactive"; + signal: "elm,state,level,0"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.index.1"; + target: "elm.text.1"; + target: "elm.text"; + target: "elm.swallow.index.1.padding.right"; + } + program { name: "index1.active"; + signal: "elm,state,level,1"; + source: "elm"; + script { + new x1, x2, y1, y2, w1, w2, h1, h2; + new Float:dx; + new Float:dy; + get_drag(PART:"elm.dragable.index.1", dx, dy); + get_geometry(PART:"elm.swallow.index.1", x1, y1, w1, h1); + get_geometry(PART:"clip", x2, y2, w2, h2); + if ((y1+h1) > (y2+h2)) { + set_state(PART:"elm.swallow.index.1", "align_bottom", 0.0); + } + else if (dy < 0.1) { + set_state(PART:"elm.swallow.index.1", "align_top", 0.0); + } + else { + set_state(PART:"elm.swallow.index.1", "active", 0.0); + } + set_state(PART:"clip2", "active", 0.0); + set_state(PART:"elm.swallow.index.1.padding.right", "active", 0.0); + } + } + program { name: "index1.text"; + signal: "index1.text.enable"; + source: ""; + action: STATE_SET "active" 0.0; + target: "elm.text.1"; + target: "elm.text"; + } + program { name: "index0.hide"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "clip"; + } + program { name: "index.active"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "clip2"; + } + program { name: "index.inactive"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "clip2"; + } + program { name: "event.inactive"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.up"; + signal: "elm,priority,up"; + source: "elm"; + action: STATE_SET "up" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.down"; + } + program { name: "index.go.down"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.inactive2"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "elm.swallow.event.0"; + } + program { name: "index.down"; + signal: "elm,priority,down"; + source: "elm"; + action: STATE_SET "down" 0.0; + target: "elm.swallow.index.0"; + after: "index.go.up"; + } + program { name: "index.go.up"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3; + target: "elm.swallow.index.0"; + after: "event.active"; + } + program { name: "event.active"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.event.0"; + } + program { + name: "access.active"; + signal: "elm,access,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { + name: "access.inactive"; + signal: "elm,access,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "disable_timer"; + script { + set_int(timer_flag, 0); + } + } + program { name: "enable_timer"; + script { + set_int(timer_flag, 1); + } + } + program { name: "disable_timer_2"; + script { + set_int(timer_flag_2, 0); + } + } + program { name: "enable_timer_2"; + script { + set_int(timer_flag_2, 1); + } + } + } + } + + group { name: "elm/index/item1/vertical/default"; + alias: "elm/index/item1_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "b_index_scroll_press_bg_line.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: INDEX_SCROLL_HANDLE_ITEM_WIDTH INDEX_SCROLL_HANDLE_ITEM_HEIGHT; + color_class: "B0722"; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color_class: "B0724"; + } + } + part { name: "bg_divider_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2 {to: "bg"; relative: 0.0 1.0;} + fixed: 1 0; + min: INDEX_SCROLL_DIVIDER_WIDTH_INC 0; + max: INDEX_SCROLL_DIVIDER_WIDTH_INC -1; + color_class: "B171"; + align: 0.0 0.5; + } + description { state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bg_press_line"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "focus.top.pad"; + rel2.to: "focus.bottom.pad"; + image.normal: "b_index_scroll_press_bg_line.png"; + color_class: "B171"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "divider"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 INDEX_DIVIDER_WIDTH_INC; + fixed: 1 1; + rel1.relative: 0.0 1.0; + color_class: "B0725"; + } + description { + state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "focus.top.pad"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 0 1; + rel2.relative: 1.0 0.0; + } + } + part { name: "focus.bottom.pad"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + align: 0.5 0.5; + state: "default" 0.0; + text.style: "Index_scroll_bar_unselect"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + text.style: "Index_scroll_bar_select"; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "bg"; + target: "bg_press_line"; + after: "divider.inactive"; + } + program { name: "divider.inactive"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + target: "bg_divider_line"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + target: "bg"; + target: "bg_press_line"; + after: "divider.active"; + } + program { name: "divider.active"; + action: STATE_SET "default" 0.0; + target: "divider"; + target: "bg_divider_line"; + } + program { + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + } + } + } + + group { name: "elm/index/item2/vertical/default"; + alias: "elm/index/item2_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: INDEX_SCROLL_HANDLE_ITEM_WIDTH INDEX_SCROLL_HANDLE_ITEM_HEIGHT; + color_class: "B0723"; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + } + } + part { name: "bg_divider_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2 {to: "bg"; relative: 0.0 1.0;} + fixed: 1 0; + min: INDEX_SCROLL_DIVIDER_WIDTH_INC 0; + max: INDEX_SCROLL_DIVIDER_WIDTH_INC -1; + color_class: "B171"; + align: 0.0 0.5; + } + description { state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "divider"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 INDEX_DIVIDER_WIDTH_INC; + fixed: 1 1; + rel1.relative: 0.0 1.0; + color_class: "B0725"; + } + description { + state: "inactive" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + align: 0.5 0.5; + state: "default" 0.0; + text.style: "Index_scroll_bar_unselect"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + text.style: "Index_scroll_bar_2depth_focus_bar"; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.0; + target: "elm.text"; + } + program { + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "inactive" 0.0; + target: "divider"; + } + } + } + + group { + name: "elm/index/base/vertical/tab"; + alias: "elm/index/base/horizontal/tab"; + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + description { state: "active" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { + state: "default" 0.0; + min: 0 INDEX_TAB_HEIGHT; + max: -1 INDEX_TAB_HEIGHT; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.5; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + } + } + group { + name: "elm/index/item/vertical/tab"; + alias: "elm/index/item_odd/vertical/tab"; + alias: "elm/index/item/horizontal/tab"; + alias: "elm/index/item_odd/horizontal/tab"; + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "indicator1"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color_class: "B0514"; + rel1 { + to_x: "left_padding"; + relative: 1 0; + } + rel2 { + to_x: "right_padding"; + relative: 0 1; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.offset: 1 0; + rel2.offset: -1 0; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: INDEX_TAB_PADDING_SIZE 0; + max: INDEX_TAB_PADDING_SIZE -1; + rel2.relative: 0 1; + } + description { state: "first" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 -1; + } + description { state: "last" 0.0; + inherit: "default" 0.0; + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 0; + min: INDEX_TAB_PADDING_SIZE 0; + max: INDEX_TAB_PADDING_SIZE -1; + rel1.relative: 1 0; + } + description { state: "first" 0.0; + inherit: "default" 0.0; + } + description { state: "last" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 -1; + } + } + part { name: "indicator2"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color_class: "B0514P1"; + visible: 0; + rel1 { + to_x: "left_padding"; + relative: 1 0; + } + rel2 { + to_x: "right_padding"; + relative: 0 1; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + } + program { name: "first"; + signal: "elm,first,item"; + source: "elm"; + action: STATE_SET "first" 0.0; + target: "left_padding"; + target: "right_padding"; + } + program { name: "last"; + signal: "elm,last,item"; + source: "elm"; + action: STATE_SET "last" 0.0; + target: "left_padding"; + target: "right_padding"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + } + } + } + + group { + name: "elm/index/base/vertical/thumbnail"; + alias: "elm/index/base/horizontal/thumbnail"; + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + description { state: "active" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + fixed: 1 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + } + } + group { + name: "elm/index/item/vertical/thumbnail"; + alias: "elm/index/item_odd/vertical/thumbnail"; + alias: "elm/index/item/horizontal/thumbnail"; + alias: "elm/index/item_odd/horizontal/thumbnail"; + images { + image: "indicator_on_normal.png" COMP; + image: "indicator_on_focused.png" COMP; + image: "indicator_on_normal_ef.png" COMP; + image: "indicator_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_BG_SIZE; + max: INDEX_THUMBNAIL_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_IND_SIZE; + max: INDEX_THUMBNAIL_IND_SIZE; + image.normal: "indicator_on_normal.png"; + color_class: "W1912"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_IND_SIZE; + max: INDEX_THUMBNAIL_IND_SIZE; + image.normal: "indicator_on_focused.png"; + color_class: "W1911"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator1_effect"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "indicator1"; + rel2.to: "indicator1"; + fixed: 1 1; + image.normal: "indicator_on_normal_ef.png"; + color_class: "W222"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_effect"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "indicator2"; + rel2.to: "indicator2"; + fixed: 1 1; + image.normal: "indicator_on_focused_ef.png"; + color_class: "W221"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_effect"; + target: "indicator2_effect"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_effect"; + target: "indicator2_effect"; + } + } + } diff --git a/2.3-wearable/widgets/label.edc b/2.3-wearable/widgets/label.edc new file mode 100644 index 0000000..816c5ce --- /dev/null +++ b/2.3-wearable/widgets/label.edc @@ -0,0 +1,888 @@ +/* + * 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. + */ + +#define SLIDE_SPEED_WEIGHT 0.5 +#define SLIDE_TEXT_GAP 60 + + styles { + style { name: "textblock_style"; + base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color=#ffffff color_class=T122 text_class=T122"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + /* label doesn't use it */ + style { name: "textblock_charwrap_style"; +base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color=#ffffff color_class=T122 text_class=T122"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + + group { name: "elm/label/base/default"; + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap_ellipsis/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "charwrap_mode" 0.0; + // FIXME : fixed for multiline ellipsis. + // does it need to make another ellipsis style? + fixed: 0 1; + text { + style: "textblock_charwrap_style"; + min: 0 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "default_on"; + signal: "elm,state,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "charwrap_on"; + signal: "elm,state,charwrap"; + source: "elm"; + action: STATE_SET "charwrap_mode" 0.0; + target: "elm.text"; + } + } // end programs + } // end group + + group { name: "elm/label/base/marker"; + styles { + style { name: "textblock_style2"; + base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ color=#ffff"; + tag: "b" "+ color=#ffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + /* default label doesn't use it */ + group { name: "elm/label/base_wrap/marker"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + } + + /* actionbar title textblock */ + group { name: "elm/label/base/actionbar_title"; + images { + image: "tw_action_text_fadeout_left_holo_dark.png" COMP; + image: "tw_action_text_fadeout_right_holo_dark.png" COMP; + } + script { + public g_mirrored = 0; //Mirrored on/off status + + public title_text_fade_out() { + new x, y, w, h, w2; + get_geometry(PART:"elm.text", x, y, w, h); + get_geometry(PART:"base", x, y, w2, h); + + if (w > w2) { + if (g_mirrored) + set_state(PART:"title_text_fade_out_effect_right", "show_mirrored", 0.0); + else + set_state(PART:"title_text_fade_out_effect_right", "show", 0.0); + } + else + set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); + } + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "action_bar_title"; + } + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "title_text_fade_out_effect_right"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + align: 1.0 0.5; + fixed: 1 0; + visible: 0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 0.0 1.0; to: "base"; } + color_class: "B0511"; + image.normal: "tw_action_text_fadeout_right_holo_dark.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + visible: 1; + } + description { state: "show_mirrored" 0.0; + inherit: "default" 0.0; + min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + visible: 1; + image.normal: "tw_action_text_fadeout_left_holo_dark.png"; + } + } + } + programs { + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(g_mirrored, 1); + title_text_fade_out(); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(g_mirrored, 0); + title_text_fade_out(); + } + } + } + } + + group { name: "elm/label/base/slide_long"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_roll"; + script { + public g_duration = 0; + public g_stopslide = 0; + public g_timer_id = 0; + public g_anim_id = 0; + public g_tb_w = 0; + public g_tb_h = 0; + public org_text = 0; + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public get_tb_width() { + new x, y, w, h; + set_state(PART:"elm.text", "no_ellipsis", 0.0); + get_geometry(PART:"elm.text", x, y, w, h); + set_int(g_tb_w, w); + set_int(g_tb_h, h); + set_state(PART:"text_clip", "default", 0.0); + get_geometry(PART:"text_clip", x, y, w, h); + set_int(org_text, w); + } + public slide_to_end_anim(val, Float:pos) { + if (get_int(g_stopslide)) return; + set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); + set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + public slide_to_end() { + if (get_int(g_stopslide)) return; + set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); + } + public start_slide(val) { + new Float:len; + new buf[1024]; + set_int(g_stopslide, 0); + get_tb_width(); + if (!get_float(g_duration)) { + len = get_int(g_tb_w) + SLIDE_TEXT_GAP; + set_float(g_duration, len / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); + } + if(get_int(g_tb_w) > get_int(org_text)) { + set_state(PART:"elm.text.slide", "slide_begin", 0.0); + set_state(PART:"elm.text.slide2", "slide_begin", 0.0); + get_text(PART:"elm.text", buf, 1024); + set_text(PART:"elm.text.slide", buf); + set_text(PART:"elm.text.slide2", buf); + set_state(PART:"text_clip", "hide", 0.0); + set_state(PART:"slide_text_clip", "show", 0.0); + slide_to_end(); + } + } + public stop_slide() { + new slide_start_timer; + new slide_anim_id; + set_int(g_stopslide, 1); + slide_start_timer = get_int(g_timer_id); + if (slide_start_timer) { + cancel_timer(slide_start_timer); + set_int(g_timer_id, 0); + } + slide_anim_id = get_int(g_anim_id); + if (slide_anim_id) { + cancel_anim(slide_anim_id); + set_int(g_anim_id, 0); + } + set_text(PART:"elm.text.slide", ""); + set_text(PART:"elm.text.slide2", ""); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text.slide", "default", 0.0); + set_state(PART:"elm.text.slide2", "default", 0.0); + set_state(PART:"text_clip", "default", 0.0); + set_state(PART:"slide_text_clip", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "no_ellipsis" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + } + part { name: "slide_text_clip"; + type: RECT; + mouse_events: 0; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "slide_text_gap"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.text.slide"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 0 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + text.min: 1 1; + text.align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } + rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } + } + } + part { name: "slide_text_gap2"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: SLIDE_TEXT_GAP 0; + max: SLIDE_TEXT_GAP -1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2 { relative: 1.0 1.0; to: "elm.text"; } + } + } + part { name: "elm.text.slide2"; + type: TEXTBLOCK; + scale: 1; + clip_to: "slide_text_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + text { + style: "textblock_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } + rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + run_program(PROGRAM:"stop_slide"); + set_int(g_timer_id, timer(1.5, "start_slide", 0)); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + group { name: "elm/label/base/slide_short"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } + + group { name: "elm/label/base/slide_bounce"; + script { + public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if (type == MSG_FLOAT_SET) { + new Float:duration; + duration = getfarg(2); + if (id == 0) + set_float(g_duration, duration); + else + set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + } + public slide_to_begin() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_begin_anim", 1); + set_int(g_anim_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script { + stop_slide(); + } + } + } + } diff --git a/2.3-wearable/widgets/layout.edc b/2.3-wearable/widgets/layout.edc new file mode 100644 index 0000000..8a19e6e --- /dev/null +++ b/2.3-wearable/widgets/layout.edc @@ -0,0 +1,1292 @@ +/* + * 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. + */ + + /*************************************************/ + /* elm_layout -> fundamental template style */ + /*************************************************/ + group { name: "elm/layout/application/default"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + } + } + + + /************************************************************/ + /* elm_layout -> fundamental template style with fastscroll */ + /************************************************************/ + group { name: "elm/layout/application/fastscroll"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "right.padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 1 0; + min: INDEX_SCROLL_HANDLE_ITEM_WIDTH 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_x: "right.padding"; + relative: 0.0 1.0; + } + } + description { state: "hide" 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + } + } + part { + name: "elm.swallow.fastscroll"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; } + description { state: "hide" 0.0; + visible: 0; + } + } + } + programs { + program { + name: "hide"; + signal: "elm,state,fastscroll,hide"; + source: ""; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + program { + name: "show"; + signal: "elm,state,fastscroll,show"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "elm.swallow.fastscroll"; + } + } + } + + group { name: "elm/layout/nocontents/default"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: NOITEM_LR_PADDING_SIZE 0; + max: NOITEM_LR_PADDING_SIZE -1; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 0.0 0.0; + } + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: NOITEM_LR_PADDING_SIZE 0; + max: NOITEM_LR_PADDING_SIZE -1; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 0.0; + } + } + } + part { name: "fake_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 (NOITEM_IMAGE_SIZE+NOITEM_IMAGE_PADDING_HEIGHT); + max: -1 (NOITEM_IMAGE_SIZE+NOITEM_IMAGE_PADDING_HEIGHT); + rel2.relative: 1.0 0.0; + fixed: 0 1; + align: 0.5 0.0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clip"; + description { state: "default" 0.0; + min: NOITEM_IMAGE_SIZE NOITEM_IMAGE_SIZE; + max: NOITEM_IMAGE_SIZE NOITEM_IMAGE_SIZE; + rel1.to: "image_bottom_padding"; + rel2 { + to: "image_bottom_padding"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.5 1.0; + } + } + part { name: "icon_clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color: 255 255 255 153; + } + } + part { name: "image_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NOITEM_IMAGE_PADDING_HEIGHT; + max: -1 NOITEM_IMAGE_PADDING_HEIGHT; + rel1.to: "elm.text"; + rel2 { + to: "elm.text"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.5 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "left_padding"; + relative: 1.0 0.5; + } + rel2 { + to_x: "right_padding"; + relative: 0.0 0.5; + } + text { + style: "nocontent_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "image_visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "left_padding"; + to_y: "fake_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "right_padding"; + to_y: "bg"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + } + programs { + program { name: "image_hidden"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "image_visible"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "image_visible" 0.0; + target: "elm.text"; + } + } + } + +group { name: "elm/layout/nocontents_button/default"; + inherit: "elm/layout/nocontents/default"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: NOITEM_LR_PADDING_SIZE 0; + max: NOITEM_LR_PADDING_SIZE -1; + fixed: 1 1; + align: 0.0 0.0; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: NOITEM_LR_PADDING_SIZE 0; + max: NOITEM_LR_PADDING_SIZE -1; + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "fake_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 (NOITEM_IMAGE_SIZE+NOITEM_IMAGE_PADDING_HEIGHT); + max: -1 (NOITEM_IMAGE_SIZE+NOITEM_IMAGE_PADDING_HEIGHT); + rel2.relative: 1.0 0.0; + fixed: 0 1; + align: 0.5 0.0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "icon_clip"; + description { state: "default" 0.0; + min: NOITEM_IMAGE_SIZE NOITEM_IMAGE_SIZE; + max: NOITEM_IMAGE_SIZE NOITEM_IMAGE_SIZE; + rel1.to: "image_bottom_padding"; + rel2 { + to: "image_bottom_padding"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.5 1.0; + } + } + part { name: "icon_clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + color: 255 255 255 153; + } + } + part { name: "image_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 NOITEM_IMAGE_PADDING_HEIGHT; + max: -1 NOITEM_IMAGE_PADDING_HEIGHT; + rel1.to: "elm.text"; + rel2 { + to: "elm.text"; + relative: 1.0 0.0; + } + fixed: 0 1; + align: 0.5 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + description { state: "default" 0.0; + rel1 { + to_x: "left_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "right_padding"; + to_y: "elm.icon"; + relative: 0.0 0.0; + } + text { + style: "nocontent_style"; + min: 0 1; + max: 0 1; + } + } + description { state: "image_visible" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "left_padding"; + to_y: "fake_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "right_padding"; + to_y: "elm.icon"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_y: "elm.icon"; + relative: 1 0; + } + } + } + part { name: "elm.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { name: "image_hidden"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "image_visible"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "image_visible" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/layout/button_controller/default"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "lt_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_PADDING_LT_SIZE; + max: BUTTON_CONTROLLER_PADDING_LT_SIZE; + fixed: 1 1; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "rb_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_PADDING_RB_SIZE; + max: BUTTON_CONTROLLER_PADDING_RB_SIZE; + fixed: 1 1; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + } + } + part { name: "elm.icon.center"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_CENTER_SIZE; + max: BUTTON_CONTROLLER_ICON_CENTER_SIZE; + fixed: 1 1; + } + } + part { name: "elm.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_SIZE; + max: BUTTON_CONTROLLER_ICON_SIZE; + fixed: 1 1; + } + } + part { name: "elm.icon.left"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_SIZE; + max: BUTTON_CONTROLLER_ICON_SIZE; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + to_x: "lt_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.icon.center"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.icon.right"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_SIZE; + max: BUTTON_CONTROLLER_ICON_SIZE; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + to_x: "elm.icon.center"; + relative: 1.0 0.0; + } + rel2 { + to_x: "rb_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.icon.top"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_SIZE; + max: BUTTON_CONTROLLER_ICON_SIZE; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + to_y: "lt_padding"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.icon.center"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.icon.bottom"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: BUTTON_CONTROLLER_ICON_SIZE; + max: BUTTON_CONTROLLER_ICON_SIZE; + fixed: 1 1; + align: 0.5 0.5; + rel1 { + to_y: "elm.icon.center"; + relative: 1.0 1.0; + } + rel2 { + to_y: "rb_padding"; + relative: 0.0 0.0; + } + } + } + } +} + +group { name: "elm/layout/full_toggle/default"; + styles{ + style { name: "full_toggle_style"; + base: "font=Tizen:style=Regular font_size="38" align=center color=""#FFFFFF"" wrap=mixed ellipsis=1.0 text_class=tizen"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 58; + max: -1 58; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 30 0; + max: 30 -1; + fixed: 1 0; + align: 0.0 0.5; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 30 0; + max: 30 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: 260 0; + max: 260 -1; + fixed: 1 0; + rel1 { + to_x: "left_padding"; + to_y: "top_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "right_padding"; + to_y: "elm.icon"; + relative: 0.0 0.0; + } + text { + style: "full_toggle_style"; + min: 0 1; + } + } + } + part { name: "elm.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 168 74; + max: 168 74; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to_y: "bottom_padding"; + relative: 0.0 0.0; + } + rel2 { + to_y: "bottom_padding"; + relative: 1.0 0.0; + } + } + } + } +} + +group { name: "elm/layout/body_thumbnail/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: BODY_THUMBNAIL_LAYOUT_SIZE; + max: BODY_THUMBNAIL_LAYOUT_SIZE; + color_class: "W131"; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 0.0; + min: 0 BODY_THUMBNAIL_PADDING_TOP_SIZE; + max: -1 BODY_THUMBNAIL_PADDING_TOP_SIZE; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BODY_THUMBNAIL_PADDING_LEFT_SIZE 0; + max: BODY_THUMBNAIL_PADDING_LEFT_SIZE -1; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BODY_THUMBNAIL_PADDING_RIGHT_SIZE 0; + max: BODY_THUMBNAIL_PADDING_RIGHT_SIZE -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "left_padding"; + to_y: "top_padding"; + relative: 1.0 1.0; + } + rel2 { + to_x: "right_padding"; + to_y: "top_padding"; + relative: 0.0 1.0; + } + align: 0.5 0.0; + min: BODY_THUMBNAIL_SIZE; + max: BODY_THUMBNAIL_SIZE; + fixed: 1 1; + } + } + part { name: "left_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + min: BODY_THUMBNAIL_LINE_SIZE 0; + max: BODY_THUMBNAIL_LINE_SIZE -1; + color_class: "W132"; + rel1.to: "elm.icon"; + rel2.to: "elm.icon"; + rel2.relative: 0.0 1.0; + } + description { state: "unfocus" 0.0; + inherit: "default" 0.0; + color_class: "W132D"; + } + } + part { name: "right_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + min: BODY_THUMBNAIL_LINE_SIZE 0; + max: BODY_THUMBNAIL_LINE_SIZE -1; + color_class: "W132"; + rel1.to: "elm.icon"; + rel1.relative: 1.0 0.0; + rel2.to: "elm.icon"; + } + description { state: "unfocus" 0.0; + inherit: "default" 0.0; + color_class: "W132D"; + } + } + part { name: "top_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 BODY_THUMBNAIL_LINE_SIZE; + max: -1 BODY_THUMBNAIL_LINE_SIZE; + color_class: "W132"; + rel1.to: "left_line"; + rel1.relative: 1.0 0.0; + rel2.to: "right_line"; + rel2.relative: 0.0 0.0; + } + description { state: "unfocus" 0.0; + inherit: "default" 0.0; + color_class: "W132D"; + } + } + part { name: "bottom_line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 BODY_THUMBNAIL_LINE_SIZE; + max: -1 BODY_THUMBNAIL_LINE_SIZE; + color_class: "W132"; + rel1.to: "left_line"; + rel1.relative: 1.0 1.0; + rel2.to: "right_line"; + rel2.relative: 0.0 1.0; + } + description { state: "unfocus" 0.0; + inherit: "default" 0.0; + color_class: "W132D"; + } + } + part { name: "center_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 BODY_THUMBNAIL_PADDING_CENTER_SIZE; + max: -1 BODY_THUMBNAIL_PADDING_CENTER_SIZE; + rel1.to: "bottom_line"; + rel1.relative: 0.0 1.0; + rel2.to: "bottom_line"; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: 0 BODY_THUMBNAIL_1LINE_TEXT_HEIGHT; + max: -1 BODY_THUMBNAIL_1LINE_TEXT_HEIGHT; + align: 0.5 0.0; + rel1 { + to_x: "bg"; + to_y: "center_padding"; + relative: 0.0 1.0; + } + rel2 { + to_x: "bg"; + to_y: "center_padding"; + relative: 1.0 1.0; + } + text { + style: "body_thumbnail_1line_style"; + min: 0 1; + } + } + } + } + programs { + program { + name: "focus"; + signal: "elm,state,thumbnail,focus"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "left_line"; + target: "right_line"; + target: "top_line"; + target: "bottom_line"; + } + program { + name: "unfocus"; + signal: "elm,state,thumbnail,unfocus"; + source: "*"; + action: STATE_SET "unfocus" 0.0; + target: "left_line"; + target: "right_line"; + target: "top_line"; + target: "bottom_line"; + } + } +} + + /*************************************************/ + /* elm_layout -> searchbar style */ + /*************************************************/ + group { name: "elm/layout/application/searchbar_base"; + parts { + part { name: "elm.swallow.bg"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "searchbar"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_H_INC; + fixed: 0 1; + align: 0.0 1.0; + rel2 { + relative: 1.0 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "searchbar"; + } + } + } + } + programs { + program { name: "show_searchbar"; + signal: "elm,state,show,searchbar"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "searchbar"; + } + program { name: "show_searchbar_with_animation"; + signal: "elm,state,show,searchbar,animation"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "searchbar"; + } + program { name: "hide_searchbar"; + signal: "elm,state,hide,searchbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "searchbar"; + } + program { name: "hide_searchbar_with_animation"; + signal: "elm,state,hide,searchbar,animation"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.3; + target: "searchbar"; + } + } + } + +group { name: "elm/layout/searchbar/default"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "B081"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "inputfield_base"; } + rel2 { relative: 0.0 0.0; to: "inputfield_base"; } + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 1 1; + align: 1.0 1.0; + rel1 { relative: 1.0 1.0; to: "inputfield_base"; } + rel2 { relative: 1.0 1.0; to: "inputfield_base"; } + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + align: 0.0 0.5; + rel1 { relative: 1.0 1.0; to: "top_left_padding"; } + rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; } + color: 0 0 0 0; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + +group { name: "elm/layout/searchbar/cancel_button"; + script { + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 1; + color_class: "B081"; + } + } + part { name: "inputfield_base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BASE_HEIGHT_INC; + align: 0.0 0.0; + } + } + part { name: "top_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_TOP_PADDING_INC; + fixed: 0 1; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 1.0 0.0; + } + } + part { name: "bottom_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_BOTTOM_PADDING_INC; + fixed: 0 1; + align: 0 1; + rel1.to: "inputfield_base"; + rel1.relative: 0.0 1.0; + rel2.to: "inputfield_base"; + } + } + part { name: "base_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SEARCHBAR_HEIGHT_INC; + align: 0 0.5; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to: "top_padding_rect"; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_padding_rect"; + } + } + } + part { name: "left_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_LEFT_PADDING_INC 0; + fixed: 1 0; + align: 0 0; + rel1.to: "inputfield_base"; + rel2.to: "inputfield_base"; + rel2.relative: 0.0 1.0; + } + } + part { name: "right_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SEARCHBAR_RIGHT_PADDING_INC 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.to: "inputfield_base"; + rel1.relative: 1.0 0.0; + rel2.to: "inputfield_base"; + } + } + part { name: "inputfield_rect"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative: 1.0 0.0; + to_x: "left_padding_rect"; + to_y: "base_bg"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_btn_padding_rect"; + to_y: "base_bg"; + } + color: 0 0 0 0; + } + } + part { name: "right_btn_padding_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "right_padding_rect"; + rel2.relative: 0.0 1.0; + rel2.to: "right_padding_rect"; + } + description { state: "in" 0.0; + inherit: "default" 0.0; + min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0; + rel1.to: "button_cancel"; + rel2.to: "button_cancel"; + } + } + part { name: "button_cancel"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SEARCHBAR_CANCEL_BUTTON_W_INC 0; + align: 1.0 0.5; + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding_rect"; + to_y: "top_padding_rect"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding_rect"; + to_y: "bottom_padding_rect"; + } + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; + rel1 { + relative : 0.0 0.0; + to: "inputfield_rect"; + } + rel2 { + relative : 1.0 1.0; + to: "inputfield_rect"; + } + align: 0.0 0.5; + } + } + } + programs { + program { + name: "sound_play"; + signal: "mouse,clicked,1"; + source: "elm.text"; + script { + if (get_int(multi_down) == 0) + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { + name: "bg_clicked"; + signal: "mouse,clicked,1"; + source: "inputfield_rect"; + script { + if (get_int(multi_down) == 0) + emit("elm,bg,clicked", "elm"); + } + } + program { + name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { + name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "cancel_in"; + signal: "cancel,in"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_out"; + signal: "cancel,out"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + transition: LINEAR 0.3; + } + program { name: "cancel_show"; + signal: "cancel,show"; + source: ""; + action: STATE_SET "in" 0.0; + target: "right_btn_padding_rect"; + } + program { name: "cancel_hide"; + signal: "cancel,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "right_btn_padding_rect"; + } + } +} diff --git a/2.3-wearable/widgets/naviframe.edc b/2.3-wearable/widgets/naviframe.edc new file mode 100644 index 0000000..15ed5e5 --- /dev/null +++ b/2.3-wearable/widgets/naviframe.edc @@ -0,0 +1,1009 @@ +/* + * 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. + */ + +#define NAVIFRAME_VIEW_ZOOM_TRANS_TIME 0.25 //Zoom time for push and pop +#define NAVIFRAME_VIEW_SLIDE_TRANS_TIME 0.2 //Sliding time for push and pop +#define NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 0.05 //Sliding prepare time for pop +#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time +#define NAVIFRAME_HIDDEN_BTN_TRANS_TIME 0.5 //Hidden Button transition time +#define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time + +group { name: "elm/naviframe/base/default"; + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/naviframe/item/basic/default"; + data.item: "tizen_zoom" 1; + images { + image: "tw_action_text_fadeout_left_holo_dark.png" COMP; + image: "tw_action_text_fadeout_right_holo_dark.png" COMP; + } + script { + public g_mirrored = 0; //Mirrored on/off status + public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer + + public title_text_fade_out() { + new x, y, w, h, w2; + + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_bg", x, y, w2, h); + + if (w > w2) { + if (get_int(g_mirrored)) + set_state(PART:"title_text_fade_out_effect_right", "show_mirrored", 0.0); + else + set_state(PART:"title_text_fade_out_effect_right", "show", 0.0); + } + else + set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); + } + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "down" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + part { name: "hidden_btn"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 HIDDEN_BUTTON_HEIGHT; + max: -1 HIDDEN_BUTTON_HEIGHT; + fixed: 1 1; + align: 0.5 1.0; + visible: 0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + visible: 1; + } + } + part { name: "title_clip"; + type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 1; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 ACTIONBAR_HEIGHT; + max: -1 ACTIONBAR_HEIGHT; + fixed: 1 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color_class: "B0511"; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 320 0; + max: 320 0; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "title_left_padding"; } + rel2 { relative: 0.0 1.0; to: "title_right_padding"; } + align: 0.0 0.0; + } + description { state: "icon_show" 0.0; + rel1 { relative: 1.0 1.0; to_x: "title_left_padding"; to_y: "top_padding"; } + rel2 { relative: 0.0 0.0; to_x: "title_right_padding"; to_y: "bottom_padding"; } + align: 0.0 0.0; + } + } + part { name: "title_text_clip"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { + align: 0.0 0.5; + min: 1 1; + style: "action_bar_title"; + } + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + description { state: "icon_show" 0.0; + inherit: "default" 0.0; + text.align: 0.0 0.0; + align: 0.0 0.0; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE 0; + max: ACTIONBAR_PADDING_SIZE -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "title_color_bar"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 7 0; + max: 7 -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 ACTIONBAR_ICON_TEXT_TOP_PADDING_SIZE; + max: -1 ACTIONBAR_ICON_TEXT_TOP_PADDING_SIZE; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 0.0; to: "title_bg"; } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + min: 0 ACTIONBAR_ICON_TEXT_BOTTOM_PADDING_SIZE; + max: -1 ACTIONBAR_ICON_TEXT_BOTTOM_PADDING_SIZE; + rel1 {relative: 0.0 1.0; to: "title_bg"; } + rel2 {relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + max: ACTIONBAR_ICON_SIZE; + fixed: 1 1; + align: 0.0 0.0; + rel1 {relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; } + rel2 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bottom_padding"; } + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 6 0; + max: 6 -1; + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 6 0; + max: 6 -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to_x: "elm.swallow.next_btn"; to_y: "title_bg"; } + rel2 { relative: 0.0 1.0; to_x: "elm.swallow.next_btn"; to_y: "title_bg"; } + } + } + part { name: "title_text_fade_out_effect_right"; + type: IMAGE; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 0; + max: 0 -1; + align: 1.0 0.5; + fixed: 1 0; + visible: 0; + rel1 { relative: 0.0 0.0; to: "title_right_padding"; } + rel2 { relative: 0.0 1.0; to: "title_right_padding"; } + color_class: "B0511"; + image.normal: "tw_action_text_fadeout_right_holo_dark.png"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + visible: 1; + } + description { state: "show_mirrored" 0.0; + inherit: "default" 0.0; + min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; + visible: 1; + image.normal: "tw_action_text_fadeout_left_holo_dark.png"; + } + } + part { name: "elm.swallow.next_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 6 0; + max: ACTIONBAR_NEXT_BTN_SIZE; + fixed: 1 1; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "hidden_btn"; } + rel2 { relative: 1.0 1.0; to: "base"; } + } + } + /* + part { name: "dbg"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + text { font: "Tizen:style=Bold"; + size: ACTIONBAR_TEXT_SIZE; + min: 0 1; + align: 0.0 0.5; + text_class: "tizen"; + } + color: 255 0 0 255; + align: 1.0 0.0; + } + }*/ + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 1.7; + after: "content_cur_popped2"; + } + program { name: "content_cur_popped2"; + action: STATE_SET "down" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "cur_pushed"; + signal: "elm,state,cur,pushed"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + } + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "down" 0.0; + target: "base"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "clipper"; + } + program { name: "cur_popped"; + signal: "elm,state,cur,popped"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + } + } + program { name: "show_finished"; + script { + emit("elm,action,show,finished", ""); + } + } + program { name: "pushed_finished"; + script { + emit("elm,action,pushed,finished", ""); + } + } + program { name: "popped_finished"; + script { + emit("elm,action,popped,finished", ""); + } + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "down", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"title_clip", "hide", 0.0); + set_state(PART:"elm.swallow.next_btn", "hide", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "default")) { + run_program(PROGRAM:"title_hide_trans2"); + } + } + } + program { name: "title_hide_trans2"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans3"; + } + program { name: "title_hide_trans3"; + script { + run_program(PROGRAM:"title_hide"); + } + after: "title_trans_finished"; + } + program { name: "title_trans_finished"; + action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clip", "default", 0.0); + set_state(PART:"elm.swallow.next_btn", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "hide")) { + set_state(PART:"title_bg", "hide_trans", 0.0); + set_state(PART:"title_clip", "default", 0.0); + set_state(PART:"elm.swallow.next_btn", "default", 0.0); + run_program(PROGRAM:"title_show_trans2"); + } + } + } + program { name: "title_show_trans2"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_trans_finished"; + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + script { + set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,show"; + source: "elm"; + script { + set_state(PART:"title_text_bg", "icon_show", 0.0); + set_state(PART:"elm.text.title", "icon_show", 0.0); + set_state(PART:"title_left_padding", "show", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hide"; + source: "elm"; + script { + set_state(PART:"title_left_padding", "default", 0.0); + set_state(PART:"title_text_bg", "default", 0.0); + set_state(PART:"elm.text.title", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "next_btn_show"; + signal: "elm,state,next_btn,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "next_btn_hide"; + signal: "elm,state,next_btn,hide"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "hidden_btn_show"; + signal: "elm,state,hidden_btn,show"; + source: ""; + script { + set_state(PART:"hidden_btn", "show", 0.0); + } + } + program { name: "hidden_btn_hide"; + signal: "elm,state,hidden_btn,hide"; + source: ""; + script { + set_state(PART:"hidden_btn", "default", 0.0); + } + } + program { name: "hidden_btn_show_trans"; + signal: "elm,action,hidden_btn,show"; + source: ""; + action: STATE_SET "show" 0.0; + target: "hidden_btn"; + transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; + } + program { name: "hidden_btn_hide_trans"; + signal: "elm,action,hidden_btn,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "hidden_btn"; + transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(g_mirrored, 1); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(g_mirrored, 0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "title_text_fade_out"; + script { + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0)); + } + } + } +} + +group { name: "elm/naviframe/item/empty/default"; + data.item: "tizen_zoom" 1; + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "down" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + part { name: "hidden_btn"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 HIDDEN_BUTTON_HEIGHT; + max: -1 HIDDEN_BUTTON_HEIGHT; + fixed: 1 1; + align: 0.5 1.0; + visible: 0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + visible: 1; + } + } + part { name: "title_clip"; + type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 1; + rel1.to: "title"; + rel2.to: "title"; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1.to: "title"; + rel2.to: "title"; + color_class: "B0511"; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + max: -1 -1; + } + } + part { name: "title"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 0; + max: -1 0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + visible: 1; + max: -1 -1; + align: 0.5 1.0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + max: -1 -1; + } + } + part { name: "elm.swallow.next_btn"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "hidden_btn"; } + rel2 { relative: 1.0 1.0; to: "base"; } + } + } + /* + part { name: "dbg"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + text { font: "Tizen:style=Bold"; + size: ACTIONBAR_TEXT_SIZE; + min: 0 1; + align: 0.0 0.5; + text_class: "tizen"; + } + color: 255 0 0 255; + align: 1.0 0.0; + } + }*/ + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + visible: 0; + } + } + } + programs { + program { name: "content_new_pushed"; + signal: "elm,state,new,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_pushed"; + signal: "elm,state,cur,pushed,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,deferred"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 1.7; + after: "content_cur_popped2"; + } + program { name: "content_cur_popped2"; + action: STATE_SET "down" 0.0; + target: "base"; + transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; + after: "popped_finished"; + } + program { name: "cur_pushed"; + signal: "elm,state,cur,pushed"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + } + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + action: STATE_SET "down" 0.0; + target: "base"; + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "clipper"; + } + program { name: "cur_popped"; + signal: "elm,state,cur,popped"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + } + } + program { name: "show_finished"; + script { + emit("elm,action,show,finished", ""); + } + } + program { name: "pushed_finished"; + script { + emit("elm,action,pushed,finished", ""); + } + } + program { name: "popped_finished"; + script { + emit("elm,action,popped,finished", ""); + } + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "down", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title", "default", 0.0); + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clip", "hide", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title", st, 32, vl); + if (!strcmp(st, "show")) + run_program(PROGRAM:"title_hide_trans2"); + } + } + program { name: "title_hide_trans2"; + action: STATE_SET "hide_trans" 0.0; + target: "title"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans3"; + } + program { name: "title_hide_trans3"; + script { + run_program(PROGRAM:"title_hide"); + } + after: "title_trans_finished"; + } + program { name: "title_trans_finished"; + action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title", "show", 0.0); + set_state(PART:"title_bg", "show", 0.0); + set_state(PART:"title_clip", "default", 0.0); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title", st, 32, vl); + if (!strcmp(st, "default")) { + set_state(PART:"title", "hide_trans", 0.0); + set_state(PART:"title_bg", "show", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_show_trans2"); + } + } + } + program { name: "title_show_trans2"; + action: STATE_SET "show" 0.0; + target: "title"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_trans_finished"; + } + program { name: "hidden_btn_show"; + signal: "elm,state,hidden_btn,show"; + source: ""; + script { + set_state(PART:"hidden_btn", "show", 0.0); + } + } + program { name: "hidden_btn_hide"; + signal: "elm,state,hidden_btn,hide"; + source: ""; + script { + set_state(PART:"hidden_btn", "default", 0.0); + } + } + program { name: "hidden_btn_show_trans"; + signal: "elm,action,hidden_btn,show"; + source: ""; + action: STATE_SET "show" 0.0; + target: "hidden_btn"; + transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; + } + program { name: "hidden_btn_hide_trans"; + signal: "elm,action,hidden_btn,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "hidden_btn"; + transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; + } + } +} diff --git a/2.3-wearable/widgets/popup.edc b/2.3-wearable/widgets/popup.edc new file mode 100644 index 0000000..318a93f --- /dev/null +++ b/2.3-wearable/widgets/popup.edc @@ -0,0 +1,963 @@ +/* + * 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. + */ + +group { name: "elm/notify/bottom/popup"; + alias: "elm/notify/bottom/toast"; + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + } + part { name: "block"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + visible: 1; + color: 0 0 0 0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + action: STATE_SET "end" 0.0; + target: "elm.swallow.content"; + target: "block"; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "block"; + } + program { name: "show_1"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + after: "end2"; + } + program { name: "end2"; + action: STATE_SET "end" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "block"; + target: "elm.swallow.content"; + after: "showfinished"; + } + program { name: "showfinished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SIN_FAC 0.25 1.7; + target: "elm.swallow.content"; + } + } +} + +// FIXME: block events may be not used +group { name: "elm/notify/block_events/popup"; + parts { + part { name: "block_events_color"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "transparent"; + } + description { state: "show" 0.0; + color_class: "W1712"; + } + description { state: "clicked" 0.0; + color_class: "W1712"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "block_events_color"; + } + program { name: "show1"; + signal: "show"; + action: STATE_SET "show" 0.0; + transition: LINEAR 0.25; + target: "block_events_color"; + } + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events_color"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "deeper_block_color"; + } + program { + name: "deeper_block_color"; + action: STATE_SET "clicked" 0.0; + target: "block_events_color"; + transition: LINEAR 0.25; + after: "default_block_color"; + } + program { + name: "default_block_color"; + action: STATE_SET "show" 0.0; + target: "block_events_color"; + transition: LINEAR 0.25; + } + } +} + +group { name: "elm/label/base/popup/default"; + parts { + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + max: POPUP_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + fixed: 1 1; + align: 0.0 0.0; + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + max: POPUP_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + to: "top_left_padding"; + relative: 1.0 1.0; + } + rel2 { + to: "bottom_right_padding"; + relative: 0.0 0.0; + } + text { + align: 0 0; + style: "popup_body_default_font_style"; + min: 0 1; + } + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/label/base/popup/no_block"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "top_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + max: POPUP_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + fixed: 1 1; + align: 0.0 0.0; + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "bottom_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + max: POPUP_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + to: "top_left_padding"; + relative: 1.0 1.0; + } + rel2 { + to: "bottom_right_padding"; + relative: 0.0 0.0; + } + text { + align: 0 0; + style: "popup_body_default_font_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/popup/buttons1/default"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; } + } + } +} + +group { name: "elm/popup/buttons2/default"; + data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; + parts{ + part { name: "c_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BUTTON_CENTER_PADDING_SIZE 0; + max: POPUP_BUTTON_CENTER_PADDING_SIZE -1; + fixed: 1 0; + align: 0.5 0.5; + color_class: "B0553"; + } + } + part{ name:"actionbtn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_x: "c_padding"; + relative: 0.0 1.0; + } + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "c_padding"; + relative: 1.0 0.0; + } + } + } + } +} + + +group { name: "elm/popup/content/default"; + parts{ + part { name:"elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_AREA_DEFAULT_MIN_INC; + } + } + } +} + +group { name: "elm/popup/base/default"; + data { + item: "default_orient" "2"; //top:0, center:1 bottom:2 + item: "title_height" POPUP_TITLE_AREA_HEIGHT; + item: "popup_outside_pad" POPUP_OUTSIDE_PADDING; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; + max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; + } + } + part { name: "lt_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "rb_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + fixed: 1 1; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + } + } + part { name: "text_title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_LEFT_SIZE 0; + max: POPUP_TEXT_PADDING_LEFT_SIZE -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "lt_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "lt_padding"; + relative: 1.0 1.0; + } + } + } + part { name: "text_title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TEXT_PADDING_RIGHT_SIZE 0; + max: POPUP_TEXT_PADDING_RIGHT_SIZE -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + to_x: "rb_padding"; + relative: 0.0 0.0; + } + rel2 { + to_x: "rb_padding"; + relative: 0.0 1.0; + } + } + } + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "lt_padding"; + relative: 1.0 1.0; + } + rel2 { + to: "rb_padding"; + relative: 0.0 0.0; + } + color_class: "B061L1E"; + } + } + part { name: "elm.bg.title"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 0; + fixed: 1 1; + rel1 { + to_x: "left.line"; + to_y: "top.line"; + relative: 1.0 1.0; + } + rel2 { + to_x: "right.line"; + to_y: "top.line"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 POPUP_TITLE_HEIGHT; + max: -1 POPUP_TITLE_HEIGHT; + fixed: 0 1; + color_class: "B061L2"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "text_title_left_padding"; + to_y: "elm.bg.title"; + } + rel2 { + relative: 0.0 1.0; + to_x: "text_title_right_padding"; + to_y: "elm.bg.title"; + } + text { + style: "popup_title_style"; + align: 0.0 0.5; + min: 0 0; + } + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.bg.title"; + rel2.to: "elm.bg.title"; + color: 0 0 0 0; + } + } + + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "left.line"; + to_y: "top.line"; + } + rel2 { + relative: 1.0 0.0; + to_x: "right.line"; + to_y: "elm.bg.action_area"; + } + } + description { state: "below_title" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "left.line"; + to_y: "elm.bg.title"; + } + rel2 { + relative: 1.0 0.0; + to_x: "right.line"; + to_y: "elm.bg.action_area"; + } + } + description { state: "below_title_show_actionarea" 0.0; + inherit: "below_title" 0.0; + } + description { state: "show_actionarea" 0.0; + inherit: "default" 0.0; + } + } + part { name: "access.body"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed : 1 1; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + part { name: "elm.bg.action_area"; + type: SPACER; + scale : 1; + description { state: "default" 0.0; + fixed : 1 1; + align: 0.5 1.0; + rel1 { + to_x: "left.line"; + to_y: "bottom.line"; + relative: 1.0 0.0; + } + rel2 { + relative: 0.0 0.0; + to_x: "right.line"; + to_y: "bottom.line"; + } + min: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 0 POPUP_BUTTON_HEIGHT; + max: -1 POPUP_BUTTON_HEIGHT; + fixed: 0 1; + } + } + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + rel1.to: "elm.bg.action_area"; + rel2.to: "elm.bg.action_area"; + } + } + part { name: "top.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + max: -1 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + fixed: 0 1; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + color_class: "B061L7"; + } + } + part { name: "left.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: POPUP_LEFT_RIGHT_LINE_WIDTH 0; + max: POPUP_LEFT_RIGHT_LINE_WIDTH -1; + fixed: 1 0; + rel1.to: "bg"; + rel2 { + to: "bg"; + relative: 0.0 1.0; + } + color_class: "B061L7"; + } + } + part { name: "right.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + min: POPUP_LEFT_RIGHT_LINE_WIDTH 0; + max: POPUP_LEFT_RIGHT_LINE_WIDTH -1; + fixed: 1 0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + color_class: "B061L7"; + } + } + part { name: "bottom.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + max: -1 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + fixed: 0 1; + rel1.to: "bg"; + rel2.to: "bg"; + color_class: "B061L7"; + } + } + } + programs { + program { name: show_title_area; + signal: "elm,state,title_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"elm.bg.title", "visible", 0.0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) { + set_state(PART:"elm.swallow.content", "below_title", 0.0); + } else if (!strcmp(st, "show_actionarea")) { + set_state(PART:"elm.swallow.content", "below_title_show_actionarea", 0.0); + } + } + } + program { name: hide_title_area; + signal: "elm,state,title_area,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"elm.bg.title", "default", 0.0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "below_title")) { + set_state(PART:"elm.swallow.content", "default", 0.0); + } else if (!strcmp(st, "below_title_show_actionarea")) { + set_state(PART:"elm.swallow.content", "show_actionarea", 0.0); + } + } + } + program { name: show_action_area; + signal: "elm,state,action_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"elm.bg.action_area", "visible", 0.0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) { + set_state(PART:"elm.swallow.content", "show_actionarea", 0.0); + } else if (!strcmp(st, "below_title")) { + set_state(PART:"elm.swallow.content", "below_title_show_actionarea", 0.0); + } + } + } + program { name: hide_action_area; + signal: "elm,state,action_area,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"elm.bg.action_area", "default", 0.0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "show_actionarea")) { + set_state(PART:"elm.swallow.content", "default", 0.0); + } else if (!strcmp(st, "below_title_show_actionarea")) { + set_state(PART:"elm.swallow.content", "below_title", 0.0); + } + } + } + } +} + +// FIXME: currently popup cannot resize this edje by it's min size. +group { name: "elm/popup/base/toast"; + data { + item: "default_orient" "2"; //top:0, center:1 bottom:2 + item: "popup_outside_pad" POPUP_OUTSIDE_PADDING; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_BG_WIDTH 0; + rel1 { + relative: 0.0 0.0; + to_x: "title_left_padding"; + to_y: "title_top_padding"; + } + rel2 { + relative: 1.0 1.0; + to_x: "title_right_padding"; + to_y: "title_bottom_padding"; + } + color_class: "B061L1E"; + } + } + part { name: "title_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 POPUP_TOAST_PADDING_TOP_SIZE; + max: -1 POPUP_TOAST_PADDING_TOP_SIZE; + rel1 { + relative: 0.0 0.0; + to_y: "elm.text"; + } + rel2 { + relative: 1.0 0.0; + to_y: "elm.text"; + } + } + description { state: "icon_visible" 0.0; + inherit: "default" 0.0; + rel1.to_y: "toast,icon"; + rel2.to_y: "toast,icon"; + } + } + part { name: "top.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 0 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + max: -1 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + fixed: 0 1; + rel1.to: "bg"; + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + color_class: "B061L7"; + } + } + part { name: "left.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + min: POPUP_LEFT_RIGHT_LINE_WIDTH 0; + max: POPUP_LEFT_RIGHT_LINE_WIDTH -1; + fixed: 1 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + color_class: "B061L7"; + } + } + part { name: "right.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + min: POPUP_LEFT_RIGHT_LINE_WIDTH 0; + max: POPUP_LEFT_RIGHT_LINE_WIDTH -1; + fixed: 1 0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + color_class: "B061L7"; + } + } + part { name: "title_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE; + max: -1 POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 0.0; + to_y: "bottom_padding"; + } + rel2 { + relative: 0.1 0.0; + to_y: "bottom_padding"; + } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 POPUP_TOAST_PADDING_BOTTOM_SIZE; + max: -1 POPUP_TOAST_PADDING_BOTTOM_SIZE; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + } + } + } + part { name: "bottom.line"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: 0 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + max: -1 POPUP_TITLE_TOP_BOTTOM_LINE_HEIGHT; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + to_x: "title_left_padding"; + to_y: "bottom_padding"; + } + rel2 { + relative: 1.0 1.0; + to: "bg"; + } + color_class: "B061L7"; + } + } + part { name: "title_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_PADDING_LEFT_SIZE 0; + max: POPUP_TOAST_PADDING_LEFT_SIZE -1; + fixed: 1 0; + align: 0.5 0.5; + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "title_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_TOAST_PADDING_RIGHT_SIZE 0; + max: POPUP_TOAST_PADDING_RIGHT_SIZE -1; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + relative: 1.0 0.0; + } + } + } + part { name: "toast,icon"; + type: SWALLOW; + clip_to: "icon_clip"; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "title_left_padding"; + to_y: "icon_bottom_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "title_right_padding"; + to_y: "icon_bottom_padding"; + relative: 0.0 0.0; + } + align: 0.5 1.0; + min: 0 POPUP_TOAST_ICON_SIZE; + max: -1 POPUP_TOAST_ICON_SIZE; + } + } + part { name: "icon_clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "toast,icon"; + rel2.to: "toast,icon"; + color_class: "W173L1"; + } + } + part { name: "icon_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 { + to: "elm.text"; + relative: 1.0 0.0; + } + align: 0.5 1.0; + min: 0 POPUP_TOAST_ICON_BOTTOM_PADDING_SIZE; + max: -1 POPUP_TOAST_ICON_BOTTOM_PADDING_SIZE; + fixed: 0 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 1.0; + min: POPUP_TOAST_TEXT_WIDTH 0; + max: POPUP_TOAST_TEXT_WIDTH POPUP_TOAST_TEXT_MAX_HEIGHT_INC; + rel1 { + to_x: "title_left_padding"; + to_y: "title_bottom_padding"; + relative: 1.0 0.0; + } + rel2 { + to_x: "title_right_padding"; + to_y: "title_bottom_padding"; + relative: 0.0 0.0; + } + text { + style: "popup_toast_style"; + min: 0 1; + max: 0 0; + } + } + description { state: "icon_visible" 0.0; + inherit: "default" 0.0; + max: POPUP_TOAST_TEXT_WIDTH POPUP_TOAST_ICON_TEXT_MAX_HEIGHT_INC; + } + } + part { name: "access.outline"; + type: RECT; + scale: 1; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "icon_visible"; + signal: "elm,state,tizen,toast,icon,show"; + source: "elm"; + action: STATE_SET "icon_visible" 0.0; + target: "title_top_padding"; + target: "elm.text"; + } + program { name: "icon_invisible"; + signal: "elm,state,tizen,toast,icon,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_top_padding"; + target: "elm.text"; + } + } +} diff --git a/2.3-wearable/widgets/progressbar.edc b/2.3-wearable/widgets/progressbar.edc new file mode 100644 index 0000000..30050d7 --- /dev/null +++ b/2.3-wearable/widgets/progressbar.edc @@ -0,0 +1,605 @@ +/* + * 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. + */ + +/////////////////////////////////////////////////////////////////////////////////////// + + group { name: "elm/progressbar/horizontal/default"; + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "background"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + color_class: "B065L3"; + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + min: 1 PROGRESSBAR_HEIGHT; + max: -1 PROGRESSBAR_HEIGHT; + } + } + part { name: "drag.background"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + } + } + part { name: "elm.progress.progressbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1.to: "elm.swallow.bar"; + rel2 { + to_x: "elm.cur.progressbar"; + to_y: "elm.swallow.bar"; + offset: -1 -1; + relative: 0.5 1.0; + } + color_class: "B065L2"; + } + description { + state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + relative: 0.0 0.0; + } + rel2.to: "elm.swallow.bar"; + rel2.relative: 1.0 1.0; + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B0651L2"; + } + } + part { name: "elm.cur.progressbar"; + mouse_events: 0; + scale: 1; + dragable { + confine: "drag.background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 0 10; + fixed: 1 1; + visible: 0; + rel1.to: "drag.background"; + rel2.to: "drag.background"; + } + } + part { name: "progress-rect"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "background"; + } + } + } + + group { name: "elm/progressbar/horizontal/pending_list"; + images { + image: "tw_progressbar_indeterminate1_holo_dark.png" COMP; + image: "tw_progressbar_indeterminate2_holo_dark.png" COMP; + image: "tw_progressbar_indeterminate3_holo_dark.png" COMP; + image: "tw_progressbar_indeterminate4_holo_dark.png" COMP; + image: "tw_progressbar_indeterminate5_holo_dark.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "background"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: PROGRESSBAR_PENDING_SIZE; + max: PROGRESSBAR_PENDING_SIZE; + fixed: 0 1; + color_class: "B065L3"; + } + } + part { name: "elm.progress.progressbar"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + fixed: 1 1; + rel1.to: "background"; + rel2.to: "background"; + image { + normal: "tw_progressbar_indeterminate1_holo_dark.png"; + border: 0 0 0 0; + } + color_class: "B0652L2"; + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + } + description { + state: "sliding1" 0.0; + inherit: "default" 0.0; + image.normal: "tw_progressbar_indeterminate2_holo_dark.png"; + color_class: "B0652L2"; + } + description { + state: "sliding2" 0.0; + inherit: "default" 0.0; + image.normal: "tw_progressbar_indeterminate3_holo_dark.png"; + color_class: "B0652L2"; + } + description { + state: "sliding3" 0.0; + inherit: "default" 0.0; + image.normal: "tw_progressbar_indeterminate4_holo_dark.png"; + color_class: "B0652L2"; + } + description { + state: "state_end" 1.0; + inherit: "default" 0.0; + image.normal: "tw_progressbar_indeterminate5_holo_dark.png"; + color_class: "B0652L2"; + } + } + } + script { + public state_end = 0; + } + programs { + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + in: 0.05 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); + set_int(state_end, 0); + } + after: "sliding1"; + } + program { name: "sliding1"; + in: 0.05 0.0; + script { + set_state(PART:"elm.progress.progressbar", "sliding1", 0.0); + set_int(state_end, 0); + } + after: "sliding2"; + } + program { name: "sliding2"; + in: 0.05 0.0; + script { + set_state(PART:"elm.progress.progressbar", "sliding2", 0.0); + set_int(state_end, 0); + } + after: "sliding3"; + } + program { name: "sliding3"; + in: 0.05 0.0; + script { + set_state(PART:"elm.progress.progressbar", "sliding3", 0.0); + set_int(state_end, 0); + } + after: "slide_to_end"; + } + program { name: "slide_to_end"; + in: 0.05 0.0; + script { + set_state(PART:"elm.progress.progressbar", "state_end", 0.0); + set_int(state_end, 1); + } + after: "slide_to_begin"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "sliding1"; + target: "sliding2"; + target: "sliding3"; + target: "slide_to_end"; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "progressbar_disable"; + signal: "elm,state,disabled"; + source: "elm"; + after: "stop_pulse"; + } + program { name: "progressbar_enable"; + signal: "elm,state,enabled"; + source: "elm"; + after: "start_pulse"; + } + } + } + +group { name: "elm/progressbar/horizontal/process"; + images { + image: "tw_widget_activity_00.png" COMP; + image: "tw_widget_activity_01.png" COMP; + image: "tw_widget_activity_02.png" COMP; + image: "tw_widget_activity_03.png" COMP; + image: "tw_widget_activity_04.png" COMP; + image: "tw_widget_activity_05.png" COMP; + image: "tw_widget_activity_06.png" COMP; + image: "tw_widget_activity_07.png" COMP; + image: "tw_widget_activity_08.png" COMP; + image: "tw_widget_activity_09.png" COMP; + image: "tw_widget_activity_10.png" COMP; + image: "tw_widget_activity_11.png" COMP; + image: "tw_widget_activity_12.png" COMP; + image: "tw_widget_activity_13.png" COMP; + image: "tw_widget_activity_14.png" COMP; + image: "tw_widget_activity_15.png" COMP; + image: "tw_widget_activity_16.png" COMP; + image: "tw_widget_activity_17.png" COMP; + image: "tw_widget_activity_18.png" COMP; + image: "tw_widget_activity_19.png" COMP; + image: "tw_widget_activity_20.png" COMP; + image: "tw_widget_activity_21.png" COMP; + image: "tw_widget_activity_22.png" COMP; + image: "tw_widget_activity_23.png" COMP; + image: "tw_widget_activity_24.png" COMP; + image: "tw_widget_activity_25.png" COMP; + image: "tw_widget_activity_26.png" COMP; + image: "tw_widget_activity_27.png" COMP; + image: "tw_widget_activity_28.png" COMP; + image: "tw_widget_activity_29.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "bar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_ACTIVITY_IMAGE_SIZE PROGRESSBAR_ACTIVITY_IMAGE_SIZE; + max: PROGRESSBAR_ACTIVITY_IMAGE_SIZE PROGRESSBAR_ACTIVITY_IMAGE_SIZE; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "tw_widget_activity_00.png"; + image.tween: "tw_widget_activity_01.png"; + image.tween: "tw_widget_activity_02.png"; + image.tween: "tw_widget_activity_03.png"; + image.tween: "tw_widget_activity_04.png"; + image.tween: "tw_widget_activity_05.png"; + image.tween: "tw_widget_activity_06.png"; + image.tween: "tw_widget_activity_07.png"; + image.tween: "tw_widget_activity_08.png"; + image.tween: "tw_widget_activity_09.png"; + image.tween: "tw_widget_activity_10.png"; + image.tween: "tw_widget_activity_11.png"; + image.tween: "tw_widget_activity_12.png"; + image.tween: "tw_widget_activity_13.png"; + image.tween: "tw_widget_activity_14.png"; + image.tween: "tw_widget_activity_15.png"; + image.tween: "tw_widget_activity_16.png"; + image.tween: "tw_widget_activity_17.png"; + image.tween: "tw_widget_activity_18.png"; + image.tween: "tw_widget_activity_19.png"; + image.tween: "tw_widget_activity_20.png"; + image.tween: "tw_widget_activity_21.png"; + image.tween: "tw_widget_activity_22.png"; + image.tween: "tw_widget_activity_23.png"; + image.tween: "tw_widget_activity_24.png"; + image.tween: "tw_widget_activity_25.png"; + image.tween: "tw_widget_activity_26.png"; + image.tween: "tw_widget_activity_27.png"; + image.tween: "tw_widget_activity_28.png"; + image.tween: "tw_widget_activity_29.png"; + color_class: "B066L1"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "bar"; + } + } +} + +group { name: "elm/progressbar/horizontal/process/groupindex"; + images { + image: "tw_widget_actionbar_activity_00.png" COMP; + image: "tw_widget_actionbar_activity_01.png" COMP; + image: "tw_widget_actionbar_activity_02.png" COMP; + image: "tw_widget_actionbar_activity_03.png" COMP; + image: "tw_widget_actionbar_activity_04.png" COMP; + image: "tw_widget_actionbar_activity_05.png" COMP; + image: "tw_widget_actionbar_activity_06.png" COMP; + image: "tw_widget_actionbar_activity_07.png" COMP; + image: "tw_widget_actionbar_activity_08.png" COMP; + image: "tw_widget_actionbar_activity_09.png" COMP; + image: "tw_widget_actionbar_activity_10.png" COMP; + image: "tw_widget_actionbar_activity_11.png" COMP; + image: "tw_widget_actionbar_activity_12.png" COMP; + image: "tw_widget_actionbar_activity_13.png" COMP; + image: "tw_widget_actionbar_activity_14.png" COMP; + image: "tw_widget_actionbar_activity_15.png" COMP; + image: "tw_widget_actionbar_activity_16.png" COMP; + image: "tw_widget_actionbar_activity_17.png" COMP; + image: "tw_widget_actionbar_activity_18.png" COMP; + image: "tw_widget_actionbar_activity_19.png" COMP; + image: "tw_widget_actionbar_activity_20.png" COMP; + image: "tw_widget_actionbar_activity_21.png" COMP; + image: "tw_widget_actionbar_activity_22.png" COMP; + image: "tw_widget_actionbar_activity_23.png" COMP; + image: "tw_widget_actionbar_activity_24.png" COMP; + image: "tw_widget_actionbar_activity_25.png" COMP; + image: "tw_widget_actionbar_activity_26.png" COMP; + image: "tw_widget_actionbar_activity_27.png" COMP; + image: "tw_widget_actionbar_activity_28.png" COMP; + image: "tw_widget_actionbar_activity_29.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "bar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE; + max: PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "tw_widget_actionbar_activity_00.png"; + image.tween: "tw_widget_actionbar_activity_01.png"; + image.tween: "tw_widget_actionbar_activity_02.png"; + image.tween: "tw_widget_actionbar_activity_03.png"; + image.tween: "tw_widget_actionbar_activity_04.png"; + image.tween: "tw_widget_actionbar_activity_05.png"; + image.tween: "tw_widget_actionbar_activity_06.png"; + image.tween: "tw_widget_actionbar_activity_07.png"; + image.tween: "tw_widget_actionbar_activity_08.png"; + image.tween: "tw_widget_actionbar_activity_09.png"; + image.tween: "tw_widget_actionbar_activity_10.png"; + image.tween: "tw_widget_actionbar_activity_11.png"; + image.tween: "tw_widget_actionbar_activity_12.png"; + image.tween: "tw_widget_actionbar_activity_13.png"; + image.tween: "tw_widget_actionbar_activity_14.png"; + image.tween: "tw_widget_actionbar_activity_15.png"; + image.tween: "tw_widget_actionbar_activity_16.png"; + image.tween: "tw_widget_actionbar_activity_17.png"; + image.tween: "tw_widget_actionbar_activity_18.png"; + image.tween: "tw_widget_actionbar_activity_19.png"; + image.tween: "tw_widget_actionbar_activity_20.png"; + image.tween: "tw_widget_actionbar_activity_21.png"; + image.tween: "tw_widget_actionbar_activity_22.png"; + image.tween: "tw_widget_actionbar_activity_23.png"; + image.tween: "tw_widget_actionbar_activity_24.png"; + image.tween: "tw_widget_actionbar_activity_25.png"; + image.tween: "tw_widget_actionbar_activity_26.png"; + image.tween: "tw_widget_actionbar_activity_27.png"; + image.tween: "tw_widget_actionbar_activity_28.png"; + image.tween: "tw_widget_actionbar_activity_29.png"; + color_class: "B066L1"; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "bar"; + } + } +} diff --git a/2.3-wearable/widgets/radio.edc b/2.3-wearable/widgets/radio.edc new file mode 100755 index 0000000..ff7914f --- /dev/null +++ b/2.3-wearable/widgets/radio.edc @@ -0,0 +1,708 @@ +/* + * 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. + */ + +group { name: "elm/radio/base/default"; + images { + image: "tw_btn_radiobox_holo_dark.png" COMP; + image: "tw_btn_radio_holo_dark.png" COMP; + image: "tw_btn_radiobox_line.png" COMP; + } + script { + public radio_state; + public radio_disabled; + public radio_show; + public is_transition_finished = 0; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: RADIO_SIZE; + max: RADIO_SIZE; + image.normal: "tw_btn_radiobox_holo_dark.png"; + color_class: "W013L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W013L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L1D"; + } + } + part { name: "radio"; + clip_to: "opacity_clip"; + scale: 1; + description { state: "default" 0.0; + max: 0 0; + visible: 0; + image.normal: "tw_btn_radio_holo_dark.png"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + max: RADIO_SIZE; + visible: 1; + color_class: "W013L2"; + } + description { state: "pressed" 0.0; + inherit: "on" 0.0; + color_class: "W013L2P"; + } + description { state: "disabled" 0.0; + inherit: "on" 0.0; + color_class: "W013L2D"; + } + } + part { name: "outline"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_radiobox_line.png"; + color_class: "W241"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W241P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W241D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + } + part { name: "opacity_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 255 255 255 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(radio_show,1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(radio_show,0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + emit("elm,action,radio,toggle", ""); + run_program(PROGRAM:"play_sample"); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + if (get_int(is_transition_finished) == 1) + set_state(PART:"radio", "on", 0.0); + } + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + if (get_int(is_transition_finished) == 1) + set_state(PART:"radio", "pressed", 0.0); + } + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + script { + set_int(radio_state, 1); + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_state(PART:"radio", "disabled", 0.0); + } + else { + if (get_int(radio_show) == 1) { + set_int(is_transition_finished, 0); + run_program(PROGRAM:"radio_show_effect"); + run_program(PROGRAM:"radio_draw_effect"); + } + else { + set_int(is_transition_finished, 1); + set_state(PART:"radio", "on", 0.0); + set_state(PART:"opacity_clip", "on", 0.0); + } + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + } + else { + if (get_int(radio_state) == 1) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_state(PART:"radio", "default", 0.0); + set_state(PART:"opacity_clip", "default", 0.0); + set_int(radio_state, 0); + } + } + } + } + program { name: "radio_show_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.233; + target: "opacity_clip"; + } + program { name: "radio_draw_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.267; + target: "radio"; + after: "radio_on_signal"; + } + program { name: "radio_on_signal"; + script { + set_int(is_transition_finished, 1); + emit("elm,action,show,finished", "elm"); + } + } + program { name: "focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "outline"; + } + program { name: "unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "outline"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(radio_state) == 1) + set_state(PART:"radio", "disabled", 0.0); + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_int(radio_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(radio_state) == 1) + set_state(PART:"radio", "on", 0.0); + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_int(radio_disabled, 0); + } + } + } + } + +group { name: "elm/radio/base/datetime/style1"; + alias: "elm/radio/base/datetime"; + images { + image: "tw_timepicker_num_bg_new_transparent.#.png" COMP; + } + script { + public radio_state; + public radio_disabled; + } + parts { + part { name: "base"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new_transparent.#.png"; + color_class: "W0811"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W0812"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W262D"; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + text { + text_class: "T051"; + min: 1 1; + fit: 1 1; + size_range: DATETIME_TEXT_DIGIT_SIZE_INC; + } + color_class: "T051"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.text_class: "T051"; + color_class: "T051"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T051D"; + color_class: "T051D"; + } + } + } + programs { + program { name: "click"; + signal: "mouse,clicked,1"; + source: "bg"; + script { + if (get_int(radio_disabled) == 1) return; + run_program(PROGRAM:"play_sample"); + emit("elm,action,radio,toggle", ""); + emit("elm,action,radio,clicked", ""); + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "bg"; + script { + if (get_int(radio_disabled) == 1) return; + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "bg"; + script { + if (get_int(radio_disabled) == 1) return; + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_int(radio_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_int(radio_disabled, 0); + } + } + } + } + +group { name: "elm/radio/base/datetime/style2"; + inherit: "elm/radio/base/datetime/style1"; + parts { + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + text { + text_class: "T052"; + size_range: DATETIME_TEXT_STRING_SIZE_INC; + } + color_class: "T052"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.text_class: "T052"; + color_class: "T052"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.text_class: "T052D"; + color_class: "T052D"; + } + } + } +} + +group { name: "elm/radio/base/datetime/style3"; + inherit: "elm/radio/base/datetime/style2"; + images { + image: "tw_timepicker_num_bg_new.#.png" COMP; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + image.normal: "tw_timepicker_num_bg_new.#.png"; + color_class: "W0811"; + min: 0 DATETIME_FIELD_HEIGHT; + max: -1 DATETIME_FIELD_HEIGHT; + fixed: 0 1; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W0812"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W262D"; + } + } + } +} +// List Radio Style + +group { name: "elm/radio/base/list"; + images { + image: "tw_btn_radiobox_holo_dark.png" COMP; + image: "tw_btn_radio_holo_dark.png" COMP; + image: "tw_btn_radiobox_line.png" COMP; + } + script { + public radio_state; + public radio_disabled; + public radio_show; + public is_transition_finished = 0; + } + parts { + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: 50 50; + max: 50 50; + image.normal: "tw_btn_radiobox_holo_dark.png"; + color_class: "W013L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W013L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W013L1D"; + } + } + part { name: "radio"; + clip_to: "opacity_clip"; + scale: 1; + description { state: "default" 0.0; + max: 0 0; + visible: 0; + image.normal: "tw_btn_radio_holo_dark.png"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + max: RADIO_SIZE; + visible: 1; + color_class: "W013L2"; + } + description { state: "pressed" 0.0; + inherit: "on" 0.0; + color_class: "W013L2P"; + } + description { state: "disabled" 0.0; + inherit: "on" 0.0; + color_class: "W013L2D"; + } + } + part { name: "outline"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_btn_radiobox_line.png"; + color_class: "W241"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W241P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W241D"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: "W201"; + } + } + part { name: "opacity_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 255 255 255 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "event"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + script { + set_int(radio_show,1); + } + } + program { name: "hide"; + signal: "hide"; + script { + set_int(radio_show,0); + } + } + program { name: "click"; + signal: "mouse,clicked,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + emit("elm,action,radio,toggle", ""); + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + if (get_int(is_transition_finished) == 1) + set_state(PART:"radio", "on", 0.0); + } + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "event"; + script { + if (get_int(radio_disabled) == 1) return; + if (get_int(radio_state) == 1) { + if (get_int(is_transition_finished) == 1) + set_state(PART:"radio", "pressed", 0.0); + } + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"outline", "pressed", 0.0); + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + script { + set_int(radio_state, 1); + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_state(PART:"radio", "disabled", 0.0); + } + else { + if (get_int(radio_show) == 1) { + set_int(is_transition_finished, 0); + run_program(PROGRAM:"radio_show_effect"); + run_program(PROGRAM:"radio_draw_effect"); + } + else { + set_int(is_transition_finished, 1); + set_state(PART:"radio", "on", 0.0); + set_state(PART:"opacity_clip", "on", 0.0); + } + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + } + } + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + script { + if (get_int(radio_disabled) == 1) { + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + } + else { + if (get_int(radio_state) == 1) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_state(PART:"radio", "default", 0.0); + set_state(PART:"opacity_clip", "default", 0.0); + set_int(radio_state, 0); + } + } + } + } + program { name: "radio_show_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.233; + target: "opacity_clip"; + } + program { name: "radio_draw_effect"; + action: STATE_SET "on" 0.0; + transition: LINEAR 0.267; + target: "radio"; + after: "radio_on_signal"; + } + program { name: "radio_on_signal"; + script { + set_int(is_transition_finished, 1); + emit("elm,action,show,finished", "elm"); + } + } + program { name: "focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "outline"; + } + program { name: "unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "outline"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(radio_state) == 1) + set_state(PART:"radio", "disabled", 0.0); + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "disabled", 0.0); + set_state(PART:"outline", "disabled", 0.0); + set_int(radio_disabled, 1); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(radio_state) == 1) + set_state(PART:"radio", "on", 0.0); + else + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + set_state(PART:"outline", "default", 0.0); + set_int(radio_disabled, 0); + } + } + } + } diff --git a/2.3-wearable/widgets/scroller.edc b/2.3-wearable/widgets/scroller.edc new file mode 100644 index 0000000..88d4209 --- /dev/null +++ b/2.3-wearable/widgets/scroller.edc @@ -0,0 +1,1618 @@ +/* + * 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. + */ + +/* + * vim:ts=3 +*/ +#define OVERSCROLL_EFFECT_IMAGES\ + image: "bouncing_top_edge.png" COMP;\ + image: "bouncing_top_glow.png" COMP;\ + image: "bouncing_bottom_edge.png" COMP;\ + image: "bouncing_bottom_glow.png" COMP;\ + image: "bouncing_left_edge.png" COMP;\ + image: "bouncing_left_glow.png" COMP;\ + image: "bouncing_right_edge.png" COMP;\ + image: "bouncing_right_glow.png" COMP; + +group { name: "elm/scroller/base/default"; + alias: "elm/gengrid/base/no_effect"; + + data { + item: "focus_highlight" "on"; + } + + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public sh_v, sh_h; + public top_down_x = 0, top_down_y = 0 + public top_move_x = 0, top_move_y = 0 + public top_diff = 0, top_prev_diff = 0 + public effect_top_down = 0, effect_top_start = 0, effect_top_reset = 0, effect_top_anim = 0; + public effect_top_end = 0, effect_top_move = 0, effect_top_max = 0; + public bottom_down_x = 0, bottom_down_y = 0 + public bottom_move_x = 0, bottom_move_y = 0 + public bottom_diff = 0, bottom_prev_diff = 0 + public effect_bottom_down = 0, effect_bottom_start = 0, effect_bottom_reset = 0, effect_bottom_anim = 0; + public effect_bottom_end = 0, effect_bottom_move = 0, effect_bottom_max = 0; + public left_down_x = 0, left_down_y = 0 + public left_move_x = 0, left_move_y = 0 + public left_diff = 0, left_prev_diff = 0 + public effect_left_down = 0, effect_left_start = 0, effect_left_reset = 0, effect_left_anim = 0; + public effect_left_end = 0, effect_left_move = 0, effect_left_max = 0; + public right_down_x = 0, right_down_y = 0 + public right_move_x = 0, right_move_y = 0 + public right_diff = 0, right_prev_diff = 0 + public effect_right_down = 0, effect_right_start = 0, effect_right_reset = 0, effect_right_anim = 0; + public effect_right_end = 0, effect_right_move = 0, effect_right_max = 0; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "shadow_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "shadow_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "shadow_left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "shadow_right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_VBAR_PADDING_RIGHT_SIZE 0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + fixed: 1 0; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_VBAR_PADDING_TOP_SIZE; + max: 0 SCROLLER_VBAR_PADDING_TOP_SIZE; + rel2 { + relative: 0.0 0.0; + to: "sb_vbar_right_padding"; + } + fixed: 1 1; + align: 1.0 0.0; + } + } + part { name: "sb_vbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_VBAR_PADDING_BOTTOM_SIZE; + max: 0 SCROLLER_VBAR_PADDING_BOTTOM_SIZE; + rel2 { + relative: 0.0 1.0; + to: "sb_vbar_right_padding"; + } + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_vbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_VBAR_PADDING_LEFT_SIZE 0; + rel1 { + relative: 0.0 0.0; + to: "sb_vbar"; + } + rel2 { + relative: 0.0 1.0; + to: "sb_vbar"; + } + fixed: 1 0; + align: 1.0 0.0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_VBAR_MIN_SIZE; + align: 1.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "sb_vbar_top_padding"; + } + rel2 { + relative: 1.0 0.0; + to: "sb_vbar_bottom_padding"; + } + } + } + part { name: "elm.dragable.vbar"; + type: RECT; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_VBAR_MIN_SIZE; + max: SCROLLER_VBAR_MAX_SIZE; + rel1 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_vbar"; + } + color_class : "B071"; + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_HBAR_PADDING_BOTTOM_SIZE; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_HBAR_PADDING_LEFT_SIZE 0; + max: SCROLLER_HBAR_PADDING_LEFT_SIZE 0; + rel2 { + relative: 0.0 0.0; + to: "sb_hbar_bottom_padding"; + } + fixed: 1 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SCROLLER_HBAR_PADDING_RIGHT_SIZE 0; + max: SCROLLER_HBAR_PADDING_RIGHT_SIZE 0; + rel2 { + relative: 1.0 0.0; + to: "sb_hbar_bottom_padding"; + } + fixed: 1 1; + align: 1.0 1.0; + } + } + part { name: "sb_hbar_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 SCROLLER_HBAR_PADDING_TOP_SIZE; + rel1 { + relative: 0.0 0.0; + to: "sb_hbar"; + } + rel2 { + relative: 1.0 0.0; + to: "sb_hbar"; + } + fixed: 0 1; + align: 0.0 1.0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: SCROLLER_HBAR_MIN_SIZE; + align: 0.0 1.0; + rel1 { + relative: 1.0 0.0; + to: "sb_hbar_left_padding"; + } + rel2 { + relative: 0.0 1.0; + to: "sb_hbar_right_padding"; + } + } + } + part { name: "elm.dragable.hbar"; + type: RECT; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: SCROLLER_HBAR_MIN_SIZE; + max: SCROLLER_HBAR_MAX_SIZE; + rel1 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + to: "sb_hbar"; + } + color_class: "B071"; + } + } + part { name: "disabler"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 128 128 128 128; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + emit("reload", "elm"); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + v = get_int(sbvis_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + v = get_int(sbvis_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.2; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + program { name: "show"; + signal: "show"; + source: ""; + script { + new v; + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + v = get_int(sbalways_v); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + v = get_int(sbalways_h); + if (!v) { + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + } + } +} + +group { name: "elm/scroller/base/effect"; + alias: "elm/scroller/base/list_effect"; + alias: "elm/gengrid/base/default"; + inherit: "elm/scroller/base/default"; + + images { + OVERSCROLL_EFFECT_IMAGES + } + + parts { + part { name: "shadow_top"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 END_EFFECT_HORIZONTAL_EDGE_SIZE; + max: -1 END_EFFECT_HORIZONTAL_EDGE_SIZE; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_top_edge.png"; + } + color_class: "B019"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 END_EFFECT_HORIZONTAL_EDGE_SIZE; + rel2.offset: -1 END_EFFECT_HORIZONTAL_EDGE_SIZE-1; + } + } + part { name: "shadow_top_glow"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 END_EFFECT_GLOW_MAX_SIZE; + max: -1 END_EFFECT_GLOW_MAX_SIZE; + fixed: 0 1; + align: 0.5 1.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_top_glow.png"; + } + color_class: "B018E"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 END_EFFECT_GLOW_MIN_SIZE; + rel2.offset: -1 END_EFFECT_GLOW_MIN_SIZE-1; + } + } + part { name: "shadow_bottom"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 END_EFFECT_HORIZONTAL_EDGE_SIZE; + max: -1 END_EFFECT_HORIZONTAL_EDGE_SIZE; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_bottom_edge.png"; + } + color_class: "B019"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -END_EFFECT_HORIZONTAL_EDGE_SIZE; + rel2.offset: -1 -END_EFFECT_HORIZONTAL_EDGE_SIZE+1; + } + } + part { name: "shadow_bottom_glow"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 END_EFFECT_GLOW_MAX_SIZE; + max: -1 END_EFFECT_GLOW_MAX_SIZE; + fixed: 0 1; + align: 0.5 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -2; + image { + normal: "bouncing_bottom_glow.png"; + } + color_class: "B018E"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -END_EFFECT_GLOW_MIN_SIZE; + rel2.offset: -1 -END_EFFECT_GLOW_MIN_SIZE+1; + } + } + part { name: "shadow_left"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: END_EFFECT_VERTICAL_EDGE_SIZE 0; + max: END_EFFECT_VERTICAL_EDGE_SIZE -1; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_left_edge.png"; + } + color_class: "B019"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: END_EFFECT_VERTICAL_EDGE_SIZE 0; + rel2.offset: END_EFFECT_VERTICAL_EDGE_SIZE-1 -1; + } + } + part { name: "shadow_left_glow"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: END_EFFECT_GLOW_MAX_SIZE 0; + max: END_EFFECT_GLOW_MAX_SIZE -1; + fixed: 1 1; + align: 1.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_left_glow.png"; + } + color_class: "B018E"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: END_EFFECT_GLOW_MIN_SIZE 0; + rel2.offset: END_EFFECT_GLOW_MIN_SIZE-1 -1; + } + } + part { name: "shadow_right"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: END_EFFECT_VERTICAL_EDGE_SIZE 0; + max: END_EFFECT_VERTICAL_EDGE_SIZE -1; + fixed: 1 0; + align: 0.0 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_right_edge.png"; + } + color_class: "B019"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -END_EFFECT_VERTICAL_EDGE_SIZE 0; + rel2.offset: END_EFFECT_VERTICAL_EDGE_SIZE-1 -1; + } + } + part { name: "shadow_right_glow"; + clip_to: "clipper"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: END_EFFECT_GLOW_MAX_SIZE 0; + max: END_EFFECT_GLOW_MAX_SIZE -1; + fixed: 1 0; + align: 0.0 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "bouncing_right_glow.png"; + } + color_class: "B019"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + rel1.offset: -END_EFFECT_GLOW_MIN_SIZE 0; + rel2.offset: -END_EFFECT_GLOW_MIN_SIZE+1 -1; + } + } + } + programs { + program { name: "load"; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + set_int(sh_v, 0); + emit("reload", "elm"); + } + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0.0) cancel_timer(v); + v = timer(0.2, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "edge_top_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_top_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_top_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_top_down, 0); + if (get_int(effect_top_start)) + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_anim)) + { + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + } + program { name: "edge_top_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_top_start)) + { + set_state(PART:"shadow_top", "default", 0.0); + set_state(PART:"shadow_top_glow", "default", 0.0); + set_int(effect_top_reset, 0); + run_program(PROGRAM:"edge_top_init"); + } + } + } + program { name: "edge_top_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top"; + transition: SINUSOIDAL 0.1; + after: "edge_top_glow_end"; + } + program { name: "edge_top_glow_end"; + action: STATE_SET "default" 0.0; + target: "shadow_top_glow"; + transition: SINUSOIDAL 0.3; + after: "edge_top_init"; + } + program { name: "edge_top_init"; + script { + set_int(effect_top_move, 0); + if (!get_int(effect_top_reset)) + set_int(effect_top_start, 0); + set_int(effect_top_max, 0); + set_int(top_prev_diff, 0); + set_int(effect_top_end, 0); + } + } + /* Effect Show */ + program { name: "edge_top"; + signal: "elm,edge,top"; + source: "elm"; + script { + if (!get_int(effect_top_start)) + { + set_int(effect_top_start, 1); + set_int(effect_top_anim, 1); + run_program(PROGRAM:"edge_top_start"); + } + } + } + program { name: "edge_top_start"; + action: STATE_SET "start" 0.0; + target: "shadow_top"; + target: "shadow_top_glow"; + transition: SINUSOIDAL 0.2; + after: "edge_top_after"; + } + program { name: "edge_top_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(top_down_y, yy); + set_int(effect_top_anim, 0); + /* mouse down */ + if (get_int(effect_top_down)) + { + set_int(effect_top_move, 1); + } + /* mouse up */ + else + { + set_int(effect_top_reset, 0); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + } + } + program { name: "edge_top_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_top_move)) + { + new xx, yy; + new Float:fx1, Float:fx2; + get_mouse(xx, yy); + set_int(top_move_y, yy); + set_int(top_diff, (get_int(top_move_y) - get_int(top_down_y))); + if (get_int(top_diff) < get_int(top_prev_diff)) + { + set_int(top_prev_diff, 0); + set_int(effect_top_move, 0); + set_int(effect_top_reset, 1); + if (!get_int(effect_top_end)) + { + set_int(effect_top_end, 1); + run_program(PROGRAM:"edge_top_end"); + } + } + else + { + if (!get_int(effect_top_end)) + { + if (get_int(top_diff) <= 90 && !get_int(effect_top_max)) + { + fx1 = fx2 = sin(get_int(top_diff), DEGREES); + fx1 = fx1 * END_EFFECT_GLOW_MOVE_CORRECTION_VALUE + END_EFFECT_GLOW_MIN_SIZE; + fx2 = END_EFFECT_HORIZONTAL_EDGE_SIZE; + } + else + { + set_int(effect_top_max, 1); + fx1 = END_EFFECT_GLOW_MAX_SIZE; + fx2 = END_EFFECT_HORIZONTAL_EDGE_SIZE; + } + custom_state(PART:"shadow_top_glow", "default", 0.0); + set_state_val(PART:"shadow_top_glow", STATE_REL1_OFFSET, 0, round(fx1)); + set_state_val(PART:"shadow_top_glow", STATE_REL2_OFFSET, -1, round(fx1) - 1); + set_state(PART:"shadow_top_glow", "custom", 0.0); + + custom_state(PART:"shadow_top", "default", 0.0); + set_state_val(PART:"shadow_top", STATE_REL1_OFFSET, 0, round(fx2)); + set_state_val(PART:"shadow_top", STATE_REL2_OFFSET, -1, round(fx2) - 1); + set_state(PART:"shadow_top", "custom", 0.0); + + set_int(top_prev_diff, get_int(top_diff)); + } + } + } + } + } + program { name: "edge_bottom_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_bottom_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_bottom_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_bottom_down, 0); + if (get_int(effect_bottom_start)) + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_anim)) + { + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + } + program { name: "edge_bottom_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_bottom_start)) + { + set_state(PART:"shadow_bottom", "default", 0.0); + set_state(PART:"shadow_bottom_glow", "default", 0.0); + set_int(effect_bottom_reset, 0); + run_program(PROGRAM:"edge_bottom_init"); + } + } + } + program { name: "edge_bottom_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom"; + transition: SINUSOIDAL 0.1; + after: "edge_bottom_glow_end"; + } + program { name: "edge_bottom_glow_end"; + action: STATE_SET "default" 0.0; + target: "shadow_bottom_glow"; + transition: SINUSOIDAL 0.3; + after: "edge_bottom_init"; + } + program { name: "edge_bottom_init"; + script { + set_int(effect_bottom_move, 0); + if (!get_int(effect_bottom_reset)) + set_int(effect_bottom_start, 0); + set_int(effect_bottom_max, 0); + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_end, 0); + } + } + /* Effect Show */ + program { name: "edge_bottom"; + signal: "elm,edge,bottom"; + source: "elm"; + script { + if (!get_int(effect_bottom_start)) + { + set_int(effect_bottom_start, 1); + set_int(effect_bottom_anim, 1); + run_program(PROGRAM:"edge_bottom_start"); + } + } + } + program { name: "edge_bottom_start"; + action: STATE_SET "start" 0.0; + target: "shadow_bottom"; + target: "shadow_bottom_glow"; + transition: SINUSOIDAL 0.2; + after: "edge_bottom_after"; + } + program { name: "edge_bottom_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(effect_bottom_anim, 0); + set_int(bottom_down_y, yy); + /* mouse down */ + if (get_int(effect_bottom_down)) + { + set_int(effect_bottom_move, 1); + } + /* mouse up */ + else + { + set_int(effect_bottom_reset, 0); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + } + } + program { name: "edge_bottom_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_bottom_move)) + { + new xx, yy; + new Float:fx1, Float:fx2; + get_mouse(xx, yy); + set_int(bottom_move_y, yy); + set_int(bottom_diff, (get_int(bottom_down_y) - get_int(bottom_move_y))); + if (get_int(bottom_diff) < get_int(bottom_prev_diff)) + { + set_int(bottom_prev_diff, 0); + set_int(effect_bottom_move, 0); + set_int(effect_bottom_reset, 1); + if (!get_int(effect_bottom_end)) + { + set_int(effect_bottom_end, 1); + run_program(PROGRAM:"edge_bottom_end"); + } + } + else + { + if (!get_int(effect_bottom_end)) + { + if (get_int(bottom_diff) <= 90 && !get_int(effect_bottom_max)) + { + fx1 = fx2 = sin(get_int(bottom_diff), DEGREES); + fx1 = fx1 * END_EFFECT_GLOW_MOVE_CORRECTION_VALUE + END_EFFECT_GLOW_MIN_SIZE; + fx2 = END_EFFECT_HORIZONTAL_EDGE_SIZE; + } + else + { + set_int(effect_bottom_max, 1); + fx1 = END_EFFECT_GLOW_MAX_SIZE; + fx2 = END_EFFECT_HORIZONTAL_EDGE_SIZE; + } + custom_state(PART:"shadow_bottom_glow", "default", 0.0); + set_state_val(PART:"shadow_bottom_glow", STATE_REL1_OFFSET, 0, round(fx1) * -1); + set_state_val(PART:"shadow_bottom_glow", STATE_REL2_OFFSET, -1, (round(fx1) - 1) * -1); + set_state(PART:"shadow_bottom_glow", "custom", 0.0); + + custom_state(PART:"shadow_bottom", "default", 0.0); + set_state_val(PART:"shadow_bottom", STATE_REL1_OFFSET, 0, round(fx2) * -1); + set_state_val(PART:"shadow_bottom", STATE_REL2_OFFSET, -1, (round(fx2) - 1) * -1); + set_state(PART:"shadow_bottom", "custom", 0.0); + + set_int(bottom_prev_diff, get_int(bottom_diff)); + } + } + } + } + } + program { name: "edge_left_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_left_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_left_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_left_down, 0); + if (get_int(effect_left_start)) + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_anim)) + { + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + } + program { name: "edge_left_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_left_start)) + { + set_state(PART:"shadow_left", "default", 0.0); + set_state(PART:"shadow_left_glow", "default", 0.0); + set_int(effect_left_reset, 0); + run_program(PROGRAM:"edge_left_init"); + } + } + } + program { name: "edge_left_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left"; + transition: SINUSOIDAL 0.1; + after: "edge_left_glow_end"; + } + program { name: "edge_left_glow_end"; + action: STATE_SET "default" 0.0; + target: "shadow_left_glow"; + transition: SINUSOIDAL 0.3; + after: "edge_left_init"; + } + program { name: "edge_left_init"; + script { + set_int(effect_left_move, 0); + if (!get_int(effect_left_reset)) + set_int(effect_left_start, 0); + set_int(effect_left_max, 0); + set_int(left_prev_diff, 0); + set_int(effect_left_end, 0); + } + } + /* Effect Show */ + program { name: "edge_left"; + signal: "elm,edge,left"; + source: "elm"; + script { + if (!get_int(effect_left_start)) + { + set_int(effect_left_start, 1); + set_int(effect_left_anim, 1); + run_program(PROGRAM:"edge_left_start"); + } + } + } + program { name: "edge_left_start"; + action: STATE_SET "start" 0.0; + target: "shadow_left"; + target: "shadow_left_glow"; + transition: SINUSOIDAL 0.2; + after: "edge_left_after"; + } + program { name: "edge_left_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(left_down_x, xx); + set_int(effect_left_anim, 0); + /* mouse down */ + if (get_int(effect_left_down)) + { + set_int(effect_left_move, 1); + } + /* mouse up */ + else + { + set_int(effect_left_reset, 0); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + } + } + program { name: "edge_left_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_left_move)) + { + new xx, yy; + new Float:fx1, Float:fx2; + get_mouse(xx, yy); + set_int(left_move_x, xx); + set_int(left_diff, (get_int(left_move_x) - get_int(left_down_x))); + if (get_int(left_diff) < get_int(left_prev_diff)) + { + set_int(left_prev_diff, 0); + set_int(effect_left_move, 0); + set_int(effect_left_reset, 1); + if (!get_int(effect_left_end)) + { + set_int(effect_left_end, 1); + run_program(PROGRAM:"edge_left_end"); + } + } + else + { + if (!get_int(effect_left_end)) + { + if (get_int(left_diff) <= 90 && !get_int(effect_left_max)) + { + fx1 = sin(get_int(left_diff), DEGREES); + fx1 = fx1 * END_EFFECT_GLOW_MOVE_CORRECTION_VALUE + END_EFFECT_GLOW_MIN_SIZE; + fx2 = END_EFFECT_VERTICAL_EDGE_SIZE; + } + else + { + set_int(effect_left_max, 1); + fx1 = END_EFFECT_GLOW_MAX_SIZE; + fx2 = END_EFFECT_VERTICAL_EDGE_SIZE; + } + custom_state(PART:"shadow_left_glow", "default", 0.0); + set_state_val(PART:"shadow_left_glow", STATE_REL1_OFFSET, round(fx1), 0); + set_state_val(PART:"shadow_left_glow", STATE_REL2_OFFSET, round(fx1) - 1, -1); + set_state(PART:"shadow_left_glow", "custom", 0.0); + + custom_state(PART:"shadow_left", "default", 0.0); + set_state_val(PART:"shadow_left", STATE_REL1_OFFSET, round(fx2), 0); + set_state_val(PART:"shadow_left", STATE_REL2_OFFSET, round(fx2) - 1, -1); + set_state(PART:"shadow_left", "custom", 0.0); + + set_int(left_prev_diff, get_int(left_diff)); + } + } + } + } + } + program { name: "edge_right_mouse_down"; + signal: "elm,state,mouse,down"; + source: "elm"; + script { + set_int(effect_right_down, 1); + } + } + /* Effect Hide */ + program { name: "edge_right_mouse_up"; + signal: "elm,state,mouse,up"; + source: "elm"; + script { + set_int(effect_right_down, 0); + if (get_int(effect_right_start)) + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_anim)) + { + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + } + program { name: "edge_right_scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + if (get_int(effect_right_start)) + { + set_state(PART:"shadow_right", "default", 0.0); + set_state(PART:"shadow_right_glow", "default", 0.0); + set_int(effect_right_reset, 0); + run_program(PROGRAM:"edge_right_init"); + } + } + } + program { name: "edge_right_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right"; + transition: SINUSOIDAL 0.1; + after: "edge_right_glow_end"; + } + program { name: "edge_right_glow_end"; + action: STATE_SET "default" 0.0; + target: "shadow_right_glow"; + transition: SINUSOIDAL 0.3; + after: "edge_right_init"; + } + program { name: "edge_right_init"; + script { + set_int(effect_right_move, 0); + if (!get_int(effect_right_reset)) + set_int(effect_right_start, 0); + set_int(effect_right_max, 0); + set_int(right_prev_diff, 0); + set_int(effect_right_end, 0); + } + } + /* Effect Show */ + program { name: "edge_right"; + signal: "elm,edge,right"; + source: "elm"; + script { + if (!get_int(effect_right_start)) + { + set_int(effect_right_start, 1); + set_int(effect_right_anim, 1); + run_program(PROGRAM:"edge_right_start"); + } + } + } + program { name: "edge_right_start"; + action: STATE_SET "start" 0.0; + target: "shadow_right"; + target: "shadow_right_glow"; + transition: SINUSOIDAL 0.2; + after: "edge_right_after"; + } + program { name: "edge_right_after"; + script { + new xx, yy; + get_mouse(xx, yy); + set_int(right_down_x, xx); + set_int(effect_right_anim, 0); + /* mouse down */ + if (get_int(effect_right_down)) + { + set_int(effect_right_move, 1); + } + /* mouse up */ + else + { + set_int(effect_right_reset, 0); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + } + } + program { name: "edge_right_mouse_move"; + signal: "elm,state,mouse,move"; + source: "elm"; + script { + if (get_int(effect_right_move)) + { + new xx, yy; + new Float:fx1, Float:fx2; + get_mouse(xx, yy); + set_int(right_move_x, xx); + set_int(right_diff, (get_int(right_down_x) - get_int(right_move_x))); + if (get_int(right_diff) < get_int(right_prev_diff)) + { + set_int(right_prev_diff, 0); + set_int(effect_right_move, 0); + set_int(effect_right_reset, 1); + if (!get_int(effect_right_end)) + { + set_int(effect_right_end, 1); + run_program(PROGRAM:"edge_right_end"); + } + } + else + { + if (!get_int(effect_right_end)) + { + if (get_int(right_diff) <= 90 && !get_int(effect_right_max)) + { + fx1 = sin(get_int(right_diff), DEGREES); + fx1 = fx1 * END_EFFECT_GLOW_MOVE_CORRECTION_VALUE + END_EFFECT_GLOW_MIN_SIZE; + fx2 = END_EFFECT_VERTICAL_EDGE_SIZE; + } + else + { + set_int(effect_right_max, 1); + fx1 = END_EFFECT_GLOW_MAX_SIZE; + fx2 = END_EFFECT_VERTICAL_EDGE_SIZE; + } + custom_state(PART:"shadow_right_glow", "default", 0.0); + set_state_val(PART:"shadow_right_glow", STATE_REL1_OFFSET, round(fx1) * -1, 0); + set_state_val(PART:"shadow_right_glow", STATE_REL2_OFFSET, (round(fx1) - 1) * -1, -1); + set_state(PART:"shadow_right_glow", "custom", 0.0); + + custom_state(PART:"shadow_right", "default", 0.0); + set_state_val(PART:"shadow_right", STATE_REL1_OFFSET, round(fx2) * -1, 0); + set_state_val(PART:"shadow_right", STATE_REL2_OFFSET, (round(fx2) - 1) * -1, -1); + set_state(PART:"shadow_right", "custom", 0.0); + + set_int(right_prev_diff, get_int(right_diff)); + } + } + } + } + } + } +} + +group { name: "elm/scroller/contents/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content_r"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_b"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + part { name: "elm.swallow.content_rb"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.content"; + } + } + } + } +} + +group { name: "elm/genlist/base/no_effect"; + alias: "elm/list/base/no_effect"; + inherit: "elm/scroller/base/default"; + + parts { + part { name: "bg"; + description { state: "default" 0.0; + color: 255 255 255 255; + color_class: "B011"; + } + } + } +} + +group { name: "elm/genlist/base/default"; + alias: "elm/list/base/default"; + inherit: "elm/scroller/base/effect"; + + parts { + part { name: "bg"; + description { state: "default" 0.0; + color: 255 255 255 255; + color_class: "B011"; + } + } + } +} + + +group { name: "elm/genlist/base/transparent"; + alias: "elm/genlist/base/popup"; + alias: "elm/list/base/transparent"; + alias: "elm/list/base/popup"; + inherit: "elm/genlist/base/default"; + + parts { + part { name: "bg"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/2.3-wearable/widgets/slider.edc b/2.3-wearable/widgets/slider.edc new file mode 100644 index 0000000..038ef88 --- /dev/null +++ b/2.3-wearable/widgets/slider.edc @@ -0,0 +1,599 @@ +/* + * 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. + */ + +group { name: "elm/slider/horizontal/indicator/default"; + alias: "elm/slider/horizontal/indicator/disabled"; + alias: "elm/slider/horizontal/indicator/tap_to_drag"; + alias: "elm/slider/horizontal/indicator/textstyle"; + alias: "elm/slider/horizontal/indicator/numberstyle"; + images { + image: "tw_scrubber_control_holo_dark_press.png" COMP; + image: "tw_scrubber_control_press_line.png" COMP; + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 2.5*SLIDER_IND_WIDTH 2*SLIDER_IND_HEIGHT; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "button0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; + max: SLIDER_IND_MAX_WIDTH SLIDER_IND_MAX_HEIGHT; + image { + normal: "tw_scrubber_control_holo_dark_press.png"; + } + color_class: "B065L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "B065L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "B065L1D"; + } + } + part { name: "button_effect"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; + max: SLIDER_IND_MAX_WIDTH SLIDER_IND_MAX_HEIGHT; + image.normal: "tw_scrubber_control_press_line.png"; + color_class: "B141"; + rel1.to: "button0"; + rel2.to: "button0"; + } + } + } + programs { + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button0"; + target: "button_events"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button0"; + target: "button_events"; + } + program { name: "mouse_down"; + signal: "mouse,down,*"; + source: "button_events"; + action: STATE_SET "pressed" 0.0; + target: "button0"; + } + program { name: "mouse_up"; + signal: "mouse,up,*"; + source: "button_events"; + action: STATE_SET "default" 0.0; + target: "button0"; + } + } + } + + group { name: "elm/slider/horizontal/default"; + alias: "elm/slider/horizontal/disabled"; + data { + item: "access_highlight" on; + } + images { + image: "tw_timepicker_num_bg_new.#.png" COMP; + image: "tw_focused_effect.#png" COMP; + } + script { + public icon_show = 0; + public invert_on = 0; + public set_invert_on() { + set_state(PART:"level", "inverted", 0.0); + set_int(invert_on, 1); + } + public set_invert_off() { + set_state(PART:"level", "default", 0.0); + set_int(invert_on, 0); + } + public thumb_down() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "pressed", 0.0); + } + public thumb_up() { + if(get_int(invert_on) == 0) + set_state(PART:"level", "default", 0.0); + } + } + parts { + part { name: "access"; + type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 SLIDER_BG_HEIGHT_INC; + max: -1 SLIDER_BG_HEIGHT_INC; + } + } + part { + name: "top_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1.to: "bg"; + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + align: 0.5 1.0; + fixed: 1 1; + } + description { state: "visible"; + inherit: "default" 0.0; + min: 0 SLIDER_POPUP_BOTTOM_PADDING_HEIGHT_INC; + max: -1 SLIDER_POPUP_BOTTOM_PADDING_HEIGHT_INC; + } + } + part { name: "popup_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "top_padding"; + rel2 { + relative: 1.0 0.0; + to: "top_padding"; + } + min: SLIDER_POPUP_SIZE_INC; + max: SLIDER_POPUP_SIZE_INC; + fixed: 1 1; + align: 0.5 1.0; + } + } + part { name: "popup.image"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "popup_bg"; + rel2.to: "popup_bg"; + image.normal: "tw_timepicker_num_bg_new.#.png"; + color_class: "W0811"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color_class: "W0812"; + } + } + part { name: "elm.indicator"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + color_class: "T051"; + rel1.to: "popup.image"; + rel2.to: "popup.image"; + text { + align: 0.5 0.5; + min: 1 1; + text_class: "T051"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "T051P"; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "T051D"; + visible: 1; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "icon_clipper"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_padding"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 0; + max: 0 0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.icon"; + } + rel2 { + relative: 1.0 1.0; + to: "elm.swallow.icon"; + } + align: 0.0 0.5; + fixed: 1 1; + } + description { state: "visible"; + inherit: "default" 0.0; + min: SLIDER_ICON_PADDING_SIZE_INC; + max: SLIDER_ICON_PADDING_SIZE_INC; + } + } + part { + name: "base"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "icon_padding"; + to_y: "bg"; + } + rel2.to: "bg"; + min: 0 PROGRESSBAR_HEIGHT; + max: -1 PROGRESSBAR_HEIGHT; + fixed: 0 1; + color_class: "B065L3"; + } + } + part { name: "level"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 0 1; + rel1 { + to_x: "base"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.dragable.slider"; + relative: 0.5 1.0; + } + min: 0 PROGRESSBAR_HEIGHT; + max: -1 PROGRESSBAR_HEIGHT; + fixed: 0 1; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + } + part { name: "rect_swallow"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 0 0; + rel1 { + to_x: "base"; + relative: 0.0 0.0; + } + rel2 { + to_x: "base"; + relative: 0.0 1.0; + } + align: 0.0 0.5; + } + } + part { name: "drag_base"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "rect_swallow"; + rel1.relative: 1.0 0.0; + rel1.offset: -18 0; // FIXME: slider image has transparent area + rel2.to: "elm.swallow.bar"; + rel2.offset: -6 0; // FIXME: slider image has transparent area + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + rel1.offset: -22 0; + rel2.offset: -1 0; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 SLIDER_IND_MAX_HEIGHT; + max: -1 SLIDER_IND_MAX_HEIGHT; + align: 1.0 0.5; + fixed: 0 1; + rel1 { + to_x: "base"; + relative: 0.0 0.0; + offset: -22 0; + } + rel2 { + to_x: "base"; + relative: 1.0 1.0; + offset: 22 0; + } + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/default"; + mouse_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "drag_base"; + } + description { state: "default" 0.0; + min: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; + max: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + min: SLIDER_IND_MAX_WIDTH SLIDER_IND_MAX_HEIGHT; + max: SLIDER_IND_MAX_WIDTH SLIDER_IND_MAX_HEIGHT; + } + } + part { name: "disabler"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1.to_x: "elm.swallow.bar"; + rel2.to_x: "elm.swallow.bar"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color_class: "B065L2"; + } + description { state: "disabled" 0.0; + color_class: "B0651L2"; + } + } + part { name: "icon_clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + color_class: "W173L1"; + } + } + part { name: "access_image"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: -14 0; + rel2.to: "bg"; + rel2.offset: 14 0; + visible: 0; + fill.smooth: 0; + image.normal: "tw_focused_effect.#.png"; + color_class: "W201"; + } + description { state: "highlighted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "highlighted_icon_show" 0.0; + inherit: "highlighted" 0.0; + rel1.offset: 0 0; + } + } + } + programs { + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + script { + set_invert_on(); + } + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + script { + set_invert_off(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "elm.dragable.slider"; + script { + thumb_down(); + } + action: STATE_SET "pressed" 0.0; + transition: LINEAR 0.1; + target: "drag_base"; + target: "elm.dragable.slider"; + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "elm.dragable.slider"; + script { + thumb_up(); + } + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "drag_base"; + target: "elm.dragable.slider"; + } + program { name: "button_expand"; + signal: "mouse,down,*"; + source: "elm.swallow.bar"; + action: STATE_SET "pressed" 0.0; + transition: LINEAR 0.1; + target: "drag_base"; + target: "elm.dragable.slider"; + } + program { name: "button_reduce"; + signal: "mouse,up,*"; + source: "elm.swallow.bar"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "drag_base"; + target: "elm.dragable.slider"; + } + program { name: "popup_val_show"; + signal: "elm,state,val,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "top_padding"; + target: "popup.image"; + target: "elm.indicator"; + } + program { name: "popup,show"; + signal: "popup,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "top_padding"; + target: "popup.image"; + target: "elm.indicator"; + } + program { name: "popup_hide"; + signal: "popup,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "top_padding"; + target: "popup.image"; + target: "elm.indicator"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + set_int(icon_show, 1); + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"icon_padding", "visible", 0.0); + } + } + program { name: "slider_disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + target: "clipper"; + } + program { name: "slider_enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + program { name: "action_highlight"; + signal: "elm,action,access_highlight,show"; + source: "elm"; + script { + if (get_int(icon_show)) + set_state(PART:"access_image", "highlighted_icon_show", 0.0); + else + set_state(PART:"access_image", "highlighted", 0.0); + } + } + program { name: "action_no_highlight"; + signal: "elm,action,access_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access_image"; + } + } + } diff --git a/2.3-wearable/widgets/spinner.edc b/2.3-wearable/widgets/spinner.edc new file mode 100644 index 0000000..04d6e1b --- /dev/null +++ b/2.3-wearable/widgets/spinner.edc @@ -0,0 +1,2215 @@ +/* + * 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. + */ +group { name: "elm/spinner/base/horizontal"; + images { + image: "tw_controller_module_plus.png" COMP; + image: "tw_controller_module_minus.png" COMP; + } + script { + public plus_press_timer; + public minus_press_timer; + public plus_pressed; + public minus_pressed; + + public plus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(plus_pressed); + get_state(PART:"right.event", st, 30, vl); + if (pressed) { + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + } else if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.bg", "default", 0.0); + } + } + + public minus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(minus_pressed); + get_state(PART:"left.event", st, 30, vl); + if (pressed) { + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + } else if(strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.bg", "default", 0.0); + } + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + max: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + color: 0 0 0 255; + } + } + part { name: "left.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + min: SPINNER_BG_LEFT_RIGHT_SIZE; + max: SPINNER_BG_LEFT_RIGHT_SIZE; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "left.image.minus"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.bg"; + rel2.to: "left.bg"; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_minus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "image_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "left.bg"; + relative: 1.0 0.0; + } + rel2.to: "left.bg"; + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "content_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "W171L2"; + min: SPINNER_CONTENT_BG_SIZE; + max: SPINNER_CONTENT_BG_SIZE; + rel1 {to: "image_left_padding"; relative: 1.0 0.0;} + rel2 {to: "image_right_padding"; relative: 0.0 1.0;} + } + } + part { name: "fake_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2 {to: "content_bg"; relative: 0.0 1.0;} + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + align: 0.0 0.5; + fixed: 1 0; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "fake_padding"; relative: 1.0 0.0;} + rel2 {to: "bottom_padding"; relative: 1.0 0.0;} + color_class: "T0621"; + text { + min: 0 1; + max: 1 1; + text_class: "T0621"; + } + fixed: 1 1; + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "content_bg"; relative: 0.0 1.0;} + rel2.to: "content_bg"; + align: 0.5 1.0; + min: SPINNER_BOTTOM_PADDING_SIZE; + max: SPINNER_BOTTOM_PADDING_SIZE; + fixed: 0 1; + } + } + part { name: "center.image"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 {to: "elm.text"; relative: 0.0 1.0;} + align: 1.0 0.5; + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + fixed: 1 0; + } + } + part { name: "image_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.bg"; + rel2 {to: "right.bg"; relative: 0.0 1.0;} + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "right.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + align: 1.0 0.5; + min: SPINNER_BG_LEFT_RIGHT_SIZE; + max: SPINNER_BG_LEFT_RIGHT_SIZE; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "right.image.plus"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.bg"; + rel2.to: "right.bg"; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_plus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "left.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.bg"; + rel2.to: "left.bg"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "center.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2.to: "content_bg"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "right.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.bg"; + rel2.to: "right.bg"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "inc_bt"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "right.event"; + rel2.to: "right.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "dec_bt"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "left.event"; + rel2.to: "left.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "access_text"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "center.event"; + rel2.to: "center.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + } + programs { + program { name: "dec_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "right.event"; + script { + new right_timer; + new st[31]; + new Float:vl; + + get_state(PART:"right.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "pressed", 0.0); + set_state(PART:"right.bg", "pressed", 0.0); + right_timer = get_int(plus_press_timer); + if (right_timer) { + cancel_timer(right_timer); + set_int(plus_press_timer, 0); + } + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + set_int(plus_pressed, 1); + run_program(PROGRAM:"inc_start_signal_emit"); + } + } + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "right.event"; + script { + set_int(plus_pressed, 0); + } + after: "inc_stop_signal_emit"; + } + program { name: "dec"; + signal: "mouse,down,1*"; + source: "left.event"; + script { + new left_timer; + new st[31]; + new Float:vl; + + get_state(PART:"left.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "pressed", 0.0); + set_state(PART:"left.bg", "pressed", 0.0); + left_timer = get_int(minus_press_timer); + if (left_timer) { + cancel_timer(left_timer); + set_int(minus_press_timer, 0); + } + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + set_int(minus_pressed, 1); + run_program(PROGRAM:"dec_start_signal_emit"); + } + } + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "left.event"; + script { + set_int(minus_pressed, 0); + } + after: "dec_stop_signal_emit"; + } + program { name: "inc_cancel"; + signal: "elm,spinner,inc,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"right.event", st, 30, vl); + if (!strcmp(st, "disabled")) + run_program(PROGRAM:"rightbtn_disable"); + else { + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.bg", "default", 0.0); + set_state(PART:"right.event", "default", 0.0); + } + } + } + program { name: "dec_cancel"; + signal: "elm,spinner,dec,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"left.event", st, 30, vl); + if (!strcmp(st, "disabled")) + run_program(PROGRAM:"leftbtn_disable"); + else { + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.bg", "default", 0.0); + set_state(PART:"left.event", "default", 0.0); + } + } + } + program { name: "rightbtn_enable"; + signal: "elm,spinner,rightbtn,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"right.bg", st, 30, vl); + if (!strcmp(st, "pressed")) { + set_state(PART:"right.image.plus", "pressed", 0.0); + set_state(PART:"right.bg", "pressed", 0.0); + } + else { + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.bg", "default", 0.0); + } + set_state(PART:"right.event", "default", 0.0); + } + } + program { name: "rightbtn_disable"; + signal: "elm,spinner,rightbtn,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "right.image.plus"; + target: "right.bg"; + target: "right.event"; + } + program { name: "leftbtn_enable"; + signal: "elm,spinner,leftbtn,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"left.bg", st, 30, vl); + if (!strcmp(st, "pressed")) { + set_state(PART:"left.image.minus", "pressed", 0.0); + set_state(PART:"left.bg", "pressed", 0.0); + } + else { + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.bg", "default", 0.0); + } + set_state(PART:"left.event", "default", 0.0); + } + } + program { name: "leftbtn_disable"; + signal: "elm,spinner,leftbtn,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "left.image.minus"; + target: "left.bg"; + target: "left.event"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + run_program(PROGRAM:"rightbtn_enable"); + run_program(PROGRAM:"leftbtn_enable"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + run_program(PROGRAM:"rightbtn_disable"); + run_program(PROGRAM:"leftbtn_disable"); + } + } + program { name: "center_clicked"; + signal: "mouse,clicked,1"; + source: "center.event"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + } +} + +group { name: "elm/spinner/base/volumestyle"; + alias: "elm/spinner/base/volume"; + images { + image: "tw_controller_module_plus.png" COMP; + image: "tw_controller_module_minus.png" COMP; + image: "tw_number_controller_icon_ringtone_sound.png" COMP; + image: "tw_number_controller_icon_ringtone_mute.png" COMP; + image: "tw_number_controller_icon_ringtone_vibrate.png" COMP; + } + script { + public plus_press_timer; + public minus_press_timer; + public plus_pressed; + public minus_pressed; + + public plus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(plus_pressed); + get_state(PART:"right.event", st, 30, vl); + if (pressed) { + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + } else if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.bg", "default", 0.0); + } + } + + public minus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(minus_pressed); + get_state(PART:"left.event", st, 30, vl); + if (pressed) { + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + } else if(strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.bg", "default", 0.0); + } + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + max: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + color: 0 0 0 255; + } + } + part { name: "left.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.image.minus"; + rel2.to: "left.image.minus"; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "left.image.minus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_minus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "image_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "left.image.minus"; + relative: 1.0 0.0; + } + rel2.to: "left.image.minus"; + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "content_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "W171L2"; + min: SPINNER_CONTENT_BG_SIZE; + max: SPINNER_CONTENT_BG_SIZE; + rel1 {to: "image_left_padding"; relative: 1.0 0.0;} + rel2 {to: "image_right_padding"; relative: 0.0 1.0;} + } + } + part { name: "fake_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2 {to: "content_bg"; relative: 0.0 1.0;} + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + align: 0.0 0.5; + fixed: 1 1; + } + } + part { name: "text_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "fake_padding"; relative: 1.0 0.0;} + rel2 {to_x: "content_bg"; to_y: "fake_padding"; relative: 1.0 0.0;} + min: 0 SPINNER_TEXT_TOP_PADDING_HEIGHT; + fixed: 1 1; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1 {to_x: "fake_padding"; to_y: "text_top_padding"; relative: 1.0 1.0;} + rel2 {to: "bottom_padding"; relative: 1.0 0.0;} + color_class: "T0621"; + text { + min: 0 1; + max: 1 1; + text_class: "T0621"; + } + fixed: 1 1; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + color_class: "T0622"; + text.text_class: "T0622"; + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "content_bg"; relative: 0.0 1.0;} + rel2.to: "content_bg"; + align: 0.5 1.0; + min: SPINNER_BOTTOM_PADDING_SIZE; + max: SPINNER_BOTTOM_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "center.image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 {to: "elm.text"; relative: 0.0 1.0;} + align: 1.0 0.5; + color_class: "W173L1"; + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + image.normal: "tw_number_controller_icon_ringtone_sound.png"; + fixed: 1 1; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + color_class: "W172L1"; + } + description { state: "zero" 0.0; + inherit: "default" 0.0; + image.normal: "tw_number_controller_icon_ringtone_mute.png"; + } + description { state: "vibrate" 0.0; + inherit: "default" 0.0; + image.normal: "tw_number_controller_icon_ringtone_vibrate.png"; + } + } + part { name: "image_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2 {to: "right.image.plus"; relative: 0.0 1.0;} + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "right.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2.to: "right.image.plus"; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "right.image.plus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + align: 1.0 0.5; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_plus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "left.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.image.minus"; + rel2.to: "left.image.minus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "center.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2.to: "content_bg"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "right.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2.to: "right.image.plus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "dec_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "right.event"; + script { + new right_timer; + new st[31]; + new Float:vl; + + get_state(PART:"right.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "pressed", 0.0); + set_state(PART:"right.bg", "pressed", 0.0); + right_timer = get_int(plus_press_timer); + if (right_timer) { + cancel_timer(right_timer); + set_int(plus_press_timer, 0); + } + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + set_int(plus_pressed, 1); + run_program(PROGRAM:"inc_start_signal_emit"); + } + } + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "right.event"; + script { + set_int(plus_pressed, 0); + } + after: "inc_stop_signal_emit"; + } + program { name: "dec"; + signal: "mouse,down,1*"; + source: "left.event"; + script { + new left_timer; + new st[31]; + new Float:vl; + + get_state(PART:"left.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "pressed", 0.0); + set_state(PART:"left.bg", "pressed", 0.0); + left_timer = get_int(minus_press_timer); + if (left_timer) { + cancel_timer(left_timer); + set_int(minus_press_timer, 0); + } + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + set_int(minus_pressed, 1); + run_program(PROGRAM:"dec_start_signal_emit"); + } + } + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "left.event"; + script { + set_int(minus_pressed, 0); + } + after: "dec_stop_signal_emit"; + } + program { name: "inc_cancel"; + signal: "elm,spinner,inc,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"center.image", st, 30, vl); + if (!strcmp(st, "full")) { + set_state(PART:"right.bg", "disabled", 0.0); + set_state(PART:"right.image.plus", "disabled", 0.0); + set_state(PART:"right.event", "disabled", 0.0); + } + else { + set_state(PART:"right.bg", "default", 0.0); + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.event", "default", 0.0); + } + } + } + program { name: "dec_cancel"; + signal: "elm,spinner,dec,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"center.image", st, 30, vl); + if (!strcmp(st, "zero") || !strcmp(st, "vibrate")) { + set_state(PART:"left.bg", "disabled", 0.0); + set_state(PART:"left.image.minus", "disabled", 0.0); + set_state(PART:"left.event", "disabled", 0.0); + } + else { + set_state(PART:"left.bg", "default", 0.0); + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.event", "default", 0.0); + } + } + } + program { name: "rightbtn_enable"; + signal: "elm,spinner,rightbtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "right.image.plus"; + target: "right.bg"; + target: "right.event"; + } + program { name: "rightbtn_disable"; + signal: "elm,spinner,rightbtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "right.image.plus"; + target: "right.bg"; + target: "right.event"; + } + program { name: "leftbtn_enable"; + signal: "elm,spinner,leftbtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "left.image.minus"; + target: "left.bg"; + target: "left.event"; + } + program { name: "leftbtn_disable"; + signal: "elm,spinner,leftbtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "left.image.minus"; + target: "left.bg"; + target: "left.event"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + run_program(PROGRAM:"rightbtn_enable"); + run_program(PROGRAM:"leftbtn_enable"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + run_program(PROGRAM:"rightbtn_disable"); + run_program(PROGRAM:"leftbtn_disable"); + } + } + program { name: "full"; + signal: "elm,spinner,full"; + source: "elm"; + script { + run_program(PROGRAM:"leftbtn_enable"); + set_state(PART:"center.image", "full", 0.0); + set_state(PART:"elm.text", "full", 0.0); + run_program(PROGRAM:"rightbtn_disable"); + } + } + program { name: "middle"; + signal: "elm,spinner,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"right.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"rightbtn_enable"); + } + get_state(PART:"left.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"leftbtn_enable"); + } + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"center.image", "default", 0.0); + } + } + program { name: "min"; + signal: "elm,spinner,min"; + source: "elm"; + script { + run_program(PROGRAM:"rightbtn_enable"); + set_state(PART:"center.image", "zero", 0.0); + set_state(PART:"elm.text", "default", 0.0); + run_program(PROGRAM:"leftbtn_disable"); + } + } + program { name: "vibrate"; + signal: "elm,spinner,vibrate"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"center.image", st, 30, vl); + run_program(PROGRAM:"rightbtn_enable"); + if (strcmp(st, "vibrate")) { + run_program(PROGRAM:"leftbtn_disable"); + set_state(PART:"center.image", "vibrate", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + } + program { name: "center_clicked"; + signal: "mouse,clicked,1"; + source: "center.event"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + } +} + +group { name: "elm/spinner/base/brightnessstyle"; + alias: "elm/spinner/base/brightness"; + images { + image: "tw_controller_module_plus.png" COMP; + image: "tw_controller_module_minus.png" COMP; + image: "tw_number_controller_icon_brightness.png" COMP; + image: "tw_number_controller_icon_outdoor.png" COMP; + } + script { + public plus_press_timer; + public minus_press_timer; + public plus_pressed; + public minus_pressed; + + public plus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(plus_pressed); + get_state(PART:"right.image.plus", st, 30, vl); + if (pressed) { + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + } else if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.bg", "default", 0.0); + } + } + + public minus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(minus_pressed); + get_state(PART:"left.image.minus", st, 30, vl); + if (pressed) { + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + } else if(strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.bg", "default", 0.0); + } + } + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + max: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; + color: 0 0 0 255; + } + } + part { name: "left.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.image.minus"; + rel2.to: "left.image.minus"; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "left.image.minus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + align: 0.0 0.5; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_minus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "image_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "left.image.minus"; + relative: 1.0 0.0; + } + rel2.to: "left.image.minus"; + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "content_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "W171L2"; + min: SPINNER_CONTENT_BG_SIZE; + max: SPINNER_CONTENT_BG_SIZE; + rel1 {to: "image_left_padding"; relative: 1.0 0.0;} + rel2 {to: "image_right_padding"; relative: 0.0 1.0;} + } + } + part { name: "fake_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2 {to: "content_bg"; relative: 0.0 1.0;} + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + align: 0.0 0.5; + fixed: 1 1; + } + } + part { name: "text_top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "fake_padding"; relative: 1.0 0.0;} + rel2 {to_x: "content_bg"; to_y: "fake_padding"; relative: 1.0 0.0;} + min: 0 SPINNER_TEXT_TOP_PADDING_HEIGHT; + fixed: 1 1; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1 {to_x: "fake_padding"; to_y: "text_top_padding"; relative: 1.0 1.0;} + rel2 {to: "bottom_padding"; relative: 1.0 0.0;} + color_class: "T0621"; + text { + min: 0 1; + max: 1 1; + text_class: "T0621"; + } + fixed: 1 1; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 {to: "content_bg"; relative: 0.0 1.0;} + rel2.to: "content_bg"; + align: 0.5 1.0; + min: SPINNER_BOTTOM_PADDING_SIZE; + max: SPINNER_BOTTOM_PADDING_SIZE; + fixed: 1 1; + } + } + part { name: "center.image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2 {to: "elm.text"; relative: 0.0 1.0;} + align: 1.0 0.5; + color_class: "W173L1"; + min: SPINNER_CENTER_IMAGE_SIZE; + max: SPINNER_CENTER_IMAGE_SIZE; + image.normal: "tw_number_controller_icon_brightness.png"; + fixed: 1 1; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + image.normal: "tw_number_controller_icon_outdoor.png"; + } + description { state: "zero" 0.0; + inherit: "default" 0.0; + } + } + part { name: "image_right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2 {to: "right.image.plus"; relative: 0.0 1.0;} + align: 0.0 0.5; + min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; + fixed: 1 0; + } + } + part { name: "right.bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2.to: "right.image.plus"; + color_class: "W171L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W171L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W171L2D"; + } + } + part { name: "right.image.plus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + } + rel2.to: "bg"; + align: 1.0 0.5; + min: SPINNER_ICON_LEFT_RIGHT_SIZE; + max: SPINNER_ICON_LEFT_RIGHT_SIZE; + image.normal: "tw_controller_module_plus.png"; + color_class: "W083L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W083L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W083L1D"; + } + } + part { name: "left.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left.image.minus"; + rel2.to: "left.image.minus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "center.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "content_bg"; + rel2.to: "content_bg"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "right.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right.image.plus"; + rel2.to: "right.image.plus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "dec_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "right.event"; + script { + new right_timer; + new st[31]; + new Float:vl; + + get_state(PART:"right.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"right.image.plus", "pressed", 0.0); + set_state(PART:"right.bg", "pressed", 0.0); + right_timer = get_int(plus_press_timer); + if (right_timer) { + cancel_timer(right_timer); + set_int(plus_press_timer, 0); + } + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + set_int(plus_pressed, 1); + run_program(PROGRAM:"inc_start_signal_emit"); + run_program(PROGRAM:"play_sample"); + } + } + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "right.event"; + script { + set_int(plus_pressed, 0); + } + after: "inc_stop_signal_emit"; + } + program { name: "dec"; + signal: "mouse,down,1*"; + source: "left.event"; + script { + new left_timer; + new st[31]; + new Float:vl; + + get_state(PART:"left.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"left.image.minus", "pressed", 0.0); + set_state(PART:"left.bg", "pressed", 0.0); + left_timer = get_int(minus_press_timer); + if (left_timer) { + cancel_timer(left_timer); + set_int(minus_press_timer, 0); + } + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + set_int(minus_pressed, 1); + run_program(PROGRAM:"dec_start_signal_emit"); + run_program(PROGRAM:"play_sample"); + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "left.event"; + script { + set_int(minus_pressed, 0); + } + after: "dec_stop_signal_emit"; + } + program { name: "inc_cancel"; + signal: "elm,spinner,inc,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"center.image", st, 30, vl); + if (!strcmp(st, "full")) { + set_state(PART:"right.bg", "disabled", 0.0); + set_state(PART:"right.image.plus", "disabled", 0.0); + set_state(PART:"right.event", "disabled", 0.0); + } + else { + set_state(PART:"right.bg", "default", 0.0); + set_state(PART:"right.image.plus", "default", 0.0); + set_state(PART:"right.event", "default", 0.0); + } + } + } + program { name: "dec_cancel"; + signal: "elm,spinner,dec,cancel"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"center.image", st, 30, vl); + if (!strcmp(st, "zero")) { + set_state(PART:"left.bg", "disabled", 0.0); + set_state(PART:"left.image.minus", "disabled", 0.0); + set_state(PART:"left.event", "disabled", 0.0); + } + else { + set_state(PART:"left.bg", "default", 0.0); + set_state(PART:"left.image.minus", "default", 0.0); + set_state(PART:"left.event", "default", 0.0); + } + } + } + program { name: "rightbtn_enable"; + signal: "elm,spinner,rightbtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "right.image.plus"; + target: "right.bg"; + target: "right.event"; + } + program { name: "rightbtn_disable"; + signal: "elm,spinner,rightbtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "right.image.plus"; + target: "right.bg"; + target: "right.event"; + } + program { name: "leftbtn_enable"; + signal: "elm,spinner,leftbtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "left.image.minus"; + target: "left.bg"; + target: "left.event"; + } + program { name: "leftbtn_disable"; + signal: "elm,spinner,leftbtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "left.image.minus"; + target: "left.bg"; + target: "left.event"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + run_program(PROGRAM:"rightbtn_enable"); + run_program(PROGRAM:"leftbtn_enable"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + run_program(PROGRAM:"rightbtn_disable"); + run_program(PROGRAM:"leftbtn_disable"); + } + } + program { name: "full"; + signal: "elm,spinner,full"; + source: "elm"; + script { + run_program(PROGRAM:"leftbtn_enable"); + set_state(PART:"center.image", "full", 0.0); + set_state(PART:"elm.text", "full", 0.0); + run_program(PROGRAM:"rightbtn_disable"); + } + } + program { name: "middle"; + signal: "elm,spinner,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"right.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"rightbtn_enable"); + } + get_state(PART:"left.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"leftbtn_enable"); + } + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"center.image", "default", 0.0); + } + } + program { name: "min"; + signal: "elm,spinner,min"; + source: "elm"; + script { + run_program(PROGRAM:"rightbtn_enable"); + set_state(PART:"center.image", "zero", 0.0); + set_state(PART:"elm.text", "default", 0.0); + run_program(PROGRAM:"leftbtn_disable"); + } + } + program { name: "center_clicked"; + signal: "mouse,clicked,1"; + source: "center.event"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + } +} + +group { name: "elm/spinner/base/verticalstyle"; + alias: "elm/spinner/base/volume/vertical"; + images { + image: "tw_button_controller_bg_press.png" COMP; + image: "tw_button_controller_bg.png" COMP; + image: "tw_button_controller_icon_mute.png" COMP; + image: "tw_controller_btn_minus.png" COMP; + image: "tw_controller_btn_plus.png" COMP; + image: "tw_controller_btn_bg.png" COMP; + } + script { + public plus_press_timer; + public minus_press_timer; + public plus_pressed; + public minus_pressed; + + public plus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(plus_pressed); + get_state(PART:"top.image.plus", st, 30, vl); + if (pressed) { + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + } else if (strcmp(st, "disabled")) { + set_state(PART:"top.image.plus", "default", 0.0); + } + } + + public minus_press_timer_cb(val) { + new pressed; + new st[31]; + new Float:vl; + + pressed = get_int(minus_pressed); + get_state(PART:"bottom.image.minus", st, 30, vl); + if (pressed) { + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + } else if(strcmp(st, "disabled")) { + set_state(PART:"bottom.image.minus", "default", 0.0); + } + } + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_VERTICAL_DEFAULT_BG_SIZE; + } + } + part { name: "top.image.bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "top.image.plus"; + rel2.to: "top.image.plus"; + image.normal: "tw_controller_btn_bg.png"; + color_class: "W181L2"; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "top.image.plus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2 {to: "bg"; relative: 1.0 0.0;} + align: 0.5 0.0; + min: SPINNER_ICON_TOP_BOTTOM_SIZE; + max: SPINNER_ICON_TOP_BOTTOM_SIZE; + image.normal: "tw_controller_btn_plus.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + part { name: "bottom.image.bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bottom.image.minus"; + rel2.to: "bottom.image.minus"; + image.normal: "tw_controller_btn_bg.png"; + color_class: "W181L2"; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottom.image.minus"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to: "bg"; + } + rel2.to: "bg"; + align: 0.5 1.0; + min: SPINNER_ICON_TOP_BOTTOM_SIZE; + max: SPINNER_ICON_TOP_BOTTOM_SIZE; + image.normal: "tw_controller_btn_minus.png"; + color_class: "W179L1"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W180L1"; + } + } + part { name: "center.image.bg"; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_button_controller_bg.png"; + color_class: "W176L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "tw_button_controller_bg_press.png"; + color_class: "W177L2"; + } + } + part { name: "center.image2"; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "tw_button_controller_bg.png"; + color_class: "W178L2"; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "center.image.bg"; + rel2.to: "center.image.bg"; + color_class: "T061"; + text { + min: 0 0; + text_class: "T061"; + } + } + description { state: "zero" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "center.icon"; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; + fixed: 1 1; + rel1.to: "center.image.bg"; + rel2.to: "center.image.bg"; + image.normal: "tw_button_controller_icon_mute.png"; + visible: 0; + } + description { state: "zero" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.dragable.slider"; + type: RECT; + dragable { + x: 0 0 0; + y: 1 1 0; + } + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + min: SPINNER_DRAGABLE_PART_MIN_SIZE; + rel1 { + to: "center.image.bg"; + relative: 0.0 1.0; + } + rel2 { + to: "center.image.bg"; + relative: 1.0 1.0; + } + align: 1.0 0.0; + } + } + part { name: "block.drag.events"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + } + part { name: "clipper"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + } + part { name: "top.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "top.image.plus"; + rel2.to: "top.image.plus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottom.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bottom.image.minus"; + rel2.to: "bottom.image.minus"; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "center.event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "center.image.bg"; + rel2.to: "center.image.bg"; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "inc_bt"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "top.event"; + rel2.to: "top.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "dec_bt"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "bottom.event"; + rel2.to: "bottom.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "access_text"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "center.event"; + rel2.to: "center.event"; + fixed: 1 1; + color: 0 0 0 0; + } + } + } + programs { + program { name: "dec_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc_start_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop_signal_emit"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1*"; + source: "top.event"; + script { + new plus_timer; + new st[31]; + new Float:vl; + get_state(PART:"top.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"top.image.plus", "pressed", 0.0); + set_state(PART:"top.image.bg", "pressed", 0.0); + plus_timer = get_int(plus_press_timer); + if (plus_timer) { + cancel_timer(plus_timer); + set_int(plus_press_timer, 0); + } + set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); + set_int(plus_pressed, 1); + run_program(PROGRAM:"inc_start_signal_emit"); + } + } + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "top.event"; + script { + set_int(plus_pressed, 0); + } + after: "inc_stop_signal_emit"; + } + program { name: "dec"; + signal: "mouse,down,1*"; + source: "bottom.event"; + script { + new minus_timer; + new st[31]; + new Float:vl; + get_state(PART:"bottom.event", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bottom.image.minus", "pressed", 0.0); + set_state(PART:"bottom.image.bg", "pressed", 0.0); + minus_timer = get_int(minus_press_timer); + if (minus_timer) { + cancel_timer(minus_timer); + set_int(minus_press_timer, 0); + } + set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); + set_int(minus_pressed, 1); + run_program(PROGRAM:"dec_start_signal_emit"); + } + } + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "bottom.event"; + script { + set_int(minus_pressed, 0); + } + after: "dec_stop_signal_emit"; + } + program { name: "topbtn_enable"; + signal: "elm,spinner,topbtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "top.image.plus"; + target: "top.image.bg"; + target: "top.event"; + } + program { name: "topbtn_disable"; + signal: "elm,spinner,topbtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "top.image.plus"; + target: "top.image.bg"; + target: "top.event"; + } + program { name: "bottombtn_enable"; + signal: "elm,spinner,bottombtn,enabled"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "bottom.image.minus"; + target: "bottom.image.bg"; + target: "bottom.event"; + } + program { name: "bottombtn_disable"; + signal: "elm,spinner,bottombtn,disabled"; + source: "*"; + action: STATE_SET "disabled" 0.0; + target: "bottom.image.minus"; + target: "bottom.image.bg"; + target: "bottom.event"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_state(PART:"disabler", "default", 0.0); + run_program(PROGRAM:"topbtn_enable"); + run_program(PROGRAM:"bottombtn_enable"); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_state(PART:"disabler", "disabled", 0.0); + run_program(PROGRAM:"topbtn_disable"); + run_program(PROGRAM:"bottombtn_disable"); + } + } + program { name: "full"; + signal: "elm,spinner,full"; + source: "elm"; + script { + run_program(PROGRAM:"bottombtn_enable"); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"center.icon", "default", 0.0); + run_program(PROGRAM:"topbtn_disable"); + } + } + program { name: "min"; + signal: "elm,spinner,min"; + source: "elm"; + script { + run_program(PROGRAM:"topbtn_enable"); + set_state(PART:"elm.text", "zero", 0.0); + set_state(PART:"center.icon", "zero", 0.0); + run_program(PROGRAM:"bottombtn_disable"); + } + } + program { name: "middle"; + signal: "elm,spinner,default"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"top.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"topbtn_enable"); + } + get_state(PART:"bottom.event", st, 30, vl); + if(!strcmp(st, "disabled")) { + run_program(PROGRAM:"bottombtn_enable"); + } + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"center.icon", "default", 0.0); + } + } + program { name: "center_clicked"; + signal: "mouse,clicked,1"; + source: "center.event"; + action: SIGNAL_EMIT "elm,action,clicked" ""; + } + program { name: "center_mouse_down"; + signal: "mouse,down,1"; + source: "center.event"; + action: STATE_SET "pressed" 0.0; + target: "center.image.bg"; + } + program { name: "center_mouse_up"; + signal: "mouse,up,1"; + source: "center.event"; + action: STATE_SET "default" 0.0; + target: "center.image.bg"; + } + } +} + +group { name: "elm/spinner/base/default"; + alias: "elm/spinner/base/vertical"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_PICKERSTYLE_FIELD_HEIGHT; + max: -1 SPINNER_PICKERSTYLE_FIELD_HEIGHT; + fixed: 0 1; + align: 0.5 0.5; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 0.5 0.0; + } + rel2 { + to: "elm.swallow.text_button"; + relative: 0.5 0.0; + } + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + min: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + max: SPINNER_PICKERSTYLE_ARROW_BUTTON_SIZE; + fixed: 1 1; + rel1 { + to: "elm.swallow.text_button"; + relative: 0.5 1.0; + } + rel2 { + to: "bg"; + relative: 0.5 1.0; + } + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_PICKERSTYLE_FIELD_HEIGHT; + max: -1 SPINNER_PICKERSTYLE_FIELD_HEIGHT; + fixed: 0 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..a47450d --- /dev/null +++ b/AUTHORS @@ -0,0 +1,13 @@ +Jaehwan Kim +Seokjae Jeong +ChunEon Park +Juyung Seo +WooHyun Jung +MyungJae Lee +Cinwoo Kim +MyungWoon Kim +Hoyoung Chang +JeeYeon Park +IlKook Yun +JeongHyun Yun +Thiep Ha diff --git a/COPYING b/COPYING index e707129..ada05f0 100644 --- a/COPYING +++ b/COPYING @@ -1,6 +1,6 @@ Copyright notice for efl-theme-tizen: -Copyright (C) 2009-2012 Myoungwoon Roy Kim and various contributors (see AUTHORS) +Copyright (C) 2009-2014 Myoungwoon Roy Kim and various contributors (see AUTHORS) All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3073d32 --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +#TARGET will be got from spec +#2.2 is redwood +#2.3-mobile is redwood lite +#2.3-wearable is B3 +#TARGET = 2.2 2.3-mobile 2.3-wearable + +all: + for t in $(TARGET); do \ + cd $$t && make $@ TARGET=$$t && cd -; \ + done + +install: + for t in $(TARGET); do \ + cd $$t && make $@ TARGET=$$t && cd -; \ + done + +uninstall: + for t in $(TARGET); do \ + cd $$t && make $@ TARGET=$$t && cd -; \ + done + +clean: + for t in $(TARGET); do \ + cd $$t && make $@ TARGET=$$t && cd -; \ + done + +distclean: clean + +.PHONY: + $(TARGET) diff --git a/mobile/AUTHORS b/mobile/AUTHORS deleted file mode 100644 index ab26069..0000000 --- a/mobile/AUTHORS +++ /dev/null @@ -1,14 +0,0 @@ -Jaehwan Kim -Seokjae Jeong -ChunEon Park -Juyung Seo -WooHyun Jung -MyungJae Lee -Cinwoo Kim -MyungWoon Kim -Hoyoung Chang -JeeYeon Park -IlKook Yun -JeongHyun Yun -Thiep Ha - diff --git a/mobile/LICENSE.BSD-2-Clause b/mobile/LICENSE.BSD-2-Clause deleted file mode 100644 index e707129..0000000 --- a/mobile/LICENSE.BSD-2-Clause +++ /dev/null @@ -1,24 +0,0 @@ -Copyright notice for efl-theme-tizen: - -Copyright (C) 2009-2012 Myoungwoon Roy Kim and various contributors (see AUTHORS) -All rights reserved. - -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. diff --git a/mobile/Makefile b/mobile/Makefile deleted file mode 100644 index fc206dc..0000000 --- a/mobile/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -PREFIX ?= /usr - -all: - cp themes/tizen.edc themes/light.edc - cp themes/tizen.edc themes/dark.edc - cd themes && make - -install: - cd themes && make $@ - rm -rf themes/light.edc themes/dark.edc - -uninstall: - cd themes && make $@ - -clean: - cd themes && make $@ - -distclean: clean diff --git a/mobile/NOTICE b/mobile/NOTICE deleted file mode 100644 index 9b0dbfa..0000000 --- a/mobile/NOTICE +++ /dev/null @@ -1,3 +0,0 @@ -Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. -Except as noted, this software is licensed under BSD 2-Clause License. -Please, see the LICENSE.BSD-2-Clause file for BSD 2-Clause License terms and conditions. diff --git a/mobile/debian/changelog b/mobile/debian/changelog deleted file mode 100644 index a639524..0000000 --- a/mobile/debian/changelog +++ /dev/null @@ -1,1562 +0,0 @@ -efl-theme-tizen (1.0.15) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.15 - - -- Seunggyun Kim Tue, 05 Jun 2012 13:01:46 +0900 - -efl-theme-tizen (1.0.14) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.14 - - -- Seunggyun Kim Tue, 05 Jun 2012 11:04:26 +0900 - -efl-theme-tizen (1.0.13) unstable; urgency=low - - * apply text class for accessibillty giant font - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.13 - - -- Seunggyun Kim Mon, 04 Jun 2012 16:03:13 +0900 - -efl-theme-tizen (1.0.12) unstable; urgency=low - - * package upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.12 - - -- Hyoyoung Chang Fri, 25 May 2012 10:41:22 +0900 - -efl-theme-tizen (1.0.11) unstable; urgency=low - - * package upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.11 - - -- Hyoyoung Chang Wed, 23 May 2012 10:08:22 +0900 - -efl-theme-tizen (1.0.10) unstable; urgency=low - - * package upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.10 - - -- Hyoyoung Chang Thu, 17 May 2012 09:17:29 +0900 - -efl-theme-tizen (1.0.9) unstable; urgency=low - - * package upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.9 - - -- Shinwoo Kim Wed, 16 May 2012 15:20:10 +0900 - -efl-theme-tizen (1.0.8) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.8 - - -- ChunEon Park Fri, 11 May 2012 13:33:53 +0900 - -efl-theme-tizen (1.0.7) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.7 - - -- Hyoyoung Chang Fri, 04 May 2012 15:57:39 +0900 - -efl-theme-tizen (1.0.6) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.6 - - -- Jeonghyun Yun Thu, 03 May 2012 17:49:16 +0900 - -efl-theme-tizen (1.0.5) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.5 - - -- Jeonghyun Yun Fri, 27 Apr 2012 14:11:45 +0900 - -efl-theme-tizen (1.0.4) unstable; urgency=low - - * Package Upload - * Important Changes - [Slider] This resolves slider event issue when it's disabled. - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.4 - - -- Shinwoo Kim Mon, 23 Apr 2012 18:18:46 +0900 - -efl-theme-tizen (1.0.3) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.3 - - -- Shinwoo Kim Fri, 20 Apr 2012 10:56:57 +0900 - -efl-theme-tizen (1.0.2) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.2 - - -- Jeonghyun Yun Fri, 06 Apr 2012 18:33:13 +0900 - -efl-theme-tizen (1.0.1) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.1 - - -- Myungjae Lee Thu, 05 Apr 2012 14:44:50 +0900 - -efl-theme-tizen (1.0.0) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_1.0.0 - - -- Jeonghyun Yun Tue, 03 Apr 2012 17:13:50 +0900 - -efl-theme-tizen (0.2.1-28) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-28 - - -- Hyoyoung Chang Mon, 02 Apr 2012 14:30:06 +0900 - -efl-theme-tizen (0.2.1-27) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-27 - - -- ChunEon Park Thu, 29 Mar 2012 17:30:26 +0900 - -efl-theme-tizen (0.2.1-26) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-26 - - -- WooHyun Jung Wed, 21 Mar 2012 20:42:32 +0900 - -efl-theme-tizen (0.2.1-25) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-25 - - -- Jeonghyun Yun Sun, 18 Mar 2012 15:23:06 +0900 - -efl-theme-tizen (0.2.1-24) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-24 - - -- Jeonghyun Yun Fri, 16 Mar 2012 21:54:53 +0900 - -efl-theme-tizen (0.2.1-23) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-23 - - -- ChunEon Park Thu, 15 Mar 2012 19:10:16 +0900 - -efl-theme-tizen (0.2.1-22) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-22 - - -- Jeonghyun Yun Tue, 13 Mar 2012 19:44:25 +0900 - -efl-theme-tizen (0.2.1-21) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-21 - - -- ChunEon Park Sat, 10 Mar 2012 12:44:45 +0900 - -efl-theme-tizen (0.2.1-20) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-20 - - -- ChunEon Park Wed, 07 Mar 2012 11:40:42 +0900 - -efl-theme-tizen (0.2.1-19) unstable; urgency=low - - * Package Upload - * Important Changes - [layout for editfield] remove useless parts - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-19 - - -- WooHyun Jung Mon, 27 Feb 2012 21:49:03 +0900 - -efl-theme-tizen (0.2.1-18) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-18 - - -- Hyoyoung Chang Fri, 24 Feb 2012 13:38:48 +0900 - -efl-theme-tizen (0.2.1-17) unstable; urgency=low - - * add genlist email style - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-17 - - -- Hyoyoung Chang Fri, 24 Feb 2012 09:09:30 +0900 - -efl-theme-tizen (0.2.1-16) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-16 - - -- ChunEon Park Mon, 20 Feb 2012 14:18:04 +0900 - -efl-theme-tizen (0.2.1-15) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/e/efl-theme-tizen - * Tag: efl-theme-tizen_0.2.1-15 - - -- ChunEon Park Mon, 20 Feb 2012 12:09:25 +0900 - -efl-theme-tizen (0.2.1-14) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-14 - - -- Jaehwan Kim Wed, 15 Feb 2012 19:04:58 +0900 - -efl-theme-tizen (0.2.1-13) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-13 - - -- Hyoyoung Chang Tue, 07 Feb 2012 10:23:41 +0900 - -efl-theme-tizen (0.2.1-12) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-12 - - -- ChunEon Park Fri, 27 Jan 2012 11:58:56 +0900 - -efl-theme-tizen (0.2.1-11) unstable; urgency=low - - * Package Upload - naviframe title fixed - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-11 - - -- ChunEon Park Thu, 19 Jan 2012 17:52:22 +0900 - -efl-theme-tizen (0.2.1-10) unstable; urgency=low - - * Package Upload - sweep btn, bubble border changes - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-10 - - -- Hyoyoung Chang Mon, 16 Jan 2012 19:24:53 +0900 - -efl-theme-tizen (0.2.1-9) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-9 - - -- ChunEon Park Mon, 16 Jan 2012 13:44:00 +0900 - -efl-theme-tizen (0.2.1-8) unstable; urgency=low - - * Package Upload - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-8 - - -- Jaehwan Kim Thu, 12 Jan 2012 16:14:26 +0900 - -efl-theme-tizen (0.2.1-7) unstable; urgency=low - - * Package Upload - * Important Changes - [entry] remove background part because of removing deprecated API - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-7 - - -- Jaehwan Kim Wed, 04 Jan 2012 13:57:45 +0900 - -efl-theme-tizen (0.2.1-6) unstable; urgency=low - - * Package Upload. - * Important Changes - [Genlist] Added dialogue/1text.4icon style (4.2.13). - [controlbar] delete system icon. - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-6 - - -- Daniel Juyung Seo Tue, 27 Dec 2011 13:07:35 +0900 - -efl-theme-tizen (0.2.1-5) unstable; urgency=low - - * Package Upload. - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-5 - - -- ChunEon Park Wed, 21 Dec 2011 11:29:20 +0900 - -efl-theme-tizen (0.2.1-4) unstable; urgency=low - - * Package Upload again and again. - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen_0.2.1-4 - - -- Daniel Juyung Seo Tue, 20 Dec 2011 11:21:53 +0900 - -efl-theme-tizen (0.2.1-3) unstable; urgency=low - - * Package Upload. - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen-0.2.1-3 - - -- Daniel Juyung Seo Mon, 19 Dec 2011 16:14:46 +0900 - -efl-theme-tizen (0.2.1-2) unstable; urgency=low - - * Package Upload. - * Git: slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen-0.2.1-2 - - -- Daniel Juyung Seo Mon, 19 Dec 2011 13:58:37 +0900 - -efl-theme-tizen (0.2.1-1) unstable; urgency=low - - * Changed nbeat-theme to efl-theme-tizen. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: efl-theme-tizen-0.2.1-1 - - -- Daniel Juyung Seo Fri, 16 Dec 2011 15:14:23 +0900 - -nbeat-theme (0.1.1-146) unstable; urgency=low - - * naviframe more button position fixed. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-146 - - -- ChunEon Park Thu, 15 Dec 2011 16:05:51 +0900 - -nbeat-theme (0.1.1-145) unstable; urgency=low - - * new email app styles(3text.5icon.2, 2text.1icon.14) - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-145 - - -- Hyoyoung Chang Wed, 14 Dec 2011 15:21:57 +0900 - -nbeat-theme (0.1.1-144) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-144 - - -- Daniel Juyung Seo Mon, 05 Dec 2011 20:32:14 +0900 - -nbeat-theme (0.1.1-143) unstable; urgency=low - - * Package Upload - * Important Changes - [naviframe] Change push+pop effect time from 0.5 to 0.3 seconds. - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-143 - - -- ChunEon Park Fri, 02 Dec 2011 16:49:37 +0900 - -nbeat-theme (0.1.1-142) unstable; urgency=low - - * Package Upload - * Important Changes - [naviframe] Change push+pop effect time from 0.5 to 0.3 seconds. - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-142 - - -- WooHyun Jung Thu, 01 Dec 2011 12:05:14 +0900 - -nbeat-theme (0.1.1-141) unstable; urgency=low - - * Package upload : [CQ : H0100137513 controlbar button style change - * Important Changes - [button][bug fix] CQ : H0100137513 fix disable mode. - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-141 - - -- Jaehwan Kim Thu, 01 Dec 2011 10:43:42 +0900 - -nbeat-theme (0.1.1-140) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-140 - - -- ChunEon Park Tue, 29 Nov 2011 16:23:30 +0900 - -nbeat-theme (0.1.1-139) unstable; urgency=low - - * Package Upload - * Important Changes - [naviframe] revert to before commit: d0268df64ef9cd87d4dffc1aa24f85ba04a829a7 (control bar open close signals added) - [popup] title(textblock) vertical align issue - [entry,label] add align property for sync with valign support - [Genlist] Added dialogue/1text.1icon.5 style. - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-139 - - -- Shinwoo Kim Sat, 26 Nov 2011 21:14:18 +0900 - -nbeat-theme (0.1.1-138) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-138 - - -- Shinwoo Kim Wed, 23 Nov 2011 12:41:58 +0900 - -nbeat-theme (0.1.1-137) unstable; urgency=low - - * Package Upload(revert naviframe) - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-137 - - -- ChunEon Park Tue, 22 Nov 2011 14:25:41 +0900 - -nbeat-theme (0.1.1-136) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-136 - - -- Myungjae Lee Mon, 21 Nov 2011 19:10:22 +0900 - -nbeat-theme (0.1.1-134) unstable; urgency=low - - * Package Uplaod - * Important Changes - [naviframe] rollback the latest change, because of broken view in dialer - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-134 - - -- WooHyun Jung Fri, 18 Nov 2011 11:38:18 +0900 - -nbeat-theme (0.1.1-133) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-133 - - -- ChunEon Park Thu, 17 Nov 2011 22:30:02 +0900 - -nbeat-theme (0.1.1-132) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-132 - - -- ChunEon Park Mon, 14 Nov 2011 20:59:42 +0900 - -nbeat-theme (0.1.1-131) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-131 - - -- Myungjae Lee Mon, 14 Nov 2011 14:35:45 +0900 - -nbeat-theme (0.1.1-130) unstable; urgency=low - - * Package Upload - * Important Changes - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-130 - - -- WooHyun Jung Mon, 14 Nov 2011 11:37:13 +0900 - -nbeat-theme (0.1.1-129) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-129 - - -- Myungjae Lee Fri, 11 Nov 2011 20:22:30 +0900 - -nbeat-theme (0.1.1-128) unstable; urgency=low - - * Package Upload - * - bubble item color change - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-128 - - -- Hyoyoung Chang Thu, 10 Nov 2011 20:12:47 +0900 - -nbeat-theme (0.1.1-127) unstable; urgency=low - - * repackaging - - -- JeongHyun Yun Wed, 09 Nov 2011 13:53:31 -0500 - -nbeat-theme (0.1.1-126) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-126 - - -- ChunEon Park Tue, 08 Nov 2011 22:40:28 +0900 - -nbeat-theme (0.1.1-125) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-125 - - -- ChunEon Park Mon, 07 Nov 2011 18:00:40 +0900 - -nbeat-theme (0.1.1-124) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-124 - - -- Shinwoo Kim Thu, 03 Nov 2011 21:01:41 +0900 - -nbeat-theme (0.1.1-123) unstable; urgency=low - - * Package Upload - * Important Changes - [editfield] Some changes following the change in editfield's structure - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-123 - - -- WooHyun Jung Wed, 02 Nov 2011 22:53:54 +0900 - -nbeat-theme (0.1.1-122) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-122 - - -- Myungjae Lee Mon, 31 Oct 2011 21:22:17 +0900 - -nbeat-theme (0.1.1-121) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-121 - - -- Tae-Hwan Kim Mon, 31 Oct 2011 10:06:56 +0900 - -nbeat-theme (0.1.1-120) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-120 - - -- ChunEon Park Wed, 26 Oct 2011 21:41:23 +0900 - -nbeat-theme (0.1.1-119) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-119 - - -- Myungjae Lee Tue, 25 Oct 2011 21:34:23 +0900 - -nbeat-theme (0.1.1-118) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-118 - - -- ChunEon Park Tue, 25 Oct 2011 15:33:21 +0900 - -nbeat-theme (0.1.1-117) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-117 - - -- ChunEon Park Mon, 24 Oct 2011 19:54:13 +0900 - -nbeat-theme (0.1.1-116) unstable; urgency=low - - * add bubble new style - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-116 - - -- Hyoyoung Chang Fri, 21 Oct 2011 21:07:37 +0900 - -nbeat-theme (0.1.1-115) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-115 - - -- ChunEon Park Wed, 19 Oct 2011 22:01:34 +0900 - -nbeat-theme (0.1.1-114) unstable; urgency=low - - * Package Upload. - * Important Changes - [Genlist] Changed item disable alpha value from 64 to 110. - [Genlist] Changed genlist text colors a little bit lighter. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-114 - - -- Daniel Juyung Seo Tue, 18 Oct 2011 19:21:25 +0900 - -nbeat-theme (0.1.1-113) unstable; urgency=low - - * add bubble {layout, entry} style - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-113 - - -- Hyoyoung Chang Tue, 18 Oct 2011 14:21:32 +0900 - -nbeat-theme (0.1.1-112) unstable; urgency=low - - * Package Upload. - * Important Changes - [popup] Shifting description issue on down scale is resolved indirectly - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-112 - - -- Daniel Juyung Seo Mon, 17 Oct 2011 19:36:35 +0900 - -nbeat-theme (0.1.1-111) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-111 - - -- Jaehwan Kim Fri, 14 Oct 2011 17:21:00 +0900 - -nbeat-theme (0.1.1-110) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-110 - - -- ChunEon Park Thu, 13 Oct 2011 23:07:30 +0900 - -nbeat-theme (0.1.1-109) unstable; urgency=low - - * Package Upload. - * Important Changes - [Genlist] Changed TEXT part to TEXTBLOCK part of elm.text.1 and - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-109 - - -- Daniel Juyung Seo Thu, 13 Oct 2011 12:28:14 +0900 - -nbeat-theme (0.1.1-108) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-108 - - -- ChunEon Park Wed, 12 Oct 2011 22:15:01 +0900 - -nbeat-theme (0.1.1-107) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-107 - - -- ChunEon Park Wed, 12 Oct 2011 20:45:15 +0900 - -nbeat-theme (0.1.1-106) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-106 - - -- ChunEon Park Tue, 11 Oct 2011 21:18:22 +0900 - -nbeat-theme (0.1.1-105) unstable; urgency=low - - * Package Upload - * Important Changes - [layout] apply indicator's height for base layout - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-105 - - -- WooHyun Jung Tue, 11 Oct 2011 10:12:02 +0900 - -nbeat-theme (0.1.1-104) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-104 - - -- ChunEon Park Mon, 10 Oct 2011 22:11:10 +0900 - -nbeat-theme (0.1.1-103) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-103 - - -- ChunEon Park Fri, 07 Oct 2011 20:39:27 +0900 - -nbeat-theme (0.1.1-102) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-102 - - -- Myungjae Lee Thu, 06 Oct 2011 19:49:57 +0900 - -nbeat-theme (0.1.1-101) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-101 - - -- Daniel Juyung Seo Thu, 06 Oct 2011 17:08:35 +0900 - -nbeat-theme (0.1.1-100) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-100 - - -- Daniel Juyung Seo Thu, 06 Oct 2011 15:24:58 +0900 - -nbeat-theme (0.1.1-99) unstable; urgency=low - - * EFL NBeat Black HD Theme is Released - * Git: git:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-99 - - -- Myoungwoon Kim Wed, 05 Oct 2011 10:38:43 +0900 - -nbeat-theme (0.1.1-98) unstable; urgency=low - - * Package Upload. (HD BLACK Not Released Yet) - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-98 - - -- ChunEon Park Tue, 04 Oct 2011 21:25:28 +0900 - -nbeat-theme (0.1.1-97) unstable; urgency=low - - * EFL NBeat HD Black Theme Release. - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-97 - - -- Jaehwan Kim Tue, 04 Oct 2011 17:43:37 +0900 - -nbeat-theme (0.1.1-96) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-96 - - -- ChunEon Park Tue, 04 Oct 2011 13:05:40 +0900 - -nbeat-theme (0.1.1-95) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-95 - - -- ChunEon Park Tue, 04 Oct 2011 08:42:55 +0900 - -nbeat-theme (0.1.1-94) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-94 - - -- Daniel Juyung Seo Fri, 23 Sep 2011 13:06:53 +0900 - -nbeat-theme (0.1.1-93) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-93 - - -- ChunEon Park Wed, 21 Sep 2011 17:11:44 +0900 - -nbeat-theme (0.1.1-92) unstable; urgency=low - - * Package Upload. - * Important Changes - [Genlist] Changed elm.text.3 part's width from 83 to 120 pixel in 3text.1icon.2 style. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-92 - - -- Daniel Juyung Seo Mon, 19 Sep 2011 19:16:12 +0900 - -nbeat-theme (0.1.1-91) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-91 - - -- Ilkook Yun Fri, 16 Sep 2011 18:15:17 +0900 - -nbeat-theme (0.1.1-90) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-90 - - -- Daniel Juyung Seo Thu, 15 Sep 2011 17:59:07 +0900 - -nbeat-theme (0.1.1-89) unstable; urgency=low - - * Package Upload. - * Important Changes - [Elm_Conform] Group added for added layout. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-89 - - -- Daniel Juyung Seo Thu, 15 Sep 2011 16:00:39 +0900 - -nbeat-theme (0.1.1-88) unstable; urgency=low - - * Package Upload. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-88 - - -- Daniel Juyung Seo Thu, 08 Sep 2011 19:37:26 +0900 - -nbeat-theme (0.1.1-87) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-87 - - -- WooHyun Jung Wed, 07 Sep 2011 09:51:44 +0900 - -nbeat-theme (0.1.1-86) unstable; urgency=low - - * Upload Package for EFL core migration - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-86 - - -- Jaehwan Kim Fri, 02 Sep 2011 18:50:08 +0900 - -nbeat-theme (0.1.1-85) unstable; urgency=low - - * Upload Package - * Important Changes - [Genlist] Added 3text.6icon and 2text.1icon.13 style for email application. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-85 - - -- Daniel Juyung Seo Fri, 02 Sep 2011 13:59:45 +0900 - -nbeat-theme (0.1.1-84) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-84 - - -- ChunEon Park Thu, 25 Aug 2011 21:13:51 +0900 - -nbeat-theme (0.1.1-83) unstable; urgency=low - - * Package Upload - * Important Changes - [Genlist HD] Refactoring. Used macros widely. This supports HD. - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-83 - - -- WooHyun Jung Wed, 24 Aug 2011 17:09:25 +0900 - -nbeat-theme (0.1.1-82) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-82 - - -- ChunEon Park Tue, 23 Aug 2011 19:37:21 +0900 - -nbeat-theme (0.1.1-81) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-81 - - -- WooHyun Jung Tue, 23 Aug 2011 10:26:21 +0900 - -nbeat-theme (0.1.1-80) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-80 - - -- Jaehwan Kim Thu, 18 Aug 2011 21:29:31 +0900 - -nbeat-theme (0.1.1-79) unstable; urgency=low - - * Package Upload - * Important Changes - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-79 - - -- Ilkook Yun Thu, 18 Aug 2011 17:31:26 +0900 - -nbeat-theme (0.1.1-78) unstable; urgency=low - - * Package Upload - * Important Changes - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-78 - - -- Shinwoo Kim Wed, 17 Aug 2011 13:20:56 +0900 - -nbeat-theme (0.1.1-77) unstable; urgency=low - - * Package Upload - * Important Changes - [nbeat-hd] Enabled nbeat-hd packaging. - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-77 - - -- WooHyun Jung Thu, 11 Aug 2011 18:01:32 +0900 - -nbeat-theme (0.1.1-76) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-76 - - -- WooHyun Jung Wed, 10 Aug 2011 10:56:58 +0900 - -nbeat-theme (0.1.1-75) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-75 - - -- WooHyun Jung Wed, 10 Aug 2011 10:22:36 +0900 - -nbeat-theme (0.1.1-74) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-74 - - -- WooHyun Jung Tue, 09 Aug 2011 10:33:18 +0900 - -nbeat-theme (0.1.1-73) unstable; urgency=low - - * Sync with elementary. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-73 - - -- Daniel Juyung Seo Thu, 04 Aug 2011 16:03:09 +0900 - -nbeat-theme (0.1.1-72) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-72 - - -- ChunEon Park Fri, 29 Jul 2011 22:14:29 +0900 - -nbeat-theme (0.1.1-71) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-71 - - -- ChunEon Park Fri, 29 Jul 2011 20:18:28 +0900 - -nbeat-theme (0.1.1-70) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-70 - - -- Myungjae Lee Fri, 29 Jul 2011 19:33:00 +0900 - -nbeat-theme (0.1.1-69) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-69 - - -- Hyoyoung Chang Thu, 28 Jul 2011 16:34:57 +0900 - -nbeat-theme (0.1.1-68) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-68 - - -- ChunEon Park Thu, 28 Jul 2011 09:20:59 +0900 - -nbeat-theme (0.1.1-67) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-67 - - -- ChunEon Park Tue, 26 Jul 2011 13:53:31 +0900 - -nbeat-theme (0.1.1-66) unstable; urgency=low - - * Package Upload: editfield disappeared password problem was fixed - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-66 - - -- WooHyun Jung Mon, 25 Jul 2011 15:13:08 +0900 - -nbeat-theme (0.1.1-65) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-65 - - -- ChunEon Park Fri, 22 Jul 2011 19:27:56 +0900 - -nbeat-theme (0.1.1-64) unstable; urgency=low - - * [svn_merge] Sync with elementary migration. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-64 - - -- Daniel Juyung Seo Thu, 21 Jul 2011 10:01:54 +0900 - -nbeat-theme (0.1.1-63) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-63 - - -- Jaehwan Kim Tue, 19 Jul 2011 20:44:40 +0900 - -nbeat-theme (0.1.1-62) unstable; urgency=low - - * Upload Package - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-62 - - -- ChunEon Park Mon, 18 Jul 2011 22:18:03 +0900 - -nbeat-theme (0.1.1-61) unstable; urgency=low - - * Upload Package - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-61 - - -- Jaehwan Kim Mon, 18 Jul 2011 17:13:56 +0900 - -nbeat-theme (0.1.1-60) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-60 - - -- ChunEon Park Wed, 13 Jul 2011 20:17:14 +0900 - -nbeat-theme (0.1.1-59) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-59 - - -- Jaehwan Kim Mon, 11 Jul 2011 16:25:15 +0900 - -nbeat-theme (0.1.1-58) unstable; urgency=low - - * Package Upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-58 - - -- Jaehwan Kim Thu, 07 Jul 2011 13:18:04 +0900 - -nbeat-theme (0.1.1-57) unstable; urgency=low - - * [slider.edc] Slider indicator popup is removed in drag state. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-57 - - -- Daniel Juyung Seo Wed, 06 Jul 2011 22:16:10 +0900 - -nbeat-theme (0.1.1-56) unstable; urgency=low - - * Upload Package - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-56 - - -- Jaehwan Kim Wed, 06 Jul 2011 20:30:40 +0900 - -nbeat-theme (0.1.1-55) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-55 - - -- ChunEon Park Fri, 01 Jul 2011 18:01:41 +0900 - -nbeat-theme (0.1.1-54) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-54 - - -- Daniel Juyung Seo Thu, 30 Jun 2011 21:35:29 +0900 - -nbeat-theme (0.1.1-53) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-53 - - -- Daniel Juyung Seo Thu, 30 Jun 2011 21:03:15 +0900 - -nbeat-theme (0.1.1-52) unstable; urgency=low - - * Package Upload : fixing editfield bug - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-52 - - -- WooHyun Jung Wed, 29 Jun 2011 18:30:26 +0900 - -nbeat-theme (0.1.1-51) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-51 - - -- ChunEon Park Tue, 28 Jun 2011 19:49:58 +0900 - -nbeat-theme (0.1.1-50) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-50 - - -- ChunEon Park Mon, 27 Jun 2011 20:04:25 +0900 - -nbeat-theme (0.1.1-49) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-49 - - -- Daniel Juyung Seo Fri, 24 Jun 2011 10:38:18 +0900 - -nbeat-theme (0.1.1-48) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-48 - - -- Daniel Juyung Seo Wed, 22 Jun 2011 14:25:04 +0900 - -nbeat-theme (0.1.1-47) unstable; urgency=low - - * Upload package - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-47 - - -- Jaehwan Kim Tue, 21 Jun 2011 08:30:54 +0900 - -nbeat-theme (0.1.1-46) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-46 - - -- ChunEon Park Fri, 17 Jun 2011 22:12:17 +0900 - -nbeat-theme (0.1.1-45) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-45 - - -- WooHyun Jung Thu, 16 Jun 2011 17:35:25 +0900 - -nbeat-theme (0.1.1-44) unstable; urgency=low - - * Package Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-44 - - -- WooHyun Jung Tue, 07 Jun 2011 21:18:10 +0900 - -nbeat-theme (0.1.1-43) unstable; urgency=low - - * Sync with elementary. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-43 - - -- ChunEon Park Sat, 04 Jun 2011 20:16:13 +0900 - -nbeat-theme (0.1.1-42) unstable; urgency=low - - * Sync with elementary. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-42 - - -- Daniel Juyung Seo Thu, 02 Jun 2011 11:26:09 +0900 - -nbeat-theme (0.1.1-41) unstable; urgency=low - - * Upload Package - sync with elementary - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-41 - - -- ChunEon Park Fri, 27 May 2011 18:23:17 +0900 - -nbeat-theme (0.1.1-40) unstable; urgency=low - - * Upload Package - sync with elementary - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-40 - - -- ChunEon Park Wed, 25 May 2011 19:12:41 +0900 - -nbeat-theme (0.1.1-39) unstable; urgency=low - - * Upload Package - button - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-39 - - -- ChunEon Park Tue, 24 May 2011 14:21:08 +0900 - -nbeat-theme (0.1.1-38) unstable; urgency=low - - * Upload Package - controlbar - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-38 - - -- Jaehwan Kim Mon, 23 May 2011 20:31:48 +0900 - -nbeat-theme (0.1.1-37) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-37 - - -- ChunEon Park Thu, 19 May 2011 15:15:56 +0900 - -nbeat-theme (0.1.1-36) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-36 - - -- ChunEon Park Wed, 18 May 2011 16:01:59 +0900 - -nbeat-theme (0.1.1-35) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-35 - - -- WooHyun Jung Mon, 16 May 2011 10:41:28 +0900 - -nbeat-theme (0.1.1-34) unstable; urgency=low - - * Package Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-34 - - -- WooHyun Jung Fri, 13 May 2011 10:52:09 +0900 - -nbeat-theme (0.1.1-33) unstable; urgency=low - - * Package upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-33 - - -- ChunEon Park Mon, 09 May 2011 17:20:27 +0900 - -nbeat-theme (0.1.1-32) unstable; urgency=low - - * Package upload - * Git: slp-scm.sec.samsung.net:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-32 - - -- Jaehwan Kim Wed, 04 May 2011 19:11:43 +0900 - -nbeat-theme (0.1.1-31) unstable; urgency=low - - * Sync with elementary. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-31 - - -- Daniel Juyung Seo Wed, 04 May 2011 11:24:13 +0900 - -nbeat-theme (0.1.1-30) unstable; urgency=low - - * Package Upload : sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-30 - - -- WooHyun Jung Sat, 30 Apr 2011 10:37:41 +0900 - -nbeat-theme (0.1.1-29) unstable; urgency=low - - * [Genlist] Upstream merge. Added genlist mode feature. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-29 - - -- Daniel Juyung Seo Wed, 27 Apr 2011 15:38:29 +0900 - -nbeat-theme (0.1.1-28) unstable; urgency=low - - * Package Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-28 - - -- ChunEon Park Wed, 27 Apr 2011 13:58:36 +0900 - -nbeat-theme (0.1.1-27) unstable; urgency=low - - * Package Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-27 - - -- ChunEon Park Mon, 25 Apr 2011 21:46:32 +0900 - -nbeat-theme (0.1.1-26) unstable; urgency=low - - * Package Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-26 - - -- WooHyun Jung Thu, 21 Apr 2011 21:22:45 +0900 - -nbeat-theme (0.1.1-25) unstable; urgency=low - - * Editfield : modify the title top gap - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-25 - - -- Daniel Juyung Seo Wed, 20 Apr 2011 13:51:59 +0900 - -nbeat-theme (0.1.1-24) unstable; urgency=low - - * Package upload : For sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-24 - - -- WooHyun Jung Mon, 18 Apr 2011 16:50:24 +0900 - -nbeat-theme (0.1.1-23) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-23 - - -- WooHyun Jung Fri, 15 Apr 2011 19:22:09 +0900 - -nbeat-theme (0.1.1-22) unstable; urgency=low - - * Sync with elementary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-22 - - -- Daniel Juyung Seo Thu, 14 Apr 2011 18:02:34 +0900 - -nbeat-theme (0.1.1-21) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-21 - - -- ChunEon Park Mon, 11 Apr 2011 23:19:20 +0900 - -nbeat-theme (0.1.1-20) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-20 - - -- Jaehwan Kim Mon, 11 Apr 2011 18:25:59 +0900 - -nbeat-theme (0.1.1-19) unstable; urgency=low - - * [Genlist] Added genlist styles. - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-19 - - -- Daniel Juyung Seo Fri, 08 Apr 2011 21:56:02 +0900 - -nbeat-theme (0.1.1-18) unstable; urgency=low - - * Upload package - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-18 - - -- Daniel Juyung Seo Fri, 08 Apr 2011 20:29:53 +0900 - -nbeat-theme (0.1.1-17) unstable; urgency=low - - * Upload package - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-17 - - -- ChunEon Park Thu, 07 Apr 2011 19:34:08 +0900 - -nbeat-theme (0.1.1-16) unstable; urgency=low - - * Upload package - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-16 - - -- Jaehwan Kim Fri, 01 Apr 2011 21:55:13 +0900 - -nbeat-theme (0.1.1-15) unstable; urgency=low - - * Package upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-15 - - -- ChunEon Park Thu, 31 Mar 2011 19:46:30 +0900 - -nbeat-theme (0.1.1-14) unstable; urgency=low - - * Package upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-14 - - -- ChunEon Park Mon, 28 Mar 2011 12:21:01 +0900 - -nbeat-theme (0.1.1-13) unstable; urgency=low - - * Package upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-13 - - -- ChunEon Park Fri, 25 Mar 2011 11:55:31 +0900 - -nbeat-theme (0.1.1-12) unstable; urgency=low - - * Package upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-12 - - -- Jaehwan Kim Thu, 24 Mar 2011 20:39:31 +0900 - -nbeat-theme (0.1.1-11) unstable; urgency=low - - * Upload Package - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-11 - - -- ChunEon Park Tue, 22 Mar 2011 23:04:07 +0900 - -nbeat-theme (0.1.1-10) unstable; urgency=low - - * Upload Package - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-10 - - -- ChunEon Park Tue, 22 Mar 2011 22:27:00 +0900 - -nbeat-theme (0.1.1-9) unstable; urgency=low - - * Upload Package - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-9 - - -- ChunEon Park Thu, 17 Mar 2011 22:54:52 +0900 - -nbeat-theme (0.1.1-8) unstable; urgency=low - - * Upload Package - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-8 - - -- WooHyun Jung Wed, 16 Mar 2011 10:53:57 +0900 - -nbeat-theme (0.1.1-7) unstable; urgency=low - - * Package Upload - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-7 - - -- Jaehwan Kim Fri, 11 Mar 2011 16:57:02 +0900 - -nbeat-theme (0.1.1-6) unstable; urgency=low - - * version up - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-6 - - -- Myungjae Lee Wed, 09 Mar 2011 13:15:06 +0900 - -nbeat-theme (0.1.1-5) unstable; urgency=low - - * PKG Upload : for sync with elementary - * Git: 165.213.180.234:/slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-5 - - -- WooHyun Jung Mon, 07 Mar 2011 12:18:50 +0900 - -nbeat-theme (0.1.1-4) unstable; urgency=low - - * change icon file, fixing nbeat file perm - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-4 - - -- Hyoyoung Chang Mon, 28 Feb 2011 16:56:20 +0900 - -nbeat-theme (0.1.1-3) unstable; urgency=low - - * version up - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-3 - - -- Hyoyoung Chang Mon, 21 Feb 2011 14:32:13 +0900 - -nbeat-theme (0.1.1-2) unstable; urgency=low - - * version up - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-2 - - -- Hyoyoung Chang Fri, 18 Feb 2011 19:30:11 +0900 - -nbeat-theme (0.1.1-1) unstable; urgency=low - - * add nbeat-theme to pkg repositary - * Git: 165.213.180.234:slp/pkgs/n/nbeat-theme - * Tag: nbeat-theme_0.1.1-1 - - -- Hyoyoung Chang Thu, 17 Feb 2011 17:03:57 +0900 - -nbeat-theme (0.1.0) unstable; urgency=low - - * Initialized version - - -- Juyung Seo Mon, 24 Jan 2011 17:45:27 +0900 diff --git a/mobile/debian/compat b/mobile/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/mobile/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/mobile/debian/control b/mobile/debian/control deleted file mode 100644 index 2891990..0000000 --- a/mobile/debian/control +++ /dev/null @@ -1,17 +0,0 @@ -Source: efl-theme-tizen -Section: misc -Priority: extra -Maintainer: Seokjae Jeong , Jaehwan Kim , Chuneon Park , Juyung Seo , Myungjae Lee , Woohyun Jung , Jeonghyun Yun , Shinwoo Kim -Uploaders: Hyoyoung Chang , Tae-Hwan Kim -Build-Depends: debhelper (>= 5), libedje-dev -Standards-Version: 0.1.0 - -Package: efl-theme-tizen-hd -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: tizen HD theme - -Package: efl-theme-tizen-dev -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: tizen theme dev diff --git a/mobile/debian/copyright b/mobile/debian/copyright deleted file mode 100644 index 8b13789..0000000 --- a/mobile/debian/copyright +++ /dev/null @@ -1 +0,0 @@ - diff --git a/mobile/debian/dirs b/mobile/debian/dirs deleted file mode 100644 index ca882bb..0000000 --- a/mobile/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/sbin diff --git a/mobile/debian/docs b/mobile/debian/docs deleted file mode 100644 index e69de29..0000000 diff --git a/mobile/debian/efl-theme-tizen-dev.install b/mobile/debian/efl-theme-tizen-dev.install deleted file mode 100644 index 909f4fc..0000000 --- a/mobile/debian/efl-theme-tizen-dev.install +++ /dev/null @@ -1 +0,0 @@ -opt/var/efl-theme-tizen-edc diff --git a/mobile/debian/efl-theme-tizen-hd.install b/mobile/debian/efl-theme-tizen-hd.install deleted file mode 100644 index d98250c..0000000 --- a/mobile/debian/efl-theme-tizen-hd.install +++ /dev/null @@ -1 +0,0 @@ -usr/share/elementary/themes/tizen-hd.edj diff --git a/mobile/debian/rules b/mobile/debian/rules deleted file mode 100755 index cb0609d..0000000 --- a/mobile/debian/rules +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -CFLAGS ?= -Wall -g -CXXFLAGS ?= -Wall -g -LDFLAGS ?= -PREFIX ?= /usr -DATADIR ?= /opt - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 - CXXFLAGS += -O0 -else - CFLAGS += -O2 - CXXFLAGS += -O2 -endif - -CFLAGS += -fPIC -LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed - -configure: configure-stamp -configure-stamp: - dh_testdir - - touch configure-stamp - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/wavplayer.sgml > wavplayer.1 - - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - cat $$f > $${f%.in}; \ - sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \ - sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \ - done - - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) clean - for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ - rm -f $${f%.in}; \ - done - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/wavplayer. - $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install --sourcedir=debian/tmp -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/mobile/themes/Makefile b/mobile/themes/Makefile deleted file mode 100644 index f4fae8b..0000000 --- a/mobile/themes/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -PREFIX ?= /usr -INSTALL=install -c -EDC_DIR=$(DESTDIR)/opt/var/efl-theme-tizen-edc -THEME_DIR=$(DESTDIR)$(PREFIX)/share/elementary/themes -EDJE_FLAGS_VERBOSE_ = -EDJE_FLAGS_VERBOSE_0 = -EDJE_FLAGS_VERBOSE_1 = -v -SRC=tizen -TARGET=HD - -all: light dark - echo $(escaped_prefix) - -.SUFFIXES: .edc .edj -.edc.edj: - perl -pi -e 's/TIZEN_TMP_INC/".\/inc\/$(SRC)-$*-inc.edc"/g' $*.edc - edje_cc $(EDJE_FLAGS_$(V))\ - -id ./images/$(TARGET)/$(@:.edj=)\ - -id ./images/$(TARGET)/$(@:.edj=)/Content_views\ - -id ./images/$(TARGET)/$(@:.edj=)/Content_views/Gengrid\ - -id ./images/$(TARGET)/$(@:.edj=)/Controls\ - -id ./images/$(TARGET)/$(@:.edj=)/Controls/00_Progress_circle_bg\ - -id ./images/$(TARGET)/$(@:.edj=)/Controls/Button\ - -id ./images/$(TARGET)/$(@:.edj=)/Controls/Check_box\ - -id ./images/$(TARGET)/$(@:.edj=)/Controls/Radio_button\ - -id ./images/$(TARGET)/$(@:.edj=)/Copy_Paste\ - -id ./images/$(TARGET)/$(@:.edj=)/Focus\ - -id ./images/$(TARGET)/$(@:.edj=)/GUI_Style_Guide\ - -id ./images/$(TARGET)/$(@:.edj=)/Map\ - -id ./images/$(TARGET)/$(@:.edj=)/Naviframe\ - -id ./images/$(TARGET)/$(@:.edj=)/Naviframe/Icon\ - -id ./images/$(TARGET)/$(@:.edj=)/Overscrolling\ - -id ./images/$(TARGET)/$(@:.edj=)/Popup\ - -id ./images/$(TARGET)/$(@:.edj=)/Process\ - -id ./images/$(TARGET)/$(@:.edj=)/Screen_Reader\ - -sd ./sounds -fd ../objects \ - $*.edc $(SRC)-$(TARGET)-$@ - -light: light.edj -dark: dark.edj - -clean: - rm -f *.edj - -install: - mkdir -p $(THEME_DIR) - $(INSTALL) tizen*.edj $(THEME_DIR) - mkdir -p $(EDC_DIR) - cp -r $(SRC).edc widgets $(EDC_DIR) - -uninstall: - rm -f $(EDC_DIR)/$(SRC.edc) && rm -rf $(EDC_DIR)/widgets - -distclean: clean diff --git a/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg.png b/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg.png deleted file mode 100755 index d971783..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg_press.png b/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg_press.png deleted file mode 100755 index 54dcf12..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_circle_thumbnail_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_edit_field_bg.png b/mobile/themes/images/HD/dark/Content_views/00_edit_field_bg.png deleted file mode 100644 index 11b3cad..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_edit_field_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_edit_field_clear.png b/mobile/themes/images/HD/dark/Content_views/00_edit_field_clear.png deleted file mode 100644 index ef5945d..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_edit_field_clear.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_edit_field_focus.png b/mobile/themes/images/HD/dark/Content_views/00_edit_field_focus.png deleted file mode 100644 index e52f16c..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_edit_field_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg.png b/mobile/themes/images/HD/dark/Content_views/00_expandable_bg.png deleted file mode 100644 index 8d7fea8..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_bottom.png b/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_bottom.png deleted file mode 100644 index ee8dc88..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_center.png b/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_center.png deleted file mode 100644 index 353b21c..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_top.png b/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_top.png deleted file mode 100644 index 3760b74..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_expandable_bg_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder.png b/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder.png deleted file mode 100755 index 06e82bc..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_minus.png b/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_minus.png deleted file mode 100755 index eb7f857..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_minus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_plus.png b/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_plus.png deleted file mode 100755 index 8d9b044..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_folder_icon_folder_plus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_bubble_bg.png b/mobile/themes/images/HD/dark/Content_views/00_list_bubble_bg.png deleted file mode 100644 index ef845ca..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_bubble_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_closed.png b/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_closed.png deleted file mode 100755 index 1560667..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_closed.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_opened.png b/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_opened.png deleted file mode 100755 index c96d9a0..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_button_expand_opened.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg.png deleted file mode 100755 index 358d215..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom.png deleted file mode 100755 index 9510109..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom_press.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom_press.png deleted file mode 100755 index a525170..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_bottom_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center.png deleted file mode 100755 index dc91b81..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center_press.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center_press.png deleted file mode 100755 index be656e6..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_center_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_press.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_press.png deleted file mode 100755 index cc4f97b..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top.png deleted file mode 100755 index 9417bb6..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top_press.png b/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top_press.png deleted file mode 100755 index ebd9318..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_list_group_bg_top_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_receive.png b/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_receive.png deleted file mode 100755 index 143a15c..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_receive.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_sent.png b/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_sent.png deleted file mode 100755 index a81291b..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_messagebubble_bg_sent.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_quick_menu_bg.png b/mobile/themes/images/HD/dark/Content_views/00_quick_menu_bg.png deleted file mode 100644 index 10fcd02..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_quick_menu_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg.png b/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg.png deleted file mode 100755 index 29e28ec..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg_press.png b/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg_press.png deleted file mode 100755 index fb02ed9..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/00_square_thumbnail_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_bottom.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_bottom.png deleted file mode 100755 index 46bb9b8..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_left.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_left.png deleted file mode 100755 index 2fb5ef5..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_right.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_right.png deleted file mode 100755 index 6d08148..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_top.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_top.png deleted file mode 100755 index d0ba116..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_overscrolling_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check.png deleted file mode 100644 index c34b70b..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg.png deleted file mode 100644 index 7921f38..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg_press.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg_press.png deleted file mode 100644 index 61d5ded..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_grid_select_check_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_sub_depth_thumbs_bg.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_sub_depth_thumbs_bg.png deleted file mode 100755 index 4a73acc..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_sub_depth_thumbs_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_bg_focus.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_bg_focus.png deleted file mode 100755 index eb79c64..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_bg_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_line_bg.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_line_bg.png deleted file mode 100755 index f77edad..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_line_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_loading_bg.png b/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_loading_bg.png deleted file mode 100755 index 021b5bc..0000000 Binary files a/mobile/themes/images/HD/dark/Content_views/Gengrid/00_thumbs_loading_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_arrow_expand.png b/mobile/themes/images/HD/dark/Controls/00_arrow_expand.png deleted file mode 100644 index d67737e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_arrow_expand.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01.png b/mobile/themes/images/HD/dark/Controls/00_button_01.png deleted file mode 100644 index 0b5b03e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_delete.png b/mobile/themes/images/HD/dark/Controls/00_button_01_delete.png deleted file mode 100644 index d91a118..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_delete_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_01_delete_dim.png deleted file mode 100644 index 6f712bf..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_delete_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_delete_press.png b/mobile/themes/images/HD/dark/Controls/00_button_01_delete_press.png deleted file mode 100644 index 6d3bce7..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_delete_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_01_dim.png deleted file mode 100644 index 3c7ff94..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_focus.png b/mobile/themes/images/HD/dark/Controls/00_button_01_focus.png deleted file mode 100644 index 6541cf2..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_press.png b/mobile/themes/images/HD/dark/Controls/00_button_01_press.png deleted file mode 100644 index 9bf4539..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_send.png b/mobile/themes/images/HD/dark/Controls/00_button_01_send.png deleted file mode 100644 index a428276..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_send.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_send_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_01_send_dim.png deleted file mode 100644 index 4bc722f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_send_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_01_send_press.png b/mobile/themes/images/HD/dark/Controls/00_button_01_send_press.png deleted file mode 100644 index a20bf6e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_01_send_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_handler_focus.png b/mobile/themes/images/HD/dark/Controls/00_button_handler_focus.png deleted file mode 100755 index 538de37..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_handler_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_off_handler.png b/mobile/themes/images/HD/dark/Controls/00_button_off_handler.png deleted file mode 100644 index 5a0fd80..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_off_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_off_handler_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_off_handler_dim.png deleted file mode 100644 index b7a2f75..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_off_handler_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_on_handler.png b/mobile/themes/images/HD/dark/Controls/00_button_on_handler.png deleted file mode 100644 index aeb582d..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_on_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_on_handler_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_on_handler_dim.png deleted file mode 100644 index 545aa88..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_on_handler_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg.png b/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg.png deleted file mode 100644 index 8e52220..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg_dim.png b/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg_dim.png deleted file mode 100644 index f132add..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_button_on_off_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button.png b/mobile/themes/images/HD/dark/Controls/00_circle_button.png deleted file mode 100644 index cd069d6..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_delete.png deleted file mode 100644 index af5b00a..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_dim.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_dim.png deleted file mode 100644 index edc6c78..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_press.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_press.png deleted file mode 100644 index 1cdeca9..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_delete_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_dim.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_dim.png deleted file mode 100644 index 923d9eb..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_focus.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_focus.png deleted file mode 100755 index 5c207df..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_circle_button_press.png b/mobile/themes/images/HD/dark/Controls/00_circle_button_press.png deleted file mode 100644 index 299bde9..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_circle_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness.png deleted file mode 100644 index 507c217..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness_h.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness_h.png deleted file mode 100644 index bd2c5e4..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_brightness_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_color.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_color.png deleted file mode 100644 index b14670b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_color.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_color_h.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_color_h.png deleted file mode 100644 index e860aa1..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_color_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_handler.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_handler.png deleted file mode 100644 index 02250e6..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_handler_focus.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_handler_focus.png deleted file mode 100755 index da2b11b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_handler_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_bg.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_bg.png deleted file mode 100644 index 462be08..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_focus.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_focus.png deleted file mode 100755 index 0dcf094..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_palette_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation.png deleted file mode 100644 index 505ab1e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation_h.png b/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation_h.png deleted file mode 100644 index 87a8a72..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_color_picker_saturation_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_contacts_button.png b/mobile/themes/images/HD/dark/Controls/00_contacts_button.png deleted file mode 100755 index e38d52c..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_contacts_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_contacts_button_dim.png b/mobile/themes/images/HD/dark/Controls/00_contacts_button_dim.png deleted file mode 100755 index 8dfa1d6..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_contacts_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_contacts_button_focus.png b/mobile/themes/images/HD/dark/Controls/00_contacts_button_focus.png deleted file mode 100644 index a0d890e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_contacts_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_contacts_button_press.png b/mobile/themes/images/HD/dark/Controls/00_contacts_button_press.png deleted file mode 100755 index f5a6072..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_contacts_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_bottom.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_bottom.png deleted file mode 100644 index 3f5456b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center.png deleted file mode 100644 index 010a710..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center_h.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center_h.png deleted file mode 100644 index e7a372d..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_center_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_left_h.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_left_h.png deleted file mode 100644 index ac0012b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_left_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_right_h.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_right_h.png deleted file mode 100644 index 036bea3..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_right_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_top.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_top.png deleted file mode 100644 index afed27f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_handler_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_popup_bg.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_popup_bg.png deleted file mode 100755 index 1a9c63b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_popup_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_rollover_bg_line_focus.png b/mobile/themes/images/HD/dark/Controls/00_fast_scroll_rollover_bg_line_focus.png deleted file mode 100755 index 0c411c3..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_fast_scroll_rollover_bg_line_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_field_btn_clear.png b/mobile/themes/images/HD/dark/Controls/00_field_btn_clear.png deleted file mode 100644 index 00a1d6a..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_field_btn_clear.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45.png deleted file mode 100644 index 143d98b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45_dim.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45_dim.png deleted file mode 100644 index 817ac95..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_45x45_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72.png deleted file mode 100644 index a1556c2..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72_dim.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72_dim.png deleted file mode 100644 index e7f5e71..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_off_72x72_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45.png deleted file mode 100644 index d96088f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45_dim.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45_dim.png deleted file mode 100644 index c8555ae..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_45x45_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72.png deleted file mode 100644 index bc9897f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72_dim.png b/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72_dim.png deleted file mode 100644 index 7ac7815..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_favorite_on_72x72_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_jump.png b/mobile/themes/images/HD/dark/Controls/00_icon_jump.png deleted file mode 100755 index 3ec5535..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_jump.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_icon_jump_left.png b/mobile/themes/images/HD/dark/Controls/00_icon_jump_left.png deleted file mode 100755 index 1e1631f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_icon_jump_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_page_indicator_01.png b/mobile/themes/images/HD/dark/Controls/00_page_indicator_01.png deleted file mode 100755 index 06225e8..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_page_indicator_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_page_indicator_02.png b/mobile/themes/images/HD/dark/Controls/00_page_indicator_02.png deleted file mode 100755 index ae9f1b5..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_page_indicator_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_picker_arrow_down.png b/mobile/themes/images/HD/dark/Controls/00_picker_arrow_down.png deleted file mode 100644 index ff83a05..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_picker_arrow_down.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_picker_arrow_up.png b/mobile/themes/images/HD/dark/Controls/00_picker_arrow_up.png deleted file mode 100644 index 59861b5..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_picker_arrow_up.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_bar.png b/mobile/themes/images/HD/dark/Controls/00_progress_bar.png deleted file mode 100644 index 8f54d60..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_bar.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_bar_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_bar_dim.png deleted file mode 100644 index a13aba6..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_bar_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_bg.png b/mobile/themes/images/HD/dark/Controls/00_progress_bg.png deleted file mode 100644 index 9d3751d..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_bg_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_bg_dim.png deleted file mode 100644 index e119be3..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg.png deleted file mode 100644 index dc8bd60..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_dim.png deleted file mode 100644 index 87d21ce..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h.png deleted file mode 100644 index 0f1b82b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h_dim.png deleted file mode 100644 index b8c5bfc..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_01_bg_h_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg.png deleted file mode 100644 index f408d8b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_dim.png deleted file mode 100644 index 02f6e7f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h.png deleted file mode 100644 index 25e0533..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h_dim.png b/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h_dim.png deleted file mode 100644 index 8de6da4..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_progress_pending_02_bg_h_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_scroll_bar_h.png b/mobile/themes/images/HD/dark/Controls/00_scroll_bar_h.png deleted file mode 100644 index 526c91c..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_scroll_bar_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_scroll_bar_v.png b/mobile/themes/images/HD/dark/Controls/00_scroll_bar_v.png deleted file mode 100644 index f07b2ca..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_scroll_bar_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_handle.png b/mobile/themes/images/HD/dark/Controls/00_slider_handle.png deleted file mode 100644 index 3a64686..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_handle.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_handle_dim.png b/mobile/themes/images/HD/dark/Controls/00_slider_handle_dim.png deleted file mode 100644 index 68639ff..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_handle_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_handle_focus.png b/mobile/themes/images/HD/dark/Controls/00_slider_handle_focus.png deleted file mode 100755 index 07a69a2..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_handle_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_handle_press.png b/mobile/themes/images/HD/dark/Controls/00_slider_handle_press.png deleted file mode 100644 index ecb7e42..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_handle_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_popup_center.png b/mobile/themes/images/HD/dark/Controls/00_slider_popup_center.png deleted file mode 100644 index 921f304..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_popup_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_popup_left.png b/mobile/themes/images/HD/dark/Controls/00_slider_popup_left.png deleted file mode 100644 index a1b7664..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_popup_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_slider_popup_right.png b/mobile/themes/images/HD/dark/Controls/00_slider_popup_right.png deleted file mode 100644 index fa348c3..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_slider_popup_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_h.png b/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_h.png deleted file mode 100644 index 646b188..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_press.png b/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_press.png deleted file mode 100644 index 41113e2..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_v.png b/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_v.png deleted file mode 100644 index 94a984b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_splite_handler_bg_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_splite_handler_h.png b/mobile/themes/images/HD/dark/Controls/00_splite_handler_h.png deleted file mode 100644 index b6301cc..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_splite_handler_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_splite_handler_v.png b/mobile/themes/images/HD/dark/Controls/00_splite_handler_v.png deleted file mode 100644 index 19cf9bd..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_splite_handler_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_time_picker_number_bg.png b/mobile/themes/images/HD/dark/Controls/00_time_picker_number_bg.png deleted file mode 100644 index 4f3034a..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_time_picker_number_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_time_picker_tail.png b/mobile/themes/images/HD/dark/Controls/00_time_picker_tail.png deleted file mode 100644 index b2805e3..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_time_picker_tail.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/00_time_picker_tail_01.png b/mobile/themes/images/HD/dark/Controls/00_time_picker_tail_01.png deleted file mode 100644 index 432789a..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/00_time_picker_tail_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_add.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_add.png deleted file mode 100644 index 014b861..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_add.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_call.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_call.png deleted file mode 100644 index ed122a8..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_call.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_contact.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_contact.png deleted file mode 100644 index cbe88ad..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_contact.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_delete.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_delete.png deleted file mode 100644 index 0600f38..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_cancel.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_cancel.png deleted file mode 100644 index 94c65a1..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_cancel.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_closed.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_closed.png deleted file mode 100644 index c60ee91..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_closed.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_opened.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_opened.png deleted file mode 100644 index b962e4f..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_opened.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_send.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_send.png deleted file mode 100644 index df91fc0..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_expand_send.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_info.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_info.png deleted file mode 100644 index 3f60e32..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_info.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_left.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_left.png deleted file mode 100644 index 062b298..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_rename.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_rename.png deleted file mode 100644 index b0d230e..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_rename.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_right.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_right.png deleted file mode 100644 index 4e83d92..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Button/00_button_warning.png b/mobile/themes/images/HD/dark/Controls/Button/00_button_warning.png deleted file mode 100644 index 6840191..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Button/00_button_warning.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated.png deleted file mode 100644 index c2a6b3c..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_dim.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_dim.png deleted file mode 100644 index d2c3348..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_press.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_press.png deleted file mode 100644 index 44b86f1..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_activated_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_bg.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_bg.png deleted file mode 100644 index 80d1dc9..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_dim_bg.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_dim_bg.png deleted file mode 100644 index 7033ce4..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_dim_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_focus.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_focus.png deleted file mode 100644 index 728f7e4..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_press_bg.png b/mobile/themes/images/HD/dark/Controls/Check_box/00_check_press_bg.png deleted file mode 100644 index b268899..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Check_box/00_check_press_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated.png deleted file mode 100644 index 24e8741..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_dim.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_dim.png deleted file mode 100644 index f377803..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_press.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_press.png deleted file mode 100644 index 11fa3b0..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_activated_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_bg.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_bg.png deleted file mode 100644 index fd590c7..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_dim_bg.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_dim_bg.png deleted file mode 100644 index 2c09cfc..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_dim_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_focus.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_focus.png deleted file mode 100644 index ec298f1..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_press_bg.png b/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_press_bg.png deleted file mode 100644 index 405592b..0000000 Binary files a/mobile/themes/images/HD/dark/Controls/Radio_button/00_button_radio_press_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier.png b/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier.png deleted file mode 100755 index 3c7b289..0000000 Binary files a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_left.png b/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_left.png deleted file mode 100644 index 03df769..0000000 Binary files a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_middle.png b/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_middle.png deleted file mode 100644 index fcedbc7..0000000 Binary files a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_middle.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_right.png b/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_right.png deleted file mode 100644 index 98546de..0000000 Binary files a/mobile/themes/images/HD/dark/Copy_Paste/copy&paste_Magnifier_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Focus/00_focus.png b/mobile/themes/images/HD/dark/Focus/00_focus.png deleted file mode 100644 index fed29db..0000000 Binary files a/mobile/themes/images/HD/dark/Focus/00_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_bottom_focus.png b/mobile/themes/images/HD/dark/Focus/00_list_group_bg_bottom_focus.png deleted file mode 100644 index 161f846..0000000 Binary files a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_bottom_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_center_focus.png b/mobile/themes/images/HD/dark/Focus/00_list_group_bg_center_focus.png deleted file mode 100644 index 02472f3..0000000 Binary files a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_center_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_top_focus.png b/mobile/themes/images/HD/dark/Focus/00_list_group_bg_top_focus.png deleted file mode 100644 index 33c4339..0000000 Binary files a/mobile/themes/images/HD/dark/Focus/00_list_group_bg_top_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Focus/00_more_popup_focus.png b/mobile/themes/images/HD/dark/Focus/00_more_popup_focus.png deleted file mode 100644 index 2b36ec6..0000000 Binary files a/mobile/themes/images/HD/dark/Focus/00_more_popup_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_album.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_album.png deleted file mode 100644 index 097ee75..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_album.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_devices.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_devices.png deleted file mode 100644 index a8fc9ea..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_devices.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_multimedia.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_multimedia.png deleted file mode 100644 index f996f5a..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_multimedia.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_picture.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_picture.png deleted file mode 100644 index 57e6382..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_picture.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_text.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_text.png deleted file mode 100755 index 2106b34..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_text.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_unnamed.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_unnamed.png deleted file mode 100644 index d559c97..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_nocontents_unnamed.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg.png deleted file mode 100644 index 8424339..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg_focus.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg_focus.png deleted file mode 100644 index 836ae1b..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_edit_field_bg_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_icon.png b/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_icon.png deleted file mode 100644 index 2afbaea..0000000 Binary files a/mobile/themes/images/HD/dark/GUI_Style_Guide/00_search_icon.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_badge_bg.png b/mobile/themes/images/HD/dark/Naviframe/00_badge_bg.png deleted file mode 100644 index 15d94a4..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_badge_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_left.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_left.png deleted file mode 100755 index 2cbd953..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_right.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_right.png deleted file mode 100755 index 3a24521..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_bounce_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left.png deleted file mode 100755 index 61f804b..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left_02.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left_02.png deleted file mode 100755 index fe72199..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_left_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right.png deleted file mode 100755 index 2c890d9..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right_02.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right_02.png deleted file mode 100755 index c37480d..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_tab_text_dim_right_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_left.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_left.png deleted file mode 100644 index f973ba0..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_right.png b/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_right.png deleted file mode 100644 index 57f1676..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_effect_title_text_dim_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_sub_title_bg.png b/mobile/themes/images/HD/dark/Naviframe/00_sub_title_bg.png deleted file mode 100644 index 37fe6f7..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_sub_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_tab_focus.png b/mobile/themes/images/HD/dark/Naviframe/00_tab_focus.png deleted file mode 100644 index 95e1eff..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_tab_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_tab_press.png b/mobile/themes/images/HD/dark/Naviframe/00_tab_press.png deleted file mode 100644 index 957e6ea..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_tab_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_tab_select_bar.png b/mobile/themes/images/HD/dark/Naviframe/00_tab_select_bar.png deleted file mode 100644 index baf495f..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_tab_select_bar.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_title_bg.png b/mobile/themes/images/HD/dark/Naviframe/00_title_bg.png deleted file mode 100755 index 51fc782..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_title_press.png b/mobile/themes/images/HD/dark/Naviframe/00_title_press.png deleted file mode 100755 index 2450e2b..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_title_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_toolbar_bg.png b/mobile/themes/images/HD/dark/Naviframe/00_toolbar_bg.png deleted file mode 100755 index 3b4be75..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_toolbar_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/00_toolbar_press.png b/mobile/themes/images/HD/dark/Naviframe/00_toolbar_press.png deleted file mode 100644 index 9e405c8..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/00_toolbar_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_back.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_back.png deleted file mode 100644 index 75826c0..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_back.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_cancel.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_cancel.png deleted file mode 100755 index bc34366..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_cancel.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_delete.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_delete.png deleted file mode 100755 index 5274a73..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_done.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_done.png deleted file mode 100755 index 1ab559d..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_done.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_edit.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_edit.png deleted file mode 100755 index 9b3ad23..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_edit.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_focus.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_focus.png deleted file mode 100644 index b95b4b3..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_more.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_more.png deleted file mode 100644 index 685794c..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_more.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_plus.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_plus.png deleted file mode 100755 index b743802..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_plus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_search.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_search.png deleted file mode 100755 index c4d63b8..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_search.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_select_all.png b/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_select_all.png deleted file mode 100755 index 0c531fc..0000000 Binary files a/mobile/themes/images/HD/dark/Naviframe/Icon/00_icon_select_all.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_bottom.png b/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_bottom.png deleted file mode 100644 index 665b62a..0000000 Binary files a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_left.png b/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_left.png deleted file mode 100644 index 7b98495..0000000 Binary files a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_right.png b/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_right.png deleted file mode 100644 index deb64c4..0000000 Binary files a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_top.png b/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_top.png deleted file mode 100644 index 940f559..0000000 Binary files a/mobile/themes/images/HD/dark/Overscrolling/00_overscrolling_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_more_popup_press.png b/mobile/themes/images/HD/dark/Popup/00_more_popup_press.png deleted file mode 100755 index 7e04577..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_more_popup_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_notification_bg.png b/mobile/themes/images/HD/dark/Popup/00_notification_bg.png deleted file mode 100644 index 98effa7..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_notification_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bg.png b/mobile/themes/images/HD/dark/Popup/00_popup_bg.png deleted file mode 100644 index 982c51b..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_02_bg.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_02_bg.png deleted file mode 100755 index 8d61308..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_02_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_bg.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_bg.png deleted file mode 100755 index ad3740b..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_bottom.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_bottom.png deleted file mode 100755 index c1e6d8b..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_left.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_left.png deleted file mode 100755 index 624a28d..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_right.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_right.png deleted file mode 100755 index da67424..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_top.png b/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_top.png deleted file mode 100755 index 4bfcac0..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_bubble_tail_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_button.png b/mobile/themes/images/HD/dark/Popup/00_popup_button.png deleted file mode 100644 index 7a49896..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_button_bg.png b/mobile/themes/images/HD/dark/Popup/00_popup_button_bg.png deleted file mode 100644 index 10c7466..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_button_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_button_dim.png b/mobile/themes/images/HD/dark/Popup/00_popup_button_dim.png deleted file mode 100644 index 68bfcf4..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_button_focus.png b/mobile/themes/images/HD/dark/Popup/00_popup_button_focus.png deleted file mode 100755 index 4f89112..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_button_press.png b/mobile/themes/images/HD/dark/Popup/00_popup_button_press.png deleted file mode 100644 index faa5cea..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_scroll_h.png b/mobile/themes/images/HD/dark/Popup/00_popup_scroll_h.png deleted file mode 100755 index c7303eb..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_scroll_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_scroll_v.png b/mobile/themes/images/HD/dark/Popup/00_popup_scroll_v.png deleted file mode 100755 index 76ca1b2..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_scroll_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Popup/00_popup_title_bg.png b/mobile/themes/images/HD/dark/Popup/00_popup_title_bg.png deleted file mode 100644 index d982805..0000000 Binary files a/mobile/themes/images/HD/dark/Popup/00_popup_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_01.png deleted file mode 100755 index bc8b3f2..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_02.png deleted file mode 100755 index e731ac8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_03.png deleted file mode 100755 index c3cb222..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_04.png deleted file mode 100755 index e538b76..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_05.png deleted file mode 100755 index 842d3f1..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_06.png deleted file mode 100755 index 6901ecd..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_07.png deleted file mode 100755 index 1fba688..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_08.png deleted file mode 100755 index 1f80947..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_09.png deleted file mode 100755 index a70c086..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_10.png deleted file mode 100755 index cc30871..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_11.png deleted file mode 100755 index 80b4141..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_12.png deleted file mode 100755 index 672ef09..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_13.png deleted file mode 100755 index 5a6d578..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_14.png deleted file mode 100755 index 77bb1a8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_15.png deleted file mode 100755 index 263347a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_16.png deleted file mode 100755 index 013d4d8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_17.png deleted file mode 100755 index 7710af6..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_18.png deleted file mode 100755 index e526557..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_19.png deleted file mode 100755 index 5b13b14..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_20.png deleted file mode 100755 index 5092107..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_21.png deleted file mode 100755 index 056de67..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_22.png deleted file mode 100755 index 538e1cf..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_23.png deleted file mode 100755 index e5ba271..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_24.png deleted file mode 100755 index 933f97b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_25.png deleted file mode 100755 index 761d563..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_26.png deleted file mode 100755 index 406e69e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_27.png deleted file mode 100755 index edfb337..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_28.png deleted file mode 100755 index 2878a56..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_29.png deleted file mode 100755 index 51e2744..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_30.png deleted file mode 100755 index f1f81cd..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/36x36/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_01.png deleted file mode 100755 index f8bacd7..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_02.png deleted file mode 100755 index 388be20..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_03.png deleted file mode 100755 index fb6411b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_04.png deleted file mode 100755 index ca662b3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_05.png deleted file mode 100755 index 90b8fdb..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_06.png deleted file mode 100755 index b20ee06..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_07.png deleted file mode 100755 index 2a0ffad..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_08.png deleted file mode 100755 index e1b7e01..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_09.png deleted file mode 100755 index 17ea5a8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_10.png deleted file mode 100755 index 8ce9819..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_11.png deleted file mode 100755 index 76e1721..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_12.png deleted file mode 100755 index 11340c3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_13.png deleted file mode 100755 index 5ed4ffd..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_14.png deleted file mode 100755 index b5007ce..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_15.png deleted file mode 100755 index 59eb268..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_16.png deleted file mode 100755 index a2979ec..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_17.png deleted file mode 100755 index 4403f0b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_18.png deleted file mode 100755 index 6aa9ce6..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_19.png deleted file mode 100755 index d5d1a3b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_20.png deleted file mode 100755 index 8d5db15..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_21.png deleted file mode 100755 index 0ad8524..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_22.png deleted file mode 100755 index 84e9936..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_23.png deleted file mode 100755 index a668e48..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_24.png deleted file mode 100755 index f1a4c5b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_25.png deleted file mode 100755 index 5b5bb7b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_26.png deleted file mode 100755 index f1c1b2b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_27.png deleted file mode 100755 index 1107f47..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_28.png deleted file mode 100755 index d718f34..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_29.png deleted file mode 100755 index fe94c56..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_30.png deleted file mode 100755 index da19d6e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/54x54/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_01.png deleted file mode 100755 index 46f6ea1..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_02.png deleted file mode 100755 index 0576c63..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_03.png deleted file mode 100755 index 01ee32e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_04.png deleted file mode 100755 index 1cc3660..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_05.png deleted file mode 100755 index 112a6b0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_06.png deleted file mode 100755 index 7b8b05e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_07.png deleted file mode 100755 index 8be2d08..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_08.png deleted file mode 100755 index 84f79cf..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_09.png deleted file mode 100755 index 1dc9930..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_10.png deleted file mode 100755 index 105ae0b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_11.png deleted file mode 100755 index d918bfc..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_12.png deleted file mode 100755 index 6492c70..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_13.png deleted file mode 100755 index 045a33b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_14.png deleted file mode 100755 index 6419f19..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_15.png deleted file mode 100755 index 6a9ed3f..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_16.png deleted file mode 100755 index e8db94c..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_17.png deleted file mode 100755 index b355966..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_18.png deleted file mode 100755 index 7e62d0c..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_19.png deleted file mode 100755 index 9c7817c..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_20.png deleted file mode 100755 index d2ab7d5..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_21.png deleted file mode 100755 index f6b3881..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_22.png deleted file mode 100755 index dbd04e1..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_23.png deleted file mode 100755 index 76627b3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_24.png deleted file mode 100755 index 3ca16d8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_25.png deleted file mode 100755 index 5a29b71..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_26.png deleted file mode 100755 index 03abf90..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_27.png deleted file mode 100755 index 08306b9..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_28.png deleted file mode 100755 index 0343a6a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_29.png deleted file mode 100755 index c9cc138..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_30.png deleted file mode 100755 index ff7e857..0000000 Binary files a/mobile/themes/images/HD/dark/Process/Black/63x63/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_01.png deleted file mode 100644 index e708d15..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_02.png deleted file mode 100644 index 1664288..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_03.png deleted file mode 100644 index 8a48448..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_04.png deleted file mode 100644 index 1e93c72..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_05.png deleted file mode 100644 index b95b2b0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_06.png deleted file mode 100644 index dfe7152..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_07.png deleted file mode 100644 index a8bba7d..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_08.png deleted file mode 100644 index f72bc98..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_09.png deleted file mode 100644 index f835fd4..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_10.png deleted file mode 100644 index 16b8c3f..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_11.png deleted file mode 100644 index e65b8d2..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_12.png deleted file mode 100644 index f731487..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_13.png deleted file mode 100644 index 2a6bd90..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_14.png deleted file mode 100644 index 89fc0b3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_15.png deleted file mode 100644 index be2ee3a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_16.png deleted file mode 100644 index b5a2bf0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_17.png deleted file mode 100644 index 5cc2229..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_18.png deleted file mode 100644 index b3dc51b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_19.png deleted file mode 100644 index 643af2b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_20.png deleted file mode 100644 index e081091..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_21.png deleted file mode 100644 index 56223f0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_22.png deleted file mode 100644 index 1916c4a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_23.png deleted file mode 100644 index 51f1fa7..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_24.png deleted file mode 100644 index 5149c40..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_25.png deleted file mode 100644 index 1261fef..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_26.png deleted file mode 100644 index 37d3eae..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_27.png deleted file mode 100644 index 16915f4..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_28.png deleted file mode 100644 index 0a60fa0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_29.png deleted file mode 100644 index f20d4f1..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_30.png deleted file mode 100644 index 0598b24..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/36x36/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_01.png deleted file mode 100644 index 8f4df99..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_02.png deleted file mode 100644 index 0184f3f..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_03.png deleted file mode 100644 index 914dc3f..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_04.png deleted file mode 100644 index 6ac2715..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_05.png deleted file mode 100644 index b8b7650..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_06.png deleted file mode 100644 index eec505e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_07.png deleted file mode 100644 index e8c9ab9..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_08.png deleted file mode 100644 index 8f8c78e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_09.png deleted file mode 100644 index 515606b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_10.png deleted file mode 100644 index b36425d..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_11.png deleted file mode 100644 index aa89834..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_12.png deleted file mode 100644 index ebb5d09..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_13.png deleted file mode 100644 index 1a00e59..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_14.png deleted file mode 100644 index 3cd3f57..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_15.png deleted file mode 100644 index 8071142..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_16.png deleted file mode 100644 index 49ecc99..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_17.png deleted file mode 100644 index 7447c7e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_18.png deleted file mode 100644 index b3066e8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_19.png deleted file mode 100644 index c35c7a6..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_20.png deleted file mode 100644 index e23ce62..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_21.png deleted file mode 100644 index 23355f8..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_22.png deleted file mode 100644 index 353e0fb..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_23.png deleted file mode 100644 index 92c7e5d..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_24.png deleted file mode 100644 index eb6c31b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_25.png deleted file mode 100644 index 9b80964..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_26.png deleted file mode 100644 index 2c44971..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_27.png deleted file mode 100644 index 5ccd245..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_28.png deleted file mode 100644 index 9fcc4c2..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_29.png deleted file mode 100644 index 6bb8925..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_30.png deleted file mode 100644 index 81601f7..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/54x54/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_01.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_01.png deleted file mode 100644 index 26cff47..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_02.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_02.png deleted file mode 100644 index 83c5938..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_03.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_03.png deleted file mode 100644 index 76aac6d..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_04.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_04.png deleted file mode 100644 index 581ddf0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_05.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_05.png deleted file mode 100644 index 764fb5c..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_06.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_06.png deleted file mode 100644 index 9a9d096..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_07.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_07.png deleted file mode 100644 index 38789a4..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_08.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_08.png deleted file mode 100644 index d51739d..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_09.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_09.png deleted file mode 100644 index 454bc9c..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_10.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_10.png deleted file mode 100644 index 3a7d9e3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_11.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_11.png deleted file mode 100644 index 4e87dc3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_12.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_12.png deleted file mode 100644 index 0868478..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_13.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_13.png deleted file mode 100644 index a52184a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_14.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_14.png deleted file mode 100644 index 7f7e443..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_15.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_15.png deleted file mode 100644 index 143ea82..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_16.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_16.png deleted file mode 100644 index 6eac4d1..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_17.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_17.png deleted file mode 100644 index 8eaac31..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_18.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_18.png deleted file mode 100644 index 2fcbf85..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_19.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_19.png deleted file mode 100644 index 3276803..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_20.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_20.png deleted file mode 100644 index cbfeee0..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_21.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_21.png deleted file mode 100644 index 37b620b..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_22.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_22.png deleted file mode 100644 index dbd11f3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_23.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_23.png deleted file mode 100644 index 201677a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_24.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_24.png deleted file mode 100644 index 0623da7..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_25.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_25.png deleted file mode 100644 index 686a07a..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_26.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_26.png deleted file mode 100644 index bc23a85..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_27.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_27.png deleted file mode 100644 index 464f59e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_28.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_28.png deleted file mode 100644 index a8f706e..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_29.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_29.png deleted file mode 100644 index 19f2026..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_30.png b/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_30.png deleted file mode 100644 index 6566bf3..0000000 Binary files a/mobile/themes/images/HD/dark/Process/White/63x63/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/dark/Screen_Reader/B16-8_TTS_focus.png b/mobile/themes/images/HD/dark/Screen_Reader/B16-8_TTS_focus.png deleted file mode 100644 index 9802ce8..0000000 Binary files a/mobile/themes/images/HD/dark/Screen_Reader/B16-8_TTS_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg.png b/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg.png deleted file mode 100644 index 86895ad..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg_press.png b/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg_press.png deleted file mode 100644 index 362616d..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_circle_thumbnail_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_edit_field_bg.png b/mobile/themes/images/HD/light/Content_views/00_edit_field_bg.png deleted file mode 100644 index cc3643a..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_edit_field_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_edit_field_clear.png b/mobile/themes/images/HD/light/Content_views/00_edit_field_clear.png deleted file mode 100644 index ef5945d..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_edit_field_clear.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_edit_field_focus.png b/mobile/themes/images/HD/light/Content_views/00_edit_field_focus.png deleted file mode 100644 index 4c4530d..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_edit_field_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_expandable_bg.png b/mobile/themes/images/HD/light/Content_views/00_expandable_bg.png deleted file mode 100644 index 75dbbae..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_expandable_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_bottom.png b/mobile/themes/images/HD/light/Content_views/00_expandable_bg_bottom.png deleted file mode 100755 index 3418fbd..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_center.png b/mobile/themes/images/HD/light/Content_views/00_expandable_bg_center.png deleted file mode 100755 index b70de3d..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_top.png b/mobile/themes/images/HD/light/Content_views/00_expandable_bg_top.png deleted file mode 100755 index 33d8883..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_expandable_bg_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder.png b/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder.png deleted file mode 100644 index 06e82bc..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_minus.png b/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_minus.png deleted file mode 100644 index eb7f857..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_minus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_plus.png b/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_plus.png deleted file mode 100644 index 8d9b044..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_folder_icon_folder_plus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_bubble_bg.png b/mobile/themes/images/HD/light/Content_views/00_list_bubble_bg.png deleted file mode 100644 index ef845ca..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_bubble_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_button_expand_closed.png b/mobile/themes/images/HD/light/Content_views/00_list_button_expand_closed.png deleted file mode 100755 index 1560667..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_button_expand_closed.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_button_expand_opened.png b/mobile/themes/images/HD/light/Content_views/00_list_button_expand_opened.png deleted file mode 100755 index c96d9a0..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_button_expand_opened.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg.png deleted file mode 100644 index 722d4ac..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom.png deleted file mode 100755 index 047dd9e..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom_press.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom_press.png deleted file mode 100644 index e8cec02..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_bottom_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center.png deleted file mode 100755 index 6036bd9..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center_press.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center_press.png deleted file mode 100644 index 59ee2e5..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_center_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_press.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_press.png deleted file mode 100644 index 3277bca..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top.png deleted file mode 100755 index 5f283c4..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top_press.png b/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top_press.png deleted file mode 100644 index dfb6439..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_list_group_bg_top_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_receive.png b/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_receive.png deleted file mode 100644 index 143a15c..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_receive.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_sent.png b/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_sent.png deleted file mode 100644 index a81291b..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_messagebubble_bg_sent.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_quick_menu_bg.png b/mobile/themes/images/HD/light/Content_views/00_quick_menu_bg.png deleted file mode 100644 index 10fcd02..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_quick_menu_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg.png b/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg.png deleted file mode 100644 index 494c716..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg_press.png b/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg_press.png deleted file mode 100644 index 2e824b0..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/00_square_thumbnail_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_bottom.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_bottom.png deleted file mode 100644 index 773488a..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_left.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_left.png deleted file mode 100644 index 77a8dc5..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_right.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_right.png deleted file mode 100644 index 6831d70..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_top.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_top.png deleted file mode 100644 index 0ddf4ec..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_overscrolling_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check.png deleted file mode 100644 index c34b70b..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg.png deleted file mode 100644 index 7921f38..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg_press.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg_press.png deleted file mode 100644 index 61d5ded..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_grid_select_check_bg_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Content_views/Gengrid/00_sub_depth_thumbs_bg.png b/mobile/themes/images/HD/light/Content_views/Gengrid/00_sub_depth_thumbs_bg.png deleted file mode 100644 index 14d90f4..0000000 Binary files a/mobile/themes/images/HD/light/Content_views/Gengrid/00_sub_depth_thumbs_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_arrow_expand.png b/mobile/themes/images/HD/light/Controls/00_arrow_expand.png deleted file mode 100644 index d67737e..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_arrow_expand.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01.png b/mobile/themes/images/HD/light/Controls/00_button_01.png deleted file mode 100644 index 66044c9..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_delete.png b/mobile/themes/images/HD/light/Controls/00_button_01_delete.png deleted file mode 100644 index c0d358d..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_delete_dim.png b/mobile/themes/images/HD/light/Controls/00_button_01_delete_dim.png deleted file mode 100644 index 562d36c..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_delete_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_delete_press.png b/mobile/themes/images/HD/light/Controls/00_button_01_delete_press.png deleted file mode 100644 index 515c53f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_delete_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_dim.png b/mobile/themes/images/HD/light/Controls/00_button_01_dim.png deleted file mode 100644 index e0f8d91..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_focus.png b/mobile/themes/images/HD/light/Controls/00_button_01_focus.png deleted file mode 100644 index cca30ab..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_press.png b/mobile/themes/images/HD/light/Controls/00_button_01_press.png deleted file mode 100644 index ef77037..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_send.png b/mobile/themes/images/HD/light/Controls/00_button_01_send.png deleted file mode 100644 index 026b750..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_send.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_send_dim.png b/mobile/themes/images/HD/light/Controls/00_button_01_send_dim.png deleted file mode 100644 index bb117ef..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_send_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_01_send_press.png b/mobile/themes/images/HD/light/Controls/00_button_01_send_press.png deleted file mode 100644 index 1110183..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_01_send_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_handler_focus.png b/mobile/themes/images/HD/light/Controls/00_button_handler_focus.png deleted file mode 100644 index 231dac7..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_handler_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_off_handler.png b/mobile/themes/images/HD/light/Controls/00_button_off_handler.png deleted file mode 100644 index 5a0fd80..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_off_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_off_handler_dim.png b/mobile/themes/images/HD/light/Controls/00_button_off_handler_dim.png deleted file mode 100644 index 0ad4af3..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_off_handler_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_on_handler.png b/mobile/themes/images/HD/light/Controls/00_button_on_handler.png deleted file mode 100644 index e6356e6..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_on_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_on_handler_dim.png b/mobile/themes/images/HD/light/Controls/00_button_on_handler_dim.png deleted file mode 100644 index 3ee94e9..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_on_handler_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_on_off_bg.png b/mobile/themes/images/HD/light/Controls/00_button_on_off_bg.png deleted file mode 100644 index 3b8b041..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_on_off_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_button_on_off_bg_dim.png b/mobile/themes/images/HD/light/Controls/00_button_on_off_bg_dim.png deleted file mode 100644 index f54e048..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_button_on_off_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button.png b/mobile/themes/images/HD/light/Controls/00_circle_button.png deleted file mode 100644 index 5b8ec08..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_delete.png b/mobile/themes/images/HD/light/Controls/00_circle_button_delete.png deleted file mode 100644 index e65617d..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_delete_dim.png b/mobile/themes/images/HD/light/Controls/00_circle_button_delete_dim.png deleted file mode 100644 index f68b947..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_delete_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_delete_press.png b/mobile/themes/images/HD/light/Controls/00_circle_button_delete_press.png deleted file mode 100644 index f9443f4..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_delete_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_dim.png b/mobile/themes/images/HD/light/Controls/00_circle_button_dim.png deleted file mode 100644 index f307cd7..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_focus.png b/mobile/themes/images/HD/light/Controls/00_circle_button_focus.png deleted file mode 100644 index cebbc46..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_circle_button_press.png b/mobile/themes/images/HD/light/Controls/00_circle_button_press.png deleted file mode 100644 index b1f3b74..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_circle_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_handler.png b/mobile/themes/images/HD/light/Controls/00_color_picker_handler.png deleted file mode 100644 index bbaa7e7..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_color_picker_handler.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_handler_focus.png b/mobile/themes/images/HD/light/Controls/00_color_picker_handler_focus.png deleted file mode 100755 index e75a92e..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_color_picker_handler_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_palette_bg.png b/mobile/themes/images/HD/light/Controls/00_color_picker_palette_bg.png deleted file mode 100644 index 462be08..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_color_picker_palette_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_color_picker_palette_focus.png b/mobile/themes/images/HD/light/Controls/00_color_picker_palette_focus.png deleted file mode 100644 index 11bf712..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_color_picker_palette_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_contacts_button.png b/mobile/themes/images/HD/light/Controls/00_contacts_button.png deleted file mode 100755 index 44438b8..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_contacts_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_contacts_button_dim.png b/mobile/themes/images/HD/light/Controls/00_contacts_button_dim.png deleted file mode 100755 index bd67db3..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_contacts_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_contacts_button_focus.png b/mobile/themes/images/HD/light/Controls/00_contacts_button_focus.png deleted file mode 100755 index 58ff76a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_contacts_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_contacts_button_press.png b/mobile/themes/images/HD/light/Controls/00_contacts_button_press.png deleted file mode 100755 index 51b225c..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_contacts_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_bottom.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_bottom.png deleted file mode 100644 index 95d5955..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center.png deleted file mode 100644 index e40a00c..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center_h.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center_h.png deleted file mode 100644 index 232f06f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_center_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_left_h.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_left_h.png deleted file mode 100644 index e800469..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_left_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_right_h.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_right_h.png deleted file mode 100644 index f6e0df0..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_right_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_top.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_top.png deleted file mode 100644 index 0c86c37..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_handler_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_popup_bg.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_popup_bg.png deleted file mode 100644 index d56a80c..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_popup_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_fast_scroll_rollover_bg_line_focus.png b/mobile/themes/images/HD/light/Controls/00_fast_scroll_rollover_bg_line_focus.png deleted file mode 100644 index 0c411c3..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_fast_scroll_rollover_bg_line_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_field_btn_clear.png b/mobile/themes/images/HD/light/Controls/00_field_btn_clear.png deleted file mode 100644 index 00a1d6a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_field_btn_clear.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45.png deleted file mode 100644 index 13147dd..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45_dim.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45_dim.png deleted file mode 100644 index 8775de1..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_45x45_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72.png deleted file mode 100644 index b804323..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72_dim.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72_dim.png deleted file mode 100644 index fb6f9e6..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_off_72x72_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45.png deleted file mode 100644 index 94b2a7e..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45_dim.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45_dim.png deleted file mode 100644 index 2c0d0ca..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_45x45_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72.png deleted file mode 100644 index 2909e60..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72_dim.png b/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72_dim.png deleted file mode 100644 index e464f58..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_favorite_on_72x72_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_jump.png b/mobile/themes/images/HD/light/Controls/00_icon_jump.png deleted file mode 100644 index 3ec5535..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_jump.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_icon_jump_left.png b/mobile/themes/images/HD/light/Controls/00_icon_jump_left.png deleted file mode 100644 index 1e1631f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_icon_jump_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_page_indicator_01.png b/mobile/themes/images/HD/light/Controls/00_page_indicator_01.png deleted file mode 100644 index e089a87..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_page_indicator_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_page_indicator_02.png b/mobile/themes/images/HD/light/Controls/00_page_indicator_02.png deleted file mode 100644 index 113ad48..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_page_indicator_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_picker_arrow_down.png b/mobile/themes/images/HD/light/Controls/00_picker_arrow_down.png deleted file mode 100644 index ff83a05..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_picker_arrow_down.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_picker_arrow_up.png b/mobile/themes/images/HD/light/Controls/00_picker_arrow_up.png deleted file mode 100644 index 59861b5..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_picker_arrow_up.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_bar.png b/mobile/themes/images/HD/light/Controls/00_progress_bar.png deleted file mode 100644 index d411a99..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_bar.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_bar_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_bar_dim.png deleted file mode 100644 index 338c831..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_bar_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_bg.png b/mobile/themes/images/HD/light/Controls/00_progress_bg.png deleted file mode 100644 index 8b80872..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_bg_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_bg_dim.png deleted file mode 100644 index d6143ab..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg.png deleted file mode 100644 index 7add5ba..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_dim.png deleted file mode 100644 index 03d6466..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h.png deleted file mode 100644 index 2b52b04..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h_dim.png deleted file mode 100644 index 2e2bb88..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_01_bg_h_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg.png deleted file mode 100644 index f071aab..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_dim.png deleted file mode 100644 index 439125f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h.png deleted file mode 100644 index 5399a27..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h_dim.png b/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h_dim.png deleted file mode 100644 index 8239c76..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_progress_pending_02_bg_h_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_scroll_bar_h.png b/mobile/themes/images/HD/light/Controls/00_scroll_bar_h.png deleted file mode 100644 index 5f00760..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_scroll_bar_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_scroll_bar_v.png b/mobile/themes/images/HD/light/Controls/00_scroll_bar_v.png deleted file mode 100644 index a777740..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_scroll_bar_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_handle.png b/mobile/themes/images/HD/light/Controls/00_slider_handle.png deleted file mode 100644 index a700a5d..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_handle.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_handle_dim.png b/mobile/themes/images/HD/light/Controls/00_slider_handle_dim.png deleted file mode 100644 index 3fd13e5..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_handle_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_handle_focus.png b/mobile/themes/images/HD/light/Controls/00_slider_handle_focus.png deleted file mode 100644 index d910ef2..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_handle_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_handle_press.png b/mobile/themes/images/HD/light/Controls/00_slider_handle_press.png deleted file mode 100644 index dec32d6..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_handle_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_popup_center.png b/mobile/themes/images/HD/light/Controls/00_slider_popup_center.png deleted file mode 100644 index 67f4f6e..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_popup_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_popup_left.png b/mobile/themes/images/HD/light/Controls/00_slider_popup_left.png deleted file mode 100644 index 54023c1..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_popup_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_slider_popup_right.png b/mobile/themes/images/HD/light/Controls/00_slider_popup_right.png deleted file mode 100644 index a8d05d8..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_slider_popup_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_time_picker_number_bg.png b/mobile/themes/images/HD/light/Controls/00_time_picker_number_bg.png deleted file mode 100644 index 4f3034a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_time_picker_number_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_time_picker_tail.png b/mobile/themes/images/HD/light/Controls/00_time_picker_tail.png deleted file mode 100644 index b2805e3..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_time_picker_tail.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/00_time_picker_tail_01.png b/mobile/themes/images/HD/light/Controls/00_time_picker_tail_01.png deleted file mode 100644 index 432789a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/00_time_picker_tail_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_add.png b/mobile/themes/images/HD/light/Controls/Button/00_button_add.png deleted file mode 100644 index 014b861..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_add.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_call.png b/mobile/themes/images/HD/light/Controls/Button/00_button_call.png deleted file mode 100644 index ed122a8..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_call.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_contact.png b/mobile/themes/images/HD/light/Controls/Button/00_button_contact.png deleted file mode 100644 index cbe88ad..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_contact.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_delete.png b/mobile/themes/images/HD/light/Controls/Button/00_button_delete.png deleted file mode 100644 index 0600f38..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_cancel.png b/mobile/themes/images/HD/light/Controls/Button/00_button_expand_cancel.png deleted file mode 100644 index 94c65a1..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_cancel.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_closed.png b/mobile/themes/images/HD/light/Controls/Button/00_button_expand_closed.png deleted file mode 100644 index c60ee91..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_closed.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_opened.png b/mobile/themes/images/HD/light/Controls/Button/00_button_expand_opened.png deleted file mode 100644 index b962e4f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_opened.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_send.png b/mobile/themes/images/HD/light/Controls/Button/00_button_expand_send.png deleted file mode 100644 index df91fc0..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_expand_send.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_info.png b/mobile/themes/images/HD/light/Controls/Button/00_button_info.png deleted file mode 100644 index 3f60e32..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_info.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_left.png b/mobile/themes/images/HD/light/Controls/Button/00_button_left.png deleted file mode 100644 index 062b298..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_rename.png b/mobile/themes/images/HD/light/Controls/Button/00_button_rename.png deleted file mode 100644 index b0d230e..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_rename.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_right.png b/mobile/themes/images/HD/light/Controls/Button/00_button_right.png deleted file mode 100644 index 4e83d92..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Button/00_button_warning.png b/mobile/themes/images/HD/light/Controls/Button/00_button_warning.png deleted file mode 100644 index 6840191..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Button/00_button_warning.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated.png deleted file mode 100644 index a1fe2a8..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_dim.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_dim.png deleted file mode 100644 index 071ac75..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_press.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_press.png deleted file mode 100644 index 166ab4a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_activated_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_bg.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_bg.png deleted file mode 100644 index 6f43970..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_dim_bg.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_dim_bg.png deleted file mode 100644 index 82523a1..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_dim_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_focus.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_focus.png deleted file mode 100644 index 182cad7..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Check_box/00_check_press_bg.png b/mobile/themes/images/HD/light/Controls/Check_box/00_check_press_bg.png deleted file mode 100644 index cda624f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Check_box/00_check_press_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated.png deleted file mode 100644 index ea71020..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_dim.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_dim.png deleted file mode 100644 index 418978f..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_press.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_press.png deleted file mode 100644 index 47a5f30..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_activated_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_bg.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_bg.png deleted file mode 100644 index 5ce6a7a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_dim_bg.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_dim_bg.png deleted file mode 100644 index bdb1db5..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_dim_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_focus.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_focus.png deleted file mode 100644 index fbc7bd0..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_press_bg.png b/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_press_bg.png deleted file mode 100644 index 6be258a..0000000 Binary files a/mobile/themes/images/HD/light/Controls/Radio_button/00_button_radio_press_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center.png deleted file mode 100755 index 127cbda..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center_reverse.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center_reverse.png deleted file mode 100755 index 909efca..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_center_reverse.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left.png deleted file mode 100755 index f9e98fb..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01.png deleted file mode 100755 index 6ee3b80..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01_reverse.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01_reverse.png deleted file mode 100644 index 2e579ed..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_01_reverse.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_reverse.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_reverse.png deleted file mode 100755 index eac56f1..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_left_reverse.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right.png deleted file mode 100755 index 2822d3d..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01.png deleted file mode 100644 index ffb124c..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01_reverse.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01_reverse.png deleted file mode 100644 index 7b8424a..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_01_reverse.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_reverse.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_reverse.png deleted file mode 100644 index 2788094..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Handler_right_reverse.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier.png deleted file mode 100644 index ed848d9..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_left.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_left.png deleted file mode 100644 index 307c1dc..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_middle.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_middle.png deleted file mode 100644 index 38bee91..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_middle.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_right.png b/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_right.png deleted file mode 100644 index 4467cd6..0000000 Binary files a/mobile/themes/images/HD/light/Copy_Paste/copy&paste_Magnifier_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Focus/00_focus.png b/mobile/themes/images/HD/light/Focus/00_focus.png deleted file mode 100644 index eba017f..0000000 Binary files a/mobile/themes/images/HD/light/Focus/00_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Focus/00_list_group_bg_bottom_focus.png b/mobile/themes/images/HD/light/Focus/00_list_group_bg_bottom_focus.png deleted file mode 100644 index 7c542ee..0000000 Binary files a/mobile/themes/images/HD/light/Focus/00_list_group_bg_bottom_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Focus/00_list_group_bg_center_focus.png b/mobile/themes/images/HD/light/Focus/00_list_group_bg_center_focus.png deleted file mode 100644 index 18f10b5..0000000 Binary files a/mobile/themes/images/HD/light/Focus/00_list_group_bg_center_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Focus/00_list_group_bg_top_focus.png b/mobile/themes/images/HD/light/Focus/00_list_group_bg_top_focus.png deleted file mode 100644 index 748b8dc..0000000 Binary files a/mobile/themes/images/HD/light/Focus/00_list_group_bg_top_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Focus/00_more_popup_focus.png b/mobile/themes/images/HD/light/Focus/00_more_popup_focus.png deleted file mode 100644 index 9be358b..0000000 Binary files a/mobile/themes/images/HD/light/Focus/00_more_popup_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_album.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_album.png deleted file mode 100644 index 097ee75..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_album.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_devices.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_devices.png deleted file mode 100644 index a8fc9ea..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_devices.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_multimedia.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_multimedia.png deleted file mode 100644 index f996f5a..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_multimedia.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_picture.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_picture.png deleted file mode 100644 index 57e6382..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_picture.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_text.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_text.png deleted file mode 100644 index 86e3ae0..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_text.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_unnamed.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_unnamed.png deleted file mode 100644 index d559c97..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_nocontents_unnamed.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg.png deleted file mode 100644 index 1521fa2..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg_focus.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg_focus.png deleted file mode 100644 index ec080d2..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_edit_field_bg_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_icon.png b/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_icon.png deleted file mode 100644 index 06a65eb..0000000 Binary files a/mobile/themes/images/HD/light/GUI_Style_Guide/00_search_icon.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_badge_bg.png b/mobile/themes/images/HD/light/Naviframe/00_badge_bg.png deleted file mode 100644 index 15d94a4..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_badge_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_left.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_left.png deleted file mode 100644 index 2cbd953..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_right.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_right.png deleted file mode 100644 index 3a24521..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_bounce_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left.png deleted file mode 100644 index 32bb37b..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left_02.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left_02.png deleted file mode 100644 index e50cc5c..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_left_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right.png deleted file mode 100644 index 1e593aa..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right_02.png b/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right_02.png deleted file mode 100644 index c430b60..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_tab_text_dim_right_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_left.png b/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_left.png deleted file mode 100644 index e574e11..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_right.png b/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_right.png deleted file mode 100644 index f945037..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_effect_title_text_dim_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_sub_title_bg.png b/mobile/themes/images/HD/light/Naviframe/00_sub_title_bg.png deleted file mode 100644 index bd3de24..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_sub_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_tab_focus.png b/mobile/themes/images/HD/light/Naviframe/00_tab_focus.png deleted file mode 100644 index 18f10b5..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_tab_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_tab_press.png b/mobile/themes/images/HD/light/Naviframe/00_tab_press.png deleted file mode 100644 index 28e736a..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_tab_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_tab_select_bar.png b/mobile/themes/images/HD/light/Naviframe/00_tab_select_bar.png deleted file mode 100644 index e37ddb8..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_tab_select_bar.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_title_bg.png b/mobile/themes/images/HD/light/Naviframe/00_title_bg.png deleted file mode 100644 index 49d3046..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_title_press.png b/mobile/themes/images/HD/light/Naviframe/00_title_press.png deleted file mode 100644 index 8025867..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_title_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_toolbar_bg.png b/mobile/themes/images/HD/light/Naviframe/00_toolbar_bg.png deleted file mode 100644 index 80d307a..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_toolbar_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/00_toolbar_press.png b/mobile/themes/images/HD/light/Naviframe/00_toolbar_press.png deleted file mode 100644 index 67fa94a..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/00_toolbar_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_SIP_close.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_SIP_close.png deleted file mode 100644 index 87d6ca4..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_SIP_close.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_cancel.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_cancel.png deleted file mode 100644 index bc34366..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_cancel.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_delete.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_delete.png deleted file mode 100644 index 5274a73..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_delete.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_done.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_done.png deleted file mode 100644 index 1ab559d..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_done.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_edit.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_edit.png deleted file mode 100644 index 9b3ad23..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_edit.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_focus.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_focus.png deleted file mode 100644 index 2a40944..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_plus.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_plus.png deleted file mode 100644 index b743802..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_plus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_search.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_search.png deleted file mode 100644 index c4d63b8..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_search.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_select_all.png b/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_select_all.png deleted file mode 100644 index 0c531fc..0000000 Binary files a/mobile/themes/images/HD/light/Naviframe/Icon/00_icon_select_all.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_bottom.png b/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_bottom.png deleted file mode 100644 index 665b62a..0000000 Binary files a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_left.png b/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_left.png deleted file mode 100644 index 7b98495..0000000 Binary files a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_right.png b/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_right.png deleted file mode 100644 index deb64c4..0000000 Binary files a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_top.png b/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_top.png deleted file mode 100644 index 940f559..0000000 Binary files a/mobile/themes/images/HD/light/Overscrolling/00_overscrolling_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_more_popup_press.png b/mobile/themes/images/HD/light/Popup/00_more_popup_press.png deleted file mode 100644 index 8eac781..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_more_popup_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_notification_bg.png b/mobile/themes/images/HD/light/Popup/00_notification_bg.png deleted file mode 100644 index 98effa7..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_notification_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bg.png b/mobile/themes/images/HD/light/Popup/00_popup_bg.png deleted file mode 100644 index af8e538..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_02_bg.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_02_bg.png deleted file mode 100755 index 05f4d4b..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_02_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_bg.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_bg.png deleted file mode 100755 index b79b9bd..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_bottom.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_bottom.png deleted file mode 100755 index 6a5e663..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_bottom.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_left.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_left.png deleted file mode 100755 index e0b2df6..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_left.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_right.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_right.png deleted file mode 100755 index bddec9f..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_right.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_top.png b/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_top.png deleted file mode 100755 index 471c295..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_bubble_tail_top.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_button.png b/mobile/themes/images/HD/light/Popup/00_popup_button.png deleted file mode 100644 index 3861a1c..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_button.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_button_bg.png b/mobile/themes/images/HD/light/Popup/00_popup_button_bg.png deleted file mode 100644 index 64060f1..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_button_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_button_dim.png b/mobile/themes/images/HD/light/Popup/00_popup_button_dim.png deleted file mode 100644 index bac77c9..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_button_dim.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_button_focus.png b/mobile/themes/images/HD/light/Popup/00_popup_button_focus.png deleted file mode 100644 index 9c4532b..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_button_focus.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_button_press.png b/mobile/themes/images/HD/light/Popup/00_popup_button_press.png deleted file mode 100644 index fa16d6b..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_button_press.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_scroll_h.png b/mobile/themes/images/HD/light/Popup/00_popup_scroll_h.png deleted file mode 100755 index 27b45f9..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_scroll_h.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_scroll_v.png b/mobile/themes/images/HD/light/Popup/00_popup_scroll_v.png deleted file mode 100755 index 525a7f4..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_scroll_v.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Popup/00_popup_title_bg.png b/mobile/themes/images/HD/light/Popup/00_popup_title_bg.png deleted file mode 100644 index 7c8e1c2..0000000 Binary files a/mobile/themes/images/HD/light/Popup/00_popup_title_bg.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_01.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_01.png deleted file mode 100755 index bc8b3f2..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_02.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_02.png deleted file mode 100755 index e731ac8..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_03.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_03.png deleted file mode 100755 index c3cb222..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_04.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_04.png deleted file mode 100755 index e538b76..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_05.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_05.png deleted file mode 100755 index 842d3f1..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_06.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_06.png deleted file mode 100755 index 6901ecd..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_07.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_07.png deleted file mode 100755 index 1fba688..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_08.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_08.png deleted file mode 100755 index 1f80947..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_09.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_09.png deleted file mode 100755 index a70c086..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_10.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_10.png deleted file mode 100755 index cc30871..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_11.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_11.png deleted file mode 100755 index 80b4141..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_12.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_12.png deleted file mode 100755 index 672ef09..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_13.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_13.png deleted file mode 100755 index 5a6d578..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_14.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_14.png deleted file mode 100755 index 77bb1a8..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_15.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_15.png deleted file mode 100755 index 263347a..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_16.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_16.png deleted file mode 100755 index 013d4d8..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_17.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_17.png deleted file mode 100755 index 7710af6..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_18.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_18.png deleted file mode 100755 index e526557..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_19.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_19.png deleted file mode 100755 index 5b13b14..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_20.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_20.png deleted file mode 100755 index 5092107..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_21.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_21.png deleted file mode 100755 index 056de67..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_22.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_22.png deleted file mode 100755 index 538e1cf..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_23.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_23.png deleted file mode 100755 index e5ba271..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_24.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_24.png deleted file mode 100755 index 933f97b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_25.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_25.png deleted file mode 100755 index 761d563..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_26.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_26.png deleted file mode 100755 index 406e69e..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_27.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_27.png deleted file mode 100755 index edfb337..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_28.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_28.png deleted file mode 100755 index 2878a56..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_29.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_29.png deleted file mode 100755 index 51e2744..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_30.png b/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_30.png deleted file mode 100755 index f1f81cd..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/36x36/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_01.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_01.png deleted file mode 100755 index f8bacd7..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_02.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_02.png deleted file mode 100755 index 388be20..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_03.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_03.png deleted file mode 100755 index fb6411b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_04.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_04.png deleted file mode 100755 index ca662b3..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_05.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_05.png deleted file mode 100755 index 90b8fdb..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_06.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_06.png deleted file mode 100755 index b20ee06..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_07.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_07.png deleted file mode 100755 index 2a0ffad..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_08.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_08.png deleted file mode 100755 index e1b7e01..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_09.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_09.png deleted file mode 100755 index 17ea5a8..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_10.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_10.png deleted file mode 100755 index 8ce9819..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_11.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_11.png deleted file mode 100755 index 76e1721..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_12.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_12.png deleted file mode 100755 index 11340c3..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_13.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_13.png deleted file mode 100755 index 5ed4ffd..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_14.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_14.png deleted file mode 100755 index b5007ce..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_15.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_15.png deleted file mode 100755 index 59eb268..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_16.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_16.png deleted file mode 100755 index a2979ec..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_17.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_17.png deleted file mode 100755 index 4403f0b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_18.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_18.png deleted file mode 100755 index 6aa9ce6..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_19.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_19.png deleted file mode 100755 index d5d1a3b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_20.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_20.png deleted file mode 100755 index 8d5db15..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_21.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_21.png deleted file mode 100755 index 0ad8524..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_22.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_22.png deleted file mode 100755 index 84e9936..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_23.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_23.png deleted file mode 100755 index a668e48..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_24.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_24.png deleted file mode 100755 index f1a4c5b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_25.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_25.png deleted file mode 100755 index 5b5bb7b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_26.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_26.png deleted file mode 100755 index f1c1b2b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_27.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_27.png deleted file mode 100755 index 1107f47..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_28.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_28.png deleted file mode 100755 index d718f34..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_29.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_29.png deleted file mode 100755 index fe94c56..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_30.png b/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_30.png deleted file mode 100755 index da19d6e..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/54x54/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_01.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_01.png deleted file mode 100755 index 46f6ea1..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_02.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_02.png deleted file mode 100755 index 0576c63..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_03.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_03.png deleted file mode 100755 index 01ee32e..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_04.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_04.png deleted file mode 100755 index 1cc3660..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_05.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_05.png deleted file mode 100755 index 112a6b0..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_06.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_06.png deleted file mode 100755 index 7b8b05e..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_07.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_07.png deleted file mode 100755 index 8be2d08..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_08.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_08.png deleted file mode 100755 index 84f79cf..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_09.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_09.png deleted file mode 100755 index 1dc9930..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_10.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_10.png deleted file mode 100755 index 105ae0b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_11.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_11.png deleted file mode 100755 index d918bfc..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_12.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_12.png deleted file mode 100755 index 6492c70..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_13.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_13.png deleted file mode 100755 index 045a33b..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_14.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_14.png deleted file mode 100755 index 6419f19..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_15.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_15.png deleted file mode 100755 index 6a9ed3f..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_16.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_16.png deleted file mode 100755 index e8db94c..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_17.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_17.png deleted file mode 100755 index b355966..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_18.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_18.png deleted file mode 100755 index 7e62d0c..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_19.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_19.png deleted file mode 100755 index 9c7817c..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_20.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_20.png deleted file mode 100755 index d2ab7d5..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_21.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_21.png deleted file mode 100755 index f6b3881..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_22.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_22.png deleted file mode 100755 index dbd04e1..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_23.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_23.png deleted file mode 100755 index 76627b3..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_24.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_24.png deleted file mode 100755 index 3ca16d8..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_25.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_25.png deleted file mode 100755 index 5a29b71..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_26.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_26.png deleted file mode 100755 index 03abf90..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_27.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_27.png deleted file mode 100755 index 08306b9..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_28.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_28.png deleted file mode 100755 index 0343a6a..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_29.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_29.png deleted file mode 100755 index c9cc138..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_30.png b/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_30.png deleted file mode 100755 index ff7e857..0000000 Binary files a/mobile/themes/images/HD/light/Process/Black/63x63/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_01.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_01.png deleted file mode 100644 index e708d15..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_02.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_02.png deleted file mode 100644 index 1664288..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_03.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_03.png deleted file mode 100644 index 8a48448..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_04.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_04.png deleted file mode 100644 index 1e93c72..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_05.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_05.png deleted file mode 100644 index b95b2b0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_06.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_06.png deleted file mode 100644 index dfe7152..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_07.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_07.png deleted file mode 100644 index a8bba7d..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_08.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_08.png deleted file mode 100644 index f72bc98..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_09.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_09.png deleted file mode 100644 index f835fd4..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_10.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_10.png deleted file mode 100644 index 16b8c3f..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_11.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_11.png deleted file mode 100644 index e65b8d2..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_12.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_12.png deleted file mode 100644 index f731487..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_13.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_13.png deleted file mode 100644 index 2a6bd90..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_14.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_14.png deleted file mode 100644 index 89fc0b3..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_15.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_15.png deleted file mode 100644 index be2ee3a..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_16.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_16.png deleted file mode 100644 index b5a2bf0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_17.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_17.png deleted file mode 100644 index 5cc2229..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_18.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_18.png deleted file mode 100644 index b3dc51b..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_19.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_19.png deleted file mode 100644 index 643af2b..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_20.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_20.png deleted file mode 100644 index e081091..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_21.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_21.png deleted file mode 100644 index 56223f0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_22.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_22.png deleted file mode 100644 index 1916c4a..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_23.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_23.png deleted file mode 100644 index 51f1fa7..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_24.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_24.png deleted file mode 100644 index 5149c40..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_25.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_25.png deleted file mode 100644 index 1261fef..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_26.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_26.png deleted file mode 100644 index 37d3eae..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_27.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_27.png deleted file mode 100644 index 16915f4..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_28.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_28.png deleted file mode 100644 index 0a60fa0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_29.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_29.png deleted file mode 100644 index f20d4f1..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_30.png b/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_30.png deleted file mode 100644 index 0598b24..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/36x36/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_01.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_01.png deleted file mode 100644 index 8f4df99..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_02.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_02.png deleted file mode 100644 index 0184f3f..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_03.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_03.png deleted file mode 100644 index 914dc3f..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_04.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_04.png deleted file mode 100644 index 6ac2715..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_05.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_05.png deleted file mode 100644 index b8b7650..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_06.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_06.png deleted file mode 100644 index eec505e..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_07.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_07.png deleted file mode 100644 index e8c9ab9..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_08.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_08.png deleted file mode 100644 index 8f8c78e..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_09.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_09.png deleted file mode 100644 index 515606b..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_10.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_10.png deleted file mode 100644 index b36425d..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_11.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_11.png deleted file mode 100644 index aa89834..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_12.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_12.png deleted file mode 100644 index ebb5d09..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_13.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_13.png deleted file mode 100644 index 1a00e59..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_14.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_14.png deleted file mode 100644 index 3cd3f57..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_15.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_15.png deleted file mode 100644 index 8071142..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_16.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_16.png deleted file mode 100644 index 49ecc99..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_17.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_17.png deleted file mode 100644 index 7447c7e..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_18.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_18.png deleted file mode 100644 index b3066e8..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_19.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_19.png deleted file mode 100644 index c35c7a6..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_20.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_20.png deleted file mode 100644 index e23ce62..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_21.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_21.png deleted file mode 100644 index 23355f8..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_22.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_22.png deleted file mode 100644 index 353e0fb..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_23.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_23.png deleted file mode 100644 index 92c7e5d..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_24.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_24.png deleted file mode 100644 index eb6c31b..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_25.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_25.png deleted file mode 100644 index 9b80964..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_26.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_26.png deleted file mode 100644 index 2c44971..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_27.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_27.png deleted file mode 100644 index 5ccd245..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_28.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_28.png deleted file mode 100644 index 9fcc4c2..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_29.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_29.png deleted file mode 100644 index 6bb8925..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_30.png b/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_30.png deleted file mode 100644 index 81601f7..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/54x54/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_01.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_01.png deleted file mode 100644 index 26cff47..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_01.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_02.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_02.png deleted file mode 100644 index 83c5938..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_02.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_03.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_03.png deleted file mode 100644 index 76aac6d..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_03.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_04.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_04.png deleted file mode 100644 index 581ddf0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_04.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_05.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_05.png deleted file mode 100644 index 764fb5c..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_05.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_06.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_06.png deleted file mode 100644 index 9a9d096..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_06.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_07.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_07.png deleted file mode 100644 index 38789a4..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_07.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_08.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_08.png deleted file mode 100644 index d51739d..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_08.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_09.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_09.png deleted file mode 100644 index 454bc9c..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_09.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_10.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_10.png deleted file mode 100644 index 3a7d9e3..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_10.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_11.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_11.png deleted file mode 100644 index 4e87dc3..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_11.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_12.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_12.png deleted file mode 100644 index 0868478..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_12.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_13.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_13.png deleted file mode 100644 index a52184a..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_13.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_14.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_14.png deleted file mode 100644 index 7f7e443..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_14.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_15.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_15.png deleted file mode 100644 index 143ea82..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_15.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_16.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_16.png deleted file mode 100644 index 6eac4d1..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_16.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_17.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_17.png deleted file mode 100644 index 8eaac31..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_17.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_18.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_18.png deleted file mode 100644 index 2fcbf85..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_18.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_19.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_19.png deleted file mode 100644 index 3276803..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_19.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_20.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_20.png deleted file mode 100644 index cbfeee0..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_20.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_21.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_21.png deleted file mode 100644 index 37b620b..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_21.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_22.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_22.png deleted file mode 100644 index dbd11f3..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_22.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_23.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_23.png deleted file mode 100644 index 201677a..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_23.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_24.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_24.png deleted file mode 100644 index 0623da7..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_24.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_25.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_25.png deleted file mode 100644 index 686a07a..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_25.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_26.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_26.png deleted file mode 100644 index bc23a85..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_26.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_27.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_27.png deleted file mode 100644 index 464f59e..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_27.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_28.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_28.png deleted file mode 100644 index a8f706e..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_28.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_29.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_29.png deleted file mode 100644 index 19f2026..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_29.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_30.png b/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_30.png deleted file mode 100644 index 6566bf3..0000000 Binary files a/mobile/themes/images/HD/light/Process/White/63x63/00_list_process_30.png and /dev/null differ diff --git a/mobile/themes/images/HD/light/Screen_Reader/B16-8_TTS_focus.png b/mobile/themes/images/HD/light/Screen_Reader/B16-8_TTS_focus.png deleted file mode 100644 index 95fd32a..0000000 Binary files a/mobile/themes/images/HD/light/Screen_Reader/B16-8_TTS_focus.png and /dev/null differ diff --git a/mobile/themes/inc/tizen-dark-inc.edc b/mobile/themes/inc/tizen-dark-inc.edc deleted file mode 100755 index fd011cb..0000000 --- a/mobile/themes/inc/tizen-dark-inc.edc +++ /dev/null @@ -1,1303 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -#define BG_DEFAULT_COLOR_INC 0 0 0 255 -#define BG_EDIT_MODE_COLOR_INC 0 0 0 255 -#define BG_GROUP_LIST_COLOR_INC 0 0 0 255 -#define BG_TRANSPARENT_COLOR_INC 0 0 0 0 - -#define LAYOUT_BG_COLOR_INC 0 0 0 255 -#define LAYOUT_EDIT_MODE_BG_COLOR_INC 0 0 0 255 -#define LAYOUT_GROUP_LIST_BG_COLOR_INC 0 0 0 255 -#define LAYOUT_INDICATOR_HEIGHT_INC 60 -#define LAYOUT_INDICATOR_COLOR_INC 0 0 0 255 - -#define NAVIFRAME_TITLE_TEXT_BG_H_INC 88 -#define NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC 76 -#define NAVIFRAME_TITLE_BG_IMAGE_BORDER_INC 8 8 2 2 -#define NAVIFRAME_TITLE_H_INC 96 -#define NAVIFRAME_LANDSCAPE_TITLE_H_INC 91 -#define NAVIFRAME_TAB_TITLE_H_INC 165 -#define NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC 145 -#define NAVIFRAME_TAB_TITLE_H2_INC 126 -#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98 -#define NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC 85 -#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 183 96 -#define NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC 183 91 -#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 85 98 -#define NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC 85 85 -#define NAVIFRAME_TITLE_TAB_H_INC 75 -#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44 -#define NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC 38 -#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 90 -#define NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC 70 -#define NAVIFRAME_TITLE_FONT_SIZE_INC 50 -#define NAVIFRAME_TITLE_FONT_MIN_SIZE_INC 46 -#define NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC 50 -#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 42 -#define NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC 38 -#define NAVIFRAME_ICON_SIZE_INC 45 45 -#define NAVIFRAME_PADDING_INC 26 0 -#define NAVIFRAME_PADDING2_INC 16 0 -#define NAVIFRAME_BADGE_PADDING_INC 92 0 -#define NAVIFRAME_BADGE_LEFT_PADDING_INC 8 0 -#define NAVIFRAME_BADGE_TOP_PADDING_INC 0 10 -#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC 12 54 -#define NAVIFRAME_BADGE_TEXT_H_INC 34 -#define NAVIFRAME_BADGE_TEXT_MIN_W_INC 30 -#define NAVIFRAME_BADGE_TEXT_MAX_W_INC 60 -#define NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC 54 54 -#define NAVIFRAME_BADGE_BG_IMAGE_BORDER_INC 26 26 0 0 -#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 112 0 -#define NAVIFRAME_ICON_PADDING_INC 77 0 -#define NAVIFRAME_TITLE_TEXT_COLOR_INC 250 250 250 255 -#define NAVIFRAME_TITLE_STYLE_COLOR_INC "#FAFAFA" -#define NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC 0 0 0 255 -#define NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC "#000000" -#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 250 250 250 255 -#define NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC 0 0 0 255 -#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 30 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC 28 -#define NAVIFRAME_SUBTITLE_H_INC 37 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC 30 -#define NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC 2 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC 4 -#define NAVIFRAME_BADGE_TEXT_COLOR_INC 250 250 250 255; -#define NAVIFRAME_TITLE_BUTTON_DIVIDER_COLOR_INC 255 255 255 82 -#define NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC 63 27 -#define NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC 0 0 13 12 - -#define PROGRESSBAR_TITLE_FONT_SIZE_INC 28 -#define PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC 20 - -#define CTXPOPUP_WIDTH_MIN_INC 386 -#define CTXPOPUP_WIDTH_MAX_INC 692 -#define CTXPOPUP_TEXT_MAX_INC 652 -#define CTXPOPUP_ICON_TEXT_MAX_INC 595 -#define CTXPOPUP_MORE_TEXT_MAX_INC 599 -#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 26 26 26 26 -#define CTXPOPUP_BUBBLE_MORE_BG_IMAGE_BORDER 26 26 25 0 -#define CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER 8 8 8 8 -#define CTXPOPUP_SHADOW_LEFT_PADDING 14 -#define CTXPOPUP_SHADOW_RIGHT_PADDING 14 -#define CTXPOPUP_SHADOW_TOP_PADDING 14 -#define CTXPOPUP_SHADOW_BOTTOM_PADDING 14 -#define CTXPOPUP_CONTENT_PADDING_WIDTH 1 -#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 -#define CTXPOPUP_PRESS_PADDING 4 -#define CTXPOPUP_PRESS_PADDING2 3 -#define CTXPOPUP_ARROW_PADDING 1 -#define CTXPOPUP_SCROLLER_PADDING 8 -#define CTXPOPUP_SCROLLER_V_MIN_SIZE_INC 9 18 -#define CTXPOPUP_SCROLLER_H_MIN_SIZE_INC 18 9 -#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 -#define CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC 255 255 255 255 -#define CTXPOPUP_ICON_CLIP_DIM_COLOR_INC 255 255 255 76 -#define CTXPOPUP_MAIN_TEXT_COLOR_INC 255 255 255 255 -#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 76 -#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 -#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 255 255 255 255 -#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 76 -#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255 -#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 -#define CTXPOPUP_SEPARATOR_PADDING_INC 20 -#define CTXPOPUP_SEPARATOR_COLOR_INC 29 38 60 0 -#define CTXPOPUP_SEPARATOR2_COLOR_INC 255 255 255 64 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 29 38 60 0 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 255 255 255 64 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 96 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 96 -#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 -#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40 -#define CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC (CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC * 2) -#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32 -#define CTXPOPUP_ITEM_HEIGHT_MIN_INC 110 -#define CTXPOPUP_ITEM_HEIGHT_MAX_INC 130 -#define CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC 128 -#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 -#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 -#define CTXPOPUP_ICON_WIDTH_INC 45 -#define CTXPOPUP_ICON_HEIGHT_INC 45 -#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 45 -#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 45 -#define CTXPOPUP_ARROW_SIZE_INC 36 36 -#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20 -#define CTXPOPUP_ITEM_ICON_PADDING_INC 16 -#define CTXPOPUP_TP_BG_IMAGE_BORDER 8 8 8 8 -#define CTXPOPUP_TP_ARROW_SIZE_INC 27 18 -#define CTXPOPUP_TP_HEIGHT_INC 102 -#define CTXPOPUP_MORE_WIDTH_MIN_INC 412 -#define CTXPOPUP_MORE_WIDTH_MAX_INC 720 -#define CTXPOPUP_MORE_WIDTH_LANDSCAPE_MAX_INC 1280 -#define CTXPOPUP_MORE_ITEM_PADDING_INC 16 -#define CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC 110 -#define CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC 130 -#define CTXPOPUP_MORE_ICON_WIDTH_INC 45 -#define CTXPOPUP_MORE_ICON_HEIGHT_INC 45 -#define CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC 40 -#define CTXPOPUP_MOVE_PAD_INC 40 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC 334 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MAX_INC 720 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC 90 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC 130 - -#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178 -#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255 -#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106; -#define DISKSELECTOR_DF_FONT_SIZE_INC 48 -#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106" - -#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA" -#define LABEL_FONT_SIZE_INC 36 - -#define GENGRID_FONT_STYLE_24_INC "24" -#define GENGRID_PART_BG_COLOR_INC 0 0 0 0 -#define GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC 0 0 0 77 -#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 77 -#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#FAFAFAFF" -#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0 -#define GENGRID_EDIT_MODE_CHECK_TOP_RIGHT_INC 6 6 -#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 63 63 -#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 6 6 - -#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2 -#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2 -#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC 2 2 -#define GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 - -#define GENGRID_GALLERY_LEFT_TOP_PADDING_INC 3 3 -#define GENGRID_GALLERY_RIGHT_BOTTOM_PADDING_INC 3 3 -#define GENGRID_GALLERY_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GALLERY_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GALLERY_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GALLERY_LEFT_TOP_FOCUS_PADDING_INC 1 1 -#define GENGRID_GALLERY_RIGHT_BOTTOM_FOCUS_PADDING_INC 1 1 - -#define GENGRID_MYFILE_LEFT_TOP_PADDING_INC 6 6 -#define GENGRID_MYFILE_RIGHT_BOTTOM_PADDING_INC 6 6 -#define GENGRID_MYFILE_ITEM_BG_LEFT_TOP_PADDING_INC 0 0 -#define GENGRID_MYFILE_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 0 0 -#define GENGRID_MYFILE_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_MYFILE_LEFT_TOP_FOCUS_PADDING_INC 4 4 -#define GENGRID_MYFILE_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 4 - -#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 6 6 -#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 6 64 -#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 2 2 -#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 62 - -#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 2 62 -#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 2 2 -#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC 2 62 -#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 - -// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -#define GENLIST_PADDING_5_INC 5 -#define GENLIST_PADDING_24_INC 24 -#define GENLIST_PADDING_64_INC 64 -#define GENLIST_PADDING_88_INC 88 -#define GENLIST_PADDING_34_INC 34 -#define GENLIST_PADDING_32_INC 32 -#define GENLIST_PADDING_16_INC 16 -#define GENLIST_SIZE_80_INC 80 - -#define BUBBLE_DISCLIP_COLOR 255 255 255 102 // opacity 40% - -// List bg color -#define GENLIST_LIST_BG_POPUP_COLOR 29 38 60 255 -#define GENLIST_LIST_LINE1_POPUP_COLOR 0 0 0 0 -#define GENLIST_LIST_LINE2_POPUP_COLOR 255 255 255 63 -#define GENLIST_LIST_BG_COLOR 0 0 0 255 -#define GENLIST_LIST_PRESS_COLOR 43 58 175 255 -#define GENLIST_LIST_DIM_COLOR 0 0 0 255 -#define GENLIST_LIST_LINE1_COLOR 0 0 0 255 -#define GENLIST_LIST_LINE2_COLOR 64 64 64 255 -#define GENLIST_LIST_DIVIDER1_COLOR 255 255 255 51 -#define GENLIST_LIST_DIVIDER2_COLOR 255 255 255 51 -#define GENLIST_SELECT_ALL_BG_COLOR 34 44 71 255 - -// Group Index -#define GENLIST_GROUPINDEX_LIST_SIZE 32 -#define GENLIST_GROUPINDEX_LIST_COLOR 66 87 144 255 -#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR 250 250 250 255 -#define GENLIST_GROUPINDEX_LIST_COLOR_STYLE "#425790FF" -#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR_STYLE "#FAFAFAFF" - -#define GENLIST_GROUPINDEX_LIST_BG_COLOR 0 0 0 255 -#define GENLIST_GROUPINDEX_LIST_PRESS_COLOR 43 58 175 255 -#define GENLIST_GROUPINDEX_LINE_COLOR 66 87 144 255 -#define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR 250 250 250 255 - -// Genlist Text -#define GENLIST_LIST_MAIN_TEXT_SIZE 44 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR 250 250 250 255 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE "#FAFAFAFF" -#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR 250 250 250 153 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#FAFAFA99" -#define GENLIST_LIST_MAIN_TEXT_READ_COLOR 110 111 118 255 -#define GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR 110 111 118 127 -#define GENLIST_LIST_TEXT_FOCUS_COLOR 250 250 250 255 -#define GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE "#FAFAFAFF" - -#define GENLIST_LIST_SUB_TEXT_SIZE 32 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR 110 111 118 255 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE "#6E6F76FF" -#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR 110 111 118 153 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE "#6E6F7699" -#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR 104 144 255 255 -#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE "#6890FFFF" -#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR 104 144 255 153 -#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE "#6890FF99" - -#define GENLIST_LIST_SUB_TEXT_02_SIZE 24 -#define GENLIST_LIST_SUB_TEXT_02_COLOR 209 0 0 255 - -#define GENLIST_CONTENTS_TEXT_SIZE 28 -#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255 -#define GENLIST_CONTENTS_TEXT_COLOR_STYLE "#808080FF" - -#define GENLIST_LIST_BUBBLE_TEXT_SIZE 32 -#define GENLIST_LIST_BUBBLE_TEXT_COLOR 249 249 249 255 -#define GENLIST_LIST_BUBBLE_TEXT_FOCUS_COLOR 43 58 175 255 -#define GENLIST_LIST_BUBBLE_COLOR 43 58 175 255 -#define GENLIST_LIST_BUBBLE_PRESS_COLOR 250 250 250 255 - -#define GENLIST_PROGRESS_MAIN_TEXT_SIZE 32 - -// Dialogue group -#define GENLIST_DIALOGUE_GROUP_TITLE_SIZE 32 -#define GENLIST_DIALOGUE_GROUP_TITLE_COLOR 93 131 255 255 - -#define GENLIST_APPS_NAME_SIZE 30 -#define GENLIST_APPS_NAME_COLOR 110 111 118 255 -#define GENLIST_APPS_INC_SIZE 30 -#define GENLIST_APPS_INC_COLOR 249 249 249 255 -#define GENLIST_APPS_RATING_SIZE 24 -#define GENLIST_APPS_RATING_COLOR 110 111 118 255 -#define GENLIST_APPS_PRICE_SIZE 24 -#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 93 131 255 255 -#define GENLIST_APPS_PRICE_SALE_COLOR 209 0 0 255 -#define GENLIST_APPS_PRICE_FREE_COLOR 93 131 255 255 - -#define DIALOGUE_PASSWORD_TITLE_SIZE 32 -#define DIALOGUE_PASSWORD_TITLE_COLOR 249 249 249 255 - -#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32 -#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE "#6E6F76FF" -#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#1382FF" - -#define GENLIST_EXPANDABLE_ARROW_NORMAL_COLOR 250 250 250 255 -#define GENLIST_EXPANDABLE_ARROW_DIM_COLOR 250 250 250 153 -#define GENLIST_EXPANDABLE_ARROW_PRESS_COLOR 250 250 250 255 - -#define GENLIST_EXPANDABLE_ARROW_SHADOW_NORMAL_COLOR 0 0 0 0 -#define GENLIST_EXPANDABLE_ARROW_SHADOW_DIM_COLOR 0 0 0 0 -#define GENLIST_EXPANDABLE_ARROW_SHADOW_PRESS_COLOR 0 0 0 0 - -#define GENLIST_EMAIL_TEXT_FOCUS_COLOR 250 250 250 255 -#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE "#FAFAFAFF" - -#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE "#FAFAFAFF" -#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#FAFAFA99" -#define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE "#6E6F76FF" -#define GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE "#6E6F7699" - -#define GENLIST_EMAIL_SUB_TEXT_UNREAD_COLOR_STYLE "#6E6F76FF" -#define GENLIST_EMAIL_SUB_TEXT_READ_COLOR_STYLE "#6E6F76FF" - -#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR 104 144 255 255 -#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE "#6890FFFF" -#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR 110 111 118 255 -#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE "#6E6F76FF" - -#define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE "#6E6F76FF" - -#define GENLIST_EMAIL_MATCH_TAG_COLOR "+ color=#1382FF" - -#define GENLIST_LIST_READ_BG_COLOR 1 1 1 255 -#define GENLIST_LIST_UNREAD_BG_COLOR 0 0 0 255 - -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#151619FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC "#6D0000FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NUMBER_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_TEXTBLOCK_DISABLE_VISIBLE_COLOR_INC "#B2B2B5FF" - -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#242529FF" -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NUMBER_ICON_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_NUMBER_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_NUMBER_ICON_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#B2B2B5FF" - -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#242529FF" - -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_DISABLED_COLOR_INC "#96B882FF" - -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#002E6CFF" - -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_DISABLED_COLOR_INC "#E89696FF" - -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#6D0000FF" - -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC "#A6A7A9FF" - -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC "#E89696FF" - -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#151619FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC "#6D0000FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#515252FF" - -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#E7E8E8FF" -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#FAFAFA99" - -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#7A7C81FF" - -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 250 250 250 255 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 93 131 255 255 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_SHADOW_COLOR_INC 0 0 0 191 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_SHADOW_COLOR_INC 0 0 0 191 - -#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_WARNING_STYLE_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_WARNING_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_WARNING_STYLE_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_WARNING_STYLE_CLIPPER_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_WARNING_STYLE_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_WARNING_STYLE_CLIPPER_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_WARNING_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_WARNING_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_WARNING_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_WARNING_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_EDIT_STYLE_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_EDIT_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_EDIT_STYLE_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_EDIT_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 -#define BUTTON_EDIT_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_EDIT_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_EDIT_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_EDIT_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_EDIT_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_EDIT_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_BOTTOM_OFFSET_INC -2 1 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_MINUS_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_COLORSELECTOR_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_COLORSELECTOR_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_COLORSELECTOR_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_COLORSELECTOR_SHADOW_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_COLORSELECTOR_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_COLORSELECTOR_SHADOW_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_COLORSELECTOR_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_COLORSELECTOR_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_COLORSELECTOR_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_COLORSELECTOR_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_DATETIME_AMPM_BG_MIN_INC 144 74 -#define BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC 64 - -#define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 13 13 13 13 -#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66 -#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 148 66 -#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 66 66 -#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 30 - -#define BUTTON_STYLE1_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_STYLE1_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_STYLE1_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_STYLE1_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_STYLE1_SHADOW_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_STYLE1_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_STYLE1_SHADOW_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_STYLE1_ICON_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_STYLE1_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_STYLE1_ICON_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74 -#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74 -#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74 -#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 13 13 15 15 -#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0 -#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 -#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36 - -#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 72 72 -#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 -#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 - -#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 72 -#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 72 -#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110 -#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110 - -#define BUTTON_POPUP_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_POPUP_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_POPUP_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_POPUP_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_POPUP_SHADOW_NORMAL_COLOR_INC 250 250 250 191 -#define BUTTON_POPUP_SHADOW_PRESSED_COLOR_INC 0 0 0 191 -#define BUTTON_POPUP_SHADOW_DISABLED_COLOR_INC 250 250 250 114 - -#define BUTTON_POPUP_ICON_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_POPUP_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_POPUP_ICON_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 76 -#define BUTTON_POPUP_BG_BORDER_INC 13 13 9 9 -#define BUTTON_POPUP_PADDING_MIN_INC 12 3 -#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 -#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 45 45 -#define BUTTON_POPUP_TEXT_MIN_INC 64 20 -#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36 - -#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 72 72 -#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 45 45 - -#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 72 -#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 72 -#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90 -#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90 - -#define BUTTON_EXPAND_BUTTON_TEXT_SIZE_INC 30 - -#define BUTTON_EXPANDABLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_EXPANDABLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_EXPANDABLE_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_EXPANDABLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_EXPANDABLE_SHADOW_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_EXPANDABLE_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_EXPANDABLE_SHADOW_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 92 45 -#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 13 13 15 15 -#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1 -#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 18 45 -#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 45 -#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28 - -#define BUTTON_CONTACT_BG_MIN_INC 18 66 -#define BUTTON_CONTACT_BG_BORDER_INC 8 8 8 8 -#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 12 0 -#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 12 0 -#define BUTTON_CONTACT_FONT_SIZE_INC 32 - -#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 85 98 -#define BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC 85 85 -#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 63 63 - -#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 250 250 250 255 -#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 250 250 250 255 - -#define BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC 115 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_ICON_BG_MIN_MAX_INC 115 91 -#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 63 63 - -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MIN_INC 0 96 -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MAX_INC 183 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MIN_INC 0 91 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MAX_INC 183 91 -#define BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 16 -#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MIN_INC 0 96 -#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MAX_INC 151 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MIN_INC 0 91 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MAX_INC 151 91 -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC 8 8 8 8 -#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32 -#define BUTTON_NAVIFRAME_TITLE_TEXT_MIN_FONT_SIZE_INC 32 -#define BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC "#FAFAFA66" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_DISABLED_COLOR_INC "#000000FF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 85 98 -#define BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC 85 85 -#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 63 63 -#define BUTTON_NAVIFRAME_MORE_BOTTOM_PADDING_INC 0 17 - -#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74 -#define BUTTON_COLORSELECTOR_BG_BORDER_INC 13 13 15 15 -#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 45 45 - -#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 100 74 -#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 13 13 15 15 -#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 12 5 -#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 -#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 45 45 -#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 144 36 -#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 36 - -#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 60 60 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 54 54 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC 72 93 147 255 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC 72 93 147 153 - -#define BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC 60 60 -#define BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 45 45 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC 93 97 118 255 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC 42 57 172 255 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC 93 97 118 153 - -#define BUTTON_JUMP_SHADOW_NORMAL_COLOR_INC 0 0 0 255 -#define BUTTON_JUMP_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_JUMP_SHADOW_DISABLED_COLOR_INC 0 0 0 153 - -#define BUTTON_JUMP_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_JUMP_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_JUMP_DISABLED_COLOR_INC 250 250 250 153 - -#define BUTTON_JUMP_STYLE_BG_MIN_INC 74 74 -#define BUTTON_JUMP_TO_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_JUMP_TO_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_JUMP_TO_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_JUMP_TO_PRESSED_BOTTOM_OFFSET_INC -1 -3 -#define BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 -#define BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 - -#define BUTTON_FOCUS_DIALOGUE_LEFT_PADDING_INC 16 0 -#define BUTTON_FOCUS_DIALOGUE_RIGHT_PADDING_INC 16 0 - -#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36 - -#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 135 63 -#define CHECK_ONOFF_ON_FONT_SIZE_INC 24 -#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24 -#define CHECK_ONOFF_HANDLER_MIN_MAX_INC 81 63 - -#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 45 -#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 45 - -#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 72 -#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 72 -#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100 -#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100 -#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 72 72 - -#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 -#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 -#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75 -#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91 -#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 63 63 - -#define INDEX_BG_NINEPATCH_INC 8 8 8 8 -#define INDEX_ITEM_WIDTH_INC 52 -#define INDEX_ITEM_HEIGHT_INC 33 -#define INDEX_POPUP_BG_NINEPATCH_INC 22 22 22 22 -#define INDEX_POPUP_TEXT_COLOR_INC 250 250 250 255 -#define INDEX_POPUP_TEXT_SIZE_INC 136 -#define INDEX_ROLLOVER_TEXT_SIZE_INC 26 -#define INDEX_ROLLOVER_TEXT_COLOR_INC 160 159 154 255 -#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 93 131 255 255 -#define INDEX_DIVIDER_COLOR_INC 64 64 64 255 -#define INDEX_DIVIDER_WIDTH_INC 1 -#define INDEX_SCROLL_BG_LINE_COLOR_INC 64 64 64 255 -#define INDEX_SCROLL_BG_LINE_ACTIVE_COLOR_INC 59 115 182 255 -#define INDEX_SCROLL_BG_LINE_WIDTH_INC 3 -#define INDEX_POPUP_TOP_PADDING_SIZE_INC 10 -#define INDEX_POPUP_BOTTOM_PADDING_SIZE_INC 10 -#define INDEX_POPUP_LEFT_PADDING_SIZE_INC 34 -#define INDEX_POPUP_RIGHT_PADDING_SIZE_INC 34 -#define INDEX_POPUP_TEXT_WIDTH_INC 128 -#define INDEX_POPUP_TEXT_HEIGHT_INC 180 -#define INDEX_PADDING_SIZE_INC 18 -#define INDEX_ITEM_PADDING_SIZE_INC 2 -#define INDEX_SCROLL_BG_COLOR_INC 33 36 40 255 - -#define INDEX_PAGECONTROL_IND_INC 52 9 -#define INDEX_PAGECONTROL_IND_MIN_INC 10 9 -#define INDEX_PAGECONTROL_FONT_SIZE_INC 28 -#define INDEX_PAGECONTROL_FONT_COLOR_INC 120 120 120 - -#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 -#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 -#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 -#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 -#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 63 63 -#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36 - -#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 65 -#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 57 - -#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255 - -#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30 -#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12 -#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28 -#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 4 32 -#define SEGMENT_CONTROL_DIVIDER_LEFT_COLOR_INC 211 209 203 255 -#define SEGMENT_CONTROL_DIVIDER_RIGHT_COLOR_INC 255 255 255 255 -#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 18 0 -#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 40 40 -#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45 -#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47 -#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255; -#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26; - -#define EDITFIELD_TITLE_SIZE_INC 32 -#define EDITFIELD_TITLE_COLOR_INC 110 111 118 255 -#define EDITFIELD_GUIDE_TEXT_COLOR_INC 121 131 138 255 -#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48 -#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48 -#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48 -#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70 -#define EDITFIELD_DEFAULT_MINH_INC 112 -#define EDITFIELD_TITLE_MINH_INC 128 -#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27 -#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56 -#define EDITFIELD_DEFAULT_TOP2_INC 8 -#define EDITFIELD_DEFAULT_LEFT1_INC 0 -#define EDITFIELD_DEFAULT_LEFT2_INC 0 -#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56 -#define EDITFIELD_DEFAULT_RIGHT2_INC 0 -#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25 -#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8 -#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12 -#define EDITFIELD_ERASER_DEFAULT_COLOR_INC 79 93 147 255 -#define EDITFIELD_ERASER_PRESSED_COLOR_INC 250 250 250 255 - -#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 225 215 215 255 -#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 255 255 255 255 -#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 225 215 215 76 - -#define BUTTON_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define BUTTON_DISCLIP_DISABLED_COLOR_INC 255 255 255 153 - -#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC "#FFFFFFFF" -#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC "#FFFFFF80" -#define CHECK_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define CHECK_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 - -#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC "#FFFFFFFF" -#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC "#FFFFFF80" -#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 - -#define CONTROLBAR_LARGE_HEIGHT_INC 122 - -#define MULTIBUTTONENTRY_BG_COLOR_INC 29 38 60 255 -#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26 -#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 16 -#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 8 -#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 16 -#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 66 // same as button -#define MULTIBUTTONENTRY_LABEL_PAD_INC 8 -#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36 -#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC "#FAFAFA" -#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 66 // same as button -#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 36 -#define MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC "#485D93" //same as editfield -#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 66 -#define MULTIBUTTONENTRY_BUTTON_PAD_INC 12 -#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 8 8 17 17 -#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32 -#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC "#FAFAFA" -#define MULTIBUTTONENTRY_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC "#000000BF" -#define MULTIBUTTONENTRY_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC "#000000BF" -#define MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC 250 250 250 255 // same as multibuttonentry label -#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 64 - -#define SEARCHBAR_CANCEL_BUTTON_W_INC 136 -#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166 -#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 -#define SEARCHBAR_TOP_PADDING_INC 17 -#define SEARCHBAR_BOTTOM_PADDING_INC 16 -#define SEARCHBAR_BASE_HEIGHT_INC 99 -#define SEARCHBAR_HEIGHT_INC 66 -#define SEARCHBAR_WIDTH_INC 120 -#define SEARCHBAR_LEFT_PADDING_INC 16 -#define SEARCHBAR_RIGHT_PADDING_INC 16 -#define SEARCHBAR_H_INC 99 - -#define SELECTION_INFO_BACKGROUND_COLOR_INC 43 58 175 255 -#define SELECTION_INFO_TEXT_COLOR_INC 250 250 250 255 -#define SELECTION_INFO_MIN_VER_W_INC 720 -#define SELECTION_INFO_MIN_HORZ_W_INC 1280 -#define SELECTION_INFO_VER_PADDING_INC 48 -#define SELECTION_INFO_LEFT_PADDING_INC 16 -#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32 -#define SELECTION_INFO_SHADOW_VER_W_INC 720 -#define SELECTION_INFO_SHADOW_VER_H_INC 9 -#define SELECTION_INFO_SHADOW_HORZ_W_INC 1280 -#define SELECTION_INFO_SHADOW_HORZ_H_INC 9 -#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150 -#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186 - -#define POPUP_ITEM_BG_DEFAULT_MIN_INC 618 112 -#define POPUP_ITEM_LEFT_MIN_PADDING_INC 26 0 -#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 26 0 -#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0 -#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 250 250 250 153 -#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 250 250 250 153 - -#define POPUP_ITEM_BG_LANDCAPE_MIN_INC 798 112 - -#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#FAFAFA" -#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR "#000000BF" -#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE "far_shadow,bottom" -#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#FFFFFF" -#define POPUP_DEFAULT_TITLE2_TEXT_COLOR_INC "#B0B5C1" -#define POPUP_DEFAULT_TITLE2_TEXT_SHADOW_COLOR "#323B54" -#define POPUP_DIM_BG_DEFAULT_COLOR_INC 0 0 0 0 -#define POPUP_DIM_BG_COLOR_INC 0 0 0 128 -#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 220 -#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0 -#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50 - -#define POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC 42 -#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 50 -#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 38 - -#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 652 652 -#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 652 652 -#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 832 652 -#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 832 652 -#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 26 26 32 47 -#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC 12 13 30 31 -#define POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC 12 13 30 31 -#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 620 78 -#define POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC 800 78 -#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 26 0 -#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 64 64 -#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 630 408 -#define POPUP_BASE_DEFAULT_CONTENT_LANDSCAPE_MIN_MAX_INC 820 408 -#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 596 96 - -#define POPUP_DESC_LEFT_PADDING 16 -#define POPUP_DESC_RIGHT_PADDING 16 -#define POPUP_DESC_TOP_PADDING 14 -#define POPUP_DESC_BOTTOM_PADDING 16 -#define POPUP_LABEL_DESC_TOP_PADDING 32 -#define POPUP_LABEL_DESC_BOTTOM_PADDING 32 -#define POPUP_ACTION_DESC_TOP_PADDING 11 -#define POPUP_TITLE_LEFT_PADDING 26 -#define POPUP_TITLE_RIGHT_PADDING 26 -#define POPUP_TITLE_TOP_PADDING 0 -#define POPUP_TITLE_BOTTOM_PADDING 0 -#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 10 - -#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 32 -#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 42 -#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 42 -#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 32 -#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 630 0 -#define POPUP_CONTENT_DEFAULT_CONTENT_LANDSCAPE_MIN_INC 810 0 - -#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 96 -#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 78 - -#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 596 296 - -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 10 -#define POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT "296" -#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 76 -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 24 -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 24 - -#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 0 20 -#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 568 408 -#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 0 0 - -#define POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 17 -#define POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 17 -#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 568 408 -#define POPUP_CONTENT_MINSTYLE_CONTENT_LANDSCAPE_MIN_INC 866 408 -#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 596 300 -#define POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC 596 250 -#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 648 134 - -#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "96" -#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 394 76 -#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 596 76 -#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 76 -#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 314 76 -#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 16 76 -#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 28 -#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 76 -#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 10 76 -#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 28 - -#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 110 111 118 255 -#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 110 111 118 255 -#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 27 -#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 27 -#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 126 126 -#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 0 0 -#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 0 0 -#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 6 0 - -#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA" -#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#6E6F76" -#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36 -#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32 -#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 244 244 -#define NOCONTENT_BG_COLOR_INC 0 0 0 0 -#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68 -#define NOCONTENT_BASE_SEARCH_PADDING_INC 40 -#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 580 152 -#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 920 78 -#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255 -#define NOCONTENT_BASE_BOTTOM_PADDING_MIN_INC 40 112 -#define NOCONTENT_PORTRAIT_SWALLOW_AREA_MIN_INC 580 74 -#define NOCONTENT_LANDSCAPE_SWALLOW_AREA_MIN_INC 920 74 -#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 0 50 -#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 0 18 -#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 0 96 -#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 0 11 -#define NOCONTENT_BASE_MIN_WIDTH_HEIGHT_INC 312 312 - -#define ENTRY_TEXT_SIZE_INC 44 -#define ENTRY_TEXT_COLOR_INC "#FAFAFA" -#define ENTRY_DISABLED_TEXT_COLOR_INC "#FAFAFA99" -#define ENTRY_GUIDE_TEXT_COLOR_INC "#5D6176" -#define ENTRY_CURSOR_COLOR_INC 58 114 255 255 -#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#FAFAFA" -#define ENTRY_PREEDIT_TEXT_COLOR_INC "#000000" -#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#FAFAFA" -#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" -#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" -#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" -#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" -#define ENTRY_SELECTION_BG_COLOR 19 106 144 255 -#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 51 79 -#define ENTRY_SELECTION_EDGE_COLOR 59 115 182 255 -#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 4 -#define MAGNIFIER_HEIGHT_FILL 182 -#define MAGNIFIER_HEIGHT_FIXED 164 -#define MAGNIFIER_WIDTH_FIXED 325 - -#define ENTRY_EDITFIELD_TEXT_SIZE_INC 44 -#define ENTRY_EDITFIELD_TEXT_COLOR_INC "#FAFAFA" -#define ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC "#FAFAFA99" -#define ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC "#485D93" - -#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 36 -#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_COLOR_INC "#FAFAFA" -#define ENTRY_EDITFIELD_SEARCHBAR_DISABLED_TEXT_COLOR_INC "#969696" -#define ENTRY_EDITFIELD_SEARCHBAR_GUIDE_TEXT_COLOR_INC "#5D6176" -#define ENTRY_EDITFIELD_SEARCHBAR_DISABLED_GUIDE_TEXT_COLOR_INC "#969696" - -#define ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC "#000000" -#define ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC "#00000080" -#define ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC "#90A9C7" - -#define BUBBLE_LAYOUT_SELECT_PAD 10 -#define BUBBLE_LAYOUT_BOTTOM_PAD 20 - -#define ENTRY_BUBBLE_CALLERID_PAD 115 -#define ENTRY_BUBBLE_CALLERID_ICON_PAD 16 -#define ENTRY_BUBBLE_CALLERID_WIDTH 99 -#define ENTRY_BUBBLE_CALLERID_HEIGHT 99 -#define ENTRY_BUBBLE_GROUPCHAT_PAD 42 -#define ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 38 -#define ENTRY_BUBBLE_STATUS_PAD 140 -#define ENTRY_BUBBLE_READ_LEFTTOP_PAD 58 14 -#define ENTRY_BUBBLE_READ_RIGHTTOP_PAD 20 14 -#define ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD 20 14 -#define ENTRY_BUBBLE_SENT_LEFTTOP_PAD 20 14 -#define ENTRY_BUBBLE_SENT_RIGHTTOP_PAD 58 14 -#define ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD 20 14 -#define ENTRY_BUBBLE_MIDDLE_PAD 14 -#define ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD 10 14 -#define ENTRY_BUBBLE_STATUS_TIME_SIZE 100 30 -#define ENTRY_BUBBLE_ICON_TOP_PAD 12 -#define ENTRY_BUBBLE_ICON_PAD 10 -#define ENTRY_BUBBLE_TEXT_MIN 82 53 -#define ENTRY_BUBBLE_TEXT_SIZE 38 -#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000" -#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "shadow,bottom" -#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f" -#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#000000" -#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "shadow,bottom" -#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#ffffff7f" -#define ENTRY_BUBBLE_RECEV_BG_BORDER_INC 55 24 59 20 -#define ENTRY_BUBBLE_SENT_BG_BORDER_INC 24 55 59 20 -#define ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC 22 -#define ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC 110 111 118 255 -#define ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC 110 111 118 255 -#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 30 -#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 110 111 118 255 - -/* not used in elm/entry/base-noedit/{read,sent}message */ -#define ENTRY_BUBBLE_EX_PAD 58 -#define ENTRY_BUBBLE_EX_CALLERID_PAD 178 -#define ENTRY_BUBBLE_IX_PAD 20 -#define ENTRY_BUBBLE_Y_PAD 15 -#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26 -#define ENTRY_BUBBLE_CALLERID_RELATIVE_INC 0.0 0.0 -#define ENTRY_BUBBLE_RECEV_CALLERID_REL_INC 1.0 0.0 -#define ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC "elm.rect.right.pad" -#define ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC "elm.rect.left.pad" -#define ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC "elm.rect.groupchat.text.pad" -#define ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 14 -#define ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC 0.0 1.0 -#define ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC 1.0 1.0 -#define ENTRY_BUBBLE_GROUPCHART_ENABLE_INC 1 -#define ENTRY_BUBBLE_GROUPCHART_PAD 36 30 -#define ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD 158 30 -#define ENTRY_BUBBLE_READ_STATUS_REL_INC 1.0 0.0 -#define ENTRY_BUBBLE_READ_TIME_REL_INC 1.0 1.0 - -#define ENTRY_SEARCH_ICON_MIN_MAX_INC 45 45 -#define ENTRY_SEARCH_ICON_CLIPPER_DEFAULT_COLOR_INC 93 97 118 255 -#define ENTRY_SEARCH_ICON_CLIPPER_DISABLED_COLOR_INC 56 58 71 255 -#define ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC 6 0 -#define ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC 16 0 - -#define SLIDER_INDICATOR_TEXT_COLOR_INC 250 250 250 255 -#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 250 250 250 255 -#define SLIDER_UNITS_TEXT_COLOR_INC 250 250 250 158 -#define SLIDER_UNITS_TEXT_SIZE_INC 30 -#define SLIDER_INDICATOR_TEXT_SIZE_INC 42 -#define SLIDER_BASE_HEIGHT_INC 34 -#define SLIDER_BASE_MIN_WIDTH_INC 375 -#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72 -#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74 -#define SLIDER_INDICATOR_IMAGE_BORDER_INC 32 32 32 32 -#define SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC 12 0 -#define SLIDER_INDICATOR_MAX_WIDTH_INC 90 -#define SLIDER_INDICATOR_WIDTH_INC 48 -#define SLIDER_INDICATOR_HEIGHT_INC 72 -#define SLIDER_ICON_CLIPPER_COLOR_INC 250 250 250 153 - -#define SLIDER_INDICATOR_POPUP_TEXT_COLOR_INC 76 81 88 255 -#define SLIDER_INDICATOR_POPUP_TEXT_SIZE_INC 72 -#define SLIDER_INDICATOR_POPUP_HEIGHT_INC 99 -#define SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC 90 -#define SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC 35 -#define SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC 18 99 -#define SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC 12 0 -#define SLIDER_INDICATOR_POPUP_LEFT_BG_BORDER_INC 16 0 0 0 -#define SLIDER_INDICATOR_POPUP_RIGHT_BG_BORDER_INC 0 16 0 0 - -#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#FAFAFA" -#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#FFFFFF" - -#define DATETIME_WIDGET_HEIGHT 74 -#define DATETIME_WIDGET_PADDING_SIZE_INC 16 74 -#define DATETIME_TEXT_FONT_SIZE_INC 36 - -#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 250 250 250 255 -#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 250 250 250 255 -#define DATETIME_LABEL_DATE_FIELD_MIN_WIDTH_INC 104 -#define DATETIME_LABEL_TIME_FIELD_MIN_WIDTH_INC 69 -#define DATETIME_LABEL_DATE_FIELD_HEIGHT_INC 48 - -#define DATETIME_POPUP_CONTENT_SIZE_INC 652 272 -#define DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 62 -#define DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 62 -#define DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 24 -#define DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC 28 -#define DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC 28 -#define DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 160 -#define DATETIME_POPUP_CONTENT_FIELD_HEIGHT_INC 100 -#define DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 252 -#define DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC 64 -#define DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC 250 250 250 255 - -#define DATETIME_POPUP_ENTRY_HEIGHT_INC 100 -#define DATETIME_POPUP_ENTRY_MIN_WIDTH_INC 84 -#define DATETIME_POPUP_ENTRY_TEXT_SIZE_INC 64 -#define DATETIME_POPUP_ENTRY_TEXT_COLOR_INC 250 250 250 255; - -#define SPINNER_UP_DOWN_IMAGE_SIZE_INC 84 58 -#define SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC 13 13 15 15 -#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 54 54 -#define SPINNER_TEXT_HEIGHT_INC 100 -#define SPINNER_ENTRY_TEXT_SIZE_INC 64 -#define SPINNER_ENTRY_TEXT_COLOR_INC 250 250 250 255 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC 0 2 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC -1 1 -#define SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC 0 -2 -#define SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC -1 -3 -#define SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC 0 0 0 255 -#define SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC 250 250 250 255 -#define SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC 250 250 250 255 - -#define ENTRY_DATETIME_POPUP_TEXT_SIZE_INC 64 - -#define COLORSELECTOR_MIN_W_INC 688 -#define COLORSELECTOR_MIN_H_INC 336 -#define COLORSELECTOR_MAX_W_INC 1014 -#define COLORSELECTOR_COLORBAR_HEIGHT 112 -#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122 -#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122 -#define COLORSELECTOR_BUTTON_TOP_PADDING 19 -#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120 -#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120 -#define COLORSELECTOR_ARROW_MIN_WIDTH 27 -#define COLORSELECTOR_ARROW_MIN_HEIGHT 72 -#define COLORSELECTOR_ARROW_REL1_OFFSET 0 4 -#define COLORSELECTOR_ARROW_REL2_OFFSET 0 3 -#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80 -#define COLORSELECTOR_BUTTON_LEFT_PADDING 32 -#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32 -#define COLORSELECTOR_BUTTON_WIDTH 74 -#define COLORSELECTOR_BUTTON_HEIGHT 74 -#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6 -#define COLORSELECTOR_PADDING_COLOR_TOP_INC 39 40 43 255 -#define COLORSELECTOR_PADDING_COLOR_BOTTOM_INC 17 19 27 255 - -#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86 -#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86 -#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84 -#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84 -#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "50" -#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20" -#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36" -#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0" -#define COLORSELECTOR_PALETTE_BORDER_INC 13 13 13 13 - -#define TICKERNOTI_TEXT_COLOR_INC 250 250 250 255 -#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100 -#define TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC 100 -#define TICKERNOTI_DEFAULT_BG_BORDER_INC 8 8 8 8 -#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 18 -#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 18 -#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0 -#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60 -#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 74 -#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 74 -#define TICKERNOTI_DEFAULT_ICON_MIN_INC 66 66 -#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0 -#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 30 -#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 24 -#define TICKERNOTI_INFO_BG_MIN_HEIGHT_INC 60 -#define TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC 8 5 -#define TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC 8 5 -#define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0 -#define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28 -#define TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC 0 64 - -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 18 72 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 18 99999 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 72 18 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 18 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 6 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 36 234 -#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 234 36 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 36 37 -#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 37 36 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10 - -#define TOOLBAR_ITEM_BG_DEFAULT_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_BG_PRESSED_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_TAB_FOCUS_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_TEXTBLOCK_COLOR_INC "#FAFAFA" -#define TOOLBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC "#FAFAFA" -#define TOOLBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC "#000000BF" -#define TOOLBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC "#000000BF" -#define TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 60 -#define TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 40 -#define TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 20 -#define TOOLBAR_ITEM_DIVIDER_SIZE 2 78 -#define TOOLBAR_ITEM_DIVIDER_LEFT_COLOR_INC 255 255 255 51 -#define TOOLBAR_ITEM_DIVIDER_RIGHT_COLOR_INC 255 255 255 51 - -#define TABBAR_ITEM_TAB_SELECT_BAR_BORDER_INC 1 1 1 1 -#define TABBAR_ITEM_TAB_PRESS_BORDER_INC 0 0 8 0 -#define TABBAR_ITEM_TAB_FOCUS_BORDER_INC 8 8 8 8 -#define TABBAR_ITEM_TEXTBLOCK_COLOR_INC "#F0F0F0" -#define TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC "#F0F0F0" -#define TABBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC "#F0F0F0" -#define TABBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC "#000000" -#define TABBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC "#000000" -#define TABBAR_ITEM_DEFAULT_ICON_COLOR_INC 255 255 255 255 -#define TABBAR_ITEM_ICON_COLOR_INC 240 240 240 255 -#define TABBAR_ITEM_SELECTED_ICON_COLOR_INC 240 240 240 255 -#define TABBAR_ITEM_PRESSED_ICON_COLOR_INC 240 240 240 255 -#define TABBAR_ITEM_DISABLED_ICON_COLOR_INC 240 240 240 255 -#define TABBAR_ITEM_ICON_SHADOW_COLOR_INC 0 0 0 255 -#define TABBAR_ITEM_PRESSED_ICON_SHADOW_COLOR_INC 0 0 0 255 -#define TABBAR_ITEM_BG_DEFAULT_BORDER_INC 8 8 35 35 -#define TABBAR_ITEM_BG_DEFAULT_VISIBLE_INC 0 -#define TABBAR_DEFAULT_HEIGHT_INC 126 -#define TABBAR_ICON_TEXT_HEIGHT_INC 126 -#define TABBAR_HORIZONTAL_HEIGHT_INC 75 -#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 75 -#define TABBAR_ITEM_ICON_SIZE_INC 63 63 -#define TABBAR_BADGE_TEXT_COLOR_INC 250 250 250 255 -#define TABBAR_BADGE_BG_IMAGE_BORDER_INC 26 26 0 0 -#define TABBAR_BADGE_ONE_ITEM_PADDING_SIZE 10 10 -#define TABBAR_BADGE_TWO_ITEMS_PADDING_SIZE 6 10 -#define TABBAR_BADGE_THREE_ITEMS_PADDING_SIZE 4 10 -#define TABBAR_ITEM_DIVIDER_SIZE 2 88 -#define TABBAR_ITEM_WITH_TITLE_DIVIDER_SIZE 2 48 -#define TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC 255 255 255 82 -#define TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC 255 255 255 82 - -#define CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC 30 30 30 255 -#define CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC 0 0 0 125 -#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0 - -#define TTS_FOCUS_BORDER 9 9 9 9 diff --git a/mobile/themes/inc/tizen-light-inc.edc b/mobile/themes/inc/tizen-light-inc.edc deleted file mode 100755 index e4e7e2f..0000000 --- a/mobile/themes/inc/tizen-light-inc.edc +++ /dev/null @@ -1,1304 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -#define BG_DEFAULT_COLOR_INC 248 246 239 255 -#define BG_EDIT_MODE_COLOR_INC 248 246 239 255 -#define BG_GROUP_LIST_COLOR_INC 248 246 239 255 -#define BG_TRANSPARENT_COLOR_INC 0 0 0 0 - -#define LAYOUT_BG_COLOR_INC 248 246 239 255 -#define LAYOUT_EDIT_MODE_BG_COLOR_INC 248 246 239 255 -#define LAYOUT_GROUP_LIST_BG_COLOR_INC 248 246 239 255 -#define LAYOUT_INDICATOR_HEIGHT_INC 60 -#define LAYOUT_INDICATOR_COLOR_INC 0 0 0 255 - -#define NAVIFRAME_TITLE_TEXT_BG_H_INC 88 -#define NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC 76 -#define NAVIFRAME_TITLE_BG_IMAGE_BORDER_INC 8 8 2 2 -#define NAVIFRAME_TITLE_H_INC 96 -#define NAVIFRAME_LANDSCAPE_TITLE_H_INC 91 -#define NAVIFRAME_TAB_TITLE_H_INC 165 -#define NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC 145 -#define NAVIFRAME_TAB_TITLE_H2_INC 126 -#define NAVIFRAME_TOOLBAR_HEIGHT_INC 98 -#define NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC 85 -#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 183 96 -#define NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC 183 91 -#define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 85 98 -#define NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC 85 85 -#define NAVIFRAME_TITLE_TAB_H_INC 75 -#define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44 -#define NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC 38 -#define NAVIFRAME_TITLE_TAB_TEXT_H_INC 90 -#define NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC 70 -#define NAVIFRAME_TITLE_FONT_SIZE_INC 50 -#define NAVIFRAME_TITLE_FONT_MIN_SIZE_INC 46 -#define NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC 50 -#define NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC 42 -#define NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC 38 -#define NAVIFRAME_ICON_SIZE_INC 45 45 -#define NAVIFRAME_PADDING_INC 26 0 -#define NAVIFRAME_PADDING2_INC 16 0 -#define NAVIFRAME_BADGE_PADDING_INC 92 0 -#define NAVIFRAME_BADGE_LEFT_PADDING_INC 8 0 -#define NAVIFRAME_BADGE_TOP_PADDING_INC 0 10 -#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC 12 54 -#define NAVIFRAME_BADGE_TEXT_H_INC 34 -#define NAVIFRAME_BADGE_TEXT_MIN_W_INC 30 -#define NAVIFRAME_BADGE_TEXT_MAX_W_INC 60 -#define NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC 54 54 -#define NAVIFRAME_BADGE_BG_IMAGE_BORDER_INC 26 26 0 0 -#define NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC 112 0 -#define NAVIFRAME_ICON_PADDING_INC 77 0 -#define NAVIFRAME_TITLE_TEXT_COLOR_INC 40 40 40 255 -#define NAVIFRAME_TITLE_STYLE_COLOR_INC "#282828" -#define NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC 250 250 250 255 -#define NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC "#FAFAFA" -#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 40 40 40 255 -#define NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC 250 250 250 255 -#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 30 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC 28 -#define NAVIFRAME_SUBTITLE_H_INC 37 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC 30 -#define NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC 2 -#define NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC 4 -#define NAVIFRAME_BADGE_TEXT_COLOR_INC 250 250 250 255; -#define NAVIFRAME_TITLE_BUTTON_DIVIDER_COLOR_INC 138 138 138 82 -#define NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC 63 27 -#define NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC 0 0 13 12 - -#define PROGRESSBAR_TITLE_FONT_SIZE_INC 28 -#define PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC 20 - -#define CTXPOPUP_WIDTH_MIN_INC 386 -#define CTXPOPUP_WIDTH_MAX_INC 692 -#define CTXPOPUP_TEXT_MAX_INC 652 -#define CTXPOPUP_ICON_TEXT_MAX_INC 595 -#define CTXPOPUP_MORE_TEXT_MAX_INC 599 -#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 26 26 26 26 -#define CTXPOPUP_BUBBLE_MORE_BG_IMAGE_BORDER 26 26 25 0 -#define CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER 8 8 8 8 -#define CTXPOPUP_SHADOW_LEFT_PADDING 14 -#define CTXPOPUP_SHADOW_RIGHT_PADDING 14 -#define CTXPOPUP_SHADOW_TOP_PADDING 14 -#define CTXPOPUP_SHADOW_BOTTOM_PADDING 14 -#define CTXPOPUP_CONTENT_PADDING_WIDTH 1 -#define CTXPOPUP_CONTENT_PADDING_HEIGHT 1 -#define CTXPOPUP_PRESS_PADDING 4 -#define CTXPOPUP_PRESS_PADDING2 3 -#define CTXPOPUP_ARROW_PADDING 1 -#define CTXPOPUP_SCROLLER_PADDING 8 -#define CTXPOPUP_SCROLLER_V_MIN_SIZE_INC 9 18 -#define CTXPOPUP_SCROLLER_H_MIN_SIZE_INC 18 9 -#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 18 -#define CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC 250 250 250 255 -#define CTXPOPUP_ICON_CLIP_DIM_COLOR_INC 250 250 250 76 -#define CTXPOPUP_MAIN_TEXT_COLOR_INC 250 250 250 255 -#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 250 250 250 76 -#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 250 250 250 255 -#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 250 250 250 255 -#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 250 250 250 76 -#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 250 250 250 255 -#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1 -#define CTXPOPUP_SEPARATOR_PADDING_INC 20 -#define CTXPOPUP_SEPARATOR_COLOR_INC 68 68 68 0 -#define CTXPOPUP_SEPARATOR2_COLOR_INC 255 255 255 64 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC 45 45 45 255 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC 91 91 91 255 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 96 -#define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 96 -#define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 0 -#define CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC 40 -#define CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC (CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC * 2) -#define CTXPOPUP_MAIN_TEXT_SIZE_INC 32 -#define CTXPOPUP_ITEM_HEIGHT_MIN_INC 110 -#define CTXPOPUP_ITEM_HEIGHT_MAX_INC 130 -#define CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC 128 -#define CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC 112 -#define CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC 96 -#define CTXPOPUP_ICON_WIDTH_INC 45 -#define CTXPOPUP_ICON_HEIGHT_INC 45 -#define CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC 45 -#define CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC 45 -#define CTXPOPUP_ARROW_SIZE_INC 36 36 -#define CTXPOPUP_ITEM_TEXT_PADDING_INC 20 -#define CTXPOPUP_ITEM_ICON_PADDING_INC 16 -#define CTXPOPUP_TP_BG_IMAGE_BORDER 8 8 8 8 -#define CTXPOPUP_TP_ARROW_SIZE_INC 27 18 -#define CTXPOPUP_TP_HEIGHT_INC 102 -#define CTXPOPUP_MORE_WIDTH_MIN_INC 412 -#define CTXPOPUP_MORE_WIDTH_MAX_INC 720 -#define CTXPOPUP_MORE_WIDTH_LANDSCAPE_MAX_INC 1280 -#define CTXPOPUP_MORE_ITEM_PADDING_INC 16 -#define CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC 110 -#define CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC 130 -#define CTXPOPUP_MORE_ICON_WIDTH_INC 45 -#define CTXPOPUP_MORE_ICON_HEIGHT_INC 45 -#define CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC 40 -#define CTXPOPUP_MOVE_PAD_INC 40 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC 334 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MAX_INC 720 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC 90 -#define CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC 130 - -#define DISKSELECTOR_DF_FONT_COLOR_INC 255 255 255 178 -#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 255 255 255 -#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106; -#define DISKSELECTOR_DF_FONT_SIZE_INC 48 -#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106" - -#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000" -#define LABEL_FONT_SIZE_INC 36 - -#define GENGRID_FONT_STYLE_24_INC "24" -#define GENGRID_PART_BG_COLOR_INC 0 0 0 0 -#define GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC 0 0 0 77 -#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 77 -#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000" -#define GENGRID_PART_BACKGROUND_COLOR_INC 0 0 0 0 -#define GENGRID_EDIT_MODE_CHECK_TOP_RIGHT_INC 6 6 -#define GENGRID_EDIT_MODE_CHECK_SIZE_INC 63 63 -#define GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC 6 6 - -#define GENGRID_DEFAULT_LEFT_TOP_PADDING_INC 2 2 -#define GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC 2 2 -#define GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC 2 2 -#define GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 - -#define GENGRID_GALLERY_LEFT_TOP_PADDING_INC 3 3 -#define GENGRID_GALLERY_RIGHT_BOTTOM_PADDING_INC 3 3 -#define GENGRID_GALLERY_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GALLERY_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GALLERY_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GALLERY_LEFT_TOP_FOCUS_PADDING_INC 1 1 -#define GENGRID_GALLERY_RIGHT_BOTTOM_FOCUS_PADDING_INC 1 1 - -#define GENGRID_MYFILE_LEFT_TOP_PADDING_INC 6 6 -#define GENGRID_MYFILE_RIGHT_BOTTOM_PADDING_INC 6 6 -#define GENGRID_MYFILE_ITEM_BG_LEFT_TOP_PADDING_INC 0 0 -#define GENGRID_MYFILE_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 0 0 -#define GENGRID_MYFILE_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_MYFILE_LEFT_TOP_FOCUS_PADDING_INC 4 4 -#define GENGRID_MYFILE_RIGHT_BOTTOM_FOCUS_PADDING_INC 4 4 - -#define GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC 6 6 -#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC 6 64 -#define GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC 2 2 -#define GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 62 - -#define GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC 2 62 -#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC 2 2 -#define GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC 1 1 -#define GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC 0 0 -#define GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC 2 62 -#define GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC 2 2 - -// Please do not use these !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -#define GENLIST_PADDING_5_INC 5 -#define GENLIST_PADDING_24_INC 24 -#define GENLIST_PADDING_64_INC 64 -#define GENLIST_PADDING_88_INC 88 -#define GENLIST_PADDING_34_INC 34 -#define GENLIST_PADDING_32_INC 32 -#define GENLIST_PADDING_16_INC 16 -#define GENLIST_SIZE_80_INC 80 - -#define BUBBLE_DISCLIP_COLOR 255 255 255 102 // opacity 40% - -// List bg color -#define GENLIST_LIST_BG_POPUP_COLOR 248 246 239 255 -#define GENLIST_LIST_LINE1_POPUP_COLOR 211 209 203 255 -#define GENLIST_LIST_LINE2_POPUP_COLOR 250 250 250 255 -#define GENLIST_LIST_BG_COLOR 248 246 239 255 -#define GENLIST_LIST_PRESS_COLOR 87 135 194 255 -#define GENLIST_LIST_DIM_COLOR 248 246 239 255 -#define GENLIST_LIST_LINE1_COLOR 211 209 203 255 -#define GENLIST_LIST_LINE2_COLOR 250 250 250 255 -#define GENLIST_LIST_DIVIDER1_COLOR 211 209 203 255 -#define GENLIST_LIST_DIVIDER2_COLOR 250 250 250 255 -#define GENLIST_SELECT_ALL_BG_COLOR 189 187 181 255 - -// Group Index -#define GENLIST_GROUPINDEX_LIST_SIZE 32 -#define GENLIST_GROUPINDEX_LIST_COLOR 14 104 173 255 -#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR 250 250 250 255 -#define GENLIST_GROUPINDEX_LIST_COLOR_STYLE "#0E68ADFF" -#define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR_STYLE "#FAFAFAFF" - -#define GENLIST_GROUPINDEX_LIST_BG_COLOR 248 246 239 255 -#define GENLIST_GROUPINDEX_LIST_PRESS_COLOR 87 135 194 255 -#define GENLIST_GROUPINDEX_LINE_COLOR 14 104 173 255 -#define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR 250 250 250 255 - -// Genlist Text -#define GENLIST_LIST_MAIN_TEXT_SIZE 44 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR 0 0 0 255 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF" -#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR 0 0 0 128 -#define GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000080" -#define GENLIST_LIST_MAIN_TEXT_READ_COLOR 128 128 128 255 -#define GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR 128 128 128 128 -#define GENLIST_LIST_TEXT_FOCUS_COLOR 255 255 255 255 -#define GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF" - -#define GENLIST_LIST_SUB_TEXT_SIZE 32 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR 79 79 79 255 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE "#4F4F4FFF" -#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR 79 79 79 128 -#define GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE "#4F4F4F7F" -#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR 59 115 182 255 -#define GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE "#3B73B6FF" -#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR 59 115 182 128 -#define GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE "#3B73B680" - -#define GENLIST_LIST_SUB_TEXT_02_SIZE 24 -#define GENLIST_LIST_SUB_TEXT_02_COLOR 209 0 0 255 - -#define GENLIST_CONTENTS_TEXT_SIZE 28 -#define GENLIST_CONTENTS_TEXT_COLOR 128 128 128 255 -#define GENLIST_CONTENTS_TEXT_COLOR_STYLE "#808080FF" - -#define GENLIST_LIST_BUBBLE_TEXT_SIZE 32 -#define GENLIST_LIST_BUBBLE_TEXT_COLOR 249 249 249 255 -#define GENLIST_LIST_BUBBLE_TEXT_FOCUS_COLOR 87 135 194 255 -#define GENLIST_LIST_BUBBLE_COLOR 87 135 194 255 -#define GENLIST_LIST_BUBBLE_PRESS_COLOR 250 250 250 255 - -#define GENLIST_PROGRESS_MAIN_TEXT_SIZE 32 - -// Dialogue group -#define GENLIST_DIALOGUE_GROUP_TITLE_SIZE 32 -#define GENLIST_DIALOGUE_GROUP_TITLE_COLOR 59 115 182 255 - -#define GENLIST_APPS_NAME_SIZE 30 -#define GENLIST_APPS_NAME_COLOR 79 79 79 255 -#define GENLIST_APPS_INC_SIZE 30 -#define GENLIST_APPS_INC_COLOR 0 0 0 255 -#define GENLIST_APPS_RATING_SIZE 24 -#define GENLIST_APPS_RATING_COLOR 79 79 79 255 -#define GENLIST_APPS_PRICE_SIZE 24 -#define GENLIST_APPS_PRICE_ORIGINAL_COLOR 93 131 255 255 -#define GENLIST_APPS_PRICE_SALE_COLOR 209 0 0 255 -#define GENLIST_APPS_PRICE_FREE_COLOR 93 131 255 255 - -#define DIALOGUE_PASSWORD_TITLE_SIZE 32 -#define DIALOGUE_PASSWORD_TITLE_COLOR 0 0 0 255 - -#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE 32 -#define GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE "#808080FF" -#define GENLIST_PART_MATCH_TAG_COLOR "+ color=#1382FF" - -#define GENLIST_EXPANDABLE_ARROW_NORMAL_COLOR 40 40 40 255 -#define GENLIST_EXPANDABLE_ARROW_DIM_COLOR 40 40 40 127 -#define GENLIST_EXPANDABLE_ARROW_PRESS_COLOR 250 250 250 255 - -#define GENLIST_EXPANDABLE_ARROW_SHADOW_NORMAL_COLOR 250 250 250 255 -#define GENLIST_EXPANDABLE_ARROW_SHADOW_DIM_COLOR 250 250 250 127 -#define GENLIST_EXPANDABLE_ARROW_SHADOW_PRESS_COLOR 0 0 0 0 - -#define GENLIST_EMAIL_TEXT_FOCUS_COLOR 250 250 250 255 -#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE "#FAFAFAFF" - -#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF" -#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#0000007F" -#define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE "#686866FF" -#define GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE "#686866CC" - -#define GENLIST_EMAIL_SUB_TEXT_UNREAD_COLOR_STYLE "#4F4F4FFF" -#define GENLIST_EMAIL_SUB_TEXT_READ_COLOR_STYLE "#686866FF" - -#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR 59 115 182 255 -#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE "#3B73B6FF" -#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR 104 104 102 255 -#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE "#686866FF" - -#define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE "#4F4F4FFF" - -#define GENLIST_EMAIL_MATCH_TAG_COLOR "+ color=#1382FF" - -#define GENLIST_LIST_READ_BG_COLOR 224 221 216 255 -#define GENLIST_LIST_UNREAD_BG_COLOR 250 247 242 255 - -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#F9F4F8FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC "#F9F4F8FF" -#define BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NUMBER_TEXTBLOCK_NORMAL_COLOR_INC "#282828FF" -#define BUTTON_NUMBER_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_TEXTBLOCK_DISABLE_VISIBLE_COLOR_INC "#A3A29DFF" - -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#F9F4F8FF" -#define BUTTON_NUMBER_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NUMBER_ICON_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_NUMBER_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_NUMBER_ICON_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#282828FF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#A3A29DFF" - -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#F9F4F8FF" - -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_DISABLED_COLOR_INC "#C5D5EEFF" - -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#F9F4F8FF" - -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_DISABLED_COLOR_INC "#F1C4C3FF" - -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC "#000000FF" -#define BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_DIM_COLOR_INC "#F9F4F8FF" - -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC "#282828FF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC "#A3A29DFF" - -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC "#F1C4C3FF" - -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#F7F6F2FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC "#F7F6F2FF" -#define BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#3A3A3AFF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#9D9C96FF" - -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC "#F1F0ECFF" -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#3A3A3AFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#3A3A3A80" - -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_CONTACT_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC "#AABACCFF" - -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC 40 40 40 255 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 123 218 255 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC 40 40 40 102 - -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_SHADOW_COLOR_INC 250 250 250 255 -#define BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_SHADOW_COLOR_INC 0 0 0 191 - -#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -1 - -#define BUTTON_WARNING_STYLE_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_WARNING_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_WARNING_STYLE_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_WARNING_STYLE_CLIPPER_NORMAL_COLOR_INC 250 250 250 0 -#define BUTTON_WARNING_STYLE_CLIPPER_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_WARNING_STYLE_CLIPPER_DISABLED_COLOR_INC 250 250 250 0 - -#define BUTTON_WARNING_STYLE_NORMAL_TOP_OFFSET_INC 0 0 -#define BUTTON_WARNING_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 -1 -#define BUTTON_WARNING_STYLE_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_WARNING_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -1 - -#define BUTTON_EDIT_STYLE_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_EDIT_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_EDIT_STYLE_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_EDIT_STYLE_CLIPPER_DEFAULT_COLOR_INC 250 250 250 255 -#define BUTTON_EDIT_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_EDIT_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_EDIT_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_EDIT_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_EDIT_STYLE_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_EDIT_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -1 - -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_NORMAL_COLOR_INC 250 250 250 0 -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_CIRCLE_STYLE_MINUS_SHADOW_DISABLED_COLOR_INC 250 250 250 0 - -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_TOP_OFFSET_INC 0 0 -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_BOTTOM_OFFSET_INC -1 -1 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_BOTTOM_OFFSET_INC -1 -1 - -#define BUTTON_CIRCLE_STYLE_MINUS_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_MINUS_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_MINUS_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_COLORSELECTOR_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_COLORSELECTOR_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_COLORSELECTOR_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_COLORSELECTOR_SHADOW_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_COLORSELECTOR_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_COLORSELECTOR_SHADOW_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_COLORSELECTOR_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_COLORSELECTOR_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_COLORSELECTOR_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_COLORSELECTOR_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_DATETIME_AMPM_BG_MIN_INC 144 74 -#define BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC 64 - -#define BUTTON_SEARCH_BUTTON_BG_BORDER_INC 13 13 15 15 -#define BUTTON_SEARCH_BUTTON_BG_MIN_INC 100 66 -#define BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC 148 66 -#define BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC 66 66 -#define BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC 30 - -#define BUTTON_STYLE1_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_STYLE1_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_STYLE1_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_STYLE1_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_STYLE1_SHADOW_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_STYLE1_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_STYLE1_SHADOW_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_STYLE1_ICON_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_STYLE1_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_STYLE1_ICON_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74 -#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74 -#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74 -#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 13 13 15 15 -#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 12 0 -#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 4 0 -#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 45 45 -#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 36 - -#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 72 72 -#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 -#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 - -#define BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC 72 -#define BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC 72 -#define BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC 110 -#define BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC 110 - -#define BUTTON_POPUP_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_POPUP_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_POPUP_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_POPUP_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_POPUP_SHADOW_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_POPUP_SHADOW_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_POPUP_SHADOW_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_POPUP_ICON_NORMAL_COLOR_INC 58 58 58 255 -#define BUTTON_POPUP_ICON_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_POPUP_ICON_DISABLED_COLOR_INC 58 58 58 128 - -#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 76 -#define BUTTON_POPUP_BG_BORDER_INC 13 13 9 9 -#define BUTTON_POPUP_PADDING_MIN_INC 12 3 -#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 -#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 45 45 -#define BUTTON_POPUP_TEXT_MIN_INC 64 20 -#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 36 - -#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 72 72 -#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 45 45 - -#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 72 -#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 72 -#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 90 -#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 90 - -#define BUTTON_EXPAND_BUTTON_TEXT_SIZE_INC 30 - -#define BUTTON_EXPANDABLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_EXPANDABLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_EXPANDABLE_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_EXPANDABLE_PRESSED_BOTTOM_OFFSET_INC -1 -1 - -#define BUTTON_EXPANDABLE_SHADOW_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_EXPANDABLE_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_EXPANDABLE_SHADOW_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 92 45 -#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 13 13 15 15 -#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 12 1 -#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC 18 45 -#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 45 -#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28 - -#define BUTTON_CONTACT_BG_MIN_INC 18 66 -#define BUTTON_CONTACT_BG_BORDER_INC 8 8 8 8 -#define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 12 0 -#define BUTTON_CONTACT_RIGHT_PADDING_MIN_INC 12 0 -#define BUTTON_CONTACT_FONT_SIZE_INC 32 - -#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 85 98 -#define BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC 85 85 -#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 63 63 - -#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 58 58 58 255 -#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 58 58 58 255 - -#define BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC 115 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_ICON_BG_MIN_MAX_INC 115 91 -#define BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC 63 63 - -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MIN_INC 0 96 -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_MAX_INC 183 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MIN_INC 0 91 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MAX_INC 183 91 -#define BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 16 -#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MIN_INC 0 96 -#define BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MAX_INC 151 96 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MIN_INC 0 91 -#define BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MAX_INC 151 91 -#define BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC 8 8 8 8 -#define BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 32 -#define BUTTON_NAVIFRAME_TITLE_TEXT_MIN_FONT_SIZE_INC 32 - -#define BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC "#282828FF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_NORMAL_COLOR_INC "#FAFAFAFF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC "#2828287F" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_DISABLED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC "#FAFAFAFF" -#define BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_PRESSED_COLOR_INC "#000000FF" - -#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 85 98 -#define BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC 85 85 -#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 63 63 -#define BUTTON_NAVIFRAME_MORE_BOTTOM_PADDING_INC 0 17 - -#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 74 -#define BUTTON_COLORSELECTOR_BG_BORDER_INC 13 13 15 15 -#define BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC 45 45 - -#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 100 74 -#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 13 13 15 15 -#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 12 5 -#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0 -#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 45 45 -#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 144 36 -#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 36 - -#define BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC 60 60 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 54 54 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC 128 128 128 255 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC 128 128 128 128 - -#define BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC 60 60 -#define BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC 45 45 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC 135 133 128 255 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC 59 115 182 255 -#define BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC 135 133 128 128 - -#define BUTTON_JUMP_SHADOW_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_JUMP_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define BUTTON_JUMP_SHADOW_DISABLED_COLOR_INC 250 250 250 128 - -#define BUTTON_JUMP_NORMAL_COLOR_INC 40 40 40 255 -#define BUTTON_JUMP_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_JUMP_DISABLED_COLOR_INC 40 40 40 128 - -#define BUTTON_JUMP_STYLE_BG_MIN_INC 74 74 -#define BUTTON_JUMP_TO_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_JUMP_TO_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_JUMP_TO_PRESSED_TOP_OFFSET_INC 0 0 -#define BUTTON_JUMP_TO_PRESSED_BOTTOM_OFFSET_INC -1 -1 -#define BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 -#define BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18 - -#define BUTTON_FOCUS_DIALOGUE_LEFT_PADDING_INC 16 0 -#define BUTTON_FOCUS_DIALOGUE_RIGHT_PADDING_INC 16 0 - -#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36 - -#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 135 63 -#define CHECK_ONOFF_ON_FONT_SIZE_INC 24 -#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24 -#define CHECK_ONOFF_HANDLER_MIN_MAX_INC 81 63 - -#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 45 -#define CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 45 - -#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 72 -#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 72 -#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 100 -#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 100 -#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 72 72 - -#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 -#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 -#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 75 -#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91 -#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 63 63 - -#define INDEX_BG_NINEPATCH_INC 8 8 8 8 -#define INDEX_ITEM_WIDTH_INC 52 -#define INDEX_ITEM_HEIGHT_INC 33 -#define INDEX_POPUP_BG_NINEPATCH_INC 22 22 22 22 -#define INDEX_POPUP_TEXT_COLOR_INC 250 250 250 255 -#define INDEX_POPUP_TEXT_SIZE_INC 136 -#define INDEX_ROLLOVER_TEXT_SIZE_INC 26 -#define INDEX_ROLLOVER_TEXT_COLOR_INC 160 159 154 255 -#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 59 115 182 255 -#define INDEX_DIVIDER_COLOR_INC 226 223 213 255 -#define INDEX_DIVIDER_WIDTH_INC 1 -#define INDEX_SCROLL_BG_LINE_COLOR_INC 209 207 201 255 -#define INDEX_SCROLL_BG_LINE_ACTIVE_COLOR_INC 59 115 182 255 -#define INDEX_SCROLL_BG_LINE_WIDTH_INC 3 -#define INDEX_POPUP_TOP_PADDING_SIZE_INC 10 -#define INDEX_POPUP_BOTTOM_PADDING_SIZE_INC 10 -#define INDEX_POPUP_LEFT_PADDING_SIZE_INC 34 -#define INDEX_POPUP_RIGHT_PADDING_SIZE_INC 34 -#define INDEX_POPUP_TEXT_WIDTH_INC 128 -#define INDEX_POPUP_TEXT_HEIGHT_INC 180 -#define INDEX_PADDING_SIZE_INC 18 -#define INDEX_ITEM_PADDING_SIZE_INC 2 -#define INDEX_SCROLL_BG_COLOR_INC 248 246 239 255 - -#define INDEX_PAGECONTROL_IND_INC 52 9 -#define INDEX_PAGECONTROL_IND_MIN_INC 10 9 -#define INDEX_PAGECONTROL_FONT_SIZE_INC 28 -#define INDEX_PAGECONTROL_FONT_COLOR_INC 120 120 120 - -#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 63 -#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 63 -#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 -#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 76 -#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 63 63 -#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 36 - -#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 65 -#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26 -#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 57 - -#define SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC 153 153 153 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 59 115 182 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 59 115 182 255 -#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 153 153 153 255 - -#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 30 -#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12 -#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28 -#define SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC 4 32 -#define SEGMENT_CONTROL_DIVIDER_LEFT_COLOR_INC 211 209 203 255 -#define SEGMENT_CONTROL_DIVIDER_RIGHT_COLOR_INC 255 255 255 255 -#define SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC 18 0 -#define SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC 40 40 -#define SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC 22 45 -#define SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC 18 47 -#define SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC 10 100 208 255; -#define SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC 26; - -#define EDITFIELD_TITLE_SIZE_INC 32 -#define EDITFIELD_TITLE_COLOR_INC 79 79 79 255 -#define EDITFIELD_GUIDE_TEXT_COLOR_INC 144 169 199 255 -#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48 -#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48 -#define EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC 48 -#define EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC 70 -#define EDITFIELD_DEFAULT_MINH_INC 112 -#define EDITFIELD_TITLE_MINH_INC 128 -#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 27 -#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 56 -#define EDITFIELD_DEFAULT_TOP2_INC 8 -#define EDITFIELD_DEFAULT_LEFT1_INC 0 -#define EDITFIELD_DEFAULT_LEFT2_INC 0 -#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56 -#define EDITFIELD_DEFAULT_RIGHT2_INC 0 -#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 25 -#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 8 -#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12 -#define EDITFIELD_ERASER_DEFAULT_COLOR_INC 128 128 128 255 -#define EDITFIELD_ERASER_PRESSED_COLOR_INC 59 115 182 255 - -#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 225 215 215 255 -#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 255 255 255 255 -#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 225 215 215 76 - -#define BUTTON_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define BUTTON_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 - -#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC "#000000FF" -#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC "#00000080" -#define CHECK_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define CHECK_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 - -#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC "#000000FF" -#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC "#0000007F" -#define RADIO_DISCLIP_NORMAL_COLOR_INC 255 255 255 255 -#define RADIO_DISCLIP_DISABLED_COLOR_INC 255 255 255 128 - -#define CONTROLBAR_LARGE_HEIGHT_INC 122 - -#define MULTIBUTTONENTRY_BG_COLOR_INC 29 38 60 0 -#define MULTIBUTTONENTRY_WIDTH_PAD_INC 26 -#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 16 -#define MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC 8 -#define MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC 16 -#define MULTIBUTTONENTRY_LABEL_HEIGHT_INC 66 // same as button -#define MULTIBUTTONENTRY_LABEL_PAD_INC 8 -#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 36 -#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC "#808080" -#define MULTIBUTTONENTRY_GUIDE_HEIGHT_INC 66 // same as button -#define MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC 36 -#define MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC "#90A9C7" //same as editfield -#define MULTIBUTTONENTRY_BUTTON_HEIGHT_INC 66 -#define MULTIBUTTONENTRY_BUTTON_PAD_INC 12 -#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 8 8 17 17 -#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 32 -#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC "#FAFAFA" -#define MULTIBUTTONENTRY_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC "#00000000" -#define MULTIBUTTONENTRY_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC "#00000000" -#define MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC 128 128 128 255 // same as multibuttonentry label -#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 64 - -#define SEARCHBAR_CANCEL_BUTTON_W_INC 136 -#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166 -#define SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 10 -#define SEARCHBAR_TOP_PADDING_INC 17 -#define SEARCHBAR_BOTTOM_PADDING_INC 16 -#define SEARCHBAR_BASE_HEIGHT_INC 99 -#define SEARCHBAR_HEIGHT_INC 66 -#define SEARCHBAR_WIDTH_INC 120 -#define SEARCHBAR_LEFT_PADDING_INC 16 -#define SEARCHBAR_RIGHT_PADDING_INC 16 -#define SEARCHBAR_H_INC 99 - -#define SELECTION_INFO_BACKGROUND_COLOR_INC 189 187 181 255 -#define SELECTION_INFO_TEXT_COLOR_INC 65 65 65 255 -#define SELECTION_INFO_MIN_VER_W_INC 720 -#define SELECTION_INFO_MIN_HORZ_W_INC 1280 -#define SELECTION_INFO_VER_PADDING_INC 48 -#define SELECTION_INFO_LEFT_PADDING_INC 16 -#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32 -#define SELECTION_INFO_SHADOW_VER_W_INC 720 -#define SELECTION_INFO_SHADOW_VER_H_INC 9 -#define SELECTION_INFO_SHADOW_HORZ_W_INC 1280 -#define SELECTION_INFO_SHADOW_HORZ_H_INC 9 -#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150 -#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186 - -#define POPUP_ITEM_BG_DEFAULT_MIN_INC 618 112 -#define POPUP_ITEM_LEFT_MIN_PADDING_INC 26 0 -#define POPUP_ITEM_RIGHT_MIN_PADDING_INC 26 0 -#define POPUP_ITEM_ICON_TEXT_PADDING_INC 16 0 -#define POPUP_ITEM_TEXT_DISABLED_COLOR_INC 0 0 0 128 -#define POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC 0 0 0 128 - -#define POPUP_ITEM_BG_LANDCAPE_MIN_INC 798 112 - -#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC "#252525" -#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR "#FAFAFA" -#define POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE "far_shadow,bottom" -#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000" -#define POPUP_DEFAULT_TITLE2_TEXT_COLOR_INC "#96948D" -#define POPUP_DEFAULT_TITLE2_TEXT_SHADOW_COLOR "#EFEDE8" -#define POPUP_DIM_BG_DEFAULT_COLOR_INC 0 0 0 0 -#define POPUP_DIM_BG_COLOR_INC 0 0 0 128 -#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 220 -#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0 -#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50 - -#define POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC 42 -#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 50 -#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 38 - -#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 652 652 -#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 652 652 -#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC 832 652 -#define POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC 832 652 -#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 26 26 32 47 -#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC 12 13 30 31 -#define POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC 12 13 30 31 -#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 620 78 -#define POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC 800 78 -#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 26 0 -#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 64 64 -#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 630 408 -#define POPUP_BASE_DEFAULT_CONTENT_LANDSCAPE_MIN_MAX_INC 820 408 -#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 596 96 - -#define POPUP_DESC_LEFT_PADDING 16 -#define POPUP_DESC_RIGHT_PADDING 16 -#define POPUP_DESC_TOP_PADDING 14 -#define POPUP_DESC_BOTTOM_PADDING 16 -#define POPUP_LABEL_DESC_TOP_PADDING 32 -#define POPUP_LABEL_DESC_BOTTOM_PADDING 32 -#define POPUP_ACTION_DESC_TOP_PADDING 11 -#define POPUP_TITLE_LEFT_PADDING 26 -#define POPUP_TITLE_RIGHT_PADDING 26 -#define POPUP_TITLE_TOP_PADDING 0 -#define POPUP_TITLE_BOTTOM_PADDING 0 -#define POPUP_TITLE_ICON_TEXT_PADDING_INC 16 10 - -#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 32 -#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 42 -#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 42 -#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 32 -#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 630 0 -#define POPUP_CONTENT_DEFAULT_CONTENT_LANDSCAPE_MIN_INC 810 0 - -#define POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC 0 96 -#define POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC 0 78 - -#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 596 296 - -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 10 -#define POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT "296" -#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 394 76 -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 24 -#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 24 - -#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 0 20 -#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 568 408 -#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 0 0 - -#define POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 17 -#define POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 17 -#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 568 408 -#define POPUP_CONTENT_MINSTYLE_CONTENT_LANDSCAPE_MIN_INC 866 408 -#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 596 300 -#define POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC 596 250 -#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 648 134 - -#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "96" -#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC 394 76 -#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC 596 76 -#define POPUP_BUTTON2_DEFAULT_HEIGHT_INC 76 -#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 314 76 -#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 16 76 -#define POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 28 -#define POPUP_BUTTON3_DEFAULT_HEIGHT_INC 76 -#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 10 76 -#define POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC 28 - -#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 128 128 128 255 -#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 128 128 128 255 -#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 27 -#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 27 -#define PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC 126 126 -#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 0 0 -#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 0 0 -#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 6 0 - -#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#6E6F76" -#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#808080" -#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36 -#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32 -#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 244 244 -#define NOCONTENT_BG_COLOR_INC 0 0 0 0 -#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68 -#define NOCONTENT_BASE_SEARCH_PADDING_INC 40 -#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 580 152 -#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 920 78 -#define NOCONTENT_IMAGE_COLOR_INC 128 128 128 255 -#define NOCONTENT_BASE_BOTTOM_PADDING_MIN_INC 40 112 -#define NOCONTENT_PORTRAIT_SWALLOW_AREA_MIN_INC 580 74 -#define NOCONTENT_LANDSCAPE_SWALLOW_AREA_MIN_INC 920 74 -#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 0 50 -#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 0 18 -#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 0 96 -#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 0 11 -#define NOCONTENT_BASE_MIN_WIDTH_HEIGHT_INC 312 312 - -#define ENTRY_TEXT_SIZE_INC 44 -#define ENTRY_TEXT_COLOR_INC "#000000" -#define ENTRY_DISABLED_TEXT_COLOR_INC "#00000080" -#define ENTRY_GUIDE_TEXT_COLOR_INC "#878580" -#define ENTRY_CURSOR_COLOR_INC 64 147 247 255 -#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000" -#define ENTRY_PREEDIT_TEXT_COLOR_INC "#FAFAFA" -#define ENTRY_PREEDIT_UNDERLINE_COLOR_INC "#000000" -#define ENTRY_PREEDIT_SUB1_COLOR_INC "#2EA8E1" -#define ENTRY_PREEDIT_SUB2_COLOR_INC "#9962C3" -#define ENTRY_PREEDIT_SUB3_COLOR_INC "#76DE37" -#define ENTRY_PREEDIT_SUB4_COLOR_INC "#999999" -#define ENTRY_SELECTION_BG_COLOR 183 212 247 255 -#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 51 79 -#define ENTRY_SELECTION_EDGE_COLOR 59 115 182 255 -#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 4 -#define MAGNIFIER_HEIGHT_FILL 182 -#define MAGNIFIER_HEIGHT_FIXED 164 -#define MAGNIFIER_WIDTH_FIXED 325 - -#define ENTRY_EDITFIELD_TEXT_SIZE_INC 44 -#define ENTRY_EDITFIELD_TEXT_COLOR_INC "#000000" -#define ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC "#00000080" -#define ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC "#90A9C7" - -#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC 36 -#define ENTRY_EDITFIELD_SEARCHBAR_TEXT_COLOR_INC "#000000" -#define ENTRY_EDITFIELD_SEARCHBAR_DISABLED_TEXT_COLOR_INC "#7F7F7F" -#define ENTRY_EDITFIELD_SEARCHBAR_GUIDE_TEXT_COLOR_INC "#878580" -#define ENTRY_EDITFIELD_SEARCHBAR_DISABLED_GUIDE_TEXT_COLOR_INC "#7F7F7F" - -#define ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC "#000000" -#define ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC "#00000080" -#define ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC "#90A9C7" - -#define BUBBLE_LAYOUT_SELECT_PAD 10 -#define BUBBLE_LAYOUT_BOTTOM_PAD 20 - -#define ENTRY_BUBBLE_CALLERID_PAD 115 -#define ENTRY_BUBBLE_CALLERID_ICON_PAD 16 -#define ENTRY_BUBBLE_CALLERID_WIDTH 99 -#define ENTRY_BUBBLE_CALLERID_HEIGHT 99 -#define ENTRY_BUBBLE_GROUPCHAT_PAD 42 -#define ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 38 -#define ENTRY_BUBBLE_STATUS_PAD 140 -#define ENTRY_BUBBLE_READ_LEFTTOP_PAD 58 14 -#define ENTRY_BUBBLE_READ_RIGHTTOP_PAD 20 14 -#define ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD 20 14 -#define ENTRY_BUBBLE_SENT_LEFTTOP_PAD 20 14 -#define ENTRY_BUBBLE_SENT_RIGHTTOP_PAD 58 14 -#define ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD 20 14 -#define ENTRY_BUBBLE_MIDDLE_PAD 14 -#define ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD 10 14 -#define ENTRY_BUBBLE_STATUS_TIME_SIZE 100 30 -#define ENTRY_BUBBLE_ICON_TOP_PAD 12 -#define ENTRY_BUBBLE_ICON_PAD 10 -#define ENTRY_BUBBLE_TEXT_MIN 82 53 -#define ENTRY_BUBBLE_TEXT_SIZE 38 -#define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000" -#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "shadow,bottom" -#define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f" -#define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#000000" -#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "shadow,bottom" -#define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#ffffff7f" -#define ENTRY_BUBBLE_RECEV_BG_BORDER_INC 55 24 59 20 -#define ENTRY_BUBBLE_SENT_BG_BORDER_INC 24 55 59 20 -#define ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC 22 -#define ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC 139 139 139 255 -#define ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC 139 139 139 255 -#define ENTRY_BUBBLE_GROUPCHAT_SIZE_INC 30 -#define ENTRY_BUBBLE_GROUPCHAT_COLOR_INC 139 139 139 255 - -/* not used in elm/entry/base-noedit/{read,sent}message */ -#define ENTRY_BUBBLE_EX_PAD 58 -#define ENTRY_BUBBLE_EX_CALLERID_PAD 178 -#define ENTRY_BUBBLE_IX_PAD 20 -#define ENTRY_BUBBLE_Y_PAD 15 -#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26 -#define ENTRY_BUBBLE_CALLERID_RELATIVE_INC 0.0 0.0 -#define ENTRY_BUBBLE_RECEV_CALLERID_REL_INC 1.0 0.0 -#define ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC "elm.rect.right.pad" -#define ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC "elm.rect.left.pad" -#define ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC "elm.rect.groupchat.text.pad" -#define ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 14 -#define ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC 0.0 1.0 -#define ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC 1.0 1.0 -#define ENTRY_BUBBLE_GROUPCHART_ENABLE_INC 1 -#define ENTRY_BUBBLE_GROUPCHART_PAD 36 30 -#define ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD 158 30 -#define ENTRY_BUBBLE_READ_STATUS_REL_INC 1.0 0.0 -#define ENTRY_BUBBLE_READ_TIME_REL_INC 1.0 1.0 - -#define ENTRY_SEARCH_ICON_MIN_MAX_INC 45 45 -#define ENTRY_SEARCH_ICON_CLIPPER_DEFAULT_COLOR_INC 128 128 128 255 -#define ENTRY_SEARCH_ICON_CLIPPER_DISABLED_COLOR_INC 191 191 191 255 -#define ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC 6 0 -#define ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC 16 0 - -#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255 -#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 250 250 250 255 -#define SLIDER_UNITS_TEXT_COLOR_INC 0 0 0 255 -#define SLIDER_UNITS_TEXT_SIZE_INC 30 -#define SLIDER_INDICATOR_TEXT_SIZE_INC 42 -#define SLIDER_BASE_HEIGHT_INC 34 -#define SLIDER_BASE_MIN_WIDTH_INC 375 -#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72 -#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74 -#define SLIDER_INDICATOR_IMAGE_BORDER_INC 32 32 32 32 -#define SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC 12 0 -#define SLIDER_INDICATOR_MAX_WIDTH_INC 90 -#define SLIDER_INDICATOR_WIDTH_INC 48 -#define SLIDER_INDICATOR_HEIGHT_INC 72 -#define SLIDER_ICON_CLIPPER_COLOR_INC 128 128 128 127 - -#define SLIDER_INDICATOR_POPUP_TEXT_COLOR_INC 250 250 250 255 -#define SLIDER_INDICATOR_POPUP_TEXT_SIZE_INC 72 -#define SLIDER_INDICATOR_POPUP_HEIGHT_INC 99 -#define SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC 90 -#define SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC 35 -#define SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC 18 99 -#define SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC 12 0 -#define SLIDER_INDICATOR_POPUP_LEFT_BG_BORDER_INC 16 0 0 0 -#define SLIDER_INDICATOR_POPUP_RIGHT_BG_BORDER_INC 0 16 0 0 - -#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#FAFAFA" -#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#FAFAFA" - -#define DATETIME_WIDGET_HEIGHT 74 -#define DATETIME_WIDGET_PADDING_SIZE_INC 16 74 -#define DATETIME_TEXT_FONT_SIZE_INC 36 - -#define DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC 40 40 40 255 -#define DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC 250 250 250 255 -#define DATETIME_LABEL_DATE_FIELD_MIN_WIDTH_INC 104 -#define DATETIME_LABEL_TIME_FIELD_MIN_WIDTH_INC 69 -#define DATETIME_LABEL_DATE_FIELD_HEIGHT_INC 48 - -#define DATETIME_POPUP_CONTENT_SIZE_INC 652 272 -#define DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 62 -#define DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 62 -#define DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 24 -#define DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC 28 -#define DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC 28 -#define DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 160 -#define DATETIME_POPUP_CONTENT_FIELD_HEIGHT_INC 100 -#define DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 252 -#define DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC 64 -#define DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC 0 0 0 255 - -#define DATETIME_POPUP_ENTRY_HEIGHT_INC 100 -#define DATETIME_POPUP_ENTRY_MIN_WIDTH_INC 84 -#define DATETIME_POPUP_ENTRY_TEXT_SIZE_INC 64 -#define DATETIME_POPUP_ENTRY_TEXT_COLOR_INC 0 0 0 255; - -#define SPINNER_UP_DOWN_IMAGE_SIZE_INC 84 58 -#define SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC 13 13 15 15 -#define SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC 54 54 -#define SPINNER_TEXT_HEIGHT_INC 100 -#define SPINNER_ENTRY_TEXT_SIZE_INC 64 -#define SPINNER_ENTRY_TEXT_COLOR_INC 0 0 0 255 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC 0 2 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC -1 1 -#define SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC 0 0 -#define SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC -1 -1 -#define SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC 250 250 250 255 -#define SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC 250 250 250 0 -#define SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC 40 40 40 255 -#define SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC 250 250 250 255 - -#define ENTRY_DATETIME_POPUP_TEXT_SIZE_INC 64 - -#define COLORSELECTOR_MIN_W_INC 688 -#define COLORSELECTOR_MIN_H_INC 336 -#define COLORSELECTOR_MAX_W_INC 1014 -#define COLORSELECTOR_COLORBAR_HEIGHT 112 -#define COLORSELECTOR_COLORBAR_LEFT_PADDING 122 -#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 122 -#define COLORSELECTOR_BUTTON_TOP_PADDING 19 -#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 120 -#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 120 -#define COLORSELECTOR_ARROW_MIN_WIDTH 27 -#define COLORSELECTOR_ARROW_MIN_HEIGHT 72 -#define COLORSELECTOR_ARROW_REL1_OFFSET 0 4 -#define COLORSELECTOR_ARROW_REL2_OFFSET 0 3 -#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80 -#define COLORSELECTOR_BUTTON_LEFT_PADDING 32 -#define COLORSELECTOR_BUTTON_RIGHT_PADDING 32 -#define COLORSELECTOR_BUTTON_WIDTH 74 -#define COLORSELECTOR_BUTTON_HEIGHT 74 -#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6 -#define COLORSELECTOR_PADDING_COLOR_TOP_INC 185 184 178 255 -#define COLORSELECTOR_PADDING_COLOR_BOTTOM_INC 225 223 218 255 - -#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86 -#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86 -#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84 -#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84 -#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "50" -#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "20" -#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36" -#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0" -#define COLORSELECTOR_PALETTE_BORDER_INC 13 13 13 13 - -#define TICKERNOTI_TEXT_COLOR_INC 250 250 250 255 -#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 100 -#define TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC 100 -#define TICKERNOTI_DEFAULT_BG_BORDER_INC 8 8 8 8 -#define TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC 16 18 -#define TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC 16 18 -#define TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC 16 0 -#define TICKERNOTI_DEFAULT_TEXT_MIN_INC 0 60 -#define TICKERNOTI_DEFAULT_BUTTON_MIN_INC 154 74 -#define TICKERNOTI_DEFAULT_BUTTON_MAX_INC 154 74 -#define TICKERNOTI_DEFAULT_ICON_MIN_INC 66 66 -#define TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC 16 0 -#define TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC 30 -#define TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC 24 -#define TICKERNOTI_INFO_BG_MIN_HEIGHT_INC 60 -#define TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC 8 5 -#define TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC 8 5 -#define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0 -#define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28 -#define TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC 0 64 - -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 18 72 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 18 99999 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 72 18 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 18 -#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_PADDING_SIZE 6 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0 -#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar_v.png" -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar_h.png" -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 0 0 12 14 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 12 14 0 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0 -#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 36 234 -#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 234 36 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 36 37 -#define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 37 36 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10 -#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10 - -#define TOOLBAR_ITEM_BG_DEFAULT_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_BG_PRESSED_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_TAB_FOCUS_BORDER_INC 8 8 8 8 -#define TOOLBAR_ITEM_TEXTBLOCK_COLOR_INC "#3A3A3A" -#define TOOLBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC "#FAFAFA" -#define TOOLBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC "#FAFAFA" -#define TOOLBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC "#000000" -#define TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 60 -#define TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 40 -#define TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 20 -#define TOOLBAR_ITEM_DIVIDER_SIZE 2 78 -#define TOOLBAR_ITEM_DIVIDER_LEFT_COLOR_INC 140 140 140 255 -#define TOOLBAR_ITEM_DIVIDER_RIGHT_COLOR_INC 140 140 140 255 - -#define TABBAR_ITEM_TAB_SELECT_BAR_BORDER_INC 1 1 1 1 -#define TABBAR_ITEM_TAB_PRESS_BORDER_INC 0 0 8 0 -#define TABBAR_ITEM_TAB_FOCUS_BORDER_INC 8 8 8 8 -#define TABBAR_ITEM_TEXTBLOCK_COLOR_INC "#282828" -#define TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC "#0E68AD" -#define TABBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC "#FAFAFA" -#define TABBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC "#FAFAFA" -#define TABBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC "#000000" -#define TABBAR_ITEM_DEFAULT_ICON_COLOR_INC 255 255 255 255 -#define TABBAR_ITEM_ICON_COLOR_INC 40 40 40 255 -#define TABBAR_ITEM_SELECTED_ICON_COLOR_INC 14 104 173 255 -#define TABBAR_ITEM_PRESSED_ICON_COLOR_INC 250 250 250 255 -#define TABBAR_ITEM_DISABLED_ICON_COLOR_INC 85 85 85 255 -#define TABBAR_ITEM_ICON_SHADOW_COLOR_INC 250 250 250 255 -#define TABBAR_ITEM_PRESSED_ICON_SHADOW_COLOR_INC 0 0 0 255 -#define TABBAR_ITEM_BG_DEFAULT_BORDER_INC 8 8 35 35 -#define TABBAR_ITEM_BG_DEFAULT_VISIBLE_INC 0 -#define TABBAR_DEFAULT_HEIGHT_INC 126 -#define TABBAR_ICON_TEXT_HEIGHT_INC 126 -#define TABBAR_HORIZONTAL_HEIGHT_INC 75 -#define TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC 75 -#define TABBAR_ITEM_ICON_SIZE_INC 63 63 -#define TABBAR_BADGE_TEXT_COLOR_INC 250 250 250 255 -#define TABBAR_BADGE_BG_IMAGE_BORDER_INC 26 26 0 0 -#define TABBAR_BADGE_ONE_ITEM_PADDING_SIZE 10 10 -#define TABBAR_BADGE_TWO_ITEMS_PADDING_SIZE 6 10 -#define TABBAR_BADGE_THREE_ITEMS_PADDING_SIZE 4 10 -#define TABBAR_ITEM_DIVIDER_SIZE 2 88 -#define TABBAR_ITEM_WITH_TITLE_DIVIDER_SIZE 2 48 -#define TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC 138 138 138 255 -#define TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC 138 138 138 255 - -#define CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC 52 52 50 255 -#define CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC 0 0 0 125 -#define CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC 0 0 0 0 - -#define TTS_FOCUS_BORDER 6 6 6 6 diff --git a/mobile/themes/sounds/List_reorder.wav b/mobile/themes/sounds/List_reorder.wav deleted file mode 100755 index 5ab6958..0000000 Binary files a/mobile/themes/sounds/List_reorder.wav and /dev/null differ diff --git a/mobile/themes/sounds/Slider_sweep.wav b/mobile/themes/sounds/Slider_sweep.wav deleted file mode 100755 index 11b657c..0000000 Binary files a/mobile/themes/sounds/Slider_sweep.wav and /dev/null differ diff --git a/mobile/themes/tizen.edc b/mobile/themes/tizen.edc deleted file mode 100644 index 2712f3c..0000000 --- a/mobile/themes/tizen.edc +++ /dev/null @@ -1,176 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - -// theme configuration file for each theme (tizen, tizen-black, ...) -#include TIZEN_TMP_INC - -#define INDICATOR_H 27 -#define CONTROLBAR_LARGE_H 78 -#define CONTROLBAR_SMALL_H 65 -#define CONTROLBAR_W 78 -#define SOFTKEY_H 72 -#define SEGMENT_H 50 -#define PART_RECT(NAME, REFER_PART, COLOR) \ - part { name: NAME; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1.to: REFER_PART; \ - rel2.to: REFER_PART; \ - color: COLOR; \ - } \ - } - -externals { - external: "elm"; -} - -collections { - sounds { - sample { - name: "touch_sound" RAW; - source: "Tizen_Touch.wav"; - } - } - sounds { - sample { - name: "sweep_sound" RAW; - source: "Slider_sweep.wav"; - } - } - sounds { - sample { - name: "reorder_sound" RAW; - source: "List_reorder.wav"; - } - } -#include "widgets/access.edc" -#include "widgets/badge.edc" -#include "widgets/bg.edc" -#include "widgets/bubble.edc" -#include "widgets/button.edc" -#include "widgets/check.edc" -#include "widgets/colorselector.edc" -#include "widgets/conformant.edc" -#include "widgets/ctxpopup.edc" -#include "widgets/datetime.edc" -#include "widgets/diskselector.edc" -#include "widgets/entry.edc" -#include "widgets/gengrid.edc" -#include "widgets/scroller.edc" -#include "widgets/genlist/genlist.edc" // include scroller first -#include "widgets/index.edc" -#include "widgets/label.edc" -#include "widgets/layout.edc" -#include "widgets/map.edc" -#include "widgets/multibuttonentry.edc" -#include "widgets/naviframe.edc" -#include "widgets/notify.edc" -#include "widgets/panes.edc" -#include "widgets/photocam.edc" -#include "widgets/popup.edc" -#include "widgets/progressbar.edc" -#include "widgets/radio.edc" -#include "widgets/segmentedcontrol.edc" -#include "widgets/selectioninfo.edc" -#include "widgets/slider.edc" -#include "widgets/tickernoti.edc" -#include "widgets/toolbar.edc" - - - group { name: "elm/focus_highlight/top/default"; - images { - image: "00_focus.png" COMP; - } - data { - item: "animate" "off"; - } - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - visible: 0; - } - } - part { name: "shine"; - type: IMAGE; - mouse_events: 0; - repeat_events: 1; - ignore_flags: ON_HOLD; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.offset: -4 -4; - rel2.offset: 4 4; - image { - normal: "00_focus.png"; - border: 7 7 7 7; - border_scale: 1; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,focus,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "shine"; - after: "show_end"; - } - program { name: "show_end"; - action: SIGNAL_EMIT "elm,action,focus,show,end" ""; - } - program { name: "hide"; - signal: "elm,action,focus,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "shine"; - after: "hide_end"; - } - program { name: "hide_end"; - action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; - } - } - } -} - diff --git a/mobile/themes/widgets/access.edc b/mobile/themes/widgets/access.edc deleted file mode 100644 index 1b4dc87..0000000 --- a/mobile/themes/widgets/access.edc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////////////// -// -// access -// -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/access/base/default"; - images { - image: "B16-8_TTS_focus.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "B16-8_TTS_focus.png"; - border: TTS_FOCUS_BORDER; - border_scale: 1; - } - } - } - } - } diff --git a/mobile/themes/widgets/badge.edc b/mobile/themes/widgets/badge.edc deleted file mode 100644 index 278ef48..0000000 --- a/mobile/themes/widgets/badge.edc +++ /dev/null @@ -1,133 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -group -{ - name: "elm/icon_badge/base/default"; - - images { - image : "00_badge_bg.png" COMP; - } - - parts { - part { name: "elm.image.badge"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 54 54; - fixed: 1 1; - rel1 { - to: "left.padding.text"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text"; - relative: 1.0 1.0; - } - image { - normal: "00_badge_bg.png"; - border: 29 24 0 0; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "left.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 13 54; - rel1 { - to: "elm.text.badge"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.text.badge"; - relative: 0.0 1.0; - } - align: 1.0 1.0; - } - } - part { name: "right.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 8 54; - rel1 { - to: "elm.image.badge"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.image.badge"; - relative: 1.0 0.0; - } - align: 1.0 1.0; - } - } - part { name: "elm.text.badge"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to: "right.padding.text"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text"; - relative: 0.0 1.0; - } - min: 25 0; - fixed: 1 0; - align: 1.0 0.5; - color: 10 100 208 255; - text { - font: "Tizen:style=Bold"; - size: 26; - min: 1 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } -} - diff --git a/mobile/themes/widgets/bg.edc b/mobile/themes/widgets/bg.edc deleted file mode 100644 index d111d80..0000000 --- a/mobile/themes/widgets/bg.edc +++ /dev/null @@ -1,136 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/bg/base/default"; - parts { - part { name: "base"; - type: RECT; - description { state: "default" 0.0; - color: BG_DEFAULT_COLOR_INC; - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } - } -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/bg/base/list"; - alias: "elm/bg/base/group_list"; - parts { - part { name: "base"; - type: RECT; - description { state: "default" 0.0; - color: BG_GROUP_LIST_COLOR_INC; - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } - } -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/bg/base/edit_mode"; - parts { - part { name: "base"; - type: RECT; - description { state: "default" 0.0; - color: BG_EDIT_MODE_COLOR_INC; - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/bg/base/transparent"; - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: BG_TRANSPARENT_COLOR_INC; - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } - } diff --git a/mobile/themes/widgets/bubble.edc b/mobile/themes/widgets/bubble.edc deleted file mode 100644 index ccc769e..0000000 --- a/mobile/themes/widgets/bubble.edc +++ /dev/null @@ -1,827 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define BUBBLE_WIDTH 380 - -#define BUBBLE_DATE_PAD 15 -#define BUBBLE_DATE_HEIGHT 30 - -#define BUBBLE_TOP_PAD 10 -#define BUBBLE_RIGHT_PAD 15 -#define BUBBLE_ICON_PAD 6 - -images { - image: "00_messagebubble_bg_receive.png" COMP; - image: "00_messagebubble_bg_sent.png" COMP; -} - -// deprecated style -group { - name: "elm/bubble/base/default"; - alias: "elm/bubble/base/readmessage"; - - parts { - part { - name: "elm.rect.left.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: BUBBLE_DATE_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 0.0 0.0; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT; - fixed: 1 1; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 BUBBLE_TOP_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.left.pad"; } - rel2 { relative: 1.0 1.0; to_y: "elm.rect.left.pad"; } - } - } - part { - name: "elm.rect.right.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: BUBBLE_RIGHT_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "elm.swallow.content"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 BUBBLE_TOP_PAD; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; } - rel2 { relative: 1.0 1.0; } - } - } - part { - name: "elm.rect.icon.top.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: 0 BUBBLE_ICON_PAD; - fixed: 0 1; - } - } - part { - name: "elm.rect.icon.bottom.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: 0 BUBBLE_ICON_PAD; - fixed: 0 1; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - text { - font: "Tizen:style=Roman"; - size: 14; - min: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: 76 75 73 255; - rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; } - rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - image { - normal: "00_messagebubble_bg_receive.png"; - border: 1 11 7 12; - border_scale: 1; - } - } - } - part { - name: "elm.rect.bg.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "elm.image.bg"; } - rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; } - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; } - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.0; - rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; } - rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; } - } - description { - state: "expand" 0.0; - inherit : "default" 0.0; - min: 0 50; //default height of icon - fixed: 0 1; - } - } - part { - name: "elm.swallow.sweep"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; } - rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; } - } - } - /*part { - name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - color: 0 0 0 64; - text { - font: "Helvetica_:style=Bold"; - size: 16; - min: 1 1; - max: 1 1; - align: 1.0 0.0; - } - } - }*/ - } - programs { - program { - name: "text_add"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "expand" 0.0; - target: "elm.rect.left.pad"; - target: "elm.text"; - } - program { - name: "text_del"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.left.pad"; - target: "elm.text"; - } - program { - name: "icon_add"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "expand" 0.0; - target: "elm.rect.icon.top.pad"; - target: "elm.swallow.icon"; - target: "elm.rect.icon.bottom.pad"; - } - program { - name: "icon_del"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.icon.top.pad"; - target: "elm.swallow.icon"; - target: "elm.rect.icon.bottom.pad"; - } - } -} - -// deprecated style -group { - name: "elm/bubble/base/sentmessage"; - - parts { - part { - name: "elm.rect.right.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: BUBBLE_DATE_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT; - fixed: 1 1; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 BUBBLE_TOP_PAD; - fixed: 0 1; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; } - rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; } - } - } - part { - name: "elm.rect.left.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: BUBBLE_RIGHT_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; } - rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; } - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 BUBBLE_TOP_PAD; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; } - rel2 { relative: 1.0 1.0; } - } - } - part { - name: "elm.rect.icon.top.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: 0 BUBBLE_ICON_PAD; - fixed: 0 1; - } - } - part { - name: "elm.rect.icon.bottom.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - min: 0 BUBBLE_ICON_PAD; - fixed: 0 1; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - text { - font: "Tizen:style=Roman"; - size: 14; - min: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: 76 75 73 255; - rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; } - rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; } - } - description { - state: "expand" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - image { - normal: "00_messagebubble_bg_sent.png"; - border: 11 1 7 12; - border_scale: 1; - } - } - } - part { - name: "elm.rect.bg.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; } - rel2 { relative: 0.0 1.0; to: "elm.image.bg"; } - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; } - rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; } - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 0 0; - align: 1.0 0.0; - rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; } - rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; } - } - description { - state: "expand" 0.0; - inherit : "default" 0.0; - min: 0 50; //default height of icon - fixed: 0 1; - } - } - part { - name: "elm.swallow.sweep"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; } - rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; } - } - } - /*part { - name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - color: 0 0 0 64; - text { - font: "Helvetica_:style=Bold"; - size: 16; - min: 1 1; - max: 1 1; - align: 1.0 0.0; - } - } - }*/ - } - programs { - program { - name: "text_add"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "expand" 0.0; - target: "elm.rect.right.pad"; - target: "elm.text"; - } - program { - name: "text_del"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.right.pad"; - target: "elm.text"; - } - program { - name: "icon_add"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "expand" 0.0; - target: "elm.rect.icon.top.pad"; - target: "elm.swallow.icon"; - target: "elm.rect.icon.bottom.pad"; - } - program { - name: "icon_del"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.icon.top.pad"; - target: "elm.swallow.icon"; - target: "elm.rect.icon.bottom.pad"; - } - } -} - - group { name: "elm/layout/bubble/readmessage/default"; - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.select_icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: BUBBLE_LAYOUT_SELECT_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.swallow.select_icon"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "elm.select_icon.pad"; - to_y: "elm.icon"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.select_icon.pad"; - to_y: "elm.icon"; - relative: 1.0 1.0; - } - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - } - description { state: "selectview" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.icon"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2 { - to: "elm.bottom.pad"; - relative: 1.0 0.0; - } - align: 0.0 0.0; - fixed: 1 0; - } - description { state: "selectview" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.select_icon"; - relative: 1.0 0.0; - } - } - } - part { name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 1.0; - align: 0.5 1.0; - min: 0 BUBBLE_LAYOUT_BOTTOM_PAD; - fixed: 0 1; - visible: 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUBBLE_DISCLIP_COLOR; - } - } - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { name: "go_defaultview"; - signal: "elm,state,select,disable"; - source: "elm"; - action: STATE_SET "default" 0.0; - //transition: DECELERATE 0.7; - target: "elm.swallow.select_icon"; - target: "elm.icon"; - } - program { name: "go_selectview"; - signal: "elm,state,select,enable"; - source: "elm"; - action: STATE_SET "selectview" 0.0; - transition: DECELERATE 0.7; - target: "elm.swallow.select_icon"; - target: "elm.icon"; - } - } - } - - group { name: "elm/layout/bubble/sentmessage/default"; - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.select_icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: BUBBLE_LAYOUT_SELECT_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.swallow.select_icon"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "elm.select_icon.pad"; - to_y: "elm.icon"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.select_icon.pad"; - to_y: "elm.icon"; - relative: 1.0 1.0; - } - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - } - description { state: "selectview" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.icon"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2 { - to: "elm.bottom.pad"; - relative: 1.0 0.0; - } - align: 0.0 0.0; - fixed: 1 0; - } - description { state: "selectview" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.select_icon"; - relative: 1.0 0.0; - } - } - } - part { name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 1.0; - align: 0.5 1.0; - min: 0 BUBBLE_LAYOUT_BOTTOM_PAD; - fixed: 0 1; - visible: 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUBBLE_DISCLIP_COLOR; - } - } - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { name: "go_defaultview"; - signal: "elm,state,select,disable"; - source: "elm"; - action: STATE_SET "default" 0.0; - //transition: DECELERATE 0.7; - target: "elm.swallow.select_icon"; - target: "elm.icon"; - } - program { name: "go_selectview"; - signal: "elm,state,select,enable"; - source: "elm"; - action: STATE_SET "selectview" 0.0; - transition: DECELERATE 0.7; - target: "elm.swallow.select_icon"; - target: "elm.icon"; - } - } - } - - group { name: "elm/layout/bubble/seperator/default"; - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: 0 GENLIST_PADDING_24_INC; - color: 0 0 0 0; - } - } - } - } - diff --git a/mobile/themes/widgets/button.edc b/mobile/themes/widgets/button.edc deleted file mode 100644 index c2a0479..0000000 --- a/mobile/themes/widgets/button.edc +++ /dev/null @@ -1,5927 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define BUTTON_STATE_ENABLED 0 -#define BUTTON_STATE_DISABLED 1 -#define BUTTON_LANDSCAPE_DISABLED 0 -#define BUTTON_LANDSCAPE_ENABLED 1 - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/style1"; - alias: "elm/button/base/text_only/style1"; - alias: "elm/button/base/center"; - alias: "elm/button/base/icon_and_text/center"; - alias: "elm/button/base/nocontents/search_button"; - alias: "elm/button/base/style1/multiline"; - alias: "elm/button/base/style2"; - alias: "elm/button/base/text_only/style2"; - alias: "elm/button/base/style2/multiline"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_button_01.png" COMP; - image: "00_button_01_press.png" COMP; - image: "00_button_01_dim.png" COMP; - image: "00_button_01_focus.png" COMP; - } - styles{ - style { name: "btn_base_style1"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public button_state = BUTTON_STATE_ENABLED; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "00_button_01.png"; - border: BUTTON_TEXT_STYLE1_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_button_01_focus.png"; - border: BUTTON_TEXT_STYLE1_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_TEXT_STYLE1_BG_MIN_INC; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - min: BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "icon_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - fixed: 1 0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - align: 0.0 0.5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; - max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_after_icon"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "icon_rect"; - } - rel2.to: "icon_rect"; - fixed: 1 0; - min: 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_before_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 1.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "elm.text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.text"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 0; - min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; - max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC; - align: 1.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "padding_before_text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "padding_before_text"; - to_y: "padding_right_bottom"; - } - } - description { state: "icononly" 0.0; - min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; - max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC; - } - } - part { name: "elm.swallow.content.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.swallow.content.shadow.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_STYLE1_NORMAL_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_STYLE1_NORMAL_BOTTOM_OFFSET_INC; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_STYLE1_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_STYLE1_PRESSED_BOTTOM_OFFSET_INC; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content.proxy"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - } - } - part { name: "elm.swallow.content.shadow.clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_STYLE1_SHADOW_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_STYLE1_SHADOW_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_STYLE1_SHADOW_DISABLED_COLOR_INC; - } - } - part { name: "icon_clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_STYLE1_ICON_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_STYLE1_ICON_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_STYLE1_ICON_DISABLED_COLOR_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_style1"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_focus"; - } - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - after: "text_clicked"; - } - program { name: "text_clicked"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (strcmp(st, "icononly")) - { - emit("elm,action,default,text,set", ""); - set_state(PART:"elm.text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"button_image", "default", 0.0); - set_state(PART:"elm.swallow.content.shadow.proxy", "default", 0.0); - set_state(PART:"elm.swallow.content.shadow.clipper", "default", 0.0); - set_state(PART:"icon_clipper", "default", 0.0); - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - set_state(PART:"bg", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - set_state(PART:"bg", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - set_state(PART:"bg", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - set_state(PART:"bg", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "padding_after_icon"; - target: "icon_rect"; - target: "bg"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "disabler"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(button_state, BUTTON_STATE_DISABLED); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(button_state, BUTTON_STATE_ENABLED); - } - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -////////////////////////////////////////////////////////////// - group { name: "elm/button/base/style1/auto_expand"; - inherit: "elm/button/base/style1"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_style1"; - min: 1 0; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_focus"; - } - } - } - } - } - -////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/datetime/ampm"; - alias: "elm/button/base/datetime_ampm"; - inherit: "elm/button/base/style1/auto_expand"; - styles{ - style { name: "btn_base_ampm"; - base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_ampm_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_ampm_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_ampm_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_DATETIME_AMPM_TEXT_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "00_button_01.png"; - border: BUTTON_TEXT_STYLE1_BG_BORDER_INC; - border_scale: 1; - } - min: BUTTON_DATETIME_AMPM_BG_MIN_INC; - max: BUTTON_DATETIME_AMPM_BG_MIN_INC; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_DATETIME_AMPM_BG_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - text { - style: "btn_base_ampm"; - min: 1 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "visible" 0.0; - text { - style: "btn_base_ampm_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "visible" 0.0; - text { - style: "btn_base_ampm_dim"; - } - } - description { state: "focused" 0.0; - inherit: "visible" 0.0; - text { - style: "btn_base_ampm_focus"; - } - } - } - } - } - -////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/sweep"; - alias: "elm/button/base/text_only/sweep"; - alias: "elm/button/base/hidden"; - alias: "elm/button/base/sweep/multiline"; - inherit: "elm/button/base/style1"; - styles{ - style { name: "btn_base_sweep"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_sweep"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_focus"; - } - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/style1/delete"; - alias: "elm/button/base/sweep/delete"; - alias: "elm/button/base/sweep/delete/multiline"; - inherit: "elm/button/base/style1"; - images { - image: "00_button_01_delete.png" COMP; - image: "00_button_01_delete_dim.png" COMP; - image: "00_button_01_delete_press.png" COMP; - } - styles{ - style { name: "btn_base_style1_delete"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_delete_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_delete_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_style1_delete_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_DELETE_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "00_button_01_delete.png"; - border: BUTTON_TEXT_STYLE1_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_press.png"; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_style1_delete"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_delete_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_delete_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_style1_delete_focus"; - } - } - } - } - } - -////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/sweep/delete"; - alias: "elm/button/base/sweep/delete/multiline"; - inherit: "elm/button/base/style1/delete"; - styles{ - style { name: "btn_base_sweep_delete"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_delete_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_delete_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SWEEP_BUTTON_SHADOW_TEXTBLOCK_DELETE_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_sweep_delete_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_STYLE1_FONT_SIZE_INC" align=center color="BUTTON_TEXT_STYLE1_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_sweep_delete"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_delete_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_delete_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_sweep_delete_focus"; - } - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/search_button/text"; - alias: "elm/button/base/searchbar/default"; - inherit: "elm/button/base/style1"; - styles{ - style { name: "btn_base_search"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_SHADOW_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_BG_MIN_INC; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_search"; - min: 0 0; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_focus"; - } - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/search_button/send"; - inherit: "elm/button/base/style1"; - images { - image: "00_button_01_send.png" COMP; - image: "00_button_01_send_dim.png" COMP; - image: "00_button_01_send_press.png" COMP; - } - styles{ - style { name: "btn_base_search_send"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_send_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_send_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_SHADOW_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_send_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_SEND_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "00_button_01_send.png"; - border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_send_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_send_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_send_press.png"; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_BG_MIN_INC; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_search_send"; - min: 0 0; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_send_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_send_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_send_focus"; - } - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/search_button/cancel"; - inherit: "elm/button/base/style1"; - images { - image: "00_button_01_delete.png" COMP; - image: "00_button_01_delete_dim.png" COMP; - image: "00_button_01_delete_press.png" COMP; - } - styles{ - style { name: "btn_base_search_cancel"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_cancel_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_cancel_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_SHADOW_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_search_cancel_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_SEARCH_BUTTON_TEXT_FONT_SIZE_INC" align=center color="BUTTON_SEARCH_BUTTON_CANCEL_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "00_button_01_delete.png"; - border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_delete_press.png"; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_BG_MIN_INC; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_VISIBLE_BG_MIN_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - min: BUTTON_SEARCH_BUTTON_ICONONLY_BG_MIN_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_after_icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_search_cancel"; - min: 0 0; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_cancel_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_cancel_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_search_cancel_focus"; - } - } - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/popup_button/default"; - alias: "elm/button/base/popup_button/menustyle"; - alias: "elm/button/base/popup_button/liststyle"; - alias: "elm/button/base/popup_button/volumebarstyle"; - alias: "elm/button/base/popup_button/customstyle"; - alias: "elm/button/base/popup_button/verticalbuttonstyle"; - alias: "elm/button/base/popup_button/default/multiline"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_popup_button.png" COMP; - image: "00_popup_button_dim.png" COMP; - image: "00_popup_button_press.png" COMP; - image: "00_popup_button_focus.png" COMP; - } - styles{ - style { name: "btn_base_popup_button"; - base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color="BUTTON_POPUP_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_popup_button_pressed"; - base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color="BUTTON_POPUP_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_popup_button_dim"; - base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color="BUTTON_POPUP_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_POPUP_BUTTON_SHADOW_TEXTBLOCK_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_popup_button_focus"; - base: "font=Tizen:style=Bold font_size="BUTTON_POPUP_TEXT_FONT_SIZE_INC" align=center color="BUTTON_POPUP_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public button_state = BUTTON_STATE_ENABLED; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_POPUP_BG_NORMAL_MIN_INC; - image { - normal: "00_popup_button.png"; - border: BUTTON_POPUP_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_popup_button_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_popup_button_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_popup_button_focus.png"; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_popup_button_focus.png"; - border: BUTTON_POPUP_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_POPUP_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - rel1.relative: 1.0 1.0; - min: BUTTON_POPUP_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "padding_icon_text"; - type: RECT; - scale: 1; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2.to: "elm.swallow.content"; - fixed: 1 0; - min: 0 0; - visible: 0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - min: BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - min: BUTTON_POPUP_ICON_ICONONLY_MIN_INC; - visible: 1; - align: 0.5 0.5; - } - } - part { name: "elm.swallow.content.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.swallow.content.shadow.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_POPUP_NORMAL_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_POPUP_NORMAL_BOTTOM_OFFSET_INC; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_POPUP_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_POPUP_PRESSED_BOTTOM_OFFSET_INC; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content.proxy"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - } - } - part { name: "elm.swallow.content.shadow.clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_POPUP_SHADOW_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_POPUP_SHADOW_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_POPUP_SHADOW_DISABLED_COLOR_INC; - } - } - part { name: "icon_clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_POPUP_ICON_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_POPUP_ICON_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_POPUP_ICON_DISABLED_COLOR_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_icon_text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_popup_button"; - min: 0 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: BUTTON_POPUP_TEXT_MIN_INC; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_popup_button_pressed"; - min: 0 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_popup_button_dim"; - } - min: BUTTON_POPUP_TEXT_MIN_INC; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_popup_button_dim"; - min: 0 0; - } - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - after: "text_clicked"; - } - program { name: "text_clicked"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (strcmp(st, "icononly")) - { - emit("elm,action,default,text,set", ""); - set_state(PART:"elm.text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"button_image", "default", 0.0); - set_state(PART:"elm.swallow.content.shadow.proxy", "default", 0.0); - set_state(PART:"elm.swallow.content.shadow.clipper", "default", 0.0); - set_state(PART:"icon_clipper", "default", 0.0); - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "padding_icon_text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(button_state, BUTTON_STATE_DISABLED); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "elm.swallow.content.shadow.proxy"; - target: "elm.swallow.content.shadow.clipper"; - target: "icon_clipper"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(button_state, BUTTON_STATE_ENABLED); - } - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// -#define BUTTON_CIRCLE_STYLES(style_name, image_normal, min_width, min_height) \ - group { name: "elm/button/base/"style_name; \ - data { \ - item: "focus_highlight" "on"; \ - } \ - images { \ - image: "00_circle_button.png" COMP; \ - image: "00_circle_button_press.png" COMP; \ - image: "00_circle_button_dim.png" COMP; \ - image: image_normal COMP; \ - image: 00_circle_button_focus.png COMP; \ - } \ - parts { \ - part { name: "button_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - image.normal: "00_circle_button.png"; \ - } \ - description { \ - state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_press.png"; \ - } \ - description { \ - state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_dim.png"; \ - } \ - } \ - part { name: "left_top_padding"; \ - scale: 1; \ - type: SPACER; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; \ - fixed: 1 1; \ - align: 0.0 0.0; \ - rel1.to: "button_image"; \ - rel2.to: "button_image"; \ - } \ - } \ - part { name: "right_bottom_padding"; \ - scale: 1; \ - type: SPACER; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; \ - fixed: 1 1; \ - align: 1.0 1.0; \ - rel1 { \ - relative: 1.0 1.0; \ - to: "button_image"; \ - } \ - rel2.to: "button_image"; \ - } \ - } \ - part { name: "button_center_part"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ - image.normal: image_normal; \ - rel1 { \ - relative: 1.0 1.0; \ - to: "left_top_padding"; \ - } \ - rel2 { \ - relative: 0.0 0.0; \ - to: "right_bottom_padding"; \ - } \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: PROXY; \ - clip_to: "elm.icon.proxy.clipper"; \ - scale: 1; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.swallow.icon.proxy"; \ - type: PROXY; \ - scale: 1; \ - clip_to: "icon_clipper"; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1.to: "button_center_part"; \ - rel2.to: "button_center_part"; \ - } \ - }\ - part { name: "elm.icon.proxy.clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "icon_clipper"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - visible: 0; \ - rel1.to : "button_image"; \ - rel2.to : "button_image"; \ - image { \ - normal: "00_circle_button_focus.png"; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: min_width min_height; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over1"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_click_anim"; \ - } \ - program { name: "button_click_anim"; \ - action: STATE_SET "clicked" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "button_double_click"; \ - signal: "mouse,down,1,double"; \ - source: "over1"; \ - after: "button_click_anim"; \ - } \ - program { name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - after: "button_unclick_anim"; \ - } \ - program { name: "button_unclick_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "touch_snd"; \ - signal: "mouse,clicked,1"; \ - source: "over1"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - after: button_unclick3; \ - } \ - program { name: "button_unclick3"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "action_focus"; \ - signal: "elm,action,focus_highlight,show"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_image"; \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,action,focus_highlight,hide"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_image"; \ - } \ - } \ - } - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("reveal","00_button_right.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("reveal/extended", "00_button_right.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("expand/closed", "00_button_expand_closed.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("expand/closed/extended", "00_button_expand_closed.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("expand/opened", "00_button_expand_opened.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("expand/opened/extended", "00_button_expand_opened.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("info", "00_button_info.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("info/extended", "00_button_info.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("rename", "00_button_rename.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("rename/extended", "00_button_rename.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("call", "00_button_call.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("call/extended", "00_button_call.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("plus", "00_button_add.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("plus/extended", "00_button_add.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("minus", "00_button_delete.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("minus/extended", "00_button_delete.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("cancel", "00_button_expand_cancel.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("cancel/extended", "00_button_expand_cancel.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("send", "00_button_expand_send.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("send/extended", "00_button_expand_send.png", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) -/////////////////////////////////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_STYLES("contact", "00_button_contact.png", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) -/////////////////////////////////////////////////////////////////////////////////////// - -#define BUTTON_CIRCLE_WARNING_STYLES(style_name, min_width, min_height) \ - group { name: "elm/button/base/"style_name; \ - inherit: "elm/button/base/info"; \ - images { \ - image: "00_circle_button_delete.png" COMP; \ - image: "00_circle_button_delete_press.png" COMP; \ - image: "00_circle_button_delete_dim.png" COMP; \ - image: "00_button_warning.png" COMP; \ - } \ - parts { \ - part { name: "button_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - image.normal: "00_circle_button_delete.png"; \ - } \ - description { \ - state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_delete_press.png"; \ - } \ - description { \ - state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_delete_dim.png"; \ - } \ - } \ - part { name: "button_center_part"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC; \ - image.normal: "00_button_warning.png"; \ - rel1 { \ - relative: 1.0 1.0; \ - to: "left_top_padding"; \ - } \ - rel2 { \ - relative: 0.0 0.0; \ - to: "right_bottom_padding"; \ - } \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: PROXY; \ - clip_to: "elm.icon.proxy.clipper"; \ - scale: 1; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_WARNING_STYLE_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_WARNING_STYLE_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_WARNING_STYLE_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_WARNING_STYLE_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.icon.proxy.clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_WARNING_STYLE_CLIPPER_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_WARNING_STYLE_CLIPPER_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_WARNING_STYLE_CLIPPER_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "icon_clipper"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_WARNING_STYLE_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_WARNING_STYLE_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_WARNING_STYLE_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: min_width min_height; \ - } \ - } \ - } \ - } - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_WARNING_STYLES("warning", BUTTON_CIRCLE_NORMAL_MIN_WIDTH_INC, BUTTON_CIRCLE_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_CIRCLE_WARNING_STYLES("warning/extended", BUTTON_CIRCLE_EXTENEDED_MIN_WIDTH_INC, BUTTON_CIRCLE_EXTENEDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/circle/empty"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_circle_button.png" COMP; - image: "00_circle_button_press.png" COMP; - image: "00_circle_button_dim.png" COMP; - image: 00_circle_button_focus.png COMP; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - fixed: 1 1; - image.normal: "00_circle_button.png"; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_circle_button_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_circle_button_dim.png"; - } - } - part { name: "left_top_padding"; - scale: 1; - type: SPACER; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - } - } - part { name: "right_bottom_padding"; - scale: 1; - type: SPACER; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - to: "button_image"; - } - rel2.to: "button_image"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "right_bottom_padding"; - } - } - } - part { name: "elm.swallow.icon.shadow.proxy"; - type: PROXY; - clip_to: "elm.icon.proxy.clipper"; - scale: 1; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.content"; - offset: BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "elm.swallow.content"; - offset: BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.icon.proxy"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - } - } - part { name: "elm.icon.proxy.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "icon_clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_circle_button_focus.png"; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "over1"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "elm.swallow.icon.shadow.proxy"; - target: "elm.icon.proxy.clipper"; - target: "icon_clipper"; - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over1"; - after: "button_click_anim"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over1"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick2; - } - program { name: "button_unclick2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "elm.swallow.icon.shadow.proxy"; - target: "elm.icon.proxy.clipper"; - target: "icon_clipper"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "button_image"; - target: "elm.swallow.icon.shadow.proxy"; - target: "elm.icon.proxy.clipper"; - target: "icon_clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "button_image"; - target: "elm.swallow.icon.shadow.proxy"; - target: "elm.icon.proxy.clipper"; - target: "icon_clipper"; - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// -#define BUTTON_EDIT_STYLES(style_name, image_normal, min_width, min_height) \ - group { name: "elm/button/base/contacts/"style_name; \ - alias: "elm/button/base/"style_name; \ - data { \ - item: "focus_highlight" "on"; \ - } \ - images { \ - image: "00_circle_button.png" COMP; \ - image: "00_circle_button_press.png" COMP; \ - image: "00_circle_button_dim.png" COMP; \ - image: image_normal COMP; \ - image: 00_circle_button_focus.png COMP;\ - } \ - parts { \ - part { name: "button_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ - max: BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC; \ - image.normal: "00_circle_button.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_press.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_dim.png"; \ - } \ - } \ - part { name: "button_center_part"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ - max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ - image.normal: image_normal; \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: PROXY; \ - clip_to: "elm.icon.proxy.clipper"; \ - scale: 1; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_EDIT_STYLE_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_EDIT_STYLE_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_EDIT_STYLE_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_EDIT_STYLE_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.swallow.icon.proxy"; \ - type: PROXY; \ - scale: 1; \ - clip_to: "icon_clipper"; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1.to: "button_center_part"; \ - rel2.to: "button_center_part"; \ - } \ - }\ - part { name: "elm.icon.proxy.clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_EDIT_STYLE_CLIPPER_DEFAULT_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_EDIT_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_EDIT_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "icon_clipper"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_EDIT_STYLE_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_EDIT_STYLE_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_EDIT_STYLE_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; \ - visible: 0; \ - rel1.to : "button_image"; \ - rel2.to : "button_image"; \ - image { \ - normal: "00_circle_button_focus.png"; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - repeat_events: 1; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: min_width min_height; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over1"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_click_anim"; \ - } \ - program { name: "button_click_anim"; \ - action: STATE_SET "clicked" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "button_double_click"; \ - signal: "mouse,down,1,double"; \ - source: "over1"; \ - after: "button_click_anim"; \ - } \ - program { name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - after: "button_unclick_anim"; \ - } \ - program { name: "button_unclick_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "touch_snd"; \ - signal: "mouse,clicked,1"; \ - source: "over1"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - after: button_unclick3; \ - } \ - program { name: "button_unclick3"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: "icon_clipper"; \ - } \ - program { name: "action_focus"; \ - signal: "elm,action,focus_highlight,show"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_image"; \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,action,focus_highlight,hide"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_image"; \ - } \ - } \ - } -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_plus", "00_button_add.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_plus/extended", "00_button_add.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_expand", "00_button_expand_closed.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_expand/extended", "00_button_expand_closed.png", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_expand_closed", "00_button_expand_closed.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_STYLES("icon_expand_opened", "00_button_expand_opened.png", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - -#define BUTTON_EDIT_MINUS_STYLES(style_name, min_width, min_height) \ - group { name: "elm/button/base/contacts/"style_name; \ - alias: "elm/button/base/"style_name; \ - inherit: "elm/button/base/contacts/icon_plus"; \ - images { \ - image: "00_circle_button_delete.png" COMP; \ - image: "00_circle_button_delete_press.png" COMP; \ - image: "00_circle_button_delete_dim.png" COMP; \ - image: "00_button_delete.png" COMP; \ - } \ - parts { \ - part { name: "button_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - image.normal: "00_circle_button_delete.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_delete_press.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_circle_button_delete_dim.png"; \ - } \ - } \ - part { name: "button_center_part"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ - max: BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC; \ - image.normal: "00_button_delete.png"; \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: PROXY; \ - clip_to: "elm.icon.proxy.clipper"; \ - scale: 1; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_MINUS_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_MINUS_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_MINUS_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_CIRCLE_STYLE_MINUS_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.icon.proxy.clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_SHADOW_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_SHADOW_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_SHADOW_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "icon_clipper"; \ - scale: 1; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_CIRCLE_STYLE_MINUS_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - repeat_events: 1; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: min_width min_height; \ - } \ - } \ - } \ - } - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_MINUS_STYLES("icon_minus", BUTTON_EDIT_NORMAL_MIN_WIDTH_INC, BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_EDIT_MINUS_STYLES("icon_minus/extended", BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC, BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// -#define BUTTON_SCROLL_JUMPTO(style_name, image_normal)\ - group { name: "elm/button/base/"style_name; \ - data { \ - item: "focus_highlight" "on"; \ - } \ - images { \ - image: "00_button_01.png" COMP; \ - image: "00_button_01_press.png" COMP; \ - image: "00_button_01_dim.png" COMP; \ - image: image_normal COMP; \ - image: "00_button_01_focus.png" COMP; \ - }\ - parts { \ - part { name: "button_image";\ - type: IMAGE; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_JUMP_STYLE_BG_MIN_INC; \ - image { \ - normal: "00_button_01.png"; \ - border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC; \ - border_scale: 1; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_01_press.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_01_dim.png"; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to : "button_image"; \ - rel2.to : "button_image"; \ - image { \ - normal: "00_button_01_focus.png"; \ - border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "padding_left_top"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 0.0 0.0; \ - rel2.relative: 0.0 0.0; \ - min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC; \ - fixed: 1 1; \ - } \ - } \ - part { name: "padding_right_bottom"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 1.0 1.0; \ - rel1.relative: 1.0 1.0; \ - min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC; \ - fixed: 1 1; \ - } \ - } \ - part { name: "jump_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC; \ - max: BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC; \ - rel1 { \ - relative: 1.0 0.0; \ - to_x: "padding_left_top"; \ - } \ - rel2 { \ - relative: 0.0 1.0; \ - to_x: "padding_right_bottom"; \ - } \ - image.normal: image_normal; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - } \ - part { name: "jump_image.shadow.proxy"; \ - type: PROXY; \ - scale: 1; \ - clip_to: "elm.swallow.icon.shadow.proxy"; \ - description { state: "default" 0.0; \ - source: "jump_image"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "jump_image"; \ - offset: BUTTON_JUMP_TO_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "jump_image"; \ - offset: BUTTON_JUMP_TO_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "jump_image"; \ - offset: BUTTON_JUMP_TO_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "jump_image"; \ - offset: BUTTON_JUMP_TO_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "jump_image.proxy"; \ - type: PROXY; \ - scale: 1; \ - clip_to: "elm.swallow.icon.proxy"; \ - description { state: "default" 0.0; \ - source: "jump_image"; \ - proxy.source_clip: 0; \ - rel1.to: "jump_image"; \ - rel2.to: "jump_image"; \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_JUMP_SHADOW_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_JUMP_SHADOW_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_JUMP_SHADOW_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "elm.swallow.icon.proxy"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_JUMP_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_JUMP_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_JUMP_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - repeat_events: 1; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1.relative: 0.0 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over1"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_click_anim"; \ - } \ - program { name: "button_click_anim"; \ - action: STATE_SET "clicked" 0.0; \ - target: "button_image"; \ - target: "jump_image.shadow.proxy"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.swallow.icon.proxy"; \ - } \ - program { name: "button_double_click"; \ - signal: "mouse,down,1,double"; \ - source: "over1"; \ - after: "button_click_anim"; \ - } \ - program { name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - after: "button_unclick_anim"; \ - } \ - program { name: "button_unclick_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "jump_image.shadow.proxy"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.swallow.icon.proxy"; \ - } \ - program { name: "touch_snd"; \ - signal: "mouse,clicked,1"; \ - source: "over1"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - after: button_unclick3; \ - } \ - program { name: "button_unclick3"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "button_image"; \ - target: "jump_image.shadow.proxy"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.swallow.icon.proxy"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "jump_image.shadow.proxy"; \ - target: "elm.swallow.icon.shadow.proxy"; \ - target: "elm.swallow.icon.proxy"; \ - } \ - program { name: "action_focus"; \ - signal: "elm,action,focus_highlight,show"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_image"; \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,action,focus_highlight,hide"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_image"; \ - } \ - } \ - } - -//////////////////////////////////////////////////////////////////////// -BUTTON_SCROLL_JUMPTO("jumpto_top", "00_icon_jump.png") -//////////////////////////////////////////////////////////////////////// -BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png") - -//////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_button_01.png" COMP; - image: "00_button_01_press.png" COMP; - image: "00_button_01_dim.png" COMP; - image: "00_button_01_focus.png" COMP; - } - styles{ - style { name: "btn_base_default"; - base: "font=Tizen:style=Regular font_size="BUTTON_DEFAULT_STYLE_FONT_SIZE_INC" align=center color="BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_default_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_DEFAULT_STYLE_FONT_SIZE_INC" align=center color="BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_TEXT_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_default_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_DEFAULT_STYLE_FONT_SIZE_INC" align=center color="BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_default_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_DEFAULT_STYLE_FONT_SIZE_INC" align=center color="BUTTON_DEFAULT_STYLE_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public button_state = BUTTON_STATE_ENABLED; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DEFAULT_STYLE_BG_MIN_INC; - image { - normal: "00_button_01.png"; - border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_button_01_focus.png"; - border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: BUTTON_DEFAULT_STYLE_PADDING_MIN_INC; - fixed: 1 1; - visible: 0; - } - } - part { name: "padding_icon_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - visible: 0; - fixed: 1 0; - min: 0 0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2.to: "elm.swallow.content"; - align: 0.0 0.0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - min: BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "disclip"; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "icononly" 0.0; - min: BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "disclip"; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to_x: "padding_icon_text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "btn_base_default"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC; - text { - style: "btn_base_default_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_default_dim"; - } - min: BUTTON_DEFAULT_STYLE_TEXT_MIN_INC; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_default_focus"; - min: 0 0; - } - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_DISCLIP_NORMAL_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_DISCLIP_DISABLED_COLOR_INC; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - after: "text_clicked"; - } - program { name: "text_clicked"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over3"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (strcmp(st, "icononly")) - { - emit("elm,action,default,text,set", ""); - set_state(PART:"elm.text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"button_image", "default", 0.0); - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "padding_icon_text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "disabler"; - target: "disclip"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(button_state, BUTTON_STATE_DISABLED); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "disabler"; - target: "disclip"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(button_state, BUTTON_STATE_ENABLED); - } - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// -#define BUTTON_COLORSELECTOR_STYLES(style_name, image_normal) \ - group { name: "elm/button/base/"style_name; \ - data { \ - item: "focus_highlight" "on"; \ - } \ - images { \ - image: image_normal COMP; \ - image: image_dim COMP; \ - image: "00_button_01.png" COMP; \ - image: "00_button_01_press.png" COMP; \ - image: "00_button_01_focus.png" COMP; \ - } \ - parts { \ - part { name: "button_image"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ - max: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ - image { \ - normal: "00_button_01.png"; \ - border: BUTTON_COLORSELECTOR_BG_BORDER_INC; \ - border_scale: 1; \ - } \ - } \ - description { \ - state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_01_press.png"; \ - } \ - description { \ - state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_01_dim.png"; \ - } \ - description { \ - state: "focused" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_01_press.png"; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ - max: BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC; \ - visible: 0; \ - rel1.to : "button_image"; \ - rel2.to : "button_image"; \ - image { \ - normal: "00_button_01_focus.png"; \ - border: BUTTON_COLORSELECTOR_BG_BORDER_INC; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "button_center_part"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \ - max: BUTTON_COLORSELECTOR_IMAGE_MIN_MAX_INC; \ - image.normal: image_normal; \ - } \ - } \ - part { name: "elm.swallow.icon.shadow.proxy"; \ - type: PROXY; \ - clip_to: "elm.icon.proxy.clipper"; \ - scale: 1; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_COLORSELECTOR_NORMAL_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_COLORSELECTOR_NORMAL_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to: "button_center_part"; \ - offset: BUTTON_COLORSELECTOR_PRESSED_TOP_OFFSET_INC; \ - } \ - rel2 { \ - to: "button_center_part"; \ - offset: BUTTON_COLORSELECTOR_PRESSED_BOTTOM_OFFSET_INC; \ - } \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.swallow.icon.proxy"; \ - type: PROXY; \ - scale: 1; \ - clip_to: "icon_clipper"; \ - description { state: "default" 0.0; \ - source: "button_center_part"; \ - proxy.source_clip: 0; \ - rel1.to: "button_center_part"; \ - rel2.to: "button_center_part"; \ - } \ - }\ - part { name: "elm.icon.proxy.clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: BUTTON_COLORSELECTOR_SHADOW_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_COLORSELECTOR_SHADOW_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_COLORSELECTOR_SHADOW_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "icon_clipper"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: BUTTON_COLORSELECTOR_NORMAL_COLOR_INC; \ - } \ - description { state: "clicked" 0.0; \ - color: BUTTON_COLORSELECTOR_PRESSED_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: BUTTON_COLORSELECTOR_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over1"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_click_anim"; \ - } \ - program { name: "button_click_anim"; \ - action: STATE_SET "clicked" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: ""icon_clipper""; \ - } \ - program { name: "button_double_click"; \ - signal: "mouse,down,1,double"; \ - source: "over1"; \ - after: "button_click_anim"; \ - } \ - program { name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - after: "button_unclick_anim"; \ - } \ - program { name: "button_unclick_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "elm.swallow.icon.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: ""icon_clipper""; \ - } \ - program { name: "touch_snd"; \ - signal: "mouse,clicked,1"; \ - source: "over1"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - after: button_unclick3; \ - } \ - program { name: "button_unclick3"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: ""icon_clipper""; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "button_image"; \ - target: "elm.swallow.icon.proxy"; \ - target: "elm.icon.proxy.clipper"; \ - target: ""icon_clipper""; \ - } \ - program { name: "action_focus"; \ - signal: "elm,action,focus_highlight,show"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_image"; \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,action,focus_highlight,hide"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_image"; \ - } \ - } \ - } -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_COLORSELECTOR_STYLES("colorselector/left/default", "00_button_left.png") -/////////////////////////////////////////////////////////////////////////////////////// - BUTTON_COLORSELECTOR_STYLES("colorselector/right/default", "00_button_right.png") -/////////////////////////////////////////////////////////////////////////////////////// - - group { name: "elm/button/base/multibuttonentry"; - alias: "elm/button/base/text_only/multibuttonentry"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_contacts_button.png" COMP; - image: "00_contacts_button_press.png" COMP; - image: "00_contacts_button_focus.png" COMP; - image: "00_contacts_button_dim.png" COMP; - } - styles{ - style { name: "btn_base_multibuttonentry"; - base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color="BUTTON_CONTACT_BUTTON_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_multibuttonentry_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color="BUTTON_CONTACT_BUTTON_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_multibuttonentry_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color="BUTTON_CONTACT_BUTTON_TEXTBLOCK_DISABLED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_multibuttonentry_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_CONTACT_FONT_SIZE_INC" align=center color="BUTTON_CONTACT_BUTTON_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public button_state = BUTTON_STATE_ENABLED; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "padding.left"; - to_y: "elm.text"; - } - rel2 { - to_x: "padding.right"; - to_y: "elm.text"; - } - min: BUTTON_CONTACT_BG_MIN_INC; - image { - normal: "00_contacts_button.png"; - border: BUTTON_CONTACT_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_contacts_button_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_contacts_button_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_contacts_button_press.png"; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_contacts_button_focus.png"; - border: BUTTON_CONTACT_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_CONTACT_LEFT_PADDING_MIN_INC; - fixed: 1 0; - color: 0 0 0 0; - rel2 { - relative: 0.0 1.0; - to_x: "elm.text"; - } - align: 1.0 0.0; - } - } - part { name: "padding.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_CONTACT_RIGHT_PADDING_MIN_INC; - fixed: 1 0; - color: 0 0 0 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.text"; - } - align: 0.0 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - text { - style: "btn_base_multibuttonentry"; - min: 1 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 1 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 1 1; - text { - style: "btn_base_multibuttonentry_pressed"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_multibuttonentry_dim"; - min: 1 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "btn_base_multibuttonentry_focus"; - min: 1 1; - } - } - } - part { name: "over1"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel2.relative: 1.0 0.5; - color: 0 0 0 0; - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "elm.text"; - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "clicked") || !strcmp(st, "focused")) - { - emit("elm,action,default,text,set", ""); - set_state(PART:"elm.text", "visible", 0.0); - } - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"button_image", "default", 0.0); - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(button_state, BUTTON_STATE_DISABLED); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(button_state, BUTTON_STATE_ENABLED); - } - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/naviframe/back_btn/default"; - alias: "elm/button/base/naviframe/prev_btn/default"; - alias: "elm/button/base/naviframe/end_btn/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_icon_back.png" COMP; - image: "00_icon_SIP_close.png" COMP; - image: "00_icon_focus.png" COMP; - } - parts { - part { name: "button_image"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC; - visible: 0; - } - description { state: "landscape" 0.0; - min: BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_LANDSCAPE_BACK_BUTTON_BG_MIN_MAX_INC; - visible: 0; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_icon_focus.png"; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "back_button"; - scale: 1; - mouse_events: 0; - clip_to: "back_button.clipper"; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC; - fixed: 1 1; - rel1.to: "button_image"; - rel2.to: "button_image"; - image.normal: "00_icon_back.png"; - } - description { state: "compress" 0.0; - inherit: "default" 0.0; - image.normal: "00_icon_SIP_close.png"; - } - } - part { name: "back_button.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - script { - set_state(PART:"back_button.clipper", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - script { - set_state(PART:"back_button.clipper", "default", 0.0); - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"back_button.clipper", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"back_button.clipper", "default", 0.0); - } - } - program { name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - action: STATE_SET "landscape" 0.0; - target: "button_image"; - } - program { name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "display_compress_mode"; - signal: "elm,state,display,compress"; - source: "elm"; - action: STATE_SET "compress" 0.0; - target: "back_button"; - } - program { name: "display_default_mode"; - signal: "elm,state,display,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "back_button"; - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -//////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/naviframe/title_icon"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_icon_focus.png" COMP; - } - parts { - part { name: "button_image"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_TITLE_ICON_BG_MIN_MAX_INC; - } - description { state: "landscape" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_ICON_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_ICON_BG_MIN_MAX_INC; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_icon_focus.png"; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon.clipper"; - description { state: "default" 0.0; - visible: 0; - max: BUTTON_NAVIFRAME_TITLE_ICON_IMAGE_MIN_MAX_INC; - align: 0.5 0.5; - rel1 { to: "button_image"; } - rel2 { to: "button_image"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.icon.clipper"; - type: RECT; - description { state: "default" 0.0; - } - description { state: "clicked" 0.0; - } - description { state: "disabled" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "elm.swallow.content.proxy_shadow"; - type: PROXY; - scale: 1; - clip_to: "elm.icon.proxy_shadow.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - rel1 { to: "elm.swallow.content"; offset: 0 2; } - rel2 { to: "elm.swallow.content"; offset: -1 1; } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 -2; - rel2.offset: -1 -3; - } - description { state: "disabled" 0.0; - visible: 0; - } - } - part { name: "elm.icon.proxy_shadow.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_SHADOW_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_SHADOW_COLOR_INC; - } - description { state: "disabled" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.content.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.icon.proxy.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.content"; - rel1 { to: "elm.swallow.content"; } - rel2 { to: "elm.swallow.content"; } - } - } - part { name: "elm.icon.proxy.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - visible: 0; - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - script { - set_state(PART:"elm.icon.proxy_shadow.clipper", "clicked", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "clicked", 0.0); - set_state(PART:"elm.icon.clipper", "clicked", 0.0); - set_state(PART:"elm.swallow.content.proxy_shadow", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - set_state(PART:"elm.icon.proxy_shadow.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.swallow.content.proxy_shadow", "default", 0.0); - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"disabler", "disabled", 0.0); - set_state(PART:"elm.icon.proxy_shadow.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.clipper", "disabled", 0.0); - set_state(PART:"elm.swallow.content.proxy_shadow", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"disabler", "default", 0.0); - set_state(PART:"elm.icon.proxy_shadow.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.swallow.content.proxy_shadow", "default", 0.0); - } - } - program { name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - action: STATE_SET "landscape" 0.0; - target: "button_image"; - } - program { name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -//////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/naviframe/title_text"; - images { - image: "00_title_press.png" COMP; - } - script { - public landscape = 0; - public disabled = 0; - } - styles{ - style { name: "btn_naviframe_title_text"; - base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_naviframe_title_text_disabled"; - base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_DISABLED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_naviframe_title_text_pressed"; - base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_NAVIFRAME_TITLE_TEXT_SHADOW_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { name: "button_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_TITLE_TEXT_BG_MIN_INC; - max: BUTTON_NAVIFRAME_TITLE_TEXT_BG_MAX_INC; - } - description { state: "landscape" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MIN_INC; - max: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_MAX_INC; - } - } - part { name: "button_image"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { to: "button_bg"; } - rel2 { to: "button_bg"; } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "00_title_press.png"; - border: BUTTON_NAVIFRAME_TITLE_TEXT_BG_PRESSED_BORDER_INC; - border_scale: 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "left_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 0; - max: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC -1; - align: 0.0 0.5; - fixed: 1 0; - rel1 { relative: 0.0 0.0; to: "button_bg"; } - rel2 { relative: 0.0 1.0; to: "button_bg"; } - } - } - part { name: "right_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC 0; - max: BUTTON_NAVIFRAME_TITLE_TEXT_LEFT_PADDING_INC -1; - align: 1.0 0.5; - fixed: 1 0; - rel1 { relative: 1.0 0.0; to: "button_bg"; } - rel2 { relative: 1.0 1.0; to: "button_bg"; } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MIN_INC; - max: BUTTON_NAVIFRAME_TITLE_TEXT_TEXTBLOCK_MAX_INC; - rel1 { relative: 1.0 0.0; to: "left_padding"; } - rel2 { relative: 0.0 1.0; to: "right_padding"; } - text { - style: "btn_naviframe_title_text"; - size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC; - min: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "btn_naviframe_title_text_disabled"; - size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC; - min: 1 0; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - text { - style: "btn_naviframe_title_text_pressed"; - size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC; - min: 1 0; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MIN_INC; - max: BUTTON_NAVIFRAME_LANDSCAPE_TITLE_TEXT_TEXTBLOCK_MAX_INC; - } - description { state: "landscape_disabled" 0.0; - inherit: "landscape" 0.0; - text { - style: "btn_naviframe_title_text_disabled"; - size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC; - min: 1 0; - } - } - description { state: "landscape_pressed" 0.0; - inherit: "landscape" 0.0; - text { - style: "btn_naviframe_title_text_pressed"; - size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC; - min: 1 0; - } - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - script { - set_state(PART:"button_image", "clicked", 0.0); - - if (get_int(landscape)) - set_state(PART:"elm.text", "landscape_pressed", 0.0); - else - set_state(PART:"elm.text", "pressed", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - script { - set_state(PART:"button_image", "default", 0.0); - - if (get_int(landscape)) - set_state(PART:"elm.text", "landscape", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: "button_unclick3"; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(disabled, 1); - set_state(PART:"disabler", "disabled", 0.0); - set_state(PART:"button_image", "disabled", 0.0); - - if (get_int(landscape)) - set_state(PART:"elm.text", "landscape_disabled", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(disabled, 0); - set_state(PART:"disabler", "default", 0.0); - set_state(PART:"button_image", "default", 0.0); - - if (get_int(landscape)) - set_state(PART:"elm.text", "landscape", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - set_int(landscape, 1); - set_state(PART:"button_bg", "landscape", 0.0); - - if (get_int(disabled)) - set_state(PART:"elm.text", "landscape_disabled", 0.0); - else - set_state(PART:"elm.text", "landscape", 0.0); - } - } - program { name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - set_int(landscape, 0); - set_state(PART:"button_bg", "default", 0.0); - - if (get_int(disabled)) - set_state(PART:"elm.text", "disabled", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } - } - -///////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/naviframe/more/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_icon_more.png" COMP; - image: "00_icon_focus.png" COMP; - } - parts { - part { name: "button_image"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC; - visible: 0; - } - description { state: "landscape" 0.0; - min: BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_LANDSCAPE_MORE_BG_MIN_MAX_INC; - visible: 0; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_icon_focus.png"; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "more_image"; - scale: 1; - mouse_events: 0; - clip_to: "more_image.clipper"; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC; - max: BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC; - fixed: 1 1; - rel1.to: "button_image"; - rel2.to: "button_image"; - image.normal: "00_icon_more.png"; - } - } - part { name: "more_image.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - script { - set_state(PART:"more_image.clipper", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - script { - set_state(PART:"more_image.clipper", "default", 0.0); - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"disabler", "disabled", 0.0); - set_state(PART:"more_image.clipper", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"disabler", "default", 0.0); - set_state(PART:"more_image.clipper", "default", 0.0); - } - } - program { name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - action: STATE_SET "landscape" 0.0; - target: "button_image"; - } - program { name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -/////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/expandable_number"; - alias: "elm/button/base/text_only/expandable_number"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_button_01.png" COMP; - image: "00_button_01_press.png" COMP; - image: "00_button_01_dim.png" COMP; - image: "00_arrow_expand.png" COMP; - image: "00_button_01_focus.png" COMP; - } - styles{ - style { name: "btn_base_exapandable_number"; - base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color="BUTTON_NUMBER_TEXTBLOCK_NORMAL_COLOR_INC" style=far_shadow,bottom shadow_color="BUTTON_NUMBER_SHADOW_TEXTBLOCK_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_exapandable_number_pressed"; - base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color="BUTTON_NUMBER_TEXTBLOCK_PRESSED_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_NUMBER_SHADOW_TEXTBLOCK_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_exapandable_number_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color="BUTTON_NUMBER_TEXTBLOCK_DISABLE_VISIBLE_COLOR_INC" style=far_shadow,top shadow_color="BUTTON_NUMBER_SHADOW_TEXTBLOCK_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "btn_base_exapandable_number_focus"; - base: "font=Tizen:style=Regular font_size="BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC" align=center color="BUTTON_NUMBER_TEXTBLOCK_FOCUSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public button_state = BUTTON_STATE_ENABLED; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; - max: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; - image { - normal: "00_button_01.png"; - border: BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_dim.png"; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - min: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; - max: BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC; - visible: 0; - rel1.to : "button_image"; - rel2.to : "button_image"; - image { - normal: "00_button_01_focus.png"; - border: BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC; - fixed: 1 1; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC; - fixed: 1 1; - } - } - part { name: "icon_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; - max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; - fixed: 1 0; - rel1 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - align: 1.0 0.5; - } - } - part { name: "arrow_expand"; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.5; - min: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; - max: BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND_MIN_MAX_INC; - fixed: 0 0; - rel1.to: "icon_rect"; - rel2.to: "icon_rect"; - image.normal:"00_arrow_expand.png"; - } - } - part { name: "arrow_expand.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "arrow_expand.shadow.clipper"; - description { state: "default" 0.0; - source: "arrow_expand"; - proxy.source_clip: 0; - rel1 { - to: "arrow_expand"; - offset: BUTTON_EXPANDABLE_NORMAL_TOP_OFFSET_INC; - } - rel2 { - to: "arrow_expand"; - offset: BUTTON_EXPANDABLE_NORMAL_BOTTOM_OFFSET_INC; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - rel1 { - to: "icon_rect"; - offset: BUTTON_EXPANDABLE_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "arrow_expand"; - offset: BUTTON_EXPANDABLE_PRESSED_BOTTOM_OFFSET_INC; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "arrow_expand.proxy"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper"; - description { state: "default" 0.0; - source: "arrow_expand"; - proxy.source_clip: 0; - rel1.to: "arrow_expand"; - rel2.to: "arrow_expand"; - } - } - part { name: "arrow_expand.shadow.clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_EXPANDABLE_SHADOW_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_EXPANDABLE_SHADOW_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_EXPANDABLE_SHADOW_DISABLED_COLOR_INC; - } - } - part { name: "icon_clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_NUMBER_ICON_NORMAL_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_NUMBER_ICON_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_NUMBER_ICON_DISABLED_COLOR_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC; - max: BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC; - fixed:1 0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 1.0; - to_x:"padding_left_top"; - to_y:"padding_right_bottom"; - } - align: 0.0 0.5; - text { - style: "btn_base_exapandable_number"; - min: 0 0; - fit: 1 1; - size_range: 28 32; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - text { - style: "btn_base_exapandable_number_pressed"; - min: 0 0; - fit: 1 1; - size_range: 28 32; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - text { - style: "btn_base_exapandable_number_dim"; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - text { - style: "btn_base_exapandable_number_focus"; - } - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "arrow_expand.shadow.proxy"; - target: "arrow_expand.shadow.clipper"; - target: "icon_clipper"; - after: "text_clicked"; - } - program { name: "text_clicked"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - after: "button_click_anim"; - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - if (get_int(button_state) != BUTTON_STATE_DISABLED) - { - set_state(PART:"button_image", "default", 0.0); - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"arrow_expand.shadow.proxy", "visible", 0.0); - set_state(PART:"arrow_expand.shadow.clipper", "visible", 0.0); - set_state(PART:"icon_clipper", "default", 0.0); - } - } - after: button_unpress; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - if (get_int(button_state) != BUTTON_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "disabler"; - target: "arrow_expand.shadow.proxy"; - target: "arrow_expand.shadow.clipper"; - target: "icon_clipper"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(button_state, BUTTON_STATE_DISABLED); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "disabler"; - target: "arrow_expand.shadow.proxy"; - target: "arrow_expand.shadow.clipper"; - target: "icon_clipper"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(button_state, BUTTON_STATE_ENABLED); - } - } - program { name: "action_focus"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } - } - -////////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/editfield_clear"; - images { - image: "00_edit_field_clear.png" COMP; - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; - max: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC; - } - } - part { name: "button_image"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - } - } - part { name: "clear_button"; - scale: 1; - mouse_events: 0; - clip_to: "clear_button.clipper"; - description { state: "default" 0.0; - min: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; - max: BUTTON_EDITFIELD_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; - align: 0.5 0.5; - image.normal: "00_edit_field_clear.png"; - } - } - part { name: "clear_button.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_EDITFIELD_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "clear_button.clipper"; - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over1"; - after: "button_click_anim"; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "clear_button.clipper"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick3; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "disabler"; - target: "clear_button.clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "disabler"; - target: "clear_button.clipper"; - } - } - } - -#define BUTTON_DEFAULT_FOCUS_STYLES(style_name, image_normal) \ - group { name: "elm/button/base/"style_name; \ - data { \ - item: "focus_highlight" "on"; \ - } \ - images { \ - image: image_normal COMP; \ - } \ - parts { \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - scale: 1; \ - description { state: "default" 0.0; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - image { \ - normal: image_normal; \ - border: 6 6 6 6; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "over3"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - } \ - program { name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over3"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - } \ - program { name: "button_click3"; \ - signal: "mouse,clicked,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "action_focus"; \ - signal: "elm,action,focus_highlight,show"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_image"; \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,action,focus_highlight,hide"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_image"; \ - } \ - } \ - } \ - -BUTTON_DEFAULT_FOCUS_STYLES("focus", "00_focus.png") -BUTTON_DEFAULT_FOCUS_STYLES("focus_top", "00_list_group_bg_top_focus.png") -BUTTON_DEFAULT_FOCUS_STYLES("focus_center", "00_list_group_bg_center_focus.png") -BUTTON_DEFAULT_FOCUS_STYLES("focus_bottom", "00_list_group_bg_bottom_focus.png") - -/////////////////////////////////////////////////////////////////////////////////// - group { name: "elm/button/base/transparent"; - data { - item: "focus_highlight" "on"; - } - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - } - program { name: "button_click3"; - signal: "mouse,clicked,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } - } -/////////////////////////////////////////////////////////////////////////////////// - - group { name: "elm/button/base/search_clear"; - inherit: "elm/button/base/editfield_clear"; - images { - image: "00_field_btn_clear.png" COMP; - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC; - max: BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC; - } - } - part { name: "clear_button"; - scale: 1; - mouse_events: 0; - clip_to: "clear_button.clipper"; - description { state: "default" 0.0; - min: BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; - max: BUTTON_SEARCH_CLEAR_BUTTON_IMAGE_MIN_MAX_INC; - align: 0.5 0.5; - image.normal: "00_field_btn_clear.png"; - } - } - part { name: "clear_button.clipper"; - type: RECT; - description { state: "default" 0.0; - color: BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "clicked" 0.0; - color: BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_PRESSED_COLOR_INC; - } - description { state: "disabled" 0.0; - color: BUTTON_SEARCH_CLEAR_BUTTON_CLIPPER_DISABLED_COLOR_INC; - } - } - } - } - -#undef BUTTON_STATE_ENABLED -#undef BUTTON_STATE_DISABLED -#undef BUTTON_LANDSCAPE_DISABLED -#undef BUTTON_LANDSCAPE_ENABLED diff --git a/mobile/themes/widgets/check.edc b/mobile/themes/widgets/check.edc deleted file mode 100644 index 4cd5895..0000000 --- a/mobile/themes/widgets/check.edc +++ /dev/null @@ -1,2292 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define CHECK_STATE_DEFAULT 0 -#define CHECK_STATE_VISIBLE 1 -#define CHECK_STATE_DISABLED_VISIBLE 2 -#define CHECK_STATE_DISABLED 3 - -#define CHECK_HIDE 0 -#define CHECK_SHOW 1 - - styles { - style { name: "check_label_textblock_style"; - base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color="CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - style { name: "check_label_textblock_style_disable"; - base: "font=Tizen:style=Regular font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color="CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } - -//////////////////////////////////////////////////////////////////////////////// -#define CHECK_STYLE_DEFAULT(style_name, min_width, min_height) \ - group { name: "elm/check/base/"style_name; \ - images { \ - image: "00_check_bg.png" COMP; \ - image: "00_check_dim_bg.png" COMP; \ - image: "00_check_activated_dim.png" COMP; \ - image: "00_check_activated_press.png" COMP; \ - image: "00_check_activated.png" COMP; \ - image: "00_check_press_bg.png" COMP; \ - image: "00_check_focus.png" COMP; \ - } \ - script { \ - public check_state = CHECK_STATE_DEFAULT; \ - public check_visible = CHECK_HIDE; \ - } \ - parts { \ - part { name: "back_bg"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel2.relative: 0.0 1.0; \ - align: 0 0.5; \ - min: min_width min_height; \ - fixed: 1 0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "bg"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - fixed: 1 1; \ - rel1.to: "back_bg"; \ - rel2.to: "back_bg"; \ - image.normal: "00_check_bg.png"; \ - fill.smooth : 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_check_press_bg.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_check_dim_bg.png"; \ - } \ - } \ - part { name: "check"; \ - clip_to: "sequence_clip"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "bg"; \ - rel2.to: "bg"; \ - visible: 0; \ - image.normal: "00_check_activated.png"; \ - color: 255 255 255 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image.normal: "00_check_activated_dim.png"; \ - color: 255 255 255 255; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "visible" 0.0; \ - image.normal: "00_check_activated_press.png"; \ - } \ - } \ - part { name: "sequence_clip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel2.relative: 0.0 1.0; \ - color: 255 255 255 255; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - } \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - visible: 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "bg"; \ - relative: 1.0 0.0; \ - offset: 1 1; \ - } \ - rel2 { \ - to_x: "bg"; \ - relative: 1.0 1.0; \ - offset: 2 -2; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - } \ - } \ - part { name: "elm.text"; \ - type: TEXTBLOCK; \ - mouse_events: 0; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - fixed: 0 1; \ - rel1 { \ - relative: 1.0 0.5; \ - offset: 1 1; \ - to_x: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 0.5; \ - offset: -2 -2; \ - } \ - align: 0.0 0.5; \ - text { \ - style: "check_label_textblock_style"; \ - min: 0 0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text.min: 1 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text { \ - style: "check_label_textblock_style_disable"; \ - min: 1 1; \ - } \ - } \ - } \ - part { name: "events1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "events2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disclip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: CHECK_DISCLIP_NORMAL_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: CHECK_DISCLIP_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "show"; \ - signal: "show"; \ - script { \ - set_int(check_visible, CHECK_SHOW); \ - } \ - } \ - program { name: "hide"; \ - signal: "hide"; \ - script { \ - set_int(check_visible, CHECK_HIDE); \ - } \ - } \ - program { name: "click"; \ - signal: "mouse,clicked,1"; \ - source: "events1"; \ - action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ - after: "touch_sound"; \ - } \ - program { name: "touch_sound"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - } \ - program { name: "bg_normal"; \ - signal: "mouse,up,1"; \ - source: "events2"; \ - action: STATE_SET "default" 0.0; \ - target: "bg"; \ - target: "check"; \ - } \ - program { name: "pressed"; \ - signal: "mouse,down,1"; \ - source: "events2"; \ - action: STATE_SET "pressed" 0.0; \ - target: "bg"; \ - target: "check"; \ - } \ - program { name: "mouse,out"; \ - signal: "mouse,out"; \ - source: "events2"; \ - script { \ - if (get_int(check_state) == CHECK_STATE_VISIBLE) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - } \ - else \ - { \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"sequence_clip", "default", 0.0); \ - } \ - } \ - } \ - program { name: "check_on"; \ - signal: "elm,state,check,on"; \ - source: "elm"; \ - script { \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - if (get_int(check_visible) == CHECK_SHOW) \ - { \ - run_program(PROGRAM:"check_show_effect"); \ - run_program(PROGRAM:"check_draw_effect"); \ - } \ - else \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - } \ - } \ - } \ - program { name: "check_off"; \ - signal: "elm,state,check,off"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "check"; \ - script { \ - if (get_int(check_state) == CHECK_STATE_VISIBLE) \ - { \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"sequence_clip", "default", 0.0); \ - } \ - } \ - } \ - program { name: "check_show_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.233; \ - target: "check"; \ - } \ - program { name: "check_draw_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.267; \ - target: "sequence_clip"; \ - } \ - program { name: "text_show"; \ - signal: "elm,state,text,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "text_hide"; \ - signal: "elm,state,text,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "icon_show"; \ - signal: "elm,state,icon,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "icon_hide"; \ - signal: "elm,state,icon,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "disable_text"; \ - } \ - program { name: "disable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.text", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.text", "disabled", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "disabled", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - { \ - set_state(PART:"check", "disabled_visible", 0.0); \ - set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ - } \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "enable_text"; \ - } \ - program { name: "enable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.text", "visible", 0.0); \ - else \ - set_state(PART:"elm.text", "default", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "default", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - } \ - else \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - } \ - } \ - } \ - } -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_DEFAULT("default", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// - -#define CHECK_STYLE_DEFAULT_GENLIST(style_name, min_width, min_height) \ - group { name: "elm/check/base/"style_name; \ - images { \ - image: "00_check_bg.png" COMP; \ - image: "00_check_dim_bg.png" COMP; \ - image: "00_check_activated_dim.png" COMP; \ - image: "00_check_activated_press.png" COMP; \ - image: "00_check_activated.png" COMP; \ - image: "00_check_press_bg.png" COMP; \ - image: "00_check_focus.png" COMP; \ - } \ - script { \ - public check_state = CHECK_STATE_DEFAULT; \ - public check_visible = CHECK_HIDE; \ - } \ - parts { \ - part { name: "back_bg"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel2.relative: 0.0 1.0; \ - align: 0 0.5; \ - min: min_width min_height; \ - fixed: 1 0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "bg"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - fixed: 1 1; \ - rel1.to: "back_bg"; \ - rel2.to: "back_bg"; \ - image.normal: "00_check_bg.png"; \ - fill.smooth : 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_check_press_bg.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_check_dim_bg.png"; \ - } \ - } \ - part { name: "check"; \ - clip_to: "sequence_clip"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "bg"; \ - rel2.to: "bg"; \ - visible: 0; \ - image.normal: "00_check_activated.png"; \ - color: 255 255 255 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image.normal: "00_check_activated_dim.png"; \ - color: 255 255 255 255; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "visible" 0.0; \ - image.normal: "00_check_activated_press.png"; \ - } \ - } \ - part { name: "sequence_clip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel2.relative: 0.0 1.0; \ - color: 255 255 255 255; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - } \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - visible: 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "bg"; \ - relative: 1.0 0.0; \ - offset: 1 1; \ - } \ - rel2 { \ - to_x: "bg"; \ - relative: 1.0 1.0; \ - offset: 2 -2; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - } \ - } \ - part { name: "elm.text"; \ - type: TEXTBLOCK; \ - mouse_events: 0; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - fixed: 0 1; \ - rel1 { \ - relative: 1.0 0.5; \ - offset: 1 1; \ - to_x: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 0.5; \ - offset: -2 -2; \ - } \ - align: 0.0 0.5; \ - text { \ - style: "check_label_textblock_style"; \ - min: 0 0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text.min: 1 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text { \ - style: "check_label_textblock_style_disable"; \ - min: 1 1; \ - } \ - } \ - } \ - part { name: "disclip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: CHECK_DISCLIP_NORMAL_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: CHECK_DISCLIP_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "show"; \ - signal: "show"; \ - script { \ - set_int(check_visible, CHECK_SHOW); \ - } \ - } \ - program { name: "hide"; \ - signal: "hide"; \ - script { \ - set_int(check_visible, CHECK_HIDE); \ - } \ - } \ - program { name: "bg_normal"; \ - signal: "elm,state,mouse,up"; \ - source: "elm"; \ - script { \ - if (CHECK_SHOW == get_int(check_visible)) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - } \ - else \ - { \ - set_state(PART:"check", "default", 0.0); \ - } \ - set_state(PART:"bg", "default", 0.0); \ - } \ - } \ - program { name: "pressed"; \ - signal: "elm,state,mouse,down"; \ - source: "elm"; \ - action: STATE_SET "pressed" 0.0; \ - script { \ - if (CHECK_SHOW == get_int(check_visible)) \ - { \ - set_state(PART:"check", "pressed", 0.0); \ - } \ - set_state(PART:"bg", "pressed", 0.0); \ - } \ - } \ - program { name: "mouse,out"; \ - signal: "mouse,out"; \ - source: "events2"; \ - script { \ - if (get_int(check_state) == CHECK_STATE_VISIBLE) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - } \ - else \ - { \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"sequence_clip", "default", 0.0); \ - } \ - } \ - } \ - program { name: "check_on"; \ - signal: "elm,state,check,on"; \ - source: "elm"; \ - script { \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - if (get_int(check_visible) == CHECK_SHOW) \ - { \ - run_program(PROGRAM:"check_show_effect"); \ - run_program(PROGRAM:"check_draw_effect"); \ - } \ - else \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - } \ - } \ - } \ - program { name: "check_off"; \ - signal: "elm,state,check,off"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "check"; \ - script { \ - if (get_int(check_state) == CHECK_STATE_VISIBLE) \ - { \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"sequence_clip", "default", 0.0); \ - } \ - } \ - } \ - program { name: "check_show_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.233; \ - target: "check"; \ - } \ - program { name: "check_draw_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.267; \ - target: "sequence_clip"; \ - } \ - program { name: "text_show"; \ - signal: "elm,state,text,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "text_hide"; \ - signal: "elm,state,text,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "icon_show"; \ - signal: "elm,state,icon,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "icon_hide"; \ - signal: "elm,state,icon,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "disable_text"; \ - } \ - program { name: "disable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.text", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.text", "disabled", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "disabled", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - { \ - set_state(PART:"check", "disabled_visible", 0.0); \ - set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ - } \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "enable_text"; \ - } \ - program { name: "enable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.text", "visible", 0.0); \ - else \ - set_state(PART:"elm.text", "default", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "default", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - } \ - else \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - } \ - } \ - } \ - } -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_DEFAULT_GENLIST("default/genlist_editmode", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -CHECK_STYLE_DEFAULT_GENLIST("default/genlist", CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// - -#define CHECK_STYLE_FOR_GENLIST(style_name, min_width, min_height) \ - group { name: "elm/check/base/"style_name; \ - images { \ - image: "00_check_bg.png" COMP; \ - image: "00_check_dim_bg.png" COMP; \ - image: "00_check_activated_dim.png" COMP; \ - image: "00_check_activated.png" COMP; \ - } \ - script { \ - public check_state = CHECK_STATE_DEFAULT; \ - } \ - parts { \ - part { name: "back_bg"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: min_width min_height; \ - fixed: 0 0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "bg"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; \ - fixed: 1 1; \ - rel1.to: "back_bg"; \ - rel2.to: "back_bg"; \ - image.normal: "00_check_bg.png"; \ - fill.smooth : 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_check_dim_bg.png"; \ - } \ - } \ - part { name: "check"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "bg"; \ - rel2.to: "bg"; \ - visible: 0; \ - image.normal: "00_check_activated.png"; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image.normal: "00_check_activated_dim.png"; \ - } \ - } \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - visible: 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "bg"; \ - relative: 1.0 0.0; \ - offset: 1 1; \ - } \ - rel2 { \ - to_x: "bg"; \ - relative: 1.0 1.0; \ - offset: 2 -2; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - } \ - } \ - part { name: "elm.text"; \ - type: TEXTBLOCK; \ - mouse_events: 0; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - fixed: 0 1; \ - rel1 { \ - relative: 1.0 0.5; \ - offset: 1 1; \ - to_x: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 0.5; \ - offset: -2 -2; \ - } \ - align: 0.0 0.5; \ - text { \ - style: "check_label_textblock_style"; \ - min: 0 0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text.min: 1 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text { \ - style: "check_label_textblock_style_disable"; \ - min: 1 1; \ - } \ - } \ - } \ - part { name: "events1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "events2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disclip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: CHECK_DISCLIP_NORMAL_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: CHECK_DISCLIP_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "click"; \ - signal: "mouse,clicked,1"; \ - source: "events1"; \ - action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ - after: "touch_sound"; \ - } \ - program { name: "touch_sound"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - } \ - program { name: "check_on"; \ - signal: "elm,state,check,on"; \ - source: "elm"; \ - script { \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - set_state(PART:"check", "visible", 0.0); \ - } \ - } \ - program { name: "check_off"; \ - signal: "elm,state,check,off"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "check"; \ - script { \ - if (get_int(check_state) == CHECK_STATE_VISIBLE) \ - { \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - set_state(PART:"check", "default", 0.0); \ - } \ - } \ - } \ - program { name: "text_show"; \ - signal: "elm,state,text,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "text_hide"; \ - signal: "elm,state,text,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "icon_show"; \ - signal: "elm,state,icon,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "icon_hide"; \ - signal: "elm,state,icon,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "disable_text"; \ - } \ - program { name: "disable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.text", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.text", "disabled", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "disabled", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - { \ - set_state(PART:"check", "disabled_visible", 0.0); \ - set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); \ - } \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "enable_text"; \ - } \ - program { name: "enable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.text", "visible", 0.0); \ - else \ - set_state(PART:"elm.text", "default", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "default", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - { \ - set_state(PART:"check", "visible", 0.0); \ - set_int(check_state, CHECK_STATE_VISIBLE); \ - } \ - else \ - set_int(check_state, CHECK_STATE_DEFAULT); \ - } \ - } \ - } \ - } -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_FOR_GENLIST("default/genlist_edit", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// - group { name: "elm/check/base/on&off"; - images { - image: "00_button_on_handler.png" COMP; - image: "00_button_on_handler_dim.png" COMP; - image: "00_button_off_handler.png" COMP; - image: "00_button_off_handler_dim.png" COMP; - image: "00_button_on_off_bg.png" COMP; - image: "00_button_on_off_bg_dim.png" COMP; - image: "00_button_handler_focus.png" COMP; - } - script { - public is_rtl = 0; - public is_drag = 0; - public was_drag = 0; - public check_on = 0; - } - parts { - part { name: "bg"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - min: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC; - max: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC; - rel2.relative: 0.0 1.0; - fixed: 1 1; - align: 0.0 0.5; - visible: 0; - } - } - part { name: "padding_left"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1{ relative: 0.0 0.0; to: "bg"; } - rel2{ relative: 0.0 1.0; to: "bg"; } - min: 0 0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "padding_right"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - min: 0 0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "padding_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "bg"; - rel2 { - relative: 1.0 0.0; - to: "bg"; - } - min: 0 0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "padding_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1 { - relative: 0.0 1.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - min: 0 0; - fixed: 0 1; - color: 0 0 0 0; - } - } - part { name: "bg_image"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "padding_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "bg"; - to_y: "padding_bottom"; - } - image.normal: "00_button_on_off_bg.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_off_bg.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_off_bg.png"; - } - description { state: "visible_pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_off_bg.png"; - } - description { state: "visible_disable" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_off_bg_dim.png"; - } - description { state: "off_disable" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_off_bg_dim.png"; - } - } - part { name: "drag_container"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left"; - to_y: "bg"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right"; - to_y: "bg"; - } - color: 0 0 0 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - color: 255 255 255 255; - } - } - part { name: "clipper_inner"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg_image"; - rel2.to: "bg_image"; - color: 255 255 255 255; - } - } - part { name: "button"; - scale: 1; - clip_to: "clipper"; - mouse_events: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "drag_container"; - } - description { state: "default" 0.0; - min: CHECK_ONOFF_HANDLER_MIN_MAX_INC; - max: CHECK_ONOFF_HANDLER_MIN_MAX_INC; - rel1.to: "bg"; - rel2.to: "bg"; - align: 0.0 0.5; - fixed: 1 1; - image.normal: "00_button_off_handler.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_handler.png"; - } - description { state: "on_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_on_handler_dim.png"; - } - description { state: "off_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_off_handler_dim.png"; - } - } - part { name: "button_events"; - type: RECT; - dragable { - events: "button"; - } - description { state: "default" 0.0; - rel1.to_x: "bg"; - rel2.to_x: "bg"; - color: 0 0 0 0; - } - } - part { name: "onrect"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: -1.0 0.0; - to: "button"; - } - rel2 { - relative: 0.0 1.0; - to: "button"; - } - align: 1.0 0.5; - color: 0 0 0 0; - } - } - part { name: "offrect"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to: "button"; - } - rel2 { - relative: 2.0 1.0; - to: "button"; - } - color: 0 0 0 0; - } - } - part { name: "elm.offtext"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "clipper_inner"; - description { state: "default" 0.0; - rel1.to: "offrect"; - rel2.to: "offrect"; - color: 255 255 255 255; - text { - font: "Tizen:style=Medium"; - size: 20; - min: 0 1; - text_class: "tizen"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "elm.ontext"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "clipper_inner"; - description { state: "default" 0.0; - rel1.to: "onrect"; - rel2.to: "onrect"; - color: 255 255 255 255; - text { - font: "Tizen:style=Medium"; - size: 20; - min: 0 1; - text_class: "tizen"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "disclip"; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1 { - to_x: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bg"; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "disclip"; - description { state: "default" 0.0; - visible: 0; - fixed: 0 1; - rel1 { - relative: 1.0 0.5; - offset: 1 1; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 1.0 0.5; - offset: -2 -2; - } - align: 0.0 0.5; - text { - style: "check_label_textblock_style"; - min: 0 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "check_label_textblock_style_disable"; - min: 1 1; - } - } - } - part { name: "disclip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: CHECK_DISCLIP_NORMAL_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: CHECK_DISCLIP_DISABLED_COLOR_INC; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - signal: "mouse,clicked,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - if (!get_int(was_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 0.0, 0.0); - else - set_drag(PART:"button", 1.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) { - if (get_int(check_on)) { - emit("elm,action,check,off", ""); - emit("elm,action,touch,sound", ""); - } - } - else { - if (!get_int(check_on)) { - emit("elm,action,check,on", ""); - emit("elm,action,touch,sound", ""); - } - } - } - } - } - program { name: "touch_sound"; - signal: "elm,action,touch,sound"; - source: ""; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - signal: "drag"; - source: "button"; - script { - if (!get_int(is_drag)) emit("elm,action,check,drag,start", ""); - set_int(is_drag, 1); - } - } - program { - signal: "mouse,down,1"; - source: "button"; - script { - set_int(was_drag, 0); - set_int(is_drag, 0); - } - } - program { name: "drag_end"; - signal: "mouse,up,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - if (get_int(is_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 1.0, 0.0); - else - set_drag(PART:"button", 0.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) { - if (!get_int(check_on)) { - emit("elm,action,check,on", ""); - emit("elm,action,touch,sound", ""); - } - } - else { - if (get_int(check_on)) { - emit("elm,action,check,off", ""); - emit("elm,action,touch,sound", ""); - } - } - set_int(was_drag, get_int(is_drag)); - set_int(is_drag, 0); - emit("elm,action,check,drag,stop", ""); - } - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 100.0; - } - else { - drag = 0.0; - } - set_drag(PART:"button", drag, 0.0); - set_state(PART:"bg_image", "visible", 0.0); - set_state(PART:"button", "on", 0.0); - set_int(check_on, 1); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 0.0; - } - else { - drag = 100.0; - } - set_drag(PART:"button", drag, 0.0); - set_state(PART:"bg_image", "default", 0.0); - set_state(PART:"button", "default", 0.0); - set_int(check_on, 0); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.offtext"; - target: "elm.ontext"; - target: "onrect"; - target: "offrect"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - get_state(PART:"bg_image", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"bg_image", "visible_disable", 0.0); - set_state(PART:"button", "on_disabled", 0.0); - } else { - set_state(PART:"bg_image", "off_disable", 0.0); - set_state(PART:"button", "off_disabled", 0.0); - } - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); - else - set_state(PART:"elm.swallow.content", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "onrect"; - target: "offrect"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - get_state(PART:"bg_image", st, 30, vl); - if (!strcmp(st, "visible_disable")) { - set_state(PART:"bg_image", "visible", 0.0); - set_state(PART:"button", "on", 0.0); - } else { - set_state(PART:"bg_image", "default", 0.0); - set_state(PART:"button", "default", 0.0); - } - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "visible", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(is_rtl, 1); - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(is_rtl, 0); - } - } - } - } -/////////////////////////////////////////////////////////////////////////////////////// - -#define CHECK_STYLE_FAVORITE(style_name, on_image, on_dim_image, off_image, off_dim_image, min_width, min_height) \ - group { name: "elm/check/base/"style_name; \ - images { \ - image: on_image COMP; \ - image: on_dim_image COMP; \ - image: off_image COMP; \ - image: off_dim_image COMP; \ - } \ - parts { \ - part { name: "back_bg"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel2.relative: 0.0 1.0; \ - align: 0 0.5; \ - min: min_width min_height; \ - fixed: 1 0; \ - } \ - } \ - part { name: "bg"; \ - type: RECT; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to: "back_bg"; \ - rel2.to: "back_bg"; \ - min: min_width min_height; \ - max: min_width min_height; \ - fixed: 1 1; \ - } \ - } \ - part { name: "check"; \ - mouse_events: 0; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "bg"; \ - rel2.to: "bg"; \ - image.normal: off_image; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - image.normal: on_image; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: off_dim_image; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - image.normal: on_dim_image; \ - } \ - } \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - visible: 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "bg"; \ - relative: 1.0 0.0; \ - offset: 1 1; \ - } \ - rel2 { \ - to_x: "bg"; \ - relative: 1.0 1.0; \ - offset: 2 -2; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - } \ - } \ - part { name: "elm.text"; \ - type: TEXTBLOCK; \ - clip_to: "disclip"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - fixed: 0 1; \ - rel1 { \ - relative: 1.0 0.5; \ - offset: 1 1; \ - to_x: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 0.5; \ - offset: -2 -2; \ - } \ - align: 0.0 0.5; \ - text { \ - style: "check_label_textblock_style"; \ - min: 0 0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text.min: 1 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text { \ - style: "check_label_textblock_style_disable"; \ - min: 1 1; \ - } \ - } \ - } \ - part { name: "disclip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: CHECK_DISCLIP_NORMAL_COLOR_INC; \ - } \ - } \ - part { name: "events"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "click"; \ - signal: "mouse,clicked,1"; \ - source: "events"; \ - action: SIGNAL_EMIT "elm,action,check,toggle" ""; \ - after: "touch_sound"; \ - } \ - program { name: "touch_sound"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - } \ - program { name: "check_on"; \ - signal: "elm,state,check,on"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "check"; \ - } \ - program { name: "check_off"; \ - signal: "elm,state,check,off"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "check"; \ - } \ - program { name: "text_show"; \ - signal: "elm,state,text,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "text_hide"; \ - signal: "elm,state,text,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "icon_show"; \ - signal: "elm,state,icon,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "icon_hide"; \ - signal: "elm,state,icon,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - after: "disable_text"; \ - } \ - program { name: "disable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.text", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.text", "disabled", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "disabled", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"check", "disabled_visible", 0.0); \ - else \ - set_state(PART:"check", "disabled", 0.0); \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - after: "enable_text"; \ - } \ - program { name: "enable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.text", "visible", 0.0); \ - else \ - set_state(PART:"elm.text", "default", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "default", 0.0); \ - get_state(PART:"check", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"check", "visible", 0.0); \ - else \ - set_state(PART:"check", "default", 0.0); \ - } \ - } \ - } \ - } -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_FAVORITE("favorite", "00_icon_favorite_on_72x72.png", "00_icon_favorite_on_72x72_dim.png", "00_icon_favorite_off_72x72.png", "00_icon_favorite_off_72x72_dim.png", CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_FAVORITE("favorite_small", "00_icon_favorite_on_45x45.png", "00_icon_favorite_on_45x45_dim.png", "00_icon_favorite_off_45x45.png", "00_icon_favorite_off_45x45_dim.png", CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_SMALL_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// -CHECK_STYLE_FAVORITE("favorite/extended", "00_icon_favorite_on_72x72.png", "00_icon_favorite_on_72x72_dim.png", "00_icon_favorite_off_72x72.png", "00_icon_favorite_off_72x72_dim.png", CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC) -//////////////////////////////////////////////////////////////////////////////// - - group { name: "elm/check/base/grid"; - images { - image: "00_check_bg.png" COMP; - image: "00_check_dim_bg.png" COMP; - image: "00_check_activated_dim.png" COMP; - image: "00_check_activated_press.png" COMP; - image: "00_check_activated.png" COMP; - image: "00_check_press_bg.png" COMP; - image: "00_check_focus.png" COMP; - } - script { - public check_state = CHECK_STATE_DEFAULT; - public check_visible = CHECK_HIDE; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "top_left_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: GENGRID_ITEM_CHECK_TOP_RIGHT_PADDING_INC; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - } - } - part { name: "bg2"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: GENGRID_EDIT_MODE_CHECK_SIZE_INC; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "top_left_padding"; - } - rel2 { - relative: 1.0 1.0; - to: "top_left_padding"; - } - image.normal: "00_check_bg.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "visible" 0.0; - image.normal: "00_check_press_bg.png"; - } - description { state: "disabled" 0.0; - inherit: "visible" 0.0; - image.normal: "00_check_dim_bg.png"; - } - } - part { name: "check"; - mouse_events: 0; - clip_to: "sequence_clip"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "bg2"; - rel2.to: "bg2"; - image.normal: "00_check_activated.png"; - color: 255 255 255 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { state: "pressed" 0.0; - inherit: "visible" 0.0; - image.normal: "00_check_activated_press.png"; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "00_check_activated_dim.png"; - } - } - part { name: "sequence_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg2"; - rel2.to: "bg2"; - rel2.relative: 0.0 1.0; - color: 255 255 255 255; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "elm,state,set,visible"; - source: "elm"; - script { - set_int(check_visible, CHECK_SHOW); - } - action: STATE_SET "visible" 0.0; - target: "bg2"; - target: "events"; - } - program { name: "hide"; - signal: "elm,state,set,hidden"; - source: "elm"; - script { - set_int(check_visible, CHECK_HIDE); - } - action: STATE_SET "default" 0.0; - target: "check"; - target: "bg2"; - target: "events"; - } - program { name: "click"; - signal: "mouse,clicked,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { name: "unpress"; - signal: "mouse,up,1"; - source: "events"; - action: STATE_SET "visible" 0.0; - target: "bg2"; - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "events"; - action: STATE_SET "pressed" 0.0; - target: "bg2"; - } - program { name: "mouse,out"; - signal: "mouse,out"; - source: "events"; - script { - if (get_int(check_state) == CHECK_STATE_VISIBLE) - { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - else - { - set_state(PART:"check", "default", 0.0); - set_state(PART:"sequence_clip", "default", 0.0); - } - set_state(PART:"bg2", "visible", 0.0); - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - if (get_int(check_state) != CHECK_STATE_VISIBLE) { - set_int(check_state, CHECK_STATE_VISIBLE); - if (get_int(check_visible) == CHECK_SHOW) - { - run_program(PROGRAM:"check_show_effect"); - run_program(PROGRAM:"check_draw_effect"); - } - else - { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - set_state(PART:"bg2", "visible", 0.0); - } - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "check"; - script { - if (get_int(check_state) == CHECK_STATE_VISIBLE) - { - set_int(check_state, CHECK_STATE_DEFAULT); - set_state(PART:"check", "default", 0.0); - set_state(PART:"sequence_clip", "default", 0.0); - } - set_state(PART:"bg2", "visible", 0.0); - } - } - program { name: "check_show_effect"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.233; - target: "check"; - } - program { name: "check_draw_effect"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.267; - target: "sequence_clip"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "bg2"; - after: "disable_check"; - } - program { name: "disable_check"; - script { - new st[31]; - new Float:vl; - get_state(PART:"check", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"check", "disabled_visible", 0.0); - set_int(check_state, CHECK_STATE_DISABLED_VISIBLE); - } - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "bg2"; - after: "enable_check"; - } - program { name: "enable_check"; - script { - new st[31]; - new Float:vl; - get_state(PART:"check", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - set_int(check_state, CHECK_STATE_VISIBLE); - } - else - set_int(check_state, CHECK_STATE_DEFAULT); - } - } - } - } - -#undef CHECK_STATE_DEFAULT -#undef CHECK_STATE_VISIBLE -#undef CHECK_STATE_DISABLED_VISIBLE -#undef CHECK_STATE_DISABLED - -#undef CHECK_HIDE -#undef CHECK_SHOW diff --git a/mobile/themes/widgets/colorselector.edc b/mobile/themes/widgets/colorselector.edc deleted file mode 100644 index 89008f7..0000000 --- a/mobile/themes/widgets/colorselector.edc +++ /dev/null @@ -1,887 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -group { - name: "elm/colorselector/palette/default"; - data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_INC; - data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_INC; - parts { - part { name: "base"; - type: RECT; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.0; - } - } - part { name: "palette"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 0.0; - to: "base"; - } - } - } - part{ name: "bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to: "palette"; - rel2.to: "palette"; - align: 0.0 0.0; - } - } - part { name: "selector"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to: "bottom_padding"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - } - } - } -} - -group { - name: "elm/colorselector/palette/landscape"; - data.item: "horizontal_pad" COLORSELECTOR_LANDSCAPE_HOR_PAD_INC; - data.item: "vertical_pad" COLORSELECTOR_LANDSCAPE_VER_PAD_INC; - parts { - part { name: "base"; - type: RECT; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.0; - } - } - part { name: "palette"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 0.0; - to: "base"; - } - } - } - part{ name: "bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to: "palette"; - rel2.to: "palette"; - align: 0.0 0.0; - } - } - part { name: "selector"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to: "bottom_padding"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - } - } - } -} - -group{ - name: "elm/colorselector/bg/default"; - parts{ - part{ - name: "bg_rect"; - type: RECT; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: COLORSELECTOR_MIN_W_INC COLORSELECTOR_MIN_H_INC; - color: 0 0 0 0; - } - } - part{ name: "top_padding1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_TOP_INC; - rel2.relative: 1.0 0.0; - rel1.to: "bg_rect"; - rel2.to: "bg_rect"; - align: 0.0 0.0; - } - } - part{ name: "top_padding2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "top_padding1"; - rel2.to_y: "top_padding1"; - align: 0.0 0.0; - } - } - part{ - name: "elm.colorbar_0"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: 1 COLORSELECTOR_COLORBAR_HEIGHT; - max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to_y: "top_padding2"; - rel2.to_y: "top_padding2"; - align: 0.5 0.0; - } - } - part{ - name: "bottom_padding1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_TOP_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "elm.colorbar_0"; - rel2.to_y: "elm.colorbar_0"; - align: 0.0 0.0; - } - } - part{ - name: "bottom_padding2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "bottom_padding1"; - rel2.to_y: "bottom_padding1"; - align: 0.0 0.0; - } - } - part{ - name: "elm.colorbar_1"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: 1 COLORSELECTOR_COLORBAR_HEIGHT; - max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to_y: "bottom_padding2"; - rel2.to_y: "bottom_padding2"; - align: 0.5 0.0; - } - } - part { - name: "bottom_padding3"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_TOP_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "elm.colorbar_1"; - rel2.to_y: "elm.colorbar_1"; - align: 0.0 0.0; - } - } - part { - name: "bottom_padding4"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "bottom_padding3"; - rel2.to_y: "bottom_padding3"; - align: 0.0 0.0; - } - } - part{ - name: "elm.colorbar_2"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: 1 COLORSELECTOR_COLORBAR_HEIGHT; - max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to_y: "bottom_padding4"; - rel2.to_y: "bottom_padding4"; - align: 0.5 0.0; - } - } - part { - name: "bottom_padding5"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_TOP_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "elm.colorbar_2"; - rel2.to_y: "elm.colorbar_2"; - align: 0.0 0.0; - } - } - part { - name: "bottom_padding6"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 1; - min: 1 1; - fixed: 1 1; - color: COLORSELECTOR_PADDING_COLOR_BOTTOM_INC; - rel1.relative: 0.0 1.0; - rel1.to_y: "bottom_padding5"; - rel2.to_y: "bg_rect"; - align: 0.0 0.0; - } - } - } -} - -group{ - name: "elm/colorselector/base/default"; - parts{ - part{ - name: "bg_rect"; - type: RECT; - scale: 1; - mouse_events: 1; - description{ - state: "default" 0.0; - color: 0 0 0 0; - } - } - part{ - name: "bar_bg_padding_rect_l"; - type: RECT; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_COLORBAR_LEFT_PADDING 0; - fixed: 1 0; - rel1.relative: 0.0 0.5; - rel2.relative: 0.0 0.5; - align: 0.0 0.5; - } - } - part{ - name: "bar_bg_padding_rect_r"; - type: RECT; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_COLORBAR_RIGHT_PADDING 0; - fixed: 1 0; - rel1.relative: 1.0 0.5; - rel2.relative: 1.0 0.5; - align: 1.0 0.5; - } - } - part { - name: "button_top_padding"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 COLORSELECTOR_BUTTON_TOP_PADDING; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - align: 0.5 0; - } - } - part{ - name: "elm.bar_bg"; - type: SWALLOW; - mouse_events: 1; - description{ - state: "default" 0.0; - rel1 {relative: 1.0 (16/70); to_x: "bar_bg_padding_rect_l";} - rel2 {relative: 0.0 (54/70); to_x: "bar_bg_padding_rect_r";} - } - } - part{ - name: "elm.bar"; - type: SWALLOW; - mouse_events: 1; - description{ - state: "default" 0.0; - rel1.to: "elm.bar_bg"; - rel2.to: "elm.bar_bg"; - } - } - part{ - name: "arrow_bg_padding_rect_l"; - type: RECT; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_ARROW_BG_LEFT_PADDING 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - } - } - part{ - name: "arrow_bg_padding_rect_r"; - type: RECT; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_ARROW_BG_RIGHT_PADDING 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - } - } - part{ - name: "elm.arrow_bg"; - type: SWALLOW; - mouse_events: 1; - description{ - state: "default" 0.0; - rel1 {relative: 1.0 (10/70); to_x: "arrow_bg_padding_rect_l";} - rel2 {relative: 0.0 (60/70); to_x: "arrow_bg_padding_rect_r";} - } - } - part{ - name: "elm.arrow"; - type: RECT; - mouse_events: 0; - scale: 1; - description{ - state: "default" 0.0; - min: COLORSELECTOR_ARROW_MIN_WIDTH COLORSELECTOR_ARROW_MIN_HEIGHT; - fixed: 1 1; - align: 0 0.5; - visible: 0; - rel1 {relative: 0.0 0.0; to_y: "elm.arrow_bg";} - rel2 {relative: 0.0 1.0; to_y: "elm.arrow_bg";} - } - dragable{ - confine: "elm.arrow_bg"; - x: 1 1 0; - y: 0 0 0; - } - } - part{ - name: "elm.arrow_icon"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description{ - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - to: "elm.arrow"; - offset: COLORSELECTOR_ARROW_REL1_OFFSET; - } - rel2 { - to: "elm.arrow"; - offset: COLORSELECTOR_ARROW_REL2_OFFSET; - } - } - } - part{ - name: "event"; - type: RECT; - scale: 1; - description{ - state: "default" 0.0; - min: COLORSELECTOR_DRAGGABLE_EVENT_AREA; - fixed: 1 1; - rel1.to: "elm.arrow_icon"; - rel2.to: "elm.arrow_icon"; - color: 0 0 0 0; - } - dragable{ - events: "elm.arrow"; - } - } - part{ - name: "l_button_padding_rect"; - type: RECT; - mouse_events: 0; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_BUTTON_LEFT_PADDING 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - } - } - part{ - name: "r_button_padding_rect"; - type: RECT; - mouse_events: 0; - scale: 1; - description{ - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_BUTTON_RIGHT_PADDING 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - } - } - part{ - name: "elm.l_button"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT; - fixed: 1 1; - rel1 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";} - rel2 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";} - align: 0.0 0.0; - } - } - part{ - name: "elm.r_button"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT; - fixed: 1 1; - rel1 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";} - rel2 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";} - align: 1.0 0.0; - } - } - } -} - -group{ - name: "elm/colorselector/image/colorbar_0/default"; - images{ - image: "00_color_picker_color.png" COMP; - image: "00_color_picker_color_h.png" COMP; - } - parts{ - part{ - name: "bg"; - type: RECT; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part{ - name: "colorbar_0_image"; - type: IMAGE; - mouse_events: 1; - description { - state: "default" 0.0; - visible: 1; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "00_color_picker_color.png"; - } - description { - state: "landscape" 0.0; - inherit: "default" 0.0; - image.normal: "00_color_picker_color_h.png"; - } - } - } - programs { - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_0_image"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_0_image"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: STATE_SET "default" 0.0; - target: "colorbar_0_image"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: STATE_SET "default" 0.0; - target: "colorbar_0_image"; - } - } -} - -group{ - name: "elm/colorselector/image/colorbar_1/default"; - images{ - image: "00_color_picker_saturation.png" COMP; - image: "00_color_picker_saturation_h.png" COMP; - } - parts{ - part{ - name: "bg"; - type: RECT; - scale: 1; - mouse_events: 1; - description{ - state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part{ - name: "colorbar_1_image"; - type: IMAGE; - mouse_events: 1; - description{ - state: "default" 0.0; - visible: 1; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "00_color_picker_saturation.png"; - } - description { - state: "landscape" 0.0; - inherit: "default" 0.0; - image.normal: "00_color_picker_saturation_h.png"; - } - } - } - programs { - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_1_image"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_1_image"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: STATE_SET "default" 0.0; - target: "colorbar_1_image"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: STATE_SET "default" 0.0; - target: "colorbar_1_image"; - } - } -} - -group{ - name: "elm/colorselector/image/colorbar_2/default"; - images{ - image: "00_color_picker_brightness.png" COMP; - image: "00_color_picker_brightness_h.png" COMP; - } - parts{ - part{ - name: "bg"; - type: RECT; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part{ - name: "colorbar_2_image"; - type: IMAGE; - mouse_events: 1; - description{ - state: "default" 0.0; - visible: 1; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "00_color_picker_brightness.png"; - } - description { - state: "landscape" 0.0; - inherit: "default" 0.0; - image.normal: "00_color_picker_brightness_h.png"; - } - } - } - programs { - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_2_image"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: STATE_SET "landscape" 0.0; - target: "colorbar_2_image"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: STATE_SET "default" 0.0; - target: "colorbar_2_image"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: STATE_SET "default" 0.0; - target: "colorbar_2_image"; - } - } -} - -group{ - name: "elm/colorselector/arrow/default"; - images{ - image:"00_color_picker_handler.png" COMP; - } - parts{ - part{ - name: arrow_image; - scale: 1; - type: IMAGE; - mouse_events: 1; - description{ - state: "default" 0.0; - image.normal: "00_color_picker_handler.png"; - } - } - } -} - -group { - name: "elm/colorselector/item/default"; - images { - image: "00_color_picker_palette_focus.png" COMP; - } - parts { - part { - name: "color_bg"; - type: RECT; - mouse_events:1; - scale: 1; - description { - state: "default" 0.0; - min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC; - visible: 0; - } - } - part { name: "color_obj"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1.to: "color_bg"; - rel2.to: "color_bg"; - } - } - part { - name: "focus_image"; - mouse_events:1; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC; - image.normal: "00_color_picker_palette_focus.png"; - image.border: COLORSELECTOR_PALETTE_BORDER_INC; - image.border_scale: 1; - rel1.to: "color_bg"; - rel2.to: "color_bg"; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "over1"; - type: RECT; - scale: 1; - repeat_events: 1; - description { - state: "default" 0.0; - rel1.to: "color_bg"; - rel2.to: "color_bg"; - color: 0 0 0 0; - } - } - } - programs { - program { name: "item_focus"; - source: "elm"; - signal: "elm,state,selected"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "item_unfocus"; - source: "elm"; - signal: "elm,state,unselected"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over1"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { - name: "elm/colorselector/item/color/default"; - images { - image: "00_color_picker_palette_bg.png" COMP; - } - parts { - part { - name: "color_rect"; - type: IMAGE; - mouse_events: 1; - scale: 1; - description{ - state: "default" 0.0; - image.normal: "00_color_picker_palette_bg.png"; - image.border: COLORSELECTOR_PALETTE_BORDER_INC; - image.border_scale: 1; - } - } - } -} - diff --git a/mobile/themes/widgets/conformant.edc b/mobile/themes/widgets/conformant.edc deleted file mode 100644 index 1e2f3b1..0000000 --- a/mobile/themes/widgets/conformant.edc +++ /dev/null @@ -1,916 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -///////////////////////////////////////////////////////////////////////////// - group { name: "elm/conformant/base/default"; - script { - public indicator_effect = 0; //Indicator need effect - public indicator_visible = 0; //Indicator visible check - public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent - public indicator_overlap = 0; //check indicator overlap/nooverlap - public clipboard_disable = 0; //check clipboard enable/disable - public keypad_disable = 0; //check virtualkeypad enable/disable - public landscape = 0; //Landscape mode status - public portrait_overlap = 0; //save portrait_overlap mode - public portrait_opacity = 0; //save portrait_opacity - } - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "indicator_base"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 0; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "indicator_overlap_base"; - type: RECT; - description { state: "default" 0.0; //nooverlap - rel1 { relative: 0.0 0.0; to: "indicator_base"; } - rel2 { relative: 1.0 1.0; to: "indicator_base"; } - visible: 0; - } - description { state: "overlap" 0.0; //content start (0,0) - inherit: "default" 0.0; - rel2 { relative: 1.0 0.0; to: "indicator_base"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; //sip: enable - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "indicator_overlap_base"; - rel2.relative: 1.0 0.0; - rel2.to: "sip_area"; - } - description { state: "disable_sip" 0.0; //sip: disable - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - rel2.to: "elm.swallow.bg"; - } - } - part { name: "elm.swallow.ug"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "indicator_overlap_base"; - rel2.relative: 1.0 0.0; - rel2.to: "sip_area"; - } - description { state: "disable_sip" 0.0; //sip: disable - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - rel2.to: "elm.swallow.bg"; - } - } - part { name: "indicator_event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; } - color: 0 0 0 0; - visible: 1; - } - } - part { name: "indicator_clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "indicator_base"; } - rel2 { relative: 1.0 1.0; to: "indicator_base"; } - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 -1.0; to: "indicator_base"; } - rel2 { relative: 1.0 0.0; to: "indicator_base"; } - } - } - part { name: "indicator_bg"; - type: RECT; -# mouse_events: 0; - clip_to: "indicator_clipper"; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } - rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } - color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC; - } - description { state: "translucent" 0.0; - inherit: "default" 0.0; - color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC; - } - } - part { name: "elm.swallow.indicator"; - type: SWALLOW; - scale: 1; - clip_to: "indicator_clipper"; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "indicator_clipper"; } - rel2 { relative: 1.0 1.0; to: "indicator_clipper"; } - } - } - part { name: "sip_area"; - type: RECT; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 0; - rel1.relative: 0.0 0.0; - rel1.to_y: "elm.swallow.virtualkeypad"; - rel2.relative: 1.0 1.0; - rel2.to_y: "elm.swallow.virtualkeypad"; - visible: 0; - } - description { state: "clipboard_on" 0.0; - inherit: "default" 0.0; - rel1.to_y: "elm.swallow.clipboard"; - rel2.to_y: "elm.swallow.clipboard"; - } - } - part { name: "elm.swallow.clipboard"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 1.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.virtualkeypad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 1.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.indicator_event"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "indicator_base"; } - rel2 { relative: 1.0 1.0; to: "indicator_base"; } - } - } - } - programs { - program { - name: "show_indicator"; //show indicator using effect - signal: "elm,state,indicator,show"; - source: "elm"; - script { - set_int(indicator_visible, 1); - set_state(PART:"indicator_base", "default", 0.0); - //it is possible app call show after opacity call - /////Portrait - if (get_int(landscape) == 0) { - if (get_int(indicator_opacity) == 0) - run_program(PROGRAM:"opaque_state"); - if (get_int(indicator_opacity) == 1) - run_program(PROGRAM:"translucent_state"); - if (get_int(indicator_opacity) == 2) - run_program(PROGRAM:"transparent_state"); - } - /////Landscape - else - run_program(PROGRAM:"transparent_state"); - } - } - program { - name: "hide_indicator"; - signal: "elm,state,indicator,hide"; - source: "elm"; - script { - set_int(indicator_visible, 0); - set_state(PART:"indicator_base", "hide", 0.0); - } - } - program { - name: "show_indicator_transition"; //show indicator using effect - action: STATE_SET "default" 0.0; - target: "indicator_clipper"; - transition: DECELERATE 0.5; - } - program { - name: "hide_indicator_transition"; //show indicator using effect - action: STATE_SET "hide" 0.0; - target: "indicator_clipper"; - transition: DECELERATE 0.5; - } - program { - name: "show_indicator_effect"; //show indicator using effect - signal: "indicator,show,effect"; - source: "elm"; - script { - if (get_int(indicator_visible) == 1) - run_program(PROGRAM:"show_indicator_transition"); - } - } - program { - name: "hide_indicator_effect"; //show indicator using effect - signal: "indicator,hide,effect"; - source: "elm"; - script { - if (get_int(indicator_visible) == 1) - run_program(PROGRAM:"hide_indicator_transition"); - } - } - program { - name: "opaque_state"; - script { - set_state(PART:"indicator_bg", "default", 0.0); - set_state(PART:"indicator_clipper", "default", 0.0); - set_state(PART:"indicator_overlap_base", "default", 0.0); - } - } - program { - name: "translucent_state"; - script { - set_state(PART:"indicator_bg", "translucent", 0.0); - set_state(PART:"indicator_clipper", "default", 0.0); - set_state(PART:"indicator_overlap_base", "overlap", 0.0); - } - } - program { - name: "transparent_state"; - script { - set_state(PART:"indicator_bg", "default", 0.0); - set_state(PART:"indicator_clipper", "hide", 0.0); - set_state(PART:"indicator_overlap_base", "overlap", 0.0); - } - } - program { - name: "opaque_indicator"; - signal: "elm,state,indicator,opaque"; - source: "elm"; - script { - set_int(indicator_opacity, 0); - if ((get_int(indicator_visible) == 1) && (get_int(landscape) == 0)) - run_program(PROGRAM:"opaque_state"); - } - } - program { - name: "translucent_indicator"; - signal: "elm,state,indicator,translucent"; - source: "elm"; - script { - set_int(indicator_opacity, 1); - if ((get_int(indicator_visible) == 1) && (get_int(landscape) == 0)) - run_program(PROGRAM:"translucent_state"); - } - } - program { - name: "transparent_indicator"; - signal: "elm,state,indicator,transparent"; - source: "elm"; - script { - set_int(indicator_opacity, 2); - if (get_int(indicator_visible) == 1) - run_program(PROGRAM:"transparent_state"); - } - } - program { - name: "overlap_indicator"; - signal: "elm,state,indicator,overlap"; - source: "elm"; - script { - set_int(indicator_overlap, 1); - set_state(PART:"indicator_overlap_base", "overlap", 0.0); - } - } - program { - name: "nooverlap_indicator"; - signal: "elm,state,indicator,nooverlap"; - source: "elm"; - script { - //Only portrait state get nooverlap mode - set_int(indicator_overlap, 0); - if (get_int(indicator_visible) == 1) - if (get_int(indicator_opacity) == 0) { //only opaque can be nooverlap - if (get_int(landscape) == 0) { //landscape should be overlap - set_state(PART:"indicator_overlap_base", "default", 0.0); - } - } - } - } - program { name: "enable_clipboard"; - signal: "elm,state,clipboard,enable"; - source: ""; - script { - set_int(clipboard_disable, 0); - //set content state - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "disable_clipboard"; - signal: "elm,state,clipboard,disable"; - source: ""; - script { - set_int(clipboard_disable, 1); - set_state(PART:"sip_area", "default", 0.0); - if (get_int(keypad_disable) == 1) - set_state(PART:"elm.swallow.content", "disable_sip", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "enable_virtualkeypad"; - signal: "elm,state,virtualkeypad,enable"; - source: ""; - script { - set_int(keypad_disable, 0); - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "disable_virtualkeypad"; - signal: "elm,state,virtualkeypad,disable"; - source: ""; - script { - set_int(keypad_disable, 1); - if (get_int(clipboard_disable) == 1) - { - set_state(PART:"sip_area", "clipboard_on", 0.0); - set_state(PART:"elm.swallow.content", "disable_sip", 0.0); - } - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { - name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - if (get_int(landscape) == 0) { - set_int(landscape, 1); - if (get_int(indicator_visible) == 1) - run_program(PROGRAM:"transparent_state"); - } - } - } - program { - name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - if (get_int(indicator_visible) == 1) { - if (get_int(landscape) == 1) { //content start (0, indicator height) - set_int(landscape, 0); - if (get_int(indicator_opacity) == 2) - run_program(PROGRAM:"transparent_state"); - else if (get_int(indicator_opacity) == 1) - run_program(PROGRAM:"translucent_state"); - else - run_program(PROGRAM:"opaque_state"); - } - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { - name: "clipboard_on"; - signal: "elm,state,clipboard,on"; - source: "elm"; - action: STATE_SET "clipboard_on" 0.0; - target: "sip_area"; - } - program { - name: "clipboard_off"; - signal: "elm,state,clipboard,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sip_area"; - } - program { name: "indicator_event_down"; - signal: "mouse,down,1"; - source: "indicator_event"; - action: SIGNAL_EMIT "elm,action,press" ""; - } - } - } - group { name: "elm/conformant/base/indicator_overlap"; - script { - public indicator_visible = 0; //Indicator visible check - public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent - } - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel2.relative: 1.0 0.0; - rel2.to: "sip_area"; - } - } - part { name: "elm.swallow.ug"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "elm.swallow.indicator"; - rel2.relative: 1.0 0.0; - rel2.to: "sip_area"; - } - } - part { name: "indicator_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC; - } - description { state: "translucent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC; - } - description { state: "transparent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - part { name: "elm.swallow.indicator"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - part { name: "sip_area"; - type: RECT; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 0; - rel1.relative: 0.0 0.0; - rel1.to_y: "elm.swallow.virtualkeypad"; - rel2.relative: 1.0 1.0; - rel2.to_y: "elm.swallow.virtualkeypad"; - visible: 0; - } - description { state: "clipboard_on" 0.0; - inherit: "default" 0.0; - rel1.to_y: "elm.swallow.clipboard"; - rel2.to_y: "elm.swallow.clipboard"; - } - } - part { name: "elm.swallow.clipboard"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 1.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.virtualkeypad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 1.0; - rel1.relative: 0.0 1.0; - } - } - } - programs { - program { - name: "show_indicator"; - signal: "elm,state,indicator,show"; - source: "elm"; - script { - set_int(indicator_visible, 1); - set_state(PART:"elm.swallow.indicator", "default", 0.0); - if (get_int(indicator_opacity) == 0) - set_state(PART:"indicator_bg", "opaque", 0.0); - if (get_int(indicator_opacity) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - if (get_int(indicator_opacity) == 2) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - program { - name: "hide_indicator"; - signal: "elm,state,indicator,hide"; - source: "elm"; - script { - set_int(indicator_visible, 0); - set_state(PART:"elm.swallow.indicator", "hide", 0.0); - set_state(PART:"indicator_bg", "hide", 0.0); - } - } - program { - name: "opaque_indicator"; - signal: "elm,state,indicator,opaque"; - source: "elm"; - script { - set_int(indicator_opacity, 0); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "opaque", 0.0); - } - } - program { - name: "translucent_indicator"; - signal: "elm,state,indicator,translucent"; - source: "elm"; - script { - set_int(indicator_opacity, 1); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - } - } - program { - name: "transparent_indicator"; - signal: "elm,state,indicator,transparent"; - source: "elm"; - script { - set_int(indicator_opacity, 2); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - program { - name: "clipboard_on"; - signal: "elm,state,clipboard,on"; - source: "elm"; - action: STATE_SET "clipboard_on" 0.0; - target: "sip_area"; - } - program { - name: "clipboard_off"; - signal: "elm,state,clipboard,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sip_area"; - } - } - } - - group { name: "elm/conformant/base/nokeypad"; - script { - public indicator_visible = 0; //Indicator visible check - public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent - } - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "elm.swallow.indicator"; - } - } - part { name: "elm.swallow.ug"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "elm.swallow.indicator"; - } - } - part { name: "indicator_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC; - } - description { state: "translucent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC; - } - description { state: "transparent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - part { name: "elm.swallow.indicator"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - } - programs { - program { - name: "show_indicator"; - signal: "elm,state,indicator,show"; - source: "elm"; - script { - set_int(indicator_visible, 1); - set_state(PART:"elm.swallow.indicator", "default", 0.0); - if (get_int(indicator_opacity) == 0) - set_state(PART:"indicator_bg", "opaque", 0.0); - if (get_int(indicator_opacity) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - if (get_int(indicator_opacity) == 2) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - program { - name: "hide_indicator"; - signal: "elm,state,indicator,hide"; - source: "elm"; - script { - set_int(indicator_visible, 0); - set_state(PART:"elm.swallow.indicator", "hide", 0.0); - set_state(PART:"indicator_bg", "hide", 0.0); - } - } - program { - name: "opaque_indicator"; - signal: "elm,state,indicator,opaque"; - source: "elm"; - script { - set_int(indicator_opacity, 0); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "opaque", 0.0); - } - } - program { - name: "translucent_indicator"; - signal: "elm,state,indicator,translucent"; - source: "elm"; - script { - set_int(indicator_opacity, 1); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - } - } - program { - name: "transparent_indicator"; - signal: "elm,state,indicator,transparent"; - source: "elm"; - script { - set_int(indicator_opacity, 2); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - } - } - group { name: "elm/conformant/base/without_resize"; - script { - public indicator_visible = 0; //Indicator visible check - public indicator_opacity = 0; //0=opaque, 1=translucent, 2=transparent - } - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.indicator_area"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.0 1.0; - rel1.to: "elm.swallow.indicator_area"; - } - } - part { name: "indicator_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_DEFAULT_COLOR_INC; - } - description { state: "translucent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_TRANSLUCENT_COLOR_INC; - } - description { state: "transparent" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - color: CONFORMANT_INDICATOR_BG_TRANSPARENT_COLOR_INC; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - part { name: "elm.swallow.indicator"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 LAYOUT_INDICATOR_HEIGHT_INC; - rel2.relative: 1.0 0.0; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - } - } - } - programs { - program { - name: "show_indicator"; - signal: "elm,state,indicator,show"; - source: "elm"; - script { - set_int(indicator_visible, 1); - set_state(PART:"elm.swallow.indicator", "default", 0.0); - if (get_int(indicator_opacity) == 0) - set_state(PART:"indicator_bg", "opaque", 0.0); - if (get_int(indicator_opacity) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - if (get_int(indicator_opacity) == 2) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - program { - name: "hide_indicator"; - signal: "elm,state,indicator,hide"; - source: "elm"; - script { - set_int(indicator_visible, 0); - set_state(PART:"elm.swallow.indicator", "hide", 0.0); - set_state(PART:"indicator_bg", "hide", 0.0); - } - } - program { - name: "opaque_indicator"; - signal: "elm,state,indicator,opaque"; - source: "elm"; - script { - set_int(indicator_opacity, 0); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "opaque", 0.0); - } - } - program { - name: "translucent_indicator"; - signal: "elm,state,indicator,translucent"; - source: "elm"; - script { - set_int(indicator_opacity, 1); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "translucent", 0.0); - } - } - program { - name: "transparent_indicator"; - signal: "elm,state,indicator,transparent"; - source: "elm"; - script { - set_int(indicator_opacity, 2); - if (get_int(indicator_visible) == 1) - set_state(PART:"indicator_bg", "transparent", 0.0); - } - } - } - } diff --git a/mobile/themes/widgets/ctxpopup.edc b/mobile/themes/widgets/ctxpopup.edc deleted file mode 100644 index 40bf2e5..0000000 --- a/mobile/themes/widgets/ctxpopup.edc +++ /dev/null @@ -1,4219 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////////////// -// -// ctxpopup -// -/////////////////////////////////////////////////////////////////////////////////////// - -#define CTXPOPUP_SHADOW_PADDING 10 -#define CTXPOPUP_FRAME_CORNER_SIZE 4 4 -#define CTXPOPUP_FONT_COLOR 0 0 0 255 -#define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255 -#define CTXPOPUP_LIST_PADDING 10 -#define CTXPOPUP_LIST_SHADOW_PADDING 3 - -/////////////////////////////////////////////////////////////////////////////// - -group { - name: "elm/ctxpopup/layout/default"; - alias: "elm/ctxpopup/layout/copypaste"; - max: CTXPOPUP_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7.5)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*14)); - parts { - part { - name:"top_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 CTXPOPUP_MOVE_PAD_INC; - visible: 0; - fixed: 0 1; - align: 0.5 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"bottom_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 CTXPOPUP_MOVE_PAD_INC; - visible: 0; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_MOVE_PAD_INC 0; - visible: 0; - fixed: 1 0; - align: 0.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_MOVE_PAD_INC 0; - visible: 0; - fixed: 1 0; - align: 1 0.5; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "swallow"; - type: SWALLOW; - clip_to: "layout_clip"; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "show_up" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - align: 0.5 0.0; - } - description { - state: "show_down" 0.0; - rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 0.5 1.0; - } - description { - state: "show_left" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - align: 0.0 0.5; - } - description { - state: "show_right" 0.0; - rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 1.0 0.5; - } - } - part { - name: "layout_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 0; - rel1 {to: "swallow"; relative: -0.2 -0.2; } - rel2 {to: "swallow"; relative: 1.2 1.2;} - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "showup"; - signal: "elm,state,show,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - target: "layout_clip"; - after: "showupend"; - } - program { - name: "showdown"; - signal: "elm,state,show,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - target: "layout_clip"; - after: "showdownend"; - } - program { - name: "showleft"; - signal: "elm,state,show,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - target: "layout_clip"; - after: "showleftend"; - } - program { - name: "showright"; - signal: "elm,state,show,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - target: "layout_clip"; - after: "showrightend"; - } - program { - name: "showupend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "top_padding"; - target: "layout_clip"; - } - program { - name: "showdownend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "bottom_padding"; - target: "layout_clip"; - } - program { - name: "showleftend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "left_padding"; - target: "layout_clip"; - } - program { - name: "showrightend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "right_padding"; - target: "layout_clip"; - } - program { - name: "hideup"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hidedown"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideleft"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideright"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideup_clip"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hidedown_clip"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideleft_clip"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideright_clip"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "be_default"; - action: STATE_SET "default" 0.0; - target: "swallow"; - target: "top_padding"; - target: "bottom_padding"; - target: "left_padding"; - target: "right_padding"; - after: "hidefinished"; - } - program { - name: "hidefinished"; - action: SIGNAL_EMIT "elm,action,hide,finished" ""; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/layout/landscape/default"; - inherit: "elm/ctxpopup/layout/default"; - max: (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING) ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5.5)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*10)); -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/layout/datetime/default"; - alias: "elm/ctxpopup/layout/timepicker"; - parts { - part { - name:"top_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 20; - visible: 0; - fixed: 0 1; - align: 0.5 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"bottom_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 20; - visible: 0; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 20 0; - visible: 0; - fixed: 1 0; - align: 0.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 20 0; - visible: 0; - fixed: 1 0; - align: 1 0.5; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "swallow"; - type: SWALLOW; - clip_to: "layout_clip"; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "show_up" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - align: 0.5 0.0; - } - description { - state: "show_down" 0.0; - rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 0.5 1.0; - } - description { - state: "show_left" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - align: 0.0 0.5; - } - description { - state: "show_right" 0.0; - rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 1.0 0.5; - } - } - part { - name: "layout_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 0; - rel1 {to: "swallow"; relative: -0.2 -0.2; } - rel2 {to: "swallow"; relative: 1.2 1.2;} - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "showup"; - signal: "elm,state,show,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - target: "layout_clip"; - after: "showupend"; - } - program { - name: "showdown"; - signal: "elm,state,show,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - target: "layout_clip"; - after: "showdownend"; - } - program { - name: "showleft"; - signal: "elm,state,show,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - target: "layout_clip"; - after: "showleftend"; - } - program { - name: "showright"; - signal: "elm,state,show,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - target: "layout_clip"; - after: "showrightend"; - } - program { - name: "showupend"; - action: STATE_SET "visible" 0.0; - transition:LINEAR 0.25; - target: "top_padding"; - target: "layout_clip"; - } - program { - name: "showdownend"; - action: STATE_SET "visible" 0.0; - transition:LINEAR 0.25; - target: "bottom_padding"; - target: "layout_clip"; - } - program { - name: "showleftend"; - action: STATE_SET "visible" 0.0; - transition:LINEAR 0.25; - target: "left_padding"; - target: "layout_clip"; - } - program { - name: "showrightend"; - action: STATE_SET "visible" 0.0; - transition:LINEAR 0.25; - target: "right_padding"; - target: "layout_clip"; - } - program { - name: "hideup"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hidedown"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hideleft"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hideright"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hideup_clip"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hidedown_clip"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hideleft_clip"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "hideright_clip"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: LINEAR 0.25; - after: "be_default"; - } - program { - name: "be_default"; - action: STATE_SET "default" 0.0; - target: "swallow"; - target: "top_padding"; - target: "bottom_padding"; - target: "left_padding"; - target: "right_padding"; - after: "hidefinished"; - } - program { - name: "hidefinished"; - action: SIGNAL_EMIT "elm,action,hide,finished" ""; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/layout/more/default"; - max: (CTXPOPUP_MORE_WIDTH_MAX_INC-(CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING)) ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7.5)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*14)); - parts { - part { - name:"top_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 CTXPOPUP_MOVE_PAD_INC; - visible: 0; - fixed: 0 1; - align: 0.5 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"bottom_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 CTXPOPUP_MOVE_PAD_INC; - visible: 0; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_MOVE_PAD_INC 0; - visible: 0; - fixed: 1 0; - align: 0.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name:"right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_MOVE_PAD_INC 0; - visible: 0; - fixed: 1 0; - align: 1 0.5; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "swallow"; - type: SWALLOW; - clip_to: "layout_clip"; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "show_up" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - align: 0.5 0.0; - } - description { - state: "show_down" 0.0; - rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 0.5 1.0; - } - description { - state: "show_left" 0.0; - rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;} - rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;} - align: 0.0 0.5; - } - description { - state: "show_right" 0.0; - rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;} - rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;} - align: 1.0 0.5; - } - } - part { - name: "layout_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 0; - rel1 {to: "swallow"; relative: -0.2 -0.2; } - rel2 {to: "swallow"; relative: 1.2 1.2;} - } - description { - state: "show_up" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_down" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_left" 0.0; - inherit: "default" 0.0; - } - description { - state: "show_right" 0.0; - inherit: "default" 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "showup"; - signal: "elm,state,show,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - target: "layout_clip"; - after: "showupend"; - } - program { - name: "showdown"; - signal: "elm,state,show,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - target: "layout_clip"; - after: "showdownend"; - } - program { - name: "showleft"; - signal: "elm,state,show,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - target: "layout_clip"; - after: "showleftend"; - } - program { - name: "showright"; - signal: "elm,state,show,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - target: "layout_clip"; - after: "showrightend"; - } - program { - name: "showupend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "top_padding"; - target: "layout_clip"; - } - program { - name: "showdownend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "bottom_padding"; - target: "layout_clip"; - } - program { - name: "showleftend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "left_padding"; - target: "layout_clip"; - } - program { - name: "showrightend"; - action: STATE_SET "visible" 0.0; - transition: SIN_FAC 0.33 1.1; - target: "right_padding"; - target: "layout_clip"; - } - program { - name: "hideup"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - target: "swallow"; - target: "top_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hidedown"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - target: "swallow"; - target: "bottom_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideleft"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - target: "swallow"; - target: "left_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideright"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - target: "swallow"; - target: "right_padding"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideup_clip"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hidedown_clip"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideleft_clip"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "hideright_clip"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "layout_clip"; - transition: SIN_FAC 0.33 1.1; - after: "be_default"; - } - program { - name: "be_default"; - action: STATE_SET "default" 0.0; - target: "swallow"; - target: "top_padding"; - target: "bottom_padding"; - target: "left_padding"; - target: "right_padding"; - after: "hidefinished"; - } - program { - name: "hidefinished"; - action: SIGNAL_EMIT "elm,action,hide,finished" ""; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/layout/landscape/more/default"; - inherit: "elm/ctxpopup/layout/landscape/default"; - max: (CTXPOPUP_MORE_WIDTH_LANDSCAPE_MAX_INC-(CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING)) ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5.5)+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*10)); -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/scroller/base/ctxpopup"; - alias: "elm/scroller/base/more/default"; - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if(!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if(!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: "00_popup_scroll_v.png" COMP; - image: "00_popup_scroll_h.png" COMP; - } - parts { - part { - name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - } - } - part { - name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - } - } - part { - name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { - name: "sb_vbar_clip"; - clip_to:"sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel2{ to:"clipper"; relative: 1.0 1.0;} - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { - name: "sb_vbar_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) 0; - max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) 0; - visible: 0; - align: 1.0 0.0; - rel1 { to:"clipper"; relative: 1.0 0.0; } - rel2 { to:"clipper"; relative: 1.0 1.0; } - } - } - part { - name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 1.0 0.0; - rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; } - rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; } - } - } - part { - name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { - state: "default" 0.0; - fixed: 1 1; - min: CTXPOPUP_SCROLLER_V_MIN_SIZE_INC; - rel1 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - image { - normal: "00_popup_scroll_v.png"; - border: 0 0 8 8; - border_scale: 1; - } - } - } - part { - name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { - name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel2{ to:"clipper"; relative: 1.0 1.0;} - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { - name: "sb_hbar_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - min: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_HEIGHT); - max: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_HEIGHT); - visible: 0; - align: 0.0 1.0; - rel1 { to:"clipper"; relative: 0.0 1.0; } - rel2 { to:"clipper"; relative: 1.0 1.0; } - } - } - part { - name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 0.0 1.0; - rel1 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 0.0 0.0;} - rel2 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 1.0 0.0;} - } - } - part { - name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { - state: "default" 0.0; - fixed: 1 1; - min: CTXPOPUP_SCROLLER_H_MIN_SIZE_INC; - rel1 {relative: 0.5 0.5; to: "sb_hbar";} - rel2 {relative: 0.5 0.5; to: "sb_hbar";} - image { - normal: "00_popup_scroll_h.png"; - border: 8 8 0 0; - border_scale: 1; - } - } - } - } - programs { - program { - name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_int(sbvis_v, 0); - set_int(sbvis_h, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - program { - name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { - name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { - name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { - name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { - name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - program { - name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - program { - name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { - name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { - name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { - name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { - name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - program { - name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - program { - name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if(!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(2.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "show"; - signal: "show"; - source: ""; - script { - new v; - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - v = get_int(sbalways_v); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - v = get_int(sbalways_h); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/bg/timepicker"; - alias: "elm/ctxpopup/bg/datetime/default"; - parts { - part { - name: "bg"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "visible" 0.0; - color: 0 0 0 0; - visible: 1; - } - } - } - programs { - program { - name: "clicked_event"; - signal: "mouse,clicked,1"; - source: "bg"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "show"; - signal: "elm,state,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "bg"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/bg/default"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "visible" 0.0; - color: 0 0 0 0; - min: 1280 1280; - align: 0.0 0.0; - visible: 1; - } - } - } - programs { - program { - name: "clicked_event"; - signal: "mouse,clicked,1"; - source: "bg"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "show"; - signal: "elm,state,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "bg"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - } - } -} - -group { - name: "elm/ctxpopup/bg/copypaste"; - inherit: "elm/ctxpopup/bg/default"; - parts { - part { - name: "bg"; - repeat_events: 1; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/base/default"; - alias: "elm/ctxpopup/base/copypaste"; - images { - image: "00_popup_bubble_bg.png" COMP; - } - parts { - part { - name:"frame_shadow_left_top_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; - max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; - rel2 { relative: 0 0; } - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name:"frame_shadow_right_bottom_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; - max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING; - rel1{relative: 1 1;} - align: 1 1; - fixed: 1 1; - visible: 0; - } - } - part { - name: "frame_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 {to:"frame_shadow_left_top_padding";} - rel2 {to:"frame_shadow_right_bottom_padding";} - min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0; - image { - normal: "00_popup_bubble_bg.png"; - border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { name: "arrow_area_left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 1 0.5; - rel1 { - relative: 1 1; - to_x:"arrow_left_top_padding"; - to_y: "ctxpopup_frame_left_top"; - } - rel2 { - relative: 1 0; - to_x:"arrow_left_top_padding"; - to_y:"ctxpopup_frame_right_bottom"; - } - } - } - part { name: "arrow_area_right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0 0.5; - rel1 { - relative: 0 1; - to_x:"arrow_right_bottom_padding"; - to_y:"ctxpopup_frame_left_top"; - } - rel2 { - relative: 0 0; - to_x:"arrow_right_bottom_padding"; - to_y: "ctxpopup_frame_right_bottom"; - } - } - } - part { name: "arrow_area_up"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 1; - rel1 { - relative: 1 1; - to_x: "ctxpopup_frame_left_top"; - to_y: "arrow_left_top_padding"; - } - rel2 { - relative: 0 1; - to_x:"ctxpopup_frame_right_bottom"; - to_y: "arrow_left_top_padding"; - } - } - } - part { name: "arrow_area_down"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 0; - rel1 { - relative: 1 0; - to_x:"ctxpopup_frame_left_top"; - to_y:"arrow_right_bottom_padding"; - } - rel2 { - relative: 0 0; - to_x: "ctxpopup_frame_right_bottom"; - to_y:"arrow_right_bottom_padding"; - } - } - } - part { name: "elm.swallow.arrow_up"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_up"; - } - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_down"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_down"; - } - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_left"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_left"; - } - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_right"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_right"; - } - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 1; - } - } - part { - name: "ctxpopup_frame_left_top"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - align: 0 0; - fixed: 1 1; - min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; - max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; - rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";} - } - } - part { - name: "ctxpopup_frame_right_bottom"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - align: 1 1; - fixed: 1 1; - min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; - max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING; - rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";} - } - } - part { - name:"content_left_top_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name:"content_right_bottom_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} - align: 1 1; - fixed: 1 1; - visible: 0; - } - } - part { - name: "arrow_left_top_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; - max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; - rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} - align: 0 0; - visible: 0; - } - } - part { - name: "arrow_right_bottom_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; - max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING; - rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} - align: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - align: 0 0; - rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} - rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} - } - } - part { name: "access.outline"; - type: RECT; - scale: 1; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "frame_bg"; - rel2.to: "frame_bg"; - color: 0 0 0 0; - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/arrow/default"; - images { - image: "00_popup_bubble_tail_left.png" COMP; - image: "00_popup_bubble_tail_right.png" COMP; - image: "00_popup_bubble_tail_top.png" COMP; - image: "00_popup_bubble_tail_bottom.png" COMP; - } - parts { - part { - name: "ctxpopup_arrow"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - max: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 0; - align: 0.5 0.5; - } - description { - state: "left" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - max: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 1.0 0.5; - image { - normal: "00_popup_bubble_tail_left.png"; - } - } - description { - state: "right" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - max: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.0 0.5; - image { - normal: "00_popup_bubble_tail_right.png"; - } - } - description { - state: "top" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - max: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 1.0; - image { - normal: "00_popup_bubble_tail_top.png"; - } - } - description { - state: "bottom" 0.0; - min: CTXPOPUP_ARROW_SIZE_INC; - max: CTXPOPUP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 0.0; - image { - normal: "00_popup_bubble_tail_bottom.png"; - } - } - } - } - programs { - program { - name: "enable_left_arrow"; - signal: "elm,state,left"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_right_arrow"; - signal: "elm,state,right"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_top_arrow"; - signal: "elm,state,top"; - source: "elm"; - action: STATE_SET "top" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_bottom_arrow"; - signal: "elm,state,bottom"; - source: "elm"; - action: STATE_SET "bottom" 0.0; - target: "ctxpopup_arrow"; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/text_style_item/default"; - - images { - image: "00_more_popup_press.png" COMP; - } - - data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC; - - parts { - part { - name: "event_blocker"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "bg"; - mouse_events: 0; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC; - } - description { - state: "clicked" 0.0; - rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;} - rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;} - visible: 1; - image { - normal: "00_more_popup_press.png"; - border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "bg_press_left_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0.5; - } - } - part { - name: "bg_press_right_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 1 0.5; - } - } - part { - name: "bg_press_top_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - rel1 {to: "separator2"; relative: 0.0 1.0;} - align: 0.5 0; - } - } - part { - name: "bg_press_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - align: 0.5 1; - } - } - part { - name: "separator1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR_INC; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - align: 0.5 0; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "separator2"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR2_COLOR_INC; - rel1 { relative: 0.0 1.0; to: "separator1";} - rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; } - align: 0.5 0; - fixed: 0 1; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "left_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC; - align: 0.5 0.5; - rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";} - rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";} - color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC; - size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; - align: 0 0.5; - min: 1 1; - text_class: "list_item"; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC; - text.min: 0 1; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - description { - state: "ellipsis" 0.0; - inherit: "default" 0.0; - min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC; - text.min: 0 1; - } - description { - state: "ellipsis_disabled" 0.0; - inherit: "ellipsis" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - } - part { - name: "right_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC; - fixed: 1 1; - align: 1.0 1.0; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - rel1.to:"bg"; - rel2.to:"bg"; - color: 0 0 0 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "disabled" 0.0; - visible: 1; - color: CTXPOPUP_ITEM_DISABLED_COLOR; - } - } - } - programs { - program { - name: "text_ellipsis"; - signal: "elm,state,text,ellipsis"; - source: "elm"; - action: STATE_SET "ellipsis" 0.0; - target: "elm.text"; - } - program { - name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis_disabled", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - set_state(PART:"disclip", "disabled", 0.0); - } - } - program { - name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - set_state(PART:"disclip", "default", 0.0); - } - } - program { - name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - set_state(PART:"separator1", "default", 0.0); - set_state(PART:"separator2", "default", 0.0); - } - } - program { - name: "separator"; - signal: "elm,state,separator"; - source: "elm"; - script { - set_state(PART:"separator1", "visible", 0.0); - set_state(PART:"separator2", "visible", 0.0); - } - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { - name: "drag"; - signal: "drag"; - source: "over2"; - script { - new Float:dx, Float:dy; - get_drag(PART:"over2", dx, dy); - if ((abs(dx) > 20) || (abs(dy) > 20)) { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - set_drag(PART:"over2", 0.0, 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/text_style_item_horizontal/default"; - - images { - image: "00_more_popup_press.png" COMP; - } - - parts { - part { - name: "event_blocker"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "bg"; - mouse_events: 0; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - } - description { - state: "clicked" 0.0; - visible: 1; - rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;} - rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;} - image { - normal: "00_more_popup_press.png"; - border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "bg_press_left_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - rel1 {to: "separator2"; relative: 1.0 0.0;} - align: 0 0.5; - } - } - part { - name: "bg_press_right_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - align: 1 0.5; - } - } - part { - name: "bg_press_top_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - align: 0.5 0; - } - } - part { - name: "bg_press_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - align: 0.5 1; - } - } - part { - name: "separator1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC; - align: 0 0.5; - min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; - max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "separator2"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC; - rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";} - align: 0 0.5; - min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; - max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "left_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - align: 0 0; - color: 255 0 0 255; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - align: 0.5 0.5; - rel1 {relative: 1.0 0.0; to: "left_padding"; } - rel2 {relative: 0.0 1.0; to: "right_padding"; } - color: CTXPOPUP_MAIN_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: CTXPOPUP_MAIN_TEXT_SIZE_INC; - size_range: CTXPOPUP_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; - align: 0.5 0.5; - min: 1 1; - text_class: "list_item"; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC; - } - } - part { - name: "right_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - fixed: 1 1; - align: 1 1; - color: 0 255 0 255; - visible: 0; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - rel1.to:"bg"; - rel2.to:"bg"; - color: 0 0 0 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "disabled" 0.0; - visible: 1; - color: CTXPOPUP_ITEM_DISABLED_COLOR; - } - } - } - programs { - program { - name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"elm.text", "disabled", 0.0); - set_state(PART:"disclip", "disabled", 0.0); - } - } - program { - name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"disclip", "default", 0.0); - } - } - program { - name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - set_state(PART:"separator1", "default", 0.0); - set_state(PART:"separator2", "default", 0.0); - } - } - program { - name: "separator"; - signal: "elm,state,separator"; - source: "elm"; - script { - set_state(PART:"separator1", "visible", 0.0); - set_state(PART:"separator2", "visible", 0.0); - } - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { - name: "drag"; - signal: "drag"; - source: "over2"; - script { - new Float:dx, Float:dy; - get_drag(PART:"over2", dx, dy); - if ((abs(dx) > 20) || (abs(dy) > 20)) { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - set_drag(PART:"over2", 0.0, 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/icon_style_item/default"; - - images { - image: "00_more_popup_press.png" COMP; - } - - parts { - part { - name: "event_blocker"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "bg"; - scale: 1; - mouse_events: 0; - type: IMAGE; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - } - description { - state: "clicked" 0.0; - visible: 1; - rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;} - rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;} - image { - normal: "00_more_popup_press.png"; - border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "bg_press_left_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - rel1 {to: "separator2"; relative: 1.0 0.0;} - align: 0 0.5; - } - } - part { - name: "bg_press_right_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - align: 1 0.5; - } - } - part { - name: "bg_press_top_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - align: 0.5 0; - } - } - part { - name: "bg_press_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING; - align: 0.5 1; - } - } - part { - name: "left_padding"; - scale: 1; - description { - min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - visible: 0; - align: 0 0; - fixed: 1 1; - } - } - part { - name: "separator1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC; - align: 0 0.5; - min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; - max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "separator2"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC; - rel1 { relative: 1.0 0.0; to_x: "separator1"; } - align: 0 0.5; - min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC; - max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "icon_clip"; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; - max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC; - align: 0.5 0.5; - aspect: 1.0 1.0; - rel1 { relative: 1 0; to_x: "left_padding"; } - rel2 { relative: 0 1; to_x: "right_padding"; } - } - } - part { - name: "icon_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC; - } - } - part { - name: "right_padding"; - scale: 1; - description { - min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2); - visible: 0; - align: 1 1; - fixed: 1 1; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - rel1.to:"bg"; - rel2.to:"bg"; - color: 0 0 0 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "disabled" 0.0; - visible: 1; - color: CTXPOPUP_ITEM_DISABLED_COLOR; - } - } - } - programs { - program { - name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - set_state(PART:"separator1", "default", 0.0); - set_state(PART:"separator2", "default", 0.0); - } - } - program { - name: "separator"; - signal: "elm,state,separator"; - source: "elm"; - script { - set_state(PART:"separator1", "visible", 0.0); - set_state(PART:"separator2", "visible", 0.0); - } - } - program { - name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - target: "icon_clip"; - } - program { - name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - target: "icon_clip"; - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"bg", "clicked", 0.0); - } - } - program { - name: "drag"; - signal: "drag"; - source: "over2"; - script { - new Float:dx, Float:dy; - get_drag(PART:"over2", dx, dy); - if ((abs(dx) > 20) || (abs(dy) > 20)) { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - set_drag(PART:"over2", 0.0, 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/icon_text_style_item/default"; - - images { - image: "00_more_popup_press.png" COMP; - } - - data.item: "item_max_size" CTXPOPUP_ICON_TEXT_MAX_INC; - - parts { - part { - name: "event_blocker"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "bg"; - mouse_events: 0; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_WIDTH_MIN_INC 1; - max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC; - } - description { - state: "clicked" 0.0; - rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;} - rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;} - visible: 1; - image { - normal: "00_more_popup_press.png"; - border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "bg_press_left_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0.5; - } - } - part { - name: "bg_press_right_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 1 0.5; - } - } - part { - name: "bg_press_top_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - rel1 {to: "separator2"; relative: 0.0 1.0;} - align: 0.5 0; - } - } - part { - name: "bg_press_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - align: 0.5 1; - } - } - part { - name: "icon_left_padding"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "separator1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR_INC; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - align: 0.5 0; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "separator2"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR2_COLOR_INC; - rel1 { relative: 0.0 1.0; to: "separator1";} - rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; } - align: 0.5 0; - fixed: 0 1; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "icon_clip"; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; - max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC; - align: 0 0.5; - aspect: 1.0 1.0; - rel1 { to:"icon_left_padding"; relative: 1 0; } - } - } - part { - name: "icon_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC; - } - } - part { - name: "icon_right_padding"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0.5; - fixed: 1 1; - visible: 0; - rel1 { to:"elm.swallow.icon"; relative: 1 1; } - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC; - align: 0.5 0.5; - rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";} - rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";} - color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC; - size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; - align: 0.0 0.5; - min: 1 1; - text_class: "list_item"; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC; - text.min: 0 1; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - description { - state: "ellipsis" 0.0; - inherit: "default" 0.0; - min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_HEIGHT_MIN_INC; - text.min: 0 1; - } - description { - state: "ellipsis_disabled" 0.0; - inherit: "ellipsis" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - } - part { - name: "text_right_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC; - fixed: 1 0; - align: 1.0 0.5; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - rel1.to:"bg"; - rel2.to:"bg"; - color: 0 0 0 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "disabled" 0.0; - visible: 1; - color: CTXPOPUP_ITEM_DISABLED_COLOR; - } - } - } - programs { - program { - name: "text_ellipsis"; - signal: "elm,state,text,ellipsis"; - source: "elm"; - action: STATE_SET "ellipsis" 0.0; - target: "elm.text"; - } - program { - name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis_disabled", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_state(PART:"icon_clip", "disabled", 0.0); - set_state(PART:"disclip", "disabled", 0.0); - } - } - program { - name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"icon_clip", "default", 0.0); - set_state(PART:"disclip", "default", 0.0); - } - } - program { - name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - set_state(PART:"separator1", "default", 0.0); - set_state(PART:"separator2", "default", 0.0); - } - } - program { - name: "separator"; - signal: "elm,state,separator"; - source: "elm"; - script { - set_state(PART:"separator1", "visible", 0.0); - set_state(PART:"separator2", "visible", 0.0); - } - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { - name: "drag"; - signal: "drag"; - source: "over2"; - script { - new Float:dx, Float:dy; - get_drag(PART:"over2", dx, dy); - if ((abs(dx) > 20) || (abs(dy) > 20)) { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - set_drag(PART:"over2", 0.0, 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/base/more/default"; - images { - image: "00_popup_bubble_02_bg.png" COMP; - } - parts { - part { - name:"frame_shadow_left_top_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; - max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING; - rel2 { relative: 0 0; } - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name:"frame_shadow_right_bottom_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_SHADOW_RIGHT_PADDING 0; - max: CTXPOPUP_SHADOW_RIGHT_PADDING 0; - rel1{relative: 1 1;} - align: 1 1; - fixed: 1 1; - visible: 0; - } - } - part { - name: "frame_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 {to:"frame_shadow_left_top_padding";} - rel2 {to:"frame_shadow_right_bottom_padding";} - min: CTXPOPUP_MORE_WIDTH_MIN_INC 0; - image { - normal: "00_popup_bubble_02_bg.png"; - border: CTXPOPUP_BUBBLE_MORE_BG_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name:"content_left_top_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT; - rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;} - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name:"content_right_bottom_padding"; - type:RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_CONTENT_PADDING_WIDTH 0; - max: CTXPOPUP_CONTENT_PADDING_WIDTH 0; - rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;} - align: 1 1; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0 0; - rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;} - rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;} - } - } - part { name: "access.outline"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "frame_bg"; - rel2.to: "frame_bg"; - color: 0 0 0 0; - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/icon_text_style_item/more/default"; - - images { - image: "00_more_popup_press.png" COMP; - } - - data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC; - - parts { - part { - name: "event_blocker"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "bg"; - mouse_events: 0; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1; - max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; - } - description { - state: "clicked" 0.0; - rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;} - rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;} - visible: 1; - image { - normal: "00_more_popup_press.png"; - border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "bg_press_left_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 0 0.5; - } - } - part { - name: "bg_press_right_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC; - align: 1 0.5; - } - } - part { - name: "bg_press_top_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - rel1 {to: "separator2"; relative: 0.0 1.0;} - align: 0.5 0; - } - } - part { - name: "bg_press_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2; - align: 0.5 1; - } - } - part { - name: "icon_left_padding"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; - align: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "separator1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR_INC; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - align: 0.5 0; - fixed: 0 1; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "separator2"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: CTXPOPUP_SEPARATOR2_COLOR_INC; - rel1 { relative: 0.0 1.0; to: "separator1"; } - rel2.to: "separator1"; - rel2.offset: 0 0; - align: 0.5 0; - fixed: 0 1; - min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "icon_clip"; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC; - max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC; - align: 0 0.5; - aspect: 1.0 1.0; - rel1 { to:"icon_left_padding"; relative: 1 0; } - } - } - part { - name: "icon_clip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC; - } - } - part { - name: "icon_right_padding"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC; - max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; - align: 0 0.5; - fixed: 1 1; - visible: 0; - rel1 { to:"elm.swallow.icon"; relative: 1 1; } - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC; - align: 0.5 0.5; - rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";} - rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";} - color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC; - size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC; - align: 0.0 0.5; - min: 1 1; - text_class: "list_item"; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC; - text.min: 0 1; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - description { - state: "ellipsis" 0.0; - inherit: "default" 0.0; - min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC; - text.min: 0 1; - } - description { - state: "ellipsis_disabled" 0.0; - inherit: "ellipsis" 0.0; - color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC; - } - } - part { - name: "text_right_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC; - max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC; - fixed: 1 0; - align: 1.0 0.5; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - rel1.to:"bg"; - rel2.to:"bg"; - color: 0 0 0 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "disabled" 0.0; - visible: 1; - color: CTXPOPUP_ITEM_DISABLED_COLOR; - } - } - } - programs { - program { - name: "text_ellipsis"; - signal: "elm,state,text,ellipsis"; - source: "elm"; - action: STATE_SET "ellipsis" 0.0; - target: "elm.text"; - } - program { - name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis_disabled", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_state(PART:"icon_clip", "disabled", 0.0); - set_state(PART:"disclip", "disabled", 0.0); - } - } - program { - name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled"))) - set_state(PART:"elm.text", "ellipsis", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"icon_clip", "default", 0.0); - set_state(PART:"disclip", "default", 0.0); - } - } - program { - name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - set_state(PART:"separator1", "default", 0.0); - set_state(PART:"separator2", "default", 0.0); - } - } - program { - name: "separator"; - signal: "elm,state,separator"; - source: "elm"; - script { - set_state(PART:"separator1", "visible", 0.0); - set_state(PART:"separator2", "visible", 0.0); - } - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { - name: "drag"; - signal: "drag"; - source: "over2"; - script { - new Float:dx, Float:dy; - get_drag(PART:"over2", dx, dy); - if ((abs(dx) > 20) || (abs(dy) > 20)) { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - set_drag(PART:"over2", 0.0, 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_drag(PART:"over2", 0.0, 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - } -} -/////////////////////////////////////////////////////////////////////////////////////// -#define CTXPOPUP_TP_TEXT_WIDTH 32 -#define CTXPOPUP_TP_PADDING 15 -#define CTXPOPUP_TP_FONT_COLOR 231 173 95 255 -#define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255 -#define CTXPOPUP_TP_FONT_SIZE 24 -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/base/datetime/default"; - alias: "elm/ctxpopup/base/timepicker"; - - images { - image: "00_time_picker_number_bg.png" COMP; - } - - parts { - part { - name: "ctxpopup_frame"; - type: IMAGE; - scale: 1; - description { - rel1 {to:"elm.swallow.content";} - rel2 {to:"elm.swallow.content";} - image { - normal: "00_time_picker_number_bg.png"; - border: CTXPOPUP_TP_BG_IMAGE_BORDER; - border_scale: 1; - } - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 1 CTXPOPUP_TP_HEIGHT_INC; - } - } - part { name: "arrow_area_left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 20 0; - fixed: 1 1; - align: 1 0.5; - rel1 { - relative: 0 0; - to_y: "ctxpopup_frame"; - } - rel2 { - relative:0 1; - to:"ctxpopup_frame"; - } - } - } - part { name: "arrow_area_right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 20 0; - fixed: 1 1; - align: 0 0.5; - rel1 { - relative: 1 0; - to:"ctxpopup_frame"; - } - rel2 { - relative: 1 1; - to_y: "ctxpopup_frame"; - } - } - } - part { name: "arrow_area_up"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 1 1; - align: 0.5 1; - rel1 { - relative: 0 0; - to_x: "ctxpopup_frame"; - } - rel2 { - relative: 1 0; - to:"ctxpopup_frame"; - } - } - } - part { name: "arrow_area_down"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 1 1; - align: 0.5 0; - rel1 { - relative: 0 1; - to:"ctxpopup_frame"; - } - rel2 { - relative: 1 1; - to_x: "ctxpopup_frame"; - } - } - } - part { name: "elm.swallow.arrow_up"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_up"; - } - description { - state: "default" 0.0; - min: 20 20; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_down"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_down"; - } - description { - state: "default" 0.0; - min: 20 20; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_left"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_left"; - } - description { - state: "default" 0.0; - min: 20 20; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_right"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_right"; - } - description { - state: "default" 0.0; - min: 20 20; - fixed: 1 1; - visible: 1; - } - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/ctxpopup/arrow/datetime/default"; - alias: "elm/ctxpopup/arrow/timepicker"; - images { - image: "00_time_picker_tail.png" COMP; - image: "00_time_picker_tail_01.png" COMP; - } - parts { - part { - name: "ctxpopup_arrow"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_TP_ARROW_SIZE_INC; - max: CTXPOPUP_TP_ARROW_SIZE_INC; - fixed: 1 1; - visible: 0; - align: 0.5 0.5; - } - description { - state: "left" 0.0; - min: CTXPOPUP_TP_ARROW_SIZE_INC; - max: CTXPOPUP_TP_ARROW_SIZE_INC; - fixed: 1 1; - align: 1.0 0.5; - image { - normal: "00_time_picker_tail.png"; - } - } - description { - state: "right" 0.0; - min: CTXPOPUP_TP_ARROW_SIZE_INC; - max: CTXPOPUP_TP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.0 0.5; - image { - normal: "00_time_picker_tail.png"; - } - } - description { - state: "top" 0.0; - min: CTXPOPUP_TP_ARROW_SIZE_INC; - max: CTXPOPUP_TP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 1.0; - image { - normal: "00_time_picker_tail.png"; - } - } - description { - state: "bottom" 0.0; - min: CTXPOPUP_TP_ARROW_SIZE_INC; - max: CTXPOPUP_TP_ARROW_SIZE_INC; - fixed: 1 1; - align: 0.5 0.0; - image { - normal: "00_time_picker_tail_01.png"; - } - } - } - } - programs { - program { - name: "enable_left_arrow"; - signal: "elm,state,left"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_right_arrow"; - signal: "elm,state,right"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_top_arrow"; - signal: "elm,state,top"; - source: "elm"; - action: STATE_SET "top" 0.0; - target: "ctxpopup_arrow"; - } - program { - name: "enable_bottom_arrow"; - signal: "elm,state,bottom"; - source: "elm"; - action: STATE_SET "bottom" 0.0; - target: "ctxpopup_arrow"; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { - name: "elm/ctxpopup/text_style_item/datetime/default"; - alias: "elm/ctxpopup/text_style_item/timepicker"; - parts { - part { - name: "left_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC; - max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC; - align: 0 0.5; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC; - max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC; - fixed: 1 1; - align: 0 0; - rel1 {relative: 1.0 0.0; to: "left_padding";} - color: CTXPOPUP_TP_FONT_COLOR; - text { - font: "Tizen:style=Regular"; - size: CTXPOPUP_TP_FONT_SIZE; - align: 0.5 0.5; - min: 1 1; - text_class: "tizen"; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "right_padding"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC; - max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC; - align: 0 0; - rel1 {relative: 1.0 0.0; to: "elm.text";} - visible: 0; - } - } - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - } - } - } - - programs { - program { - name: "item_unclick"; - signal: "mouse,up,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "item_click"; - signal: "mouse,down,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "clicked", 0.0); - } - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - set_state(PART:"elm.text", "default", 0.0); - } - } - } -} diff --git a/mobile/themes/widgets/datetime.edc b/mobile/themes/widgets/datetime.edc deleted file mode 100644 index 18d7d9d..0000000 --- a/mobile/themes/widgets/datetime.edc +++ /dev/null @@ -1,917 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - -/////////////////////////////////////////////////////////////////////////////// -// datetime -/////////////////////////////////////////////////////////////////////////////// - -group { name: "elm/datetime/base/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 0 DATETIME_WIDGET_HEIGHT; - max: -1 DATETIME_WIDGET_HEIGHT; - } - } - part { - name: "date.btn"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.5; - fixed: 1 0; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - } - } - part { - name: "center.padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { - state: "default" 0.0; - min: DATETIME_WIDGET_PADDING_SIZE_INC; - align: 0.0 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "date.btn"; - } - rel2 { - relative: 1.0 1.0; - to: "date.btn"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "time.btn"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { - state: "default" 0.0; - min: 0 0; - align: 0.0 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "center.padding"; - } - rel2 { - relative: 1.0 1.0; - to: "center.padding"; - } - } - } - part { - name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 102; - } - } - part { - name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - script { - public center_padding_hidden = 0; //center padding shown/hidden status - } - programs { - program { - name: "disble_datetime"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "disabler"; - target: "clipper"; - } - program { - name: "enable_datetime"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - program { - name: "date_hide"; - signal: "datepicker,hide"; - source: "elm"; - script { - set_int(center_padding_hidden, 0); - set_state(PART:"center.padding", "hidden", 0.0); - } - } - program { - name: "time_hide"; - signal: "timepicker,hide"; - source: "elm"; - script { - set_int(center_padding_hidden, 0); - set_state(PART:"center.padding", "hidden", 0.0); - } - } - program { - name: "date_show"; - signal: "datepicker,show"; - source: "elm"; - script { - set_int(center_padding_hidden, (get_int(center_padding_hidden) + 1)); - if (get_int(center_padding_hidden) == 2) - set_state(PART:"center.padding", "default", 0.0); - } - } - program { - name: "time_show"; - signal: "timepicker,show"; - source: "elm"; - script { - set_int(center_padding_hidden, (get_int(center_padding_hidden) + 1)); - if (get_int(center_padding_hidden) == 2) - set_state(PART:"center.padding", "default", 0.0); - } - } - } -} - -group { name: "elm/datetime/base/pickerstyle"; - parts { - part { - name: "date.btn"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - } - } - part { - name: "time.btn"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - } - } - } -} - -group { name: "elm/spinner/base/default"; - alias: "elm/spinner/base/datetime_popup"; - alias: "elm/spinner/base/datetime_popup/year"; - alias: "elm/spinner/base/datetime_popup/month"; - alias: "elm/spinner/base/datetime_popup/date"; - alias: "elm/spinner/base/datetime_popup/hour"; - alias: "elm/spinner/base/datetime_popup/minute"; - images { - image: "00_picker_arrow_down.png" COMP; - image: "00_picker_arrow_up.png" COMP; - image: "00_button_01.png" COMP; - image: "00_button_01_press.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "up.image"; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - min: SPINNER_UP_DOWN_IMAGE_SIZE_INC; - max: SPINNER_UP_DOWN_IMAGE_SIZE_INC; - image { - normal: "00_button_01.png"; - border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "up.image.arrow"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "up.image"; - rel2.to: "up.image"; - min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; - max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; - image.normal: "00_picker_arrow_up.png"; - } - } - part { name: "up.image.arrow.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "up.image.arrow.shadow.clipper"; - description { state: "default" 0.0; - source: "up.image.arrow"; - proxy.source_clip: 0; - rel1 { - to: "up.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC; - } - rel2 { - to: "up.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - rel1 { - to: "up.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "up.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC; - } - } - } - part { name: "up.image.arrow.proxy"; - type: PROXY; - scale: 1; - clip_to: "up.image.arrow.clipper"; - description { state: "default" 0.0; - source: "up.image.arrow"; - proxy.source_clip: 0; - rel1.to: "up.image.arrow"; - rel2.to: "up.image.arrow"; - } - } - part { name: "up.image.arrow.shadow.clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "up.image.arrow"; - rel2.to: "up.image.arrow"; - color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC; - } - } - part { name: "up.image.arrow.clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "up.image.arrow"; - rel2.to: "up.image.arrow"; - color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC; - } - } - part { name: "down.image"; - scale: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - min: SPINNER_UP_DOWN_IMAGE_SIZE_INC; - max: SPINNER_UP_DOWN_IMAGE_SIZE_INC; - image { - normal: "00_button_01.png"; - border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_01_press.png"; - } - } - part { name: "down.image.arrow"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "down.image"; - rel2.to: "down.image"; - min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; - max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC; - image.normal: "00_picker_arrow_down.png"; - } - } - part { name: "down.image.arrow.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "down.image.arrow.shadow.clipper"; - description { state: "default" 0.0; - source: "down.image.arrow"; - proxy.source_clip: 0; - rel1 { - to: "down.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC; - } - rel2 { - to: "down.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - rel1 { - to: "down.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC; - } - rel2 { - to: "down.image.arrow"; - offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC; - } - } - } - part { name: "down.image.arrow.proxy"; - type: PROXY; - scale: 1; - clip_to: "down.image.arrow.clipper"; - description { state: "default" 0.0; - source: "down.image.arrow"; - proxy.source_clip: 0; - rel1.to: "down.image.arrow"; - rel2.to: "down.image.arrow"; - } - } - part { name: "down.image.arrow.shadow.clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "down.image.arrow"; - rel2.to: "down.image.arrow"; - color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC; - } - } - part { name: "down.image.arrow.clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "down.image.arrow"; - rel2.to: "down.image.arrow"; - color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC; - } - } - part { name: "elm.text"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - visible: 1; - color: SPINNER_ENTRY_TEXT_COLOR_INC; - min: 0 SPINNER_TEXT_HEIGHT_INC; - max: -1 SPINNER_TEXT_HEIGHT_INC; - text { - font: "Tizen:style=Regular"; - size: SPINNER_ENTRY_TEXT_SIZE_INC; - min: 0 0; - max: 1 0; - text_class: "tizen"; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "button.events"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.entry"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - fixed: 1 1; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "up.btn"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1.to: "up.image"; - rel2.to: "up.image"; - color: 0 0 0 0; - } - } - part { name: "down.btn"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1.to: "down.image"; - rel2.to: "down.image"; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "dec_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "down.btn"; - action: STATE_SET "pressed" 0.0; - target: "down.image"; - target: "down.image.arrow.shadow.proxy"; - target: "down.image.arrow.shadow.clipper"; - target: "down.image.arrow.clipper"; - after: "dec_start_signal_emit"; - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "down.btn"; - action: STATE_SET "default" 0.0; - target: "down.image"; - target: "down.image.arrow.shadow.proxy"; - target: "down.image.arrow.shadow.clipper"; - target: "down.image.arrow.clipper"; - after: "dec_stop_signal_emit"; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "up.btn"; - action: STATE_SET "pressed" 0.0; - target: "up.image"; - target: "up.image.arrow.shadow.proxy"; - target: "up.image.arrow.shadow.clipper"; - target: "up.image.arrow.clipper"; - after: "inc_start_signal_emit"; - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "up.btn"; - action: STATE_SET "default" 0.0; - target: "up.image"; - target: "up.image.arrow"; - target: "up.image.arrow.shadow.proxy"; - target: "up.image.arrow.shadow.clipper"; - target: "up.image.arrow.clipper"; - after: "inc_stop_signal_emit"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "toggle_text"; - signal: "mouse,up,1"; - source: "button.events"; - action: SIGNAL_EMIT "elm,action,entry,toggle" ""; - } - program { name: "up_touch_snd"; - signal: "mouse,clicked,1"; - source: "up.btn"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "down_ouch_snd"; - signal: "mouse,clicked,1"; - source: "down.btn"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/layout/datetime_popup/date_layout"; - - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_POPUP_CONTENT_SIZE_INC; - max: DATETIME_POPUP_CONTENT_SIZE_INC; - } - } - part { name: "top.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC; - max: -1 DATETIME_POPUP_CONTENT_TOP_PADDING_HEIGHT_INC; - fixed: 0 1; - rel1.to: "bg"; - rel2 { - relative: 1.0 0.0; - to: "bg"; - } - align: 0.5 0.0; - } - } - part { name: "bottom.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC; - max: -1 DATETIME_POPUP_CONTENT_BOTTOM_PADDING_HEIGHT_INC; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - align: 0.5 1.0; - } - } - part { name: "left.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0; - max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1; - fixed: 1 0; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - rel2 { - relative: 0.0 0.0; - to_x: "bg"; - to_y: "bottom.padding"; - } - align: 0.0 0.5; - } - } - part { name: "right.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0; - max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1; - fixed: 1 0; - rel2.to: "bg"; - rel1 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "bg"; - to_y: "bottom.padding"; - } - align: 1.0 0.5; - } - } - part { name: "field0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; - rel1 { - relative: 1.0 0.0; - to: "left.padding"; - } - rel2.to: "left.padding"; - align: 0.0 0.5; - } - } - part { name: "center.padding1"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0; - max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1; - rel1 { - relative: 1.0 0.0; - to: "field0"; - } - rel2.to: "field0"; - align: 0.0 0.5; - } - } - part { name: "field1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; - rel1 { - relative: 1.0 0.0; - to: "center.padding1"; - } - rel2 { - relative: 0.0 1.0; - to_x: "center.padding2"; - to_y: "center.padding1"; - } - } - } - part { name: "center.padding2"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0; - max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1; - rel1.to: "field2"; - rel2 { - relative: 0.0 1.0; - to: "field2"; - } - align: 1.0 0.5; - } - } - part { name: "field2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; - rel1.to: "right.padding"; - rel2 { - relative: 0.0 1.0; - to: "right.padding"; - } - align: 1.0 0.5; - } - } - part { - name: "event_area"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } -} - -group { name: "elm/layout/datetime_popup/time_layout"; - inherit: "elm/layout/datetime_popup/date_layout"; - - parts { - part { name: "hour.minute.color"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "center.padding1"; - rel2.to: "center.padding1"; - color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC; - min: 0 0; - text_class: "tizen"; - text: ":"; - } - } - } - part { name: "field2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0; - max: -1 DATETIME_POPUP_CONTENT_FIELD_HEIGHT_INC; - rel1.to: "right.padding"; - rel2 { - relative: 0.0 1.0; - to: "right.padding"; - } - align: 1.0 0.5; - } - } - } -} - -group { name: "elm/layout/datetime_popup/time_layout_24hr"; - inherit: "elm/layout/datetime_popup/date_layout"; - - parts { - part { name: "field0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0; - rel1 { - relative: 1.0 0.0; - to: "left.padding"; - } - rel2.to: "left.padding"; - align: 0.0 0.5; - } - } - part { name: "hour.minute.color"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "center.padding1"; - rel2.to: "center.padding1"; - color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC; - min: 0 0; - text_class: "tizen"; - text: ":"; - } - } - } - part { name: "field1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0; - rel1 { - relative: 1.0 0.0; - to: "center.padding1"; - } - rel2 { - relative: 0.0 1.0; - to: "center.padding2"; - } - } - } - part { name: "center.padding2"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - rel1.to: "right.padding"; - rel2.to: "right.padding"; - } - } - part { name: "field2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - visible: 0; - rel1.to: "right.padding"; - rel2.to: "right.padding"; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } -} diff --git a/mobile/themes/widgets/diskselector.edc b/mobile/themes/widgets/diskselector.edc deleted file mode 100644 index 6246b81..0000000 --- a/mobile/themes/widgets/diskselector.edc +++ /dev/null @@ -1,193 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////////////// -// -// diskselector -// -/////////////////////////////////////////////////////////////////////////////////////// -group { name: "elm/diskselector/base/default"; - alias: "elm/diskselector/base/datetime/default"; - alias: "elm/diskselector/base/timepicker"; - - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } -} - -group { name: "elm/diskselector/item/default"; - alias: "elm/diskselector/item/datetime/default"; - alias: "elm/diskselector/item/timepicker"; - - data { - item: "len_threshold" "14"; - item: "min_height" DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC; - } - - parts { - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC; - fixed: 1 1; - align: 0 0; - color: DISKSELECTOR_DF_FONT_COLOR_INC; - visible: 1; - text { - font: "Tizen:style=Medium"; - size: DISKSELECTOR_DF_FONT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - } - } - description { - state: "selected" 0.0; - min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC; - fixed: 1 1; - align: 0 0; - color: 255 255 255 255; - visible: 1; - text { - font: "Tizen:style=Medium"; - size: DISKSELECTOR_DF_FONT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "default_small" 0.0; - inherit: "default" 0.0; - visible: 1; - text.size: 10; - } - description { state: "left_side" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "right_side" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "mouse_down" 0.0; - inherit: "default" 0.0; - color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC; - visible: 1; - } - description { state: "selected_mouse_down" 0.0; - inherit: "default" 0.0; - color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC; - visible: 1; - } - } - - part { - name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - - programs { - program { - name: "elm,state,selected"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "elm.text"; - } - program { - name: "elm,state,default"; - signal: "elm,state,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "item_click"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "item_mouse_down"; - signal: "mouse,down,1"; - source: "over1"; - script { - new st[30]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl) - if (!strncmp(st, "selected", 8)) { - set_state(PART:"elm.text", "selected_mouse_down", 0.0); - } else { - set_state(PART:"elm.text", "mouse_down", 0.0); - } - } - } - program { - name: "item_mouse_up"; - signal: "mouse,up,1"; - source: "over1"; - script { - new st[30]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl) - if (!strncmp(st, "mouse_down", 10)) { - set_state(PART:"elm.text", "default", 0.0); - } else if (!strncmp(st, "selected_mouse_down", 19)) { - set_state(PART:"elm.text", "selected", 0.0); - } - } - } - } -} diff --git a/mobile/themes/widgets/entry.edc b/mobile/themes/widgets/entry.edc deleted file mode 100644 index d426e6e..0000000 --- a/mobile/themes/widgets/entry.edc +++ /dev/null @@ -1,7013 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" -#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" -#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" -#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" -#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" - -#define ENTRY_EDITFIELD_FOCUS_DATA \ - data.item: "focus_highlight" "on"; - -#define ENTRY_EDITFIELD_FOCUS_IMAGE \ - images { \ - image: "00_edit_field_focus.png" COMP; \ - image: "00_eidt_field_bg.png" COMP; \ - } - -#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \ - rel1 { \ - to_x: "focus_left_padding"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to_x: "clear_padding"; \ - relative: 0.0 1.0; \ - } - -#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \ - script { \ - public scroll_enabled; \ - } - -#define ENTRY_EDITFIELD_SWALLOW_PARTS \ - part { name: "clear_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 1.0 0.5; \ - fixed: 1 0; \ - rel1 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 1.0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to_x: "elm.swallow.clear"; \ - relative: 0.0 0.0; \ - } \ - } \ - } \ - part { name: "elm.swallow.clear"; \ - type: SWALLOW; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 1.0 0.5; \ - fixed: 1 1; \ - rel1 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 1.0; \ - } \ - visible: 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } - -#define ENTRY_EDITFIELD_FOCUS_PARTS \ - part { name: "focus_bg"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - visible: 1; \ - image { \ - normal: "00_edit_field_bg.png"; \ - border: 8 8 8 8; \ - border_scale: 1; \ - } \ - rel1.relative: 0.0 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - } \ - part { name: "focus_left_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 10 0; \ - max: 10 0; \ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "focus_bg"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_bg"; \ - relative: 0.0 1.0; \ - } \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - } \ - part { name: "focus_right_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 10 0; \ - max: 10 0; \ - align: 1.0 0.5; \ - fixed: 1 0; \ - rel1 { \ - to_x: "focus_bg"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_bg"; \ - relative: 1.0 1.0; \ - } \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - image { \ - normal: "00_edit_field_focus.png"; \ - border: 8 8 8 8; \ - border_scale: 1; \ - } \ - rel1 { \ - to: "focus_bg"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to: "focus_bg"; \ - relative: 1.0 1.0; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } - -#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \ - program { name: "scroll_enabled"; \ - signal: "elm,state,scroll,enabled"; \ - source: "*"; \ - script { \ - set_int(scroll_enabled, 1); \ - set_state(PART:"focus_bg", "hidden", 0.0); \ - set_state(PART:"focus_left_padding", "hidden", 0.0); \ - set_state(PART:"focus_right_padding", "hidden", 0.0); \ - } \ - } \ - program { name: "scroll_disabled"; \ - signal: "elm,state,scroll,disabled"; \ - source: "*"; \ - script { \ - set_int(scroll_enabled, 0); \ - set_state(PART:"focus_bg", "default", 0.0); \ - set_state(PART:"focus_left_padding", "default", 0.0); \ - set_state(PART:"focus_right_padding", "default", 0.0); \ - } \ - } \ - program { name: "clear_show"; \ - signal: "elm,state,clear,visible"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"elm.swallow.clear", "visible", 0.0); \ - set_state(PART:"clear_padding", "visible", 0.0); \ - } \ - } \ - } \ - program { name: "clear_hide"; \ - signal: "elm,state,clear,hidden"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"elm.swallow.clear", "default", 0.0); \ - set_state(PART:"clear_padding", "default", 0.0); \ - } \ - } \ - } - -#define ENTRY_EDITFIELD_FOCUS_PROGRAMS \ - program { name: "action_focus"; \ - signal: "elm,state,focus,on"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"focus_image", "focused", 0.0); \ - } \ - } \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,state,focus,off"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"focus_image", "default", 0.0); \ - } \ - } \ - } - -group { name: "elm/entry/base/default"; - alias: "elm/entry/base-mixedwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-charwrap/default"; - alias: "elm/entry/base/char_wrap"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-nowrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base/editfield"; - alias: "elm/entry/base-mixedwrap/editfield"; - alias: "elm/entry/base/editfield/default"; - alias: "elm/entry/base/editfield/lighting"; - alias: "elm/entry/base/editfield/multiline"; - alias: "elm/entry/base/editfield/multiline/default"; - alias: "elm/entry/base/editfield/multiline/lighting"; - alias: "elm/entry/base/editfield/searchbar/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_textblock_guide_style"; - min: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "editfield_textblock_style"; - min: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_textblock_disabled_style"; - min: 0 1; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-charwrap/editfield"; - alias: "elm/entry/base/editfield/char_wrap"; - alias: "elm/entry/base/editfield/default/char_wrap"; - alias: "elm/entry/base/editfield/lighting/char_wrap"; - alias: "elm/entry/base/editfield/multiline/char_wrap"; - alias: "elm/entry/base/editfield/multiline/default/char_wrap"; - alias: "elm/entry/base/editfield/multiline/lighting/char_wrap"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_textblock_char_wrap_guide_style"; - min: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "editfield_textblock_char_wrap_style"; - min: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-single/editfield"; - alias: "elm/entry/base-single/editfield/default"; - alias: "elm/entry/base-single/editfield/lighting"; - alias: "elm/entry/base-single/editfield/singleline"; - alias: "elm/entry/base-single/editfield/singleline/default"; - alias: "elm/entry/base-single/editfield/singleline/lighting"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: ; // selection over - //source3: ; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "editfield_single_textblock_style"; - min: 1 1; - max: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_single_textblock_disabled_style"; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-single/editfield/searchbar/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - styles { - style { name: "editfield_searchbar_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_searchbar_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_searchbar_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - style { name: "editfield_searchbar_single_textblock_disabled_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_DISABLED_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_searchbar_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_disabled_guide_style"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - target: "elm.guide"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.guide"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - - group { name: "elm/entry/base-noedit-charwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - - group { name: "elm/entry/base-nowrap-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - - group { name: "elm/entry/base-password/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - -group { name: "elm/entry/base-password/popup"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - styles - { - style { name: "entry_single_textblock_popup_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_disabled_popup_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_popup_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_popup_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_popup_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_popup_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - - group { name: "elm/entry/cursor/default"; - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - color: 0 0 0 0; - } - } - - part { name: "glow"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - min: 3 0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 0 -2; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -2; - } - color: ENTRY_CURSOR_COLOR_INC; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "show"; - action: STATE_SET "hidden" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show4"; - } - program { name: "show4"; - action: STATE_SET "default" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "show4"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "stop_glow"; - } - program { name: "stop_glow"; - action: ACTION_STOP; - target: "show"; - target: "show4"; - } - } - } - - - group { name: "elm/entry/selection/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_BG_COLOR; - } - } - } - } - - group { name: "elm/entry/selection/block_handle_left"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_left.png" COMP; - image: "copy&paste_Handler_left_01.png" COMP; - image: "copy&paste_Handler_left_reverse.png" COMP; - image: "copy&paste_Handler_left_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1 0; - rel2 { relative: 1 1; to_x: "edge"; } - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_left_01.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1 1; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 0; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_01_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - } - } - - group { name: "elm/entry/selection/block_handle_right"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_right.png" COMP; - image: "copy&paste_Handler_right_01.png" COMP; - image: "copy&paste_Handler_right_reverse.png" COMP; - image: "copy&paste_Handler_right_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_right.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_right_01.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 0; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_01_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - } - } - - group { name: "elm/entry/cursor_handle/default"; - images { - image: "copy&paste_Handler_center.png" COMP; - image: "copy&paste_Handler_center_reverse.png" COMP; - } - parts { - part { name: "handle"; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - max: 59 86; - min: 59 86; - align: 0 0; - visible: 0; - align: 0.5 0; - image { - normal: "copy&paste_Handler_center.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0.5 1.0; - image { - normal: "copy&paste_Handler_center_reverse.png"; - border: 0 0 0 0; - } - } - } - } - script { - public on_top; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - new on_top_val = get_int(on_top); - if (on_top_val) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "show", 0.0); - } - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "show"; - signal: "edje,cursor,handle,show"; - source: "edje"; - script { - set_int(on_top, 0); - set_state(PART:"handle", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,cursor,handle,hide"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "edje,cursor,handle,top"; - source: "edje"; - script { - set_int(on_top, 1); - set_state(PART:"handle", "top", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_left"; - parts { - part { name: "align"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - rel2 { relative: 0 1; to_x: "align"; } - align: 0 0; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_right"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/anchor/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - } - - group { name: "elm/entry/preedit/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 128 128 255; - } - } - } - } - - -#define MAGNIFIER_SCALE 1.5 - - group { name: "elm/entry/magnifier/fixed-size"; - data.item: "height" MAGNIFIER_HEIGHT_FIXED; - data.item: "scale" MAGNIFIER_SCALE; - data.item: "arrow" 30; - images { - image: "copy&paste_Magnifier_left.png" COMP; - image: "copy&paste_Magnifier_middle.png" COMP; - image: "copy&paste_Magnifier_right.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED; - align: 0.5 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_left"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 1.0 0.0; - rel2 { relative: 0.5 1.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_right"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 0.0 0.0; - rel1 { relative: 0.5 0.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_left"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 0.0 1.0; to: "bg_middle_left"; } - image { - normal: "copy&paste_Magnifier_left.png"; - border: 21 1 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_middle"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg_middle_left"; } - rel2 { relative: 1.0 1.0; to: "bg_middle_right"; } - image { - normal: "copy&paste_Magnifier_middle.png"; - border: 1 38 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_right"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - rel1 { relative: 1.0 0.0; to: "bg_middle_right"; } - rel2.to: "bg"; - image { - normal: "copy&paste_Magnifier_right.png"; - border: 1 21 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "swallow"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "bg"; - offset: 21-5 22-8; //need to update when image with rounded corners releases - } - rel2 { - to: "bg"; - offset: -21+5 -44+10; - } - } - } - } - } - - group { name: "elm/entry/matchlist/default"; - data.item: "max_height" "230"; - parts { - part { name: "base"; - type: RECT; - scale : 1; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 0.0; - offset: 0 20; - } - rel2 { - relative: 1.0 1.0; - offset: 0 20; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - } - } - } - } - -/* Entry's bubble style */ - -styles { - style { - name: "entry_bubble_date_area_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=2 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { - name: "entry_bubble_sent_textblock_style"; - base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_SENT_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - style { - name: "entry_bubble_receive_textblock_style"; - base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_RECEV_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } -} - - group { name: "elm/entry/base/readmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 0.0 1.0; - } - } - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "elm.text"; } - rel2.to: "elm.text"; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel2.to_x: "elm.rect.right.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: 1 20 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection -// source6: "X"; // anchor over - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit/readmessage"; - parts { - part { - name: "elm.bubble.callerid.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "callerid_on" 0.0; - inherit: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_PAD 0; - } - } - part { - name: "elm.callerid.icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.callerid"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "elm.callerid.icon.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.callerid.icon.pad"; - relative: 1.0 0.0; - } - visible: 0; - } - description { state: "callerid_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.callerid.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - description { state: "callerid_on" 0.0; - rel1 { - to: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - align: 0.0 0.0; - min: 0 0; - visible: 0; - } - } - part { - name: "elm.bubble.groupchat.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.callerid.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.bubble.callerid.pad"; - relative: 1.0 0.0; - } - align: 0.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "groupchat_on"; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; - } - } - part { - name: "elm.groupchat.text.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.bubble.groupchat.pad"; - rel2 { - to: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 0.0 0.5; - min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.text.groupchat"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; - align: 0.0 0.0; - text_class: "tizen"; - min: 1 1; - } - rel1 { - to: "elm.groupchat.text.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.groupchat.text.pad"; - relative: 1.0 0.0; - } - color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; - visible: 0; - } - description { state: "groupchat_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bubble.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - min: ENTRY_BUBBLE_STATUS_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.bubble.lefttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - } - align: 0.0 0.0; - min: ENTRY_BUBBLE_READ_LEFTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.bubble.righttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_READ_RIGHTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.bubble.lefttop.pad"; - rel2.to: "elm.bubble.rightbottom.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { - state: "default" 0.0; - align: 0.0 0.0; - min: ENTRY_BUBBLE_TEXT_MIN; - rel1 { - to: "elm.bubble.lefttop.pad"; - relative: 1.0 1.0; - } - rel2 { - to: "elm.bubble.righttop.pad"; - relative: 0.0 1.0; - } - text { - style: "entry_bubble_receive_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - part { - name: "elm.rect.middle.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.text"; - relative: 0.0 1.0; - } - rel2.to: "elm.text"; - align: 0.5 0.0; - min: 0 0; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_MIDDLE_PAD; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.rect.middle.pad"; - relative: 0.0 1.0; - } - rel2.to: "elm.rect.middle.pad"; - align: 0.0 0.0; - } - } - part { - name: "elm.bubble.rightbottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to: "elm.swallow.end"; - relative: 1.0 1.0; - } - rel2.to: "elm.swallow.end"; - align: 0.0 0.0; - min: ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.icon.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "elm.bubble.rightbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.rightbottom.pad"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; - } - } - part { - name: "elm.swallow.icon1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 0.0 1.0; - } - min: 0 0; - align: 0.0 0.0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.icon.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.icon1"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.swallow.icon1"; - relative: 1.0 1.0; - } - min: ENTRY_BUBBLE_ICON_PAD 0; - align: 0.0 0.5; - visible: 0; - } - } - part { - name: "elm.swallow.icon2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.icon.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.icon.pad"; - relative: 1.0 1.0; - } - min: 0 0; - align: 0.0 0.5; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to_y: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - } - part { - name: "elm.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.bubble.rightbottom.pad"; - relative: 1.0 1.0; - } - rel2.to: "elm.bubble.rightbottom.pad"; - min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; - align: 0.0 1.0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.text.time"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - align: 0.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.status"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 0 1; - text_class: "tizen"; - align: 0.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.text.time"; - rel2 { - to: "elm.text.time"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.status"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - fixed: 1 1; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "go_callerid_on"; - signal: "elm,state,callerid,enabled"; - source: "elm"; - action: STATE_SET "callerid_on" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_callerid_off"; - signal: "elm,state,callerid,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_groupchat_on"; - signal: "elm,state,groupchat,enabled"; - source: "elm"; - action: STATE_SET "groupchat_on" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_groupchat_off"; - signal: "elm,state,groupchat,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_textstatus_on"; - signal: "elm,state,text,status,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - after: "go_contentstatus_off"; - } - program { name: "go_textstatus_off"; - signal: "elm,state,text,status,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - } - program { name: "go_contentstatus_on"; - signal: "elm,state,content,status,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.swallow.status"; - after: "go_textstatus_off"; - } - program { name: "go_contentstatus_off"; - signal: "elm,state,content,status,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.status"; - } - program { name: "show_middle_pad"; - signal: "elm,state,middle,pad,enabled"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "hide_middle_pad"; - signal: "elm,state,middle,pad,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "go_contents_on"; - signal: "elm,state,contents,enabled"; - source: "elm"; - action: STATE_SET "contents_on" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - program { name: "go_contents_off"; - signal: "elm,state,contents,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - } - } - - group { name: "elm/entry/base-noedit-charwrap/readmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 0.0 1.0; - } - } - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to_x: "elm.text"; } - rel2.to_x: "elm.text"; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel2.to_x: "elm.rect.right.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: 1 20 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base/sentmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.text"; } - rel2 { relative: 0.0 1.0; to: "elm.text"; } - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "elm.rect.left.pad"; - image { - normal: "00_messagebubble_bg_sent.png"; - border: 20 1 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under -// source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} - rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit/sentmessage"; - parts { - part { - name: "elm.bubble.callerid.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - align: 1.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { state: "callerid_on"; - inherit: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_PAD 0; - } - } - part { - name: "elm.callerid.icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - align: 1.0 0.0; - min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.callerid"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - fixed: 1 1; - align: 1.0 0.0; - rel1.to: "elm.callerid.icon.pad"; - rel2 { - to: "elm.callerid.icon.pad"; - relative: 0.0 0.0; - } - visible: 0; - } - description { state: "callerid_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.callerid.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - description { state: "callerid_on" 0.0; - rel1 { - to: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - align: 0.0 0.0; - min: 0 0; - visible: 0; - } - } - part { - name: "elm.bubble.groupchat.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.callerid.pad"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.bubble.callerid.pad"; - relative: 0.0 0.0; - } - align: 1.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "groupchat_on"; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; - } - } - part { - name: "elm.groupchat.text.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.groupchat.pad"; - relative: 1.0 0.0; - } - rel2.to: "elm.bubble.groupchat.pad"; - align: 1.0 0.5; - min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.text.groupchat"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; - align: 1.0 0.0; - text_class: "tizen"; - min: 1 1; - } - rel1.to: "elm.groupchat.text.pad"; - rel2 { - to: "elm.groupchat.text.pad"; - relative: 0.0 0.0; - } - color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; - visible: 0; - } - description { state: "groupchat_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bubble.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - min: ENTRY_BUBBLE_STATUS_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.bubble.lefttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - } - align: 0.0 0.0; - min: ENTRY_BUBBLE_SENT_LEFTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.bubble.righttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_SENT_RIGHTTOP_PAD; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.leftbottom.pad"; - to_y: "elm.bubble.lefttop.pad"; - } - rel2 { - to_x: "elm.bubble.righttop.pad"; - to_y: "elm.bubble.leftbottom.pad"; - } - image { - normal: "00_messagebubble_bg_sent.png"; - border: ENTRY_BUBBLE_SENT_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { - state: "default" 0.0; - align: 1.0 0.0; - min: ENTRY_BUBBLE_TEXT_MIN; - rel1 { - to: "elm.bubble.lefttop.pad"; - relative: 1.0 1.0; - } - rel2 { - to: "elm.bubble.righttop.pad"; - relative: 0.0 1.0; - } - text { - style: "entry_bubble_sent_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - part { - name: "elm.rect.middle.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.text"; - relative: 0.0 1.0; - } - rel2.to: "elm.text"; - align: 0.5 0.0; - min: 0 0; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_MIDDLE_PAD; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.rect.middle.pad"; - relative: 0.0 1.0; - } - rel2.to: "elm.rect.middle.pad"; - align: 1.0 0.0; - } - } - part { - name: "elm.bubble.leftbottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.icon.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; - } - } - part { - name: "elm.swallow.icon1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - } - min: 0 0; - align: 1.0 0.0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.icon.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.icon1"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: ENTRY_BUBBLE_ICON_PAD 0; - align: 1.0 0.5; - visible: 0; - } - } - part { - name: "elm.swallow.icon2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.icon.pad"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.icon.pad"; - relative: 0.0 1.0; - } - min: 0 0; - align: 1.0 0.5; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to_y: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - } - part { - name: "elm.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - }; - min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; - align: 1.0 1.0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.text.time"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - align: 1.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.status.pad"; - rel2 { - to: "elm.status.pad"; - relative: 0.0 0.0; - } - align: 1.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.status"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 0 1; - text_class: "tizen"; - align: 1.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.text.time"; - rel2 { - to: "elm.text.time"; - relative: 1.0 0.0; - } - align: 1.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.status"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.status.pad"; - rel2 { - to: "elm.status.pad"; - relative: 0.0 0.0; - } - align: 1.0 1.0; - fixed: 1 1; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "go_callerid_on"; - signal: "elm,state,callerid,enabled"; - source: "elm"; - action: STATE_SET "callerid_on" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_callerid_off"; - signal: "elm,state,callerid,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_groupchat_on"; - signal: "elm,state,groupchat,enabled"; - source: "elm"; - action: STATE_SET "groupchat_on" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_groupchat_off"; - signal: "elm,state,groupchat,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_textstatus_on"; - signal: "elm,state,text,status,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - after: "go_contentstatus_off"; - } - program { name: "go_textstatus_off"; - signal: "elm,state,text,status,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - } - program { name: "go_contentstatus_on"; - signal: "elm,state,content,status,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.swallow.status"; - after: "go_textstatus_off"; - } - program { name: "go_contentstatus_off"; - signal: "elm,state,content,status,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.status"; - } - program { name: "show_middle_pad"; - signal: "elm,state,middle,pad,enabled"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "hide_middle_pad"; - signal: "elm,state,middle,pad,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "go_contents_on"; - signal: "elm,state,contents,enabled"; - source: "elm"; - action: STATE_SET "contents_on" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - program { name: "go_contents_off"; - signal: "elm,state,contents,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - } - } - - group { name: "elm/entry/base-noedit-charwrap/sentmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.text"; } - rel2 { relative: 0.0 1.0; to: "elm.text"; } - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "elm.rect.left.pad"; - image { - normal: "00_messagebubble_bg_sent.png"; - border: 20 1 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} - rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - -group { name: "elm/entry/base-single/multibuttonentry"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "multibuttonentry_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "multibuttonentry_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "multibuttonentry_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "multibuttonentry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "multibuttonentry_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "multibuttonentry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} -group { name: "elm/entry/base/font_color_black"; - alias: "elm/entry/base-mixedwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/default"; - alias: "elm/entry/base/font_color_black/lighting"; - alias: "elm/entry/base/font_color_black/multiline"; - alias: "elm/entry/base/font_color_black/multiline/default"; - alias: "elm/entry/base/font_color_black/multiline/lighting"; - alias: "elm/entry/base/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-charwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/char_wrap"; - alias: "elm/entry/base/font_color_black/default/char_wrap"; - alias: "elm/entry/base/font_color_black/lighting/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; - alias: "elm/entry/base-charwrap/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_char_wrap_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/font_color_black"; - alias: "elm/entry/base-single/font_color_black/default"; - alias: "elm/entry/base-single/font_color_black/lighting"; - alias: "elm/entry/base-single/font_color_black/singleline"; - alias: "elm/entry/base-single/font_color_black/singleline/default"; - alias: "elm/entry/base-single/font_color_black/singleline/lighting"; - alias: "elm/entry/base-single/editfield/font_color_black"; - alias: "elm/entry/base-single/editfield/searchbar/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} -group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; - inherit: "elm/entry/base-single/font_color_black"; - styles { - style { name: "tizen_text_class_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "tizen_text_class_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_style"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_disabled_style"; - } - } - } - } -} -group { name: "elm/entry/base-password/font_color_black"; - alias: "elm/entry/base-password/editfield/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "off"; - } - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - parts { - part { name: "focus_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "clipper"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "contentclipper"; - type: RECT; - scale: 1; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "icon_padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clear_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.clear"; - relative: 0.0 0.0; - } - } - } - part { name: "elm.swallow.clear"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - clip_to: "contentclipper"; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - to_y: "elm.swallow.content"; - to_x: "clear_padding"; - } - rel2 { - relative: 0.0 0.0; - to_y: "sb_hbar"; - to_x: "clear_padding"; - } - } - } - part { name: "elm.dragable.vbar"; - type: RECT; - scale: 1; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - type: RECT; - scale: 1; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - program { name: "icon_show"; - signal: "elm,action,show,icon"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "icon_hide"; - signal: "elm,action,hide,icon"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "clear_show"; - signal: "elm,state,clear,visible"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "clear_hide"; - signal: "elm,state,clear,hidden"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "end_show"; - signal: "elm,action,show,end"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,action,hide,end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -group { name: "elm/scroller/entry/editfield"; - inherit: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_edit_field_focus.png" COMP; - image: "00_edit_field_bg.png" COMP; - } - parts { - part { name: "focus_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 1; - image { - normal: "00_edit_field_bg.png"; - border: 8 8 8 8; - border_scale: 1; - } - } - } - part { name: "focus_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 0.0 1.0; - } - } - } - part { name: "focus_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - to: "focus_bg"; - relative: 1.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_edit_field_focus.png"; - border: 8 8 8 8; - border_scale: 1; - } - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_right_padding"; - relative: 0.0 1.0; - } - } - } - } - programs { - program { name: "action_focus"; - signal: "elm,state,focus,on"; - source: "*"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,state,focus,off"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } -} -group { name: "elm/scroller/entry/editfield/searchbar/default"; - inherit: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_search_edit_field_bg_focus.png" COMP; - image: "00_search_edit_field_bg.png" COMP; - image: "00_search_icon.png" COMP; - } - parts { - part { name: "focus_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 1; - image { - normal: "00_search_edit_field_bg.png"; - border: 12 13 12 13; - border_scale: 1; - } - } - } - part { name: "focus_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 0.0 1.0; - } - } - } - part { name: "focus_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - to: "focus_bg"; - relative: 1.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_left_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - clip_to: "search_icon.clipper"; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_MIN_MAX_INC; - fixed: 1 1; - align: 0.0 0.5; - image.normal: "00_search_icon.png"; - rel1 { - to_x: "search_icon_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_left_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "search_icon"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon.clipper"; - type: RECT; - description { state: "default" 0.0; - color: ENTRY_SEARCH_ICON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "disabled" 0.0; - color: ENTRY_SEARCH_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "search_icon_over"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { - to_x: "search_icon_left_padding"; - relative: 0.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - relative: 1.0 1.0; - } - color: 0 0 0 0; - } - } - part { name: "search_icon_disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "search_icon"; - rel2.to: "search_icon"; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_search_edit_field_bg_focus.png"; - border: 12 13 12 13; - border_scale: 1; - } - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_right_padding"; - relative: 0.0 1.0; - } - } - } - part { name: "icon_padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "action_focus"; - signal: "elm,state,focus,on"; - source: "*"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,state,focus,off"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - program { name: "search_icon_touch_snd"; - signal: "mouse,clicked,1"; - source: "search_icon_over"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "search_icon_disabler"; - target: "search_icon.clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "search_icon_disabler"; - target: "search_icon.clipper"; - } - } -} - - group { name: "elm/entry/selection/block_handle_left/datetime"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_left.png" COMP; - image: "copy&paste_Handler_left_01.png" COMP; - image: "copy&paste_Handler_left_reverse.png" COMP; - image: "copy&paste_Handler_left_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1 0; - rel2 { relative: 1 1; to_x: "edge"; } - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_left_01.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1 1; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 0; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_01_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - public double_clicked; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - set_int(double_clicked, 0); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - set_int(double_clicked, 0); - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "top_reversed", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "double_clicked"; - signal: "edje,entry,double,clicked"; - source: "edje"; - script { - set_int(double_clicked, 1); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_right/datetime"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_right.png" COMP; - image: "copy&paste_Handler_right_01.png" COMP; - image: "copy&paste_Handler_right_reverse.png" COMP; - image: "copy&paste_Handler_right_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_right.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_right_01.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 0; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_01_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - public double_clicked; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - set_int(double_clicked, 0); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - set_int(double_clicked, 0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "top", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - } - program { name: "double_clicked"; - signal: "edje,entry,double,clicked"; - source: "edje"; - script { - set_int(double_clicked, 1); - } - } - } - } - -group { name: "elm/entry/base-single/datetime_popup"; - inherit: "elm/entry/base-single/default"; - alias: "elm/entry/base-single/datetime_popup/year"; - alias: "elm/entry/base-single/datetime_popup/month"; - alias: "elm/entry/base-single/datetime_popup/date"; - alias: "elm/entry/base-single/datetime_popup/hour"; - alias: "elm/entry/base-single/datetime_popup/minute"; - data.item: "default_font_size" "64"; - styles { - style { name: "entry_datetime_popup_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: "elm/entry/selection/block_handle_left/datetime"; // start selection handler - source8: "elm/entry/selection/block_handle_right/datetime"; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_datetime_popup_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base/datetime_popup/ampm"; - alias: "elm/entry/base-single-noedit/datetime_popup/ampm"; - data.item: "default_font_size" "64"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - multiline: 0; - description { state: "default" 0.0; - text { - style: "entry_datetime_popup_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} diff --git a/mobile/themes/widgets/gengrid.edc b/mobile/themes/widgets/gengrid.edc deleted file mode 100644 index 87c4b7b..0000000 --- a/mobile/themes/widgets/gengrid.edc +++ /dev/null @@ -1,852 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - styles { - style { name: "gengrid_textblock_style"; - base: "font=Tizen:style=Bold font_size="GENGRID_FONT_STYLE_24_INC" color="GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "b" "+ font=Tizen:style=Bold"; - } - } - - group { name: "elm/gengrid/item/default_grid/default"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - images { - image : "00_thumbs_line_bg.png" COMP; - image : "00_thumbs_bg_focus.png" COMP; - image : "00_thumbs_loading_bg.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - color: GENGRID_PART_BACKGROUND_COLOR_INC; - } - } - part { name: "left_top_padding"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_LEFT_TOP_PADDING_INC; - align: 0.0 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "bg"; - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - } - } - part { name: "right_bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_RIGHT_BOTTOM_PADDING_INC; - align: 1.0 1.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - } - } - part { name: "item_bg"; - type: IMAGE; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "right_bottom_padding"; - } - image.normal: "00_thumbs_line_bg.png"; - image.border: 1 1 1 1; - } - } - part { name: "item_bg_left_top_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; - align: 0.0 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "item_bg"; - rel2 { - relative: 0.0 0.0; - to: "item_bg"; - } - } - } - part { name: "item_bg_right_bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; - align: 1.0 1.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "item_bg"; - } - rel2.to: "item_bg"; - } - } - part { name: "item_real_bg"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "item_bg_left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "item_bg_right_bottom_padding"; - } - image.normal: "00_thumbs_loading_bg.png"; - } - } - part { name: "item_real_bg_left_top_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; - align: 0.0 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "item_real_bg"; - rel2 { - relative: 0.0 0.0; - to: "item_real_bg"; - } - } - } - part { name: "item_real_bg_right_bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_REAL_BG_RIGHT_PADDING_INC; - align: 1.0 1.0; - fixed: 1 1; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "item_real_bg"; - } - rel2.to: "item_real_bg"; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "item_real_bg_left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "item_real_bg_right_bottom_padding"; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "reorder_bg"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: GENGRID_PART_BG_COLOR_INC; - rel1.to: "item_bg"; - rel2.to: "item_bg"; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: GENGRID_PART_REORDER_DEFAULT_BG_COLOR_INC; - } - } - part { name: "focus_bg_left_top_padding"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_LEFT_TOP_FOCUS_PADDING_INC; - align: 0.0 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "bg"; - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - } - } - part { name: "focus_bg_right_bottom_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_RIGHT_BOTTOM_FOCUS_PADDING_INC; - align: 1.0 1.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - } - } - part { name: "focus_bg"; - type: IMAGE; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "focus_bg_left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "focus_bg_right_bottom_padding"; - } - image.normal: "00_thumbs_bg_focus.png"; - image.border: 13 12 12 13; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "go_mouse_down"; - signal: "mouse,down,1"; - source: "reorder_bg"; - action: STATE_SET "enabled" 0.0; - target: "focus_bg"; - transition: ACCELERATE 0.2; - } - program { name: "go_mouse_up"; - signal: "mouse,up,1"; - source: "reorder_bg"; - action: STATE_SET "default" 0.0; - target: "focus_bg"; - transition: DECELERATE 0.2; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "reorder_bg"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - target: "focus_bg"; - transition: ACCELERATE 0.3; - } - program { name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - target: "focus_bg"; - transition: DECELERATE 0.3; - } - program { name: "focus_in"; - signal: "elm,state,focused"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "focus_bg"; - } - program { name: "focus_out"; - signal: "elm,state,unfocused"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "focus_bg"; - } - } - } - - group { name: "elm/gengrid/item/gallery_grid/default"; - inherit: "elm/gengrid/item/default_grid/default"; - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_LEFT_TOP_PADDING_INC; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_bg"; - type: IMAGE; - description { state: "default" 0.0; - image.normal: "00_thumbs_loading_bg.png"; - } - } - part { name: "item_bg_left_1pxl_inner_padding"; - type: RECT; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; - align: 0.0 0.5; - fixed: 1 0; - rel1.to: "item_bg"; - rel2 { - relative: 0.0 1.0; - to: "item_bg"; - } - color: 64 64 64 255; - } - } - part { name: "item_bg_top_1pxl_inner_padding"; - type: RECT; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; - align: 0.5 0.0; - fixed: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "item_bg_left_1pxl_inner_padding"; - to_y: "item_bg"; - } - rel2 { - relative: 0.0 0.0; - to_x: "item_bg_right_1pxl_inner_padding"; - to_y: "item_bg"; - } - color: 64 64 64 255; - } - } - part { name: "item_bg_right_1pxl_inner_padding"; - type: RECT; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "item_bg"; - } - rel2 { - relative: 1.0 1.0; - to: "item_bg"; - } - color: 64 64 64 255; - } - } - part { name: "item_bg_bottom_1pxl_inner_padding"; - type: RECT; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_ITEM_BG_LEFT_TOP_PADDING_INC; - align: 0.5 1.0; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to_x: "item_bg_left_1pxl_inner_padding"; - to_y: "item_bg"; - } - rel2 { - relative: 0.0 1.0; - to_x: "item_bg_right_1pxl_inner_padding"; - to_y: "item_bg"; - } - color: 64 64 64 255; - } - } - part { name: "item_real_bg"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "item_bg_left_1pxl_inner_padding"; - to_y: "item_bg_top_1pxl_inner_padding"; - } - rel2 { - relative: 0.0 0.0; - to_x: "item_bg_right_1pxl_inner_padding"; - to_y: "item_bg_bottom_1pxl_inner_padding"; - } - } - } - part { name: "focus_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_LEFT_TOP_FOCUS_PADDING_INC; - } - } - part { name: "focus_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_RIGHT_BOTTOM_FOCUS_PADDING_INC; - } - } - } - } - - group { name: "elm/gengrid/item/myfile_grid/default"; - inherit: "elm/gengrid/item/default_grid/default"; - images { - image : "00_sub_depth_thumbs_bg.png" COMP; - } - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_LEFT_TOP_PADDING_INC; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_bg"; - type: IMAGE; - description { state: "default" 0.0; - image.normal: "00_sub_depth_thumbs_bg.png"; - image.border: 13 12 12 13; - } - } - part { name: "item_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_ITEM_BG_LEFT_TOP_PADDING_INC; - } - } - part { name: "item_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_real_bg"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "item_bg_left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "item_bg_right_bottom_padding"; - } - } - } - part { name: "focus_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_LEFT_TOP_FOCUS_PADDING_INC; - } - } - part { name: "focus_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_MYFILE_RIGHT_BOTTOM_FOCUS_PADDING_INC; - } - } - } - } - - group { name: "elm/gengrid/item/default_gridtext/default"; - inherit: "elm/gengrid/item/default_grid/default"; - alias: "elm/gengrid/item/myfile_gridtext/default"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end"; - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_LEFT_TOP_PADDING_INC; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_bg"; - type: IMAGE; - description { state: "default" 0.0; - image.normal: "00_sub_depth_thumbs_bg.png"; - image.border: 13 12 12 13; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "left_top_padding"; - to_y: "right_bottom_padding"; - } - rel2 { - relative: 0.0 1.0; - to: "right_bottom_padding"; - } - text { - style: "gengrid_textblock_style"; - min: 0 1; - align: 0.5 0.0; - } - } - } - part { name: "elm.swallow.block"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to : "elm.text"; - rel2.to : "elm.text"; - } - } - part { name: "item_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_ITEM_BG_LEFT_TOP_PADDING_INC; - } - } - part { name: "item_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_real_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; - } - } - part { name: "item_real_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_ITEM_REAL_BG_RIGHT_PADDING_INC; - } - } - part { name: "focus_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_LEFT_TOP_FOCUS_PADDING_INC; - } - } - part { name: "focus_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT_RIGHT_BOTTOM_FOCUS_PADDING_INC; - } - } - } - } - - - group { name: "elm/gengrid/item/default_gridtext2/default"; - inherit: "elm/gengrid/item/default_gridtext/default"; - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_LEFT_TOP_PADDING_INC; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - rel1 { - to: "left_top_padding"; - } - rel2 { - to_x: "right_bottom_padding"; - to_y: "left_top_padding"; - } - text { - align: 0.5 1.0; - } - } - } - part { name: "item_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_ITEM_BG_LEFT_TOP_PADDING_INC; - } - } - part { name: "item_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_ITEM_BG_RIGHT_BOTTOM_PADDING_INC; - } - } - part { name: "item_real_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; - } - } - part { name: "item_real_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_ITEM_REAL_BG_RIGHT_PADDING_INC; - } - } - part { name: "focus_bg_left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_LEFT_TOP_FOCUS_PADDING_INC; - } - } - part { name: "focus_bg_right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GRID_TEXT2_RIGHT_BOTTOM_FOCUS_PADDING_INC; - } - } - } - } - - group { name: "elm/gengrid/item/block/default"; - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - } - - -#define GROUPINDEX_PADDING_SIZE_LEFT 26 -#define GROUPINDEX_PADDING_SIZE_RIGHT 26 - - group { name: "elm/gengrid/item/group_index/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 0 0 0 0; - } - } - part { name: "bg_image"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: GENLIST_GROUPINDEX_LIST_BG_COLOR; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.padding.left"; - scale: 1; - mouse_events: 0; - type: SPACER; - description { state: "default" 0.0; - align: 0 0.5; - fixed: 1 0; - rel1 { - relative: 1 0; - to_x: "elm.swallow.pad"; - to_y: "base"; - } - rel2 { - relative: 1 1; - to_x: "elm.swallow.pad"; - to_y: "base"; - } - min: GROUPINDEX_PADDING_SIZE_LEFT 0; - max: GROUPINDEX_PADDING_SIZE_LEFT -1; - fixed: 1 0; - } - description { state: "decorate" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "elm.padding.right"; - scale: 1; - mouse_events: 0; - type: SPACER; - description { state: "default" 0.0; - min: GROUPINDEX_PADDING_SIZE_RIGHT 0; - max: GROUPINDEX_PADDING_SIZE_RIGHT -1; - fixed: 1 0; - align: 1.0 0.5; - rel1.to: "base"; - rel2.to: "base"; - rel1.relative: 1 0; - } - description { state: "decorate" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "elm.padding.top"; - scale: 1; - mouse_events: 0; - type: SPACER; - description { - state: "default" 0.0; - min: 0 20; - max: -1 20; - fixed: 0 1; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.0; - align: 0.5 0.0; - } - } - part { name: "elm.padding.bottom"; - scale: 1; - mouse_events: 0; - type: SPACER; - description { state: "default" 0.0; - min: 0 14; - max: -1 14; - fixed: 0 1; - rel1.to: "base"; - rel2.to: "base"; - rel1.relative: 0.0 1.0; - align: 0.5 1.0; - } - } - part { name: "elm.text"; - scale: 1; - mouse_events: 0; - type: TEXT; - description { state: "default" 0.0; - align: 0.5 0; - rel1 { - relative: 1 1; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0 1; - to_x: "elm.padding.right"; - to_y: "elm.padding.top"; - } - color: GENLIST_GROUPINDEX_LIST_COLOR; - text { - align: 0 0.5; - min: 0 1; - font: "Tizen:style=Bold"; - size: GENLIST_GROUPINDEX_LIST_SIZE; - text_class: "list_item"; - } - min: 0 38; - fixed: 1 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_GROUPINDEX_LIST_FOCUS_COLOR; - } - } - part { name: "index_line"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1 1; - to_x: "elm.padding.left"; - to_y: "elm.text"; - } - rel2 { - relative: 0 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: GENLIST_GROUPINDEX_LINE_COLOR; - min: 0 4; - max: -1 4; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_GROUPINDEX_LINE_FOCUS_COLOR; - } - } - } - programs { - program { name: "enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "index_line"; - } - program { name: "disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "index_line"; - } - program { name: "selected"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "index_line"; - } - program { name: "unselected"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "index_line"; - transition: LINEAR 0.1; - } - } - } - diff --git a/mobile/themes/widgets/genlist/genlist.edc b/mobile/themes/widgets/genlist/genlist.edc deleted file mode 100644 index 84d7685..0000000 --- a/mobile/themes/widgets/genlist/genlist.edc +++ /dev/null @@ -1,41 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 -*/ - -#include "genlist_macro.edc" -#include "genlist_textblock_style.edc" -#include "genlist_normal.edc" -#include "genlist_sweep.edc" -#include "genlist_groupindex.edc" -#include "genlist_expandable.edc" -#include "genlist_decorate.edc" -#include "genlist_email.edc" diff --git a/mobile/themes/widgets/genlist/genlist_custom.edc b/mobile/themes/widgets/genlist/genlist_custom.edc deleted file mode 100644 index e617a1f..0000000 --- a/mobile/themes/widgets/genlist/genlist_custom.edc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ -/* - * Build: - * edje_cc -id ../../images/tizen-hd/ -sd ../../sounds/ genlist_custom.edc - */ -collections { - #include "../../inc/tizen-hd-inc.edc" - #include "genlist_macro.edc" - #include "genlist_normal.edc" // if u want group inherting from normal styles. - #include "genlist_textblock_style.edc" - group { GENLIST_NAME("custom_test/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom", - fixed: 1 0; - min: 50 50; - ) - ) - GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, - "elm.icon", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_FLIP - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - } -} diff --git a/mobile/themes/widgets/genlist/genlist_decorate.edc b/mobile/themes/widgets/genlist/genlist_decorate.edc deleted file mode 100644 index 394bdde..0000000 --- a/mobile/themes/widgets/genlist/genlist_decorate.edc +++ /dev/null @@ -1,208 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 - */ - -// 2.2.7.1 edit mode select all style - group { GENLIST_NAME("select_all/default") - alias: "elm/layout/select_all/default"; - - GENLIST_PROLOG - - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - color: GENLIST_SELECT_ALL_BG_COLOR; - } - } - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 1 ) // (82-80)/2 - GENLIST_PART_PADDING_BOTTOM_SIZE( 1 ) // (82-80)/2 - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_("elm.text", 80, - "elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_FOCUS - } - programs { - GENLIST_PROGRAM_SOUND("elm.text") - GENLIST_PROGRAM_DISABLED( target: "elm.icon"; target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("bg") - GENLIST_PROGRAM_FOCUS - } - } - -// 2.2.7. Genlist Edit mode (rename) -// Should be used as decorate all item style - group { GENLIST_NAME("edit_default/default") - - GENLIST_PROLOG_NORMAL - - data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_EXPANDED_PAD - GENLIST_PART_SPACER("elm.padding.left", - GENLIST_DESCRIPTION_L("elm.swallow.pad", - min: GENLIST_PADDING_SIZE_LEFT 0; - max: GENLIST_PADDING_SIZE_LEFT -1; - fixed: 1 0; - ) - description { state: "reorder" 0.0; - inherit: "default" 0.0; - min: DIALOGUE_PADDING_SIZE_LEFT 0; - max: DIALOGUE_PADDING_SIZE_LEFT -1; - } - ) - GENLIST_PART_SPACER("elm.padding.right", - description { state: "default" 0.0; - min: GENLIST_PADDING_SIZE_RIGHT 0; - max: GENLIST_PADDING_SIZE_RIGHT -1; - fixed: 1 0; - align: 1.0 0.5; - rel1.to: "base"; - rel2.to: "base"; - rel1.relative: 1 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - min: DIALOGUE_PADDING_SIZE_RIGHT 0; - max: DIALOGUE_PADDING_SIZE_RIGHT -1; - } - ) - GENLIST_PART_ICON("elm.edit.icon.1", - GENLIST_DESCRIPTION_L("elm.padding.left", - align: 1 0.5; - GENLIST_PARAM_ICON_CHECK_RADIO - ) - description { state: "decorate" 0.0; - inherit: "default" 0.0; - align: 0 0.5; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - rel1.relative: 0 0; - rel2.relative: 0 1; - align: 1 0.5; - } - ) - GENLIST_PART_PADDING_L("elm.edit.icon1.right", "elm.edit.icon.1") - GENLIST_PART_ICON("elm.swallow.decorate.content", - GENLIST_DESCRIPTION_LR("elm.edit.icon1.right", "elm.edit.icon.2", - min: 0 GENLIST_HEIGHT_1LINE; - ) - ) - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_ICON("elm.edit.icon.2", - GENLIST_DESCRIPTION_R("elm.padding.right", - align: 0 0.5; - max: 48 48; - ) - description { state: "decorate" 0.0; - inherit: "default" 0.0; - align: 1 0.5; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 1 1; - align: 0 0.5; - } - ) - GENLIST_PART_FOCUS_NORMAL - } - programs { - GENLIST_PROGRAM_DISABLED( - target: "bg"; - target: "bg_reorder"; - target: "bottom_line"; - target: "bottom_line2"; - ) - GENLIST_PROGRAM_SELECT( - target: "bg"; - target: "bg_reorder"; - target: "bottom_line"; - target: "bottom_line2"; - ) - // BG of swallowed VIEW(it) is visible 0 - GENLIST_PROGRAM_SOUND("bg") - GENLIST_PROGRAM_REORDER_SOUND("bg_reorder") - GENLIST_PROGRAM_REORDER( - target: "bg_clip"; - target: "bg_reorder_clip"; - target: "bottom_line_clip"; - target: "elm.padding.left"; - target: "elm.padding.right"; - ) - GENLIST_PROGRAMS_DECORATE_EFFECT( - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - ) - GENLIST_PROGRAM_FLIP_EFFECT_TARGET( - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - ) - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg_reorder_clip", st, 30, vl); - if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) { - set_state(PART:"bg_reorder_clip", "reorder_flip", 0.0); - } - } - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg_reorder_clip", st, 30, vl); - if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) { - set_state(PART:"bg_reorder_clip", "reorder", 0.0); - } - } - } - GENLIST_PROGRAM_FOCUS_NORMAL - } - } diff --git a/mobile/themes/widgets/genlist/genlist_email.edc b/mobile/themes/widgets/genlist/genlist_email.edc deleted file mode 100755 index 96a5429..0000000 --- a/mobile/themes/widgets/genlist/genlist_email.edc +++ /dev/null @@ -1,1041 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -// ------------------------------------------------------------------- -// Email Style ------------------------------------------------------- -// ------------------------------------------------------------------- -// For Handling checkbox srolling issue we have increased the size of check box -// background to 64*64 though the check image is 45*45 as per GUI. These leaves -// 9 pixel extra space before the check image and 10 pixel after the check image. -// So to adjust this extra space the padding is reduced from 19 to 10. -// This means padding will be 10 pixel and extra space before the checkbox will be 9 -// So it will again get to 19 pixel as gap before the checkbox as per GUI - - -#define GENLIST_EMAIL_PADDING_SIZE_LEFT 10 -#define GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE 8 -#define GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE 8 -#define GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM 3 -#define GENLIST_EMAIL_PADDING_SIZE_DEFAULT 10 - -#define GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE 45 - -#define GENLIST_EMAIL_MAIN_TEXT_SIZE 38 -#define GENLIST_EMAIL_SUB_TEXT_SIZE 30 -#define GENLIST_EMAIL_COUNT_TEXT_SIZE 28 -#define GENLIST_EMAIL_CONTENTS_TEXT_SIZE 26 -#define GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE 24 - -#define STYLE_TAG \ - tag: "br" "\n";\ - tag: "ps" "ps";\ - tag: "tab" "\t";\ - tag: "b" "+ font=Tizen:style=Bold"; - -#define STYLE_TAG_MATCH_EMAIL \ - tag: "match" GENLIST_EMAIL_MATCH_TAG_COLOR; - -#define STYLE_TAG_MATCH_EMAIL_FOCUS \ - tag: "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE; - - - styles { - style { name: "email_style_main"; - base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_main_dim"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_main_read"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_main_read_dim"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_main_focus"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL_FOCUS - } - style { name: "email_style_sub_unread"; - base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_UNREAD_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_sub_read"; - base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_READ_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_sub_focus"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL_FOCUS - } - style { name: "email_style_contents"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_contents_time"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL - } - style { name: "email_style_contents_time_focus"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL_FOCUS - } - style { name: "email_style_contents_focus"; - base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_EMAIL_FOCUS - } - } - -// email main text -#define PARAM_EMAIL_MAIN \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - style: "email_style_main"; \ - } - -#define DESCRIPTION_EMAIL_MAIN_OTHERS \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_main_dim"; \ - } \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_main_read"; \ - } \ - description { state: "read,disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_main_read_dim"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_main_focus"; \ - } - -// email sub text -#define PARAM_EMAIL_SUB \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - style: "email_style_sub_unread"; \ - } - -#define DESCRIPTION_EMAIL_SUB_OTHERS \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_sub_read"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_sub_focus"; \ - } - -// email contents text -#define PARAM_EMAIL_COUNT \ - color: GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \ - text_class: "tizen"; \ - } - -#define DESCRIPTION_EMAIL_COUNT_OTHERS \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_EMAIL_COUNT_TEXT_READ_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \ - text_class: "tizen"; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_EMAIL_TEXT_FOCUS_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \ - text_class: "tizen"; \ - } \ - } - -// email contents text -#define PARAM_EMAIL_CONTENTS \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - style: "email_style_contents"; \ - } - -#define PARAM_EMAIL_CONTENTS_TIME \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - style: "email_style_contents_time"; \ - } - -#define DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_contents_time_focus"; \ - } - -#define DESCRIPTION_EMAIL_CONTENTS_OTHERS \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "email_style_contents_focus"; \ - } - -#define GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( NAME, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.2", \ - min: 0 SIZE; \ - fixed: 0 1; \ - ) \ - ) - -#define GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( NAME, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.icon.5", "elm.text.2", \ - min: 0 SIZE; \ - fixed: 0 1; \ - ) \ - ) - -#define GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \ - min: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; \ - max: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; - -#define GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L(NAME, LEFT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \ - fixed: 1 1; \ - ) \ - ) - -#define HEIGHT_EMAIL_MAIN 54 -#define HEIGHT_EMAIL_SUB 42 -#define HEIGHT_EMAIL_CONTENTS 38 - - -#define GENLIST_PROGRAMS_EMAIL( TARGET ) \ - programs { \ - GENLIST_PROGRAM_DEFAULT( TARGET \ - target: "bg"; \ - target: "bg_clip"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bottom_line_clip"; \ - target: "bg_reorder"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_DISABLED( TARGET \ - target: "bg"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bg_reorder"; \ - ) \ - GENLIST_PROGRAM_FOCUS_NORMAL \ - GENLIST_PROGRAM_SELECT( TARGET \ - target: "bg"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bg_reorder"; \ - ) \ - GENLIST_PROGRAM_SOUND("bg") \ - GENLIST_PROGRAM_DECORATE_REORDER( "normal", \ - target: "bg_clip"; \ - target: "bg_reorder_clip"; \ - target: "bottom_line_clip"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - program { name: "unselected_target"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - program { name: "unselected_read"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - script { \ - if (get_int(readed) == 1) \ - run_program(PROGRAM:"go_read_target"); \ - else \ - run_program(PROGRAM:"unselected_target"); \ - } \ - } \ - program { name: "go_read"; \ - signal: "elm,state,read"; \ - source: "*"; \ - script { \ - set_int(readed, 1); \ - run_program(PROGRAM:"go_read_target"); \ - } \ - } \ - program { name: "go_unread"; \ - signal: "elm,state,unread"; \ - source: "*"; \ - script { \ - set_int(readed, 0); \ - run_program(PROGRAM:"go_unread_target"); \ - } \ - } \ - program { name: "go_read_target"; \ - action: STATE_SET "read" 0.0; \ - target: "bg"; \ - TARGET \ - } \ - program { name: "go_unread_target"; \ - action: STATE_SET "unread" 0.0; \ - target: "bg"; \ - TARGET \ - } \ - } - - -#define GENLIST_PART_BG_EMAIL_NORMAL \ - GENLIST_PART_RECT("bg_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg_reorder_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder_flip" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg", \ - clip_to: "bg_clip"; \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_BG_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_DIM_COLOR; \ - } \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_READ_BG_COLOR; \ - } \ - description { state: "unread" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_UNREAD_BG_COLOR; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_reorder_left", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel2.relative: 0 1; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_reorder_right", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("bg_reorder", \ - clip_to: "bg_reorder_clip"; \ - GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \ - image { \ - normal: "00_list_group_bg.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default"; \ - image { \ - normal: "00_list_group_bg_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "flipped" 0.0; \ - inherit: "default"; \ - visible: 0; \ - } \ - ) - -// 2.2.3.5 (Email Style) - group { GENLIST_NAME("email.list/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5"; - data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch"; - - script { - public readed = 0; - } - parts { - GENLIST_PART_BG_EMAIL_NORMAL - GENLIST_PART_BASE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE ) - GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE ) - GENLIST_PART_COLORBAR - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - -// For Handling checkbox srolling issue we have increased the size of check box -// background to 64*64 though the check image is 45*45 as per GUI. These leaves -// 9 pixel extra space before the check image and 10 pixel after the check image. -// So to adjust this extra space the padding is reduced from 16 to 6. -// This means padding will be 6 pixel and extra space before the checkbox will be 10 -// So it will again get to 16 pixel as gap after the checkbox as per GUI - GENLIST_PART_SPACER("elm.padding.icon1.right", - description { state: "default" 0.0; - fixed: 1 0; - min: 6 0; - max: 6 -1; - align: 0 0.5; - rel1 { - relative: 1 0; - to_x: "elm.icon.1"; - } - rel2 { - relative: 1 1; - to_x: "elm.icon.1"; - } - } - ) - - GENLIST_PART_TEXTBLOCK("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", - PARAM_EMAIL_MAIN - min: 0 HEIGHT_EMAIL_MAIN; - fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. - ) - DESCRIPTION_EMAIL_MAIN_OTHERS - ) - - // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited - GENLIST_PART_TEXT("elm.text.4", - GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2", - PARAM_EMAIL_COUNT - min: 45 HEIGHT_EMAIL_MAIN; - max: 45 HEIGHT_EMAIL_MAIN; - text.min: 1 0; - text.align: 0.5 0.65; - fixed: 1 1; - visible: 0; - ) - ) - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.icon.3", - min: 0 0; - max: 0 0; - fixed: 1 0; - ) - ) - GENLIST_PART_ICON("elm.icon.3", - GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", - fixed: 1 0; - ) - ) - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) - GENLIST_PART_ICON("elm.icon.4", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", - min: 45 45; - max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; - fixed: 1 0; - ) - ) - GENLIST_PART_ICON("elm.icon.4.touch", - GENLIST_DESCRIPTION_ENVELOP("elm.icon.4", - rel1.offset: -4 -7; - rel2.offset: 26 8; - ) - ) - GENLIST_PART_ICON("elm.icon.2", - GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", - fixed: 1 0; - ) - ) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1", - PARAM_EMAIL_SUB - min: 0 HEIGHT_EMAIL_SUB; - fixed: 0 1; - ) - DESCRIPTION_EMAIL_SUB_OTHERS - ) - GENLIST_PART_TEXTBLOCK("elm.text.5", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom", - PARAM_EMAIL_CONTENTS_TIME - GENLIST_PARAM_TEXT_LIMIT_RT - min: 0 HEIGHT_EMAIL_SUB; - fixed: 1 0; - ) - DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS - ) - - GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) - - GENLIST_PART_TEXTBLOCK("elm.text.3", - GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom", - PARAM_EMAIL_CONTENTS - min: 0 HEIGHT_EMAIL_CONTENTS; - ) - DESCRIPTION_EMAIL_CONTENTS_OTHERS - ) - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; - target: "elm.text.2"; target: "elm.text.3"; - target: "elm.text.4"; target: "elm.text.5"; - target: "elm.swallow.colorbar"; - target: "elm.icon.1"; - target: "elm.icon.2"; target: "elm.icon.3"; - target: "elm.icon.4"; target: "elm.icon.4.touch"; - ) - GENLIST_PROGRAM_SOUND("elm.icon.4.touch") - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - GENLIST_PROGRAM_SOUND("elm.text.5") - } - -// email list with conversation text - group { GENLIST_NAME("email.list.conversation/default") - inherit: "elm/genlist/item/email.list/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5"; - parts { - GENLIST_PART_TEXT("elm.text.4", - GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2", - visible: 1; - ) - DESCRIPTION_EMAIL_COUNT_OTHERS - ) - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.icon.3", - min: 45 HEIGHT_EMAIL_MAIN; - max: 45 HEIGHT_EMAIL_MAIN; - ) - ) - } - } - - // 2.2.3.13 - // email outbox style - group { GENLIST_NAME("email.outbox/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5"; - - script { - public readed = 0; - } - parts { - GENLIST_PART_BG_EMAIL_NORMAL - GENLIST_PART_BASE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE ) - GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE ) - GENLIST_PART_COLORBAR - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - -// For Handling checkbox srolling issue we have increased the size of check box -// background to 64*64 though the check image is 45*45 as per GUI. These leaves -// 9 pixel extra space before the check image and 10 pixel after the check image. -// So to adjust this extra space the padding is reduced from 16 to 6. -// This means padding will be 6 pixel and extra space before the checkbox will be 10 -// So it will again get to 16 pixel as gap after the checkbox as per GUI - GENLIST_PART_SPACER("elm.padding.icon1.right", - description { state: "default" 0.0; - fixed: 1 0; - min: 6 0; - max: 6 -1; - align: 0 0.5; - rel1 { - relative: 1 0; - to_x: "elm.icon.1"; - } - rel2 { - relative: 1 1; - to_x: "elm.icon.1"; - } - } - ) - - GENLIST_PART_TEXTBLOCK("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", - PARAM_EMAIL_MAIN - min: 0 HEIGHT_EMAIL_MAIN; - fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. - ) - DESCRIPTION_EMAIL_MAIN_OTHERS - ) - // FIXME: because script cannot be inherited, text.4 is defined here and can be inherited - GENLIST_PART_TEXT("elm.text.4", - GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2", - PARAM_EMAIL_COUNT - min: 0 HEIGHT_EMAIL_MAIN; - max: 0 HEIGHT_EMAIL_MAIN; - text.min: 1 0; - text.align: 0.5 0.65; - fixed: 1 0; - visible: 0; - ) - ) - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.icon.3", - min: 0 0; - max: 0 0; - fixed: 1 0; - ) - ) - GENLIST_PART_ICON("elm.icon.3", - GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", - fixed: 1 0; - ) - ) - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) - GENLIST_PART_ICON("elm.icon.4", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", - min: 45 45; - max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; - fixed: 1 0; - ) - ) - GENLIST_PART_ICON("elm.icon.4.touch", - GENLIST_DESCRIPTION_ENVELOP("elm.icon.4", - rel1.offset: -4 -7; - rel2.offset: 26 8; - ) - ) - - GENLIST_PART_ICON("elm.icon.2", - GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", - fixed: 1 1; - ) - ) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1", - PARAM_EMAIL_SUB - min: 0 HEIGHT_EMAIL_SUB; - fixed: 0 1; - ) - DESCRIPTION_EMAIL_SUB_OTHERS - ) - - GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) - - GENLIST_PART_TEXTBLOCK("elm.text.3", - GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.padding.text2.bottom", "elm.padding.bottom", - PARAM_EMAIL_CONTENTS - min: 0 HEIGHT_EMAIL_CONTENTS; - ) - DESCRIPTION_EMAIL_CONTENTS_OTHERS - ) - GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5") - GENLIST_PART_ICON("elm.icon.5", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom", - min: 180 74; - max: 180 74; - fixed: 1 1; - ) - ) - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.text.4"; - target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; - target: "elm.icon.4"; target: "elm.icon.5"; - ) - } - -// email outbox style with conversation - group { GENLIST_NAME("email.outbox.conversation/default") - inherit: "elm/genlist/item/email.outbox/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - - parts { - GENLIST_PART_TEXT("elm.text.4", - GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5", - min: 45 HEIGHT_EMAIL_MAIN; - max: 45 HEIGHT_EMAIL_MAIN; - visible: 1; - ) - DESCRIPTION_EMAIL_COUNT_OTHERS - ) - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.icon.3", - min: 45 HEIGHT_EMAIL_MAIN; - max: 45 HEIGHT_EMAIL_MAIN; - ) - ) - } - } - -// FIXME: This is temporary style for test purpose -// This style has all widgets by itself - group { GENLIST_NAME("email.list.test/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5"; - data.item: "contents" "elm.swallow.colorbar elm.check.touch elm.icon.4.touch"; - - images { - image: "00_check_bg.png" COMP; - image: "00_check_dim_bg.png" COMP; - image: "00_check_activated_dim.png" COMP; - image: "00_check_activated.png" COMP; - image: "00_check_press_bg.png" COMP; - } - - script { - public readed = 0; - } - parts { - GENLIST_PART_BG_NORMAL - GENLIST_PART_BASE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE ) - GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE ) - GENLIST_PART_COLORBAR - - GENLIST_PART_IMAGE("elm.check.bg", - mouse_events: 0; - GENLIST_DESCRIPTION_L("elm.padding.left", - image.normal: "00_check_bg.png"; - fill.smooth : 0; - ) - description { state: "default" 0.0; - min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; - max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC; - fixed: 1 1; - image.normal: "00_check_bg.png"; - fill.smooth : 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_check_press_bg.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_check_dim_bg.png"; - } - ) - GENLIST_PART_IMAGE("elm.check", - mouse_events: 0; - GENLIST_DESCRIPTION_ENVELOP("elm.check.bg", - visible: 0; - image.normal: "00_check_activated.png"; - ) - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "dim" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "00_check_activated_dim.png"; - } - description { state: "pressed" 0.0; - inherit: "visible" 0.0; - } - ) - - -// For Handling checkbox srolling issue we have increased the size of check box -// background to 64*64 though the check image is 45*45 as per GUI. These leaves -// 9 pixel extra space before the check image and 10 pixel after the check image. -// So to adjust this extra space the padding is reduced from 16 to 6. -// This means padding will be 6 pixel and extra space before the checkbox will be 10 -// So it will again get to 16 pixel as gap after the checkbox as per GUI - GENLIST_PART_SPACER("elm.padding.icon1.right", - description { state: "default" 0.0; - fixed: 1 0; - min: 6 0; - max: 6 -1; - align: 0 0.5; - rel1 { - relative: 1 0; - to_x: "elm.check"; - } - rel2 { - relative: 1 1; - to_x: "elm.check"; - } - } - ) - - GENLIST_PART_TEXTBLOCK("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top", - PARAM_EMAIL_MAIN - min: 0 HEIGHT_EMAIL_MAIN; - fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing. - ) - DESCRIPTION_EMAIL_MAIN_OTHERS - ) - - // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited - GENLIST_PART_TEXT("elm.text.4", - GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2", - PARAM_EMAIL_COUNT - min: 45 HEIGHT_EMAIL_MAIN; - max: 45 HEIGHT_EMAIL_MAIN; - text.min: 1 0; - text.align: 0.5 0.65; - fixed: 1 1; - visible: 0; - ) - ) - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.icon.3", - min: 0 0; - max: 0 0; - fixed: 1 0; - ) - ) - GENLIST_PART_IMAGE("elm.icon.3", - GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2", - fixed: 1 0; - min: 0 0; - max: 0 0; - image.normal: "00_icon_favorite_on_45x45.png"; - visible: 0; - ) - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 45 45; - visible: 1; - } - ) - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT) - GENLIST_PART_IMAGE("elm.icon.4", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", - max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN; - min: 0 0; - max: 0 0; - fixed: 1 0; - image.normal: "00_icon_favorite_off_45x45.png"; - visible: 0; - ) - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 45 45; - visible: 1; - } - description { state: "enable" 0.0; - inherit: "default" 0.0; - image.normal: "00_icon_favorite_on_45x45.png"; - min: 45 45; - visible: 1; - } - ) - GENLIST_PART_ICON("elm.icon.4.touch", - GENLIST_DESCRIPTION_ENVELOP("elm.icon.4", - rel1.offset: -4 -7; - rel2.offset: 26 8; - ) - ) - GENLIST_PART_IMAGE("elm.icon.2", - GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3", - min: 0 0; - max: 0 0; - fixed: 1 0; - image.normal: "00_icon_favorite_off_45x45.png"; - visible: 0; - ) - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 45 45; - visible: 1; - } - ) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1", - PARAM_EMAIL_SUB - min: 0 HEIGHT_EMAIL_SUB; - fixed: 0 1; - ) - DESCRIPTION_EMAIL_SUB_OTHERS - ) - GENLIST_PART_TEXTBLOCK("elm.text.5", - GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom", - PARAM_EMAIL_CONTENTS_TIME - GENLIST_PARAM_TEXT_LIMIT_RT - min: 0 HEIGHT_EMAIL_SUB; - fixed: 1 0; - ) - DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS - ) - - GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM) - - GENLIST_PART_TEXTBLOCK("elm.text.3", - GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom", - PARAM_EMAIL_CONTENTS - min: 0 HEIGHT_EMAIL_CONTENTS; - ) - DESCRIPTION_EMAIL_CONTENTS_OTHERS - ) - GENLIST_PART_ICON("elm.check.touch", - GENLIST_DESCRIPTION_ENVELOP("elm.check", - ) - ) - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; - target: "elm.text.2"; target: "elm.text.3"; - target: "elm.text.4"; target: "elm.text.5"; - target: "elm.swallow.colorbar"; - target: "elm.icon.4.touch"; - target: "elm.check.touch"; - ) - program { name: "check_show"; - signal: "elm,state,check,show"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.check"; - } - program { name: "check_hide"; - signal: "elm,state,check,hide"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "elm.check"; - } - program { name: "icon2_show"; - signal: "elm,state,icon2,show"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.icon.2"; - } - program { name: "icon3_show"; - signal: "elm,state,icon3,show"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.icon.3"; - } - program { name: "icon4_show"; - signal: "elm,state,icon4,show"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.icon.4"; - } - program { name: "icon4_enable"; - signal: "elm,state,icon4,enable"; - source: "*"; - action: STATE_SET "enable" 0.0; - target: "elm.icon.4"; - } - program { name: "icon4_disable"; - signal: "elm,state,icon4,disable"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.icon.4"; - } - GENLIST_PROGRAM_SOUND("elm.icon.4.touch") - GENLIST_PROGRAM_SOUND("elm.check.touch") - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - GENLIST_PROGRAM_SOUND("elm.text.5") - } diff --git a/mobile/themes/widgets/genlist/genlist_expandable.edc b/mobile/themes/widgets/genlist/genlist_expandable.edc deleted file mode 100644 index 5ac4579..0000000 --- a/mobile/themes/widgets/genlist/genlist_expandable.edc +++ /dev/null @@ -1,1608 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 -*/ - -// 2.5.1.1 - group { GENLIST_NAME("dialogue/2text/expandable/default") - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left", - "elm.padding.top", "elm.text.2", - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom", - fixed: 0 1; - min: 0 GENLIST_HEIGHT_2LINE_SUB; - GENLIST_PARAM_SUBITEM_DEFAULT - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - } - -// 2.5.1.2 - group { GENLIST_NAME("dialogue/2text.2/expandable/default") - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.arrow.left", - "elm.padding.top", - fixed: 1 1; - min: 0 GENLIST_HEIGHT_2LINE_SUB; - GENLIST_PARAM_SUBITEM_DEFAULT - ) - ) - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left", - "elm.text.2", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - } - -// 2.5.1.3 - group { GENLIST_NAME("dialogue/2text.3/expandable/default") - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left", - "elm.padding.top", "elm.text.2", - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_2LINE_SUB; - fixed: 1 1; - GENLIST_PARAM_SUBITEM_SETTINGS - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - } - -// 2.5.1.4 - group { GENLIST_NAME("dialogue/2text.1icon/expandable/default") - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - images { - image: "00_list_button_expand_closed.png" COMP; - image: "00_list_button_expand_opened.png" COMP; - } - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_L("elm.padding.left", - GENLIST_PARAM_ICON_CHECK_RADIO) - ) - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.padding.arrow.left", - "elm.padding.top", "elm.text.2", - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_2LINE_SUB; - fixed: 1 1; - GENLIST_PARAM_SUBITEM_DEFAULT - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - } - -// 2.5.1.5 - group { GENLIST_NAME("dialogue/3text.1icon/expandable/default") - GENLIST_PROLOG_DIALOGUE - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - images { - image: "00_list_button_expand_closed.png" COMP; - image: "00_list_button_expand_opened.png" COMP; - } - - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_COLORBAR - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.text.3", - "elm.padding.top", "elm.text.2", - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.arrow.left", "elm.padding.top", "elm.text.2" - ) - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_2LINE_SUB; - fixed: 1 1; - GENLIST_PARAM_SUBITEM_DEFAULT - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - } - -// 2.5.1.6 - group { GENLIST_NAME("dialogue/1text/expandable/default") - - // FIXME: deprecated, only for backward compatibility - alias: "elm/genlist/tree/dialogue/1text/expandable2/default"; - alias: "elm/genlist/tree_odd/dialogue/1text/expandable2/default"; - alias: "elm/genlist/tree_compress/dialogue/1text/expandable2/default"; - alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable2/default"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text"; - - GENLIST_IMAGES_EXPANDABLE_BTN - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_TOP_SIZE(0) - GENLIST_PART_PADDING_BOTTOM_SIZE(0) - GENLIST_PART_PADDING_RIGHT_EDIT - - GENLIST_PART_LISTITEM("elm.text", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left", - "elm.padding.top", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_1LINE; - GENLIST_PARAM_LISTITEM - ) - ) - GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow") - GENLIST_PART_EXPANDABLE_ARROW - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "arrow_clip"; ) - programs { - GENLIST_PROGRAM_SELECT_ARROW - GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - } -#if 0 - group { name: "elm/genlist/tree/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default"; - - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_NORMAL - GENLIST_PART_BASE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.swallow.pad") - GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon") - GENLIST_PART_LISTITEM("elm.text", - GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right", - min: 0 GENLIST_HEIGHT_1LINE; - GENLIST_PARAM_LISTITEM - ) - ) - } - programs { - GENLIST_PROGRAM_DISABLED - GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - } - - group { name: "elm/genlist/item/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default"; - - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_NORMAL - GENLIST_PART_BASE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - - GENLIST_PART_IMAGE("elm.icon", "elm.swallow.pad") - GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon") - GENLIST_PART_LISTITEM("elm.text", - GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right", - min: 0 GENLIST_HEIGHT_1LINE; - GENLIST_PARAM_LISTITEM - ) - ) - } - programs { - GENLIST_PROGRAM_DISABLED - GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - } - - - data.item: "texts" "elm.text"; - data.item: "treesize" "26"; - - broadcast_signal: 1; - parts { - alias: "base" "group:base"; - alias: "arrow" "group:arrow"; - alias: "elm.text" "group:elm.text"; - alias: "bottom_line" "group:bottom_line"; - alias: "elm.padding.left" "group:elm.padding.left"; - alias: "elm.padding.right" "group:elm.padding.right"; - alias: "elm.swallow.pad" "group:elm.swallow.pad"; - - GENLIST_PART_PERSPECTIVE_POINT - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "group"; - type: GROUP; - scale: 1; - source: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default"; - description { - min: 16 GENLIST_HEIGHT_1LINE; - state: "default" 0.0; - } - GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0) - } - } - programs { - program { - name: "expand"; - signal: "mouse,up,1"; - source: "group:touch_arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - GENLIST_PROGRAM_ROTATE(0.2, 0.3, - target: "group"; - ) - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "group"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "group"; - } - } - } - - /* internally used in 2.5.3.1 */ - group { name: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default"; - images { - image: "00_folder_icon_folder_plus.png" COMP; - image: "00_folder_icon_folder_minus.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "touch_arrow"; - type: RECT; - ignore_flags: ON_HOLD; - scale: 1; - description { state: "default" 0.0; - min: 112 128; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - relative: 0.5 0.5; - to: "arrow"; - } - rel2 { - relative: 0.5 0.5; - to: "arrow"; - } - color: 0 0 0 0; - } - } - part { name: "elm.padding.arrow.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 16 0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "arrow"; - } - rel2.to: "arrow"; - } - } - part { name: "arrow"; - ignore_flags: ON_HOLD; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - fixed: 1 1; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.pad"; - } - rel2.to_x: "elm.swallow.pad"; - image.normal: "00_folder_icon_folder_plus.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "00_folder_icon_folder_minus.png"; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.arrow.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Roman"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "base"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - GENLIST_PROGRAM_SOUND("elm.text") - } - } - - /* 2.5.3.2 */ - group { name: "elm/genlist/item/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default"; - inherit: "elm/genlist/tree/1text.1/expandable_n_depth/default"; - broadcast_signal: 1; - parts { - alias: "base" "group:base"; - alias: "arrow" "group:arrow"; - alias: "elm.text" "group:elm.text"; - alias: "bottom_line" "group:bottom_line"; - alias: "elm.padding.left" "group:elm.padding.left"; - alias: "elm.padding.right" "group:elm.padding.right"; - alias: "elm.swallow.pad" "group:elm.swallow.pad"; - part { name: "group"; - type: GROUP; - scale: 1; - source: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default"; - description { - min: 16 GENLIST_HEIGHT_1LINE; - state: "default" 0.0; - } - GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0) - } - } - } - - /* internally used in 2.5.3.2 */ - group { name: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default"; - inherit: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default"; - images { - image: "00_folder_icon_folder.png" COMP; - } - parts { - part { name: "touch_arrow"; - mouse_events: 0; - } - part { name: "arrow"; - description { state: "default" 0.0; - image.normal: "00_folder_icon_folder.png"; - } - description { state: "active" 0.0; - image.normal: "00_folder_icon_folder.png"; - } - } - } - } -#endif - - -#if 0 -// 2.5.2.7 - group { name: "elm/genlist/item/dialogue/1text.2icon/expandable2/default"; - alias: "elm/genlist/item_odd/dialogue/1text.2icon/expandable2/default"; - alias: "elm/genlist/item_compress/dialogue/1text.2icon/expandable2/default"; - alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon/expandable2/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - data.item: "treesize" "GENLIST_TREESIZE_16_INC"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC ) - GENLIST_PART_PADDING_RIGHT_EDIT - part { name: "elm.padding.icon1.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - } - } - part { name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC; - max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.pad"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.swallow.pad"; - } - } - GENLIST_DESCRIPTION_FADEOUT - } - part { name: "elm.padding.icon2.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.2"; - } - rel2.to_x: "elm.icon.2"; - align: 0.0 0.0; - } - } - part { name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.icon1.right"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - } - } - GENLIST_DESCRIPTION_FADEOUT - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.icon2.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Regular"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - GENLIST_DESCRIPTION_FADEOUT - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "base"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - GENLIST_PROGRAM_ROTATE(0.2, 0.3, - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - target: "elm.icon.1"; - target: "elm.icon.2"; - ) - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.icon.1"; - target: "elm.icon.2"; - target: "elm.swallow.pad"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.icon.1"; - target: "elm.icon.2"; - target: "elm.swallow.pad"; - } - } - } - -//removed -// 3.10.21 - group { name: "elm/genlist/item/dialogue/1text/expandable3/default"; - alias: "elm/genlist/item_odd/dialogue/1text/expandable3/default"; - alias: "elm/genlist/item_compress/dialogue/1text/expandable3/default"; - alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable3/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "treesize" "10"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC ) - GENLIST_PART_PADDING_RIGHT_EDIT - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.swallow.pad"; - } - rel2 { - to_x: "elm.padding.right"; - relative: 0.0 1.0; - offset: 0 0; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Regular"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - GENLIST_DESCRIPTION_FADEOUT - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "base"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - GENLIST_PROGRAM_ROTATE(0.2, 0.3, - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - ) - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - } - } - } - -//removed -/* B01.3.10.20 */ - group { name: "elm/genlist/item/dialogue/1text.2/expandable3/default"; - alias: "elm/genlist/item_odd/dialogue/1text.2/expandable3/default"; - alias: "elm/genlist/item_compress/dialogue/1text.2/expandable3/default"; - alias: "elm/genlist/item_compress_odd/dialogue/1text.2/expandable3/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "treesize" "GENLIST_TREESIZE_16_INC"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_SIZE_48_INC ) - GENLIST_PART_PADDING_RIGHT_EDIT( GENLIST_SIZE_16_INC ) - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.swallow.pad"; - } - rel2 { - to_x: "elm.padding.right"; - relative: 0.0 1.0; - offset: 0 0; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Regular"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - GENLIST_DESCRIPTION_FADEOUT - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "base"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - GENLIST_PROGRAM_ROTATE(0.2, 0.3, - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - ) - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "base"; - target: "elm.text"; - target: "elm.swallow.pad"; - } - } - } - - / -// 2.5.1.5 (Deprecated) - group { name: "elm/genlist/tree/dialogue/2text.2icon/expandable/default"; - alias: "elm/genlist/tree_odd/dialogue/2text.2icon/expandable/default"; - alias: "elm/genlist/tree_compress/dialogue/2text.2icon/expandable/default"; - alias: "elm/genlist/tree_compress_odd/dialogue/2text.2icon/expandable/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.swallow.colorbar"; - data.item: "treesize" "GENLIST_TREESIZE_16_INC"; - images { - image: "00_list_button_expand_closed.png" COMP; - image: "00_list_button_expand_opened.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC ) - GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC ) - GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC ) - GENLIST_PART_PADDING_RIGHT_EDIT - part { name: "elm.swallow.colorbar"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC; - fixed: 1 1; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - } - } - part { name: "touch_arrow"; - type: RECT; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - relative: 0.5 0.5; - to: "arrow"; - } - rel2 { - relative: 0.5 0.5; - to: "arrow"; - } - color: 0 0 0 0; - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; - max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; - fixed: 1 1; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1.to_x: "elm.padding.right"; - rel2 { - relative: 0.0 1.0; - offset: 0 0; - to_x: "elm.padding.right"; - } - image.normal: "00_list_button_expand_closed.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "00_list_button_expand_opened.png"; - } - GENLIST_DESCRIPTION_FADEOUT - } - part { name: "elm.padding.arrow.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_8_INC 0; - fixed: 1 0; - visible: 0; - align: 1.0 0.5; - rel1.to: "arrow"; - rel2 { - relative: 0.0 1.0; - to: "arrow"; - } - } - } - part { name: "elm.padding.icon.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon"; - } - rel2.to_x: "elm.icon"; - align: 0.0 0.0; - } - } - part { name: "elm.icon"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.pad"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.swallow.pad"; - } - } - } - part { name: "elm.text.1"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_61_INC; - fixed: 0 1; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon.right"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.arrow.left"; - to_y: "elm.padding.top"; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Regular"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - GENLIST_DESCRIPTION_FADEOUT - } - part { name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "elm.padding.arrow.left"; - to_y: "elm.padding.bottom"; - } - color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR; - text { - font: "Tizen:style=Medium"; - size: GENLIST_FONT_32_INC; - min: 0 1; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - GENLIST_DESCRIPTION_FADEOUT - } - GENLIST_PART_DISCLIP - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "base"; - target: "elm.text.1"; - target: "elm.text.2"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text.1"; - target: "elm.text.2"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "touch_arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - GENLIST_PROGRAM_ROTATE(0.2, 0.3, - target: "base"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon"; - target: "elm.swallow.colorbar"; - target: "arrow"; - target: "elm.swallow.pad"; - ) - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon"; - target: "elm.swallow.colorbar"; - target: "arrow"; - target: "elm.swallow.pad"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "base"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon"; - target: "elm.swallow.colorbar"; - target: "arrow"; - target: "elm.swallow.pad"; - } - } - } - -#define GENLIST_EXPANDABLE_TREE_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \ - group { name: "elm/genlist/tree/"GE_STYLE_NAME"/default"; \ - alias: "elm/genlist/tree_odd/"GE_STYLE_NAME"/default"; \ - data.item: "stacking" "above"; \ - data.item: "selectraise" "on"; \ - data.item: "texts" "elm.text"; \ - data.item: "contents" "elm.swallow.icon elm.swallow.end"; \ - data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \ - images { \ - image: "00_list_button_expand_closed.png" COMP; \ - image: "00_list_button_expand_opened.png" COMP; \ - } \ - parts { \ - GENLIST_PART_BASE \ - GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \ - GENLIST_PART_PADDING_RIGHT_EDIT \ - part { name: "touch_arrow"; \ - type: RECT; \ - clip_to: "disclip"; \ - ignore_flags: ON_HOLD; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC; \ - fixed: 1 1; \ - align: 0.5 0.5; \ - rel1 { \ - relative: 0.5 0.5; \ - to: "arrow"; \ - } \ - rel2 { \ - relative: 0.5 0.5; \ - to: "arrow"; \ - } \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "arrow"; \ - clip_to: "disclip"; \ - ignore_flags: ON_HOLD; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - fixed: 1 1; \ - align: 1.0 0.5; \ - aspect: 1.0 1.0; \ - rel1.to_x: "elm.padding.right"; \ - rel2 { \ - relative: 0.0 1.0; \ - offset: 0 0; \ - to_x: "elm.padding.right"; \ - } \ - image.normal: "00_list_button_expand_closed.png"; \ - } \ - description { state: "active" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_list_button_expand_opened.png"; \ - } \ - GENLIST_DESCRIPTION_FADEOUT \ - } \ - part { name: "elm.padding.arrow.left"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: GENLIST_SIZE_8_INC 0; \ - fixed: 1 0; \ - visible: 0; \ - align: 1.0 0.5; \ - rel1.to: "arrow"; \ - rel2 { \ - relative: 0.0 1.0; \ - to: "arrow"; \ - } \ - } \ - } \ - part { name: "elm.text"; \ - clip_to: "disclip"; \ - type: TEXT; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 0.5 0.5; \ - rel1 { \ - relative: 1.0 0.0; \ - to_x: "elm.swallow.pad"; \ - } \ - rel2 { \ - relative: 0.0 1.0; \ - to_x: "elm.padding.arrow.left"; \ - } \ - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \ - text { \ - font: "Tizen:style=Roman"; \ - size: GENLIST_LIST_MAIN_TEXT_SIZE; \ - min: 0 1; \ - align: 0.0 0.5; \ - text_class: "list_item"; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_TEXT_FOCUS_COLOR; \ - } \ - GENLIST_DESCRIPTION_FADEOUT \ - } \ - GENLIST_PART_DISCLIP \ - } \ - programs { \ - program { \ - name: "go_active"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - } \ - program { \ - name: "go_passive"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - transition: LINEAR 0.1; \ - } \ - program { \ - name: "go_disabled"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disclip"; \ - } \ - program { \ - name: "go_enabled"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disclip"; \ - } \ - program { \ - name: "expand"; \ - signal: "mouse,up,1"; \ - source: "touch_arrow"; \ - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \ - } \ - program { \ - name: "go_expanded"; \ - signal: "elm,state,expanded"; \ - source: "elm"; \ - action: STATE_SET "active" 0.0; \ - target: "arrow"; \ - } \ - program { \ - name: "go_contracted"; \ - signal: "elm,state,contracted"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "arrow"; \ - } \ - GENLIST_PROGRAM_ROTATE(0.2, 0.3, \ - target: "base"; \ - target: "elm.text"; \ - target: "arrow"; \ - target: "elm.swallow.pad"; \ - ) \ - program { \ - name: "show"; \ - signal: "elm,state,show"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - target: "arrow"; \ - target: "elm.swallow.pad"; \ - } \ - program { \ - name: "hide"; \ - signal: "elm,state,hide"; \ - action: STATE_SET "hide" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - target: "arrow"; \ - target: "elm.swallow.pad"; \ - } \ - } \ - } - -#define GENLIST_EXPANDABLE_ITEM_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \ - group { name: "elm/genlist/item/"GE_STYLE_NAME"/default"; \ - alias: "elm/genlist/item_odd/"GE_STYLE_NAME"/default"; \ - data.item: "stacking" "above"; \ - data.item: "selectraise" "on"; \ - data.item: "texts" "elm.text"; \ - data.item: "contents" "elm.swallow.icon elm.swallow.end"; \ - data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \ - parts { \ - GENLIST_PART_BASE \ - GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \ - GENLIST_PART_PADDING_RIGHT_EDIT \ - part { name: "elm.swallow.end"; \ - type: SWALLOW; \ - scale: 1; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to_x: "elm.padding.right"; \ - rel2 { \ - relative: 0.0 1.0; \ - to_x: "elm.padding.right"; \ - } \ - } \ - GENLIST_DESCRIPTION_FADEOUT \ - } \ - part { name: "elm.text"; \ - clip_to: "disclip"; \ - type: TEXT; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1 { \ - relative: 1.0 0.0; \ - offset: 0 0; \ - to_x: "elm.swallow.pad"; \ - } \ - rel2 { \ - to_x: "elm.padding.right"; \ - relative: 0.0 1.0; \ - offset: 0 0; \ - } \ - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \ - text { \ - font: "Tizen:style=Roman"; \ - size: GENLIST_LIST_MAIN_TEXT_SIZE; \ - min: 0 1; \ - align: 0.0 0.5; \ - text_class: "list_item"; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_TEXT_FOCUS_COLOR; \ - } \ - GENLIST_DESCRIPTION_FADEOUT \ - } \ - GENLIST_PART_DISCLIP \ - } \ - programs { \ - program { name: "go_active"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - } \ - program { name: "go_passive"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - transition: LINEAR 0.1; \ - } \ - program { name: "go_disabled"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disclip"; \ - } \ - program { name: "go_enabled"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disclip"; \ - } \ - GENLIST_PROGRAM_ROTATE(0.2, 0.3, \ - target: "base"; \ - target: "elm.text"; \ - target: "elm.swallow.pad"; \ - target: "elm.swallow.end"; \ - ) \ - program { \ - name: "show"; \ - signal: "elm,state,show"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - target: "elm.swallow.end"; \ - target: "elm.swallow.pad"; \ - } \ - program { \ - name: "hide"; \ - signal: "elm,state,hide"; \ - action: STATE_SET "hide" 0.0; \ - target: "base"; \ - target: "elm.text"; \ - target: "elm.swallow.end"; \ - target: "elm.swallow.pad"; \ - } \ - } \ - } - -/* legacy styles */ -GENLIST_EXPANDABLE_TREE_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_32_INC) -GENLIST_EXPANDABLE_TREE_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC) - -GENLIST_EXPANDABLE_ITEM_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_16_INC) -GENLIST_EXPANDABLE_ITEM_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC) -GENLIST_EXPANDABLE_ITEM_GROUP("expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC) - -// 2.5.2.6 -GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC) -GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC) - -//removed -/* B01.3.10.21 */ -GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC) -GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC) -#endif diff --git a/mobile/themes/widgets/genlist/genlist_groupindex.edc b/mobile/themes/widgets/genlist/genlist_groupindex.edc deleted file mode 100644 index 3722928..0000000 --- a/mobile/themes/widgets/genlist/genlist_groupindex.edc +++ /dev/null @@ -1,370 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - -/* - * vim:ts=3:expandtab -*/ - -#define GROUPINDEX_PADDING_SIZE_LEFT 26 -#define GROUPINDEX_PADDING_SIZE_RIGHT 26 -#define GROUPINDEX_TEXT_HEIGHT 38 -#define GROUPINDEX_ICON_SIZE 64 - - -#define GENLIST_PART_INDEX_BG \ - GENLIST_PART_RECT("bg", \ - description { state: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \ - } \ - ) - - // group index -#define GENLIST_DESCRIPTION_INDEX_LIST \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_FOCUS_COLOR; \ - } - - #define GENLIST_DESCRIPTION_INDEX_LIST_TB \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_groupindex_text_focus"; \ - } - -#define GENLIST_PART_INDEX_LINE(TOP, BOTTOM) \ - GENLIST_PART_RECT("index_line", \ - GENLIST_DESCRIPTION_TB(TOP, BOTTOM, \ - color: GENLIST_GROUPINDEX_LINE_COLOR; \ - min: 0 4; \ - max: -1 4; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LINE_FOCUS_COLOR; \ - } \ - ) - -#define GENLIST_PART_INDEX_LINE_ICON(LEFT, TOP, BOTTOM) \ - GENLIST_PART_RECT("index_line_icon", \ - GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ - color: GENLIST_GROUPINDEX_LINE_COLOR; \ - min: 0 4; \ - max: -1 4; \ - rel2.to_x: "base"; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LINE_FOCUS_COLOR; \ - } \ - ) - -// Group Index -#define GENLIST_PARAM_INDEX_LIST \ - color: GENLIST_GROUPINDEX_LIST_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_GROUPINDEX_LIST_SIZE; \ - text_class: "list_item"; \ - } - -// Group Index -#define GENLIST_PARAM_INDEX_LIST_TB \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - style: "genlist_style_groupindex_text"; \ - } - -#define GENLIST_PART_PADDING_GROUPINDEX_LEFT \ - GENLIST_PART_EXPANDED_PAD \ - GENLIST_PART_RECT("elm.padding.left", \ - GENLIST_DESCRIPTION_L("elm.swallow.pad", \ - color: GENLIST_LIST_BG_COLOR; \ - min: GROUPINDEX_PADDING_SIZE_LEFT 0; \ - max: GROUPINDEX_PADDING_SIZE_LEFT -1; \ - fixed: 1 0; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \ - } \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -#define GENLIST_PART_PADDING_GROUPINDEX_RIGHT \ - GENLIST_PART_RECT("elm.padding.right", \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_BG_COLOR; \ - min: GROUPINDEX_PADDING_SIZE_RIGHT 0; \ - max: GROUPINDEX_PADDING_SIZE_RIGHT -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 1 0; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_GROUPINDEX_LIST_BG_COLOR; \ - } \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -#define SLIDING_PER_FPS 1 -#define SLIDING_FPS 60.0 -// 2.1.1 - group { GENLIST_NAME("groupindex/default") - alias: "elm/genlist/item/grouptitle/default"; - alias: "elm/genlist/item_odd/grouptitle/default"; - alias: "elm/genlist/item_compress/grouptitle/default"; - alias: "elm/genlist/item_compress_odd/grouptitle/default"; - alias: "elm/genlist/tree/grouptitle/default"; - alias: "elm/genlist/tree_odd/grouptitle/default"; - alias: "elm/genlist/tree_compress/grouptitle/default"; - alias: "elm/genlist/tree_compress_odd/grouptitle/default"; - GENLIST_PROLOG - - data.item: "texts" "elm.text"; - - script { - public sliding_timer; - public end_timer; - public text_w; - public org_text_w; - - public get_width() { - new x, y, w, h; - get_geometry(PART:"elm.text", x, y, w, h); - set_int(org_text_w, w); - - set_state(PART:"elm.text", "sliding", 0.0); - get_geometry(PART:"elm.text", x, y, w, h); - set_int(text_w, w); - } - public ender(val) { - if (get_int(sliding_timer)) cancel_timer(get_int(sliding_timer)); - set_int(sliding_timer, 0); - if (get_int(end_timer)) cancel_timer(get_int(end_timer)); - set_int(end_timer, 0); - set_state(PART:"elm.text", "default", 0.0); - } - public sliding(val) { - if (val == 0) { - get_width(); - if (get_int(text_w) < get_int(org_text_w)) { - ender(1); - return; - } - } - /* - new buf[128]; - snprintf(buf, 127, "val:%d <= org_w:%d - sliding_w:%d ", - val, get_int(org_text_w), get_int(text_w)); - set_text(PART:"dbg", buf); - */ - custom_state(PART:"elm.text", "sliding", 0.0); - set_state_val(PART:"elm.text", STATE_REL1_OFFSET, val, 0); - set_state_val(PART:"elm.text", STATE_REL2_OFFSET, val, 0); - set_state(PART:"elm.text", "custom", 0.0); - val -= SLIDING_PER_FPS; - - if (val <= -get_int(text_w) + get_int(org_text_w)) { - set_int(end_timer, timer(0.5, "ender", 1)); - } else - set_int(sliding_timer, timer(1.0/SLIDING_FPS, "sliding", val)); - } - } - - parts { - GENLIST_PART_BASE - GENLIST_PART_INDEX_BG - GENLIST_PART_PADDING_TOP_SIZE(20) - GENLIST_PART_PADDING_BOTTOM_SIZE(14) - GENLIST_PART_TEXTBLOCK("elm.text", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_INDEX_LIST_TB - min: 0 GROUPINDEX_TEXT_HEIGHT; - fixed: 0 1; - ) - description { state: "sliding" 0.0; - inherit: "default"; - text.min: 1 1; - align: 0 0; - } - GENLIST_DESCRIPTION_INDEX_LIST_TB - ) - /* - part { name: "dbg"; - type: TEXT; - description { state: "default" 0.0; - color: 255 0 0 255; - text { - font: "Sans"; - size: 12; - align: 1.0 1.0; - } - } - } - */ - GENLIST_PART_PADDING_GROUPINDEX_LEFT - GENLIST_PART_PADDING_GROUPINDEX_RIGHT - GENLIST_PART_INDEX_LINE("elm.text", "elm.padding.bottom") - GENLIST_PART_FOCUS - } - program { name: "default"; - signal: "elm,state,default"; - source: "elm"; - script { - ender(1); - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"index_line", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - programs { - GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line"; ) - program { name: "selected"; - signal: "elm,state,selected"; - source: "elm"; - script { - if (!get_int(sliding_timer) && !get_int(end_timer)) { - set_state(PART:"elm.text", "selected", 0.0); - set_state(PART:"index_line", "selected", 0.0); - set_state(PART:"bg", "selected", 0.0); - set_state(PART:"elm.padding.left", "selected", 0.0); - set_state(PART:"elm.padding.right", "selected", 0.0); - } - } - } - program { name: "unselected"; - signal: "elm,state,unselected"; - source: "elm"; - script { - if (!get_int(sliding_timer) && !get_int(end_timer)) { - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"index_line", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.padding.left", "default", 0.0); - set_state(PART:"elm.padding.right", "default", 0.0); - } - } - } - program { name: "slide_start"; - signal: "elm,state,slide,start"; - source: ""; - script { - set_state(PART:"index_line", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - if (!get_int(sliding_timer) && !get_int(end_timer)) { - set_int(sliding_timer, timer(0.01, "sliding", 0)); - } - } - } - program { name: "slide_stop"; - signal: "elm,state,slide,stop"; - source: "elm"; - script { - if (get_int(sliding_timer) && get_int(end_timer)) { - ender(0); - } - } - } - GENLIST_PROGRAM_FOCUS - } - } - -//2.1.3 - group { GENLIST_NAME("groupindex.icon/default") - alias: "elm/genlist/item/grouptitle.icon/default"; - alias: "elm/genlist/item_odd/grouptitle.icon/default"; - alias: "elm/genlist/item_compress/grouptitle.icon/default"; - alias: "elm/genlist/item_compress_odd/grouptitle.icon/default"; - alias: "elm/genlist/tree/grouptitle.icon/default"; - alias: "elm/genlist/tree_odd/grouptitle.icon/default"; - alias: "elm/genlist/tree_compress/grouptitle.icon/default"; - alias: "elm/genlist/tree_compress_odd/grouptitle.icon/default"; - GENLIST_PROLOG - - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_INDEX_BG - GENLIST_PART_PADDING_LEFT_SIZE(GROUPINDEX_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_SIZE(GROUPINDEX_PADDING_SIZE_RIGHT) - GENLIST_PART_PADDING_TOP_SIZE(6) - GENLIST_PART_PADDING_BOTTOM_SIZE(6) - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_LTB("elm.padding.left", - "elm.padding.top", "elm.padding.bottom", - min: GROUPINDEX_ICON_SIZE GROUPINDEX_ICON_SIZE; - max: GROUPINDEX_ICON_SIZE GROUPINDEX_ICON_SIZE; - fixed: 1 0; - ) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon.right", "elm.icon", 16) - GENLIST_PART_TEXT("elm.text", - GENLIST_DESCRIPTION_LRT("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_INDEX_LIST - min: 0 GROUPINDEX_TEXT_HEIGHT; - fixed: 0 1; - ) - GENLIST_DESCRIPTION_INDEX_LIST - ) - GENLIST_PART_INDEX_LINE_ICON("elm.padding.icon.right", "elm.text", "elm.padding.bottom") - GENLIST_PART_FOCUS - } - programs { - GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line_icon"; ) - GENLIST_PROGRAM_SELECT( target: "elm.text"; target: "index_line_icon"; target: "bg"; ) - GENLIST_PROGRAM_FOCUS - } - } diff --git a/mobile/themes/widgets/genlist/genlist_macro.edc b/mobile/themes/widgets/genlist/genlist_macro.edc deleted file mode 100755 index 2760b78..0000000 --- a/mobile/themes/widgets/genlist/genlist_macro.edc +++ /dev/null @@ -1,3691 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -/* genlist multisense sample/tone listing */ - -//****************************************************************************// -// ******************************* Default size macro **********************// -//**************************************************************************// -// if size is different for each theme, split it into each theme inc. - -#define GENLIST_HEIGHT_1LINE 110 // (114 - top/bottom padding) -#define GENLIST_HEIGHT_2LINE_MAIN 57 -#define GENLIST_HEIGHT_2LINE_SUB 45 -#define GENLIST_HEIGHT_MULTILINE_SUB 38 -#define GENLIST_PART_LIST_LINE_HEIGHT 1 -#define GENLIST_HEIGHT_GROUPTITLE 46 - -#define GENLIST_PADDING_SIZE_DEFAULT 16 -#define GENLIST_PADDING_SIZE_LEFT 26 -#define GENLIST_PADDING_SIZE_RIGHT 26 -// Dialogue group image has bottom padding (2piexl), Giant font can overlapped bottom line of image. -#define GENLIST_PADDING_SIZE_TOP 2 -#define GENLIST_PADDING_SIZE_BOTTOM 2 -// ----------------------------------------------------- -#define GENLIST_PADDING_SIZE_TOP_2LINE 19 -#define GENLIST_PADDING_SIZE_BOTTOM_2LINE 19 -#define GENLIST_PADDING_SIZE_TOP_3LINE 17 -#define GENLIST_PADDING_SIZE_BOTTOM_3LINE 17 -#define GENLIST_PADDING_SIZE_NDEPTH 26 - -#define DIALOGUE_PADDING_SCROLLER 16 -#define DIALOGUE_PADDING_SIZE_LEFT 16+20 -#define DIALOGUE_PADDING_SIZE_RIGHT 16+20 -#define DIALOGUE_EDITFIELD_PADDING_SIZE_LEFT 16+10 -#define DIALOGUE_EDITFIELD_PADDING_SIZE_RIGHT 16+10 - -#define GENLIST_ICON_SMALL_SIZE 45 -#define GENLIST_ICON_STAR_SIZE 45 -#define GENLIST_ICON_MEDIUM_SIZE 81 -#define GENLIST_ICON_LARGE_SIZE 99 - -#define GENLIST_ICON_MEDIUM_MASK_SIZE 90 -#define GENLIST_ICON_LARGE_MASK_SIZE 108 - -#define GENLIST_BTN_01_HEIGHT 74 -#define GENLIST_BTN_02_SIZE 72 -#define GENLIST_ICON_ONOFF_WIDTH 132 -#define GENLIST_ICON_ONOFF_HEIGHT 70 -#define GENLIST_ICON_CHECK_RADIO_SIZE 64 -#define GENLIST_ICON_COLORBAR_SIZE 7 -#define GENLIST_ICON_PASSWORD_SIZE 82 -// 26(left padding)+2*74(Button Min width)+16(centre padding)+26(right padding) -#define GENLIST_MIN_SLIDE2_BASE_WIDTH 216 -// 26(left padding)+3*74(Button Min width)+2*16(centre padding)+26(right padding) -#define GENLIST_MIN_SLIDE3_BASE_WIDTH 306 -// 26(left padding)+4*74(Button Min width)+3*16(centre padding)+26(right padding) -#define GENLIST_MIN_SLIDE4_BASE_WIDTH 396 - -#define GENLIST_ICON_ENTRY_SIZE 54 - -#define GENLIST_TREESIZE_DEFAULT 26 - -//#define GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT 40 - -//****************************************************************************// -// ***************** EDJE description have 24 patterns **********************// - //**************************************************************************// -// ------------------ -// | PART == HERE | -// ------------------ - #define GENLIST_DESCRIPTION_ENVELOP( PART, PARAM ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 0 0; \ - to: PART; \ - }\ - rel2 {\ - relative: 1 1;\ - to: PART; \ - }\ - PARAM\ - } - -// | top | -// --------------------- -// left | HERE | right -// --------------------- -// | bottom | -#define GENLIST_DESCRIPTION( left, right, top, bottom, param ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: right;\ - to_y: bottom;\ - }\ - param\ - } - -// --------------------- -// left |--> HERE -// --------------------- -#define GENLIST_DESCRIPTION_L( left, param ) \ - description { state: "default" 0.0;\ - align: 0 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 1 0; \ - to_x: left; \ - to_y: "base"; \ - }\ - rel2 { \ - relative: 1 1;\ - to_x: left; \ - to_y: "base"; \ - }\ - param\ - } - -// --------------------- -// HERE <--| right -// --------------------- -#define GENLIST_DESCRIPTION_R( right, param ) \ - description { state: "default" 0.0;\ - align: 1 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 0 0; \ - to_x: right; \ - to_y: "base"; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: right; \ - to_y: "base"; \ - }\ - param\ - } - -// -------------------------- -// left |--> HERE <--| right -// -------------------------- -#define GENLIST_DESCRIPTION_LR( left, right, param ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 1 0; \ - to_x: left; \ - to_y: "base"; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: right;\ - to_y: "base"; \ - }\ - param\ - } - -// | top | -// ----------------- -// | HERE <--| right -// ----------------- -// | bottom | -#define GENLIST_DESCRIPTION_RTB( right, top, bottom, param ) \ - description { state: "default" 0.0;\ - align: 1 0.5;\ - rel1 { \ - relative: 0 1; \ - to_x: right; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: right;\ - to_y: bottom;\ - }\ - param\ - } - -// left | HERE | right -// --------------------- -// | bottom | -#define GENLIST_DESCRIPTION_LRB( left, right, bottom, param ) \ - description { state: "default" 0.0;\ - align: 0.5 1;\ - rel1 { \ - relative: 1 0; \ - to_x: left; \ - to_y: bottom; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: right;\ - to_y: bottom;\ - }\ - param\ - } - -// | top | -// --------------------- -// left | HERE | right -#define GENLIST_DESCRIPTION_LRT( left, right, top, param ) \ - description { state: "default" 0.0;\ - align: 0.5 0;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: right;\ - to_y: top;\ - }\ - param\ - } - -// | top | -// --------------------- -// left | --> HERE | -#define GENLIST_DESCRIPTION_LT( left, top, param ) \ - description { state: "default" 0.0;\ - align: 0 0;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 1 1;\ - to_x: left;\ - to_y: top;\ - }\ - param\ - } - -// left | --> HERE | -// --------------------- -// | bottom | -#define GENLIST_DESCRIPTION_LB( left, bottom, param ) \ - description { state: "default" 0.0;\ - align: 0 1;\ - rel1 { \ - relative: 1 0; \ - to_x: left; \ - to_y: bottom; \ - }\ - rel2 {\ - relative: 1 0;\ - to_x: left;\ - to_y: bottom;\ - }\ - param\ - } - -// | top | -// --------------------- -// left |--> HERE | -// --------------------- -// | bottom | -#define GENLIST_DESCRIPTION_LTB( left, top, bottom, param ) \ - description { state: "default" 0.0;\ - align: 0 0.5;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 1 0;\ - to_x: left;\ - to_y: bottom;\ - }\ - param\ - } - -// | top | -// --------------------- -// | HERE <--| right -#define GENLIST_DESCRIPTION_RT( right, top, param ) \ - description { state: "default" 0.0;\ - align: 1 0;\ - rel1 { \ - relative: 0 1; \ - to_x: right; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: right;\ - to_y: top;\ - }\ - param\ - } - -// | HERE <-- | right -// --------------------- -// | bottom | -#define GENLIST_DESCRIPTION_RB( right, bottom, param ) \ - description { state: "default" 0.0;\ - align: 1 1;\ - rel1 { \ - relative: 0 0; \ - to_x: right; \ - to_y: bottom; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: right;\ - to_y: bottom;\ - }\ - param\ - } - -// | top | -// ---------- -// | HERE | -// ---------- -// | bottom | -#define GENLIST_DESCRIPTION_TB( top, bottom, param ) \ - description { state: "default" 0.0;\ - align: 0.5 0.5;\ - rel1 { \ - relative: 0 1; \ - to_y: top; \ - }\ - rel2 {\ - relative: 1 0;\ - to_y: bottom;\ - }\ - param\ - } - -#define GENLIST_PROLOG \ - data.item: "stacking" "above"; \ - data.item: "selectraise" "on"; \ - data.item: "treesize" 0; - -#define GENLIST_PROLOG_NORMAL \ - GENLIST_PROLOG \ - data.item: "treesize" GENLIST_TREESIZE_DEFAULT; \ - data.item: "flips" "elm.flip.icon elm.flip.content"; \ - images { \ - image : "00_list_group_bg.png" COMP; \ - image : "00_list_group_bg_press.png" COMP; \ - } - -#define GENLIST_PROLOG_DIALOGUE \ - GENLIST_PROLOG \ - data.item: "flips" "elm.flip.icon elm.flip.content"; \ - images { \ - image : "00_list_group_bg.png" COMP; \ - image : "00_list_group_bg_press.png" COMP; \ - image : "00_list_group_bg_top.png" COMP; \ - image : "00_list_group_bg_top_press.png" COMP; \ - image : "00_list_group_bg_center.png" COMP; \ - image : "00_list_group_bg_center_press.png" COMP; \ - image : "00_list_group_bg_bottom.png" COMP; \ - image : "00_list_group_bg_bottom_press.png" COMP; \ - image : "00_list_group_bg_top_focus.png" COMP; \ - image : "00_list_group_bg_center_focus.png" COMP; \ - image : "00_list_group_bg_bottom_focus.png" COMP; \ - image : "00_expandable_bg.png" COMP; \ - image : "00_expandable_bg_top.png" COMP; \ - image : "00_expandable_bg_center.png" COMP; \ - image : "00_expandable_bg_bottom.png" COMP; \ - } - - -#define GENLIST_NAME(NAME) \ - name: "elm/genlist/item/"NAME; \ - alias: "elm/genlist/item_odd/"NAME; \ - alias: "elm/genlist/item_compress/"NAME; \ - alias: "elm/genlist/item_compress_odd/"NAME; \ - alias: "elm/genlist/tree/"NAME; \ - alias: "elm/genlist/tree_odd/"NAME; \ - alias: "elm/genlist/tree_compress/"NAME; \ - alias: "elm/genlist/tree_compress_odd/"NAME; \ - -/*****************************************************************************/ -/******************************* Dialogue group ******************************/ -/*****************************************************************************/ -#define GENLIST_DIALOGUE_INHERIT_BODY( _PARTS ) \ - data.item: "treesize" 0; \ - parts { \ - GENLIST_PART_BG_NORMAL_OFF \ - GENLIST_PART_BOTTOM_LINE_OFF \ - GENLIST_PART_BG_DIALOGUE \ - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) \ - GENLIST_PART_PADDING_RIGHT_EDIT \ - _PARTS \ - GENLIST_PART_FLIP \ - GENLIST_PART_FOCUS_DIALOGUE \ - } - -#define GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( _PARTS ) \ - data.item: "treesize" 0; \ - parts { \ - GENLIST_PART_BG_NORMAL_OFF \ - GENLIST_PART_BOTTOM_LINE_OFF \ - GENLIST_PART_BG_DIALOGUE \ - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_EDITFIELD_PADDING_SIZE_LEFT ) \ - GENLIST_PART_PADDING_RIGHT_EDIT \ - _PARTS \ - GENLIST_PART_FLIP \ - GENLIST_PART_FOCUS_DIALOGUE \ - } - - -#define GENLIST_INHERIT_THUMB_CIRCLE(SIZE_PREFIX, MASK_SIZE, PARENT) \ - images { \ - image: "Content_views/00_circle_thumbnail_bg.png" COMP; \ - image: "Content_views/00_circle_thumbnail_bg_press.png" COMP; \ - image: "Content_views/00_circle_thumbnail_bg.png" COMP; \ - image: "Content_views/00_circle_thumbnail_bg_press.png" COMP; \ - } \ - parts { \ - GENLIST_PART_RECT("elm.thumb.clip", \ - description { state: "default"; \ - } \ - description { state: "flipped"; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("elm.thumb", \ - insert_before: "focus_part"; \ - clip_to: "elm.thumb.clip"; \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_ENVELOP(PARENT, \ - image.normal: "Content_views/00_circle_thumbnail_bg.png"; \ - min: MASK_SIZE MASK_SIZE; \ - max: MASK_SIZE MASK_SIZE; \ - fixed:1 1; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg_press.png"; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg.png"; \ - } \ - description { state: "reorder_selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg_press.png"; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "reorder" 0.0; \ - } \ - ) \ - } - -#define GENLIST_INHERIT_THUMB_SQUARE(SIZE_PREFIX, MASK_SIZE, PARENT) \ - images { \ - image: "Content_views/00_square_thumbnail_bg.png" COMP; \ - image: "Content_views/00_square_thumbnail_bg_press.png" COMP; \ - image: "Content_views/00_square_thumbnail_bg.png" COMP; \ - image: "Content_views/00_square_thumbnail_bg_press.png" COMP; \ - } \ - parts { \ - GENLIST_PART_RECT("elm.thumb.clip", \ - description { state: "default"; \ - } \ - description { state: "flipped"; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("elm.thumb", \ - insert_before: "focus_part"; \ - clip_to: "elm.thumb.clip"; \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_ENVELOP(PARENT, \ - image.normal: "Content_views/00_square_thumbnail_bg.png"; \ - min: MASK_SIZE MASK_SIZE; \ - max: MASK_SIZE MASK_SIZE; \ - fixed:1 1; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg_press.png"; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg.png"; \ - } \ - description { state: "reorder_selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg_press.png"; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "reorder" 0.0; \ - } \ - ) \ - } - - -#define GENLIST_INHERIT_THUMB_CIRCLE_DIALOGUE(SIZE_PREFIX, MASK_SIZE, PARENT) \ - images { \ - image: "Content_views/00_circle_thumbnail_bg.png" COMP; \ - image: "Content_views/00_circle_thumbnail_bg_press.png" COMP; \ - } \ - parts { \ - GENLIST_PART_RECT("elm.thumb.clip", \ - description { state: "default"; \ - } \ - description { state: "flipped"; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("elm.thumb", \ - insert_before: "focus_part_dialogue"; \ - clip_to: "elm.thumb.clip"; \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_ENVELOP(PARENT, \ - image.normal: "Content_views/00_circle_thumbnail_bg.png"; \ - min: MASK_SIZE MASK_SIZE; \ - max: MASK_SIZE MASK_SIZE; \ - fixed:1 1; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg_press.png"; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg.png"; \ - } \ - description { state: "reorder_selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_circle_thumbnail_bg_press.png"; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "reorder" 0.0; \ - } \ - ) \ - } - -#define GENLIST_INHERIT_THUMB_SQUARE_DIALOGUE(SIZE_PREFIX, MASK_SIZE, PARENT) \ - images { \ - image: "Content_views/00_square_thumbnail_bg_normal.png" COMP; \ - image: "Content_views/00_square_thumbnail_bg_press.png" COMP; \ - } \ - parts { \ - GENLIST_PART_RECT("elm.thumb.clip", \ - description { state: "default"; \ - } \ - description { state: "flipped"; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("elm.thumb", \ - insert_before: "focus_part_dialogue"; \ - clip_to: "elm.thumb.clip"; \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_ENVELOP(PARENT, \ - image.normal: "Content_views/00_square_thumbnail_bg.png"; \ - min: MASK_SIZE MASK_SIZE; \ - max: MASK_SIZE MASK_SIZE; \ - fixed:1 1; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg_press.png"; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg.png"; \ - } \ - description { state: "reorder_selected" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "Content_views/00_square_thumbnail_bg_press.png"; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "reorder" 0.0; \ - } \ - ) \ - } - -#define GENLIST_INHERIT_THUMB_CIRCLE_MEDIUM(PARENT) \ - GENLIST_INHERIT_THUMB_CIRCLE("72x72", GENLIST_ICON_MEDIUM_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_SQUARE_MEDIUM(PARENT) \ - GENLIST_INHERIT_THUMB_SQUARE("72x72", GENLIST_ICON_MEDIUM_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_CIRCLE_LARGE(PARENT) \ - GENLIST_INHERIT_THUMB_CIRCLE("99x99", GENLIST_ICON_LARGE_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_SQUARE_LARGE(PARENT) \ - GENLIST_INHERIT_THUMB_SQUARE("99x99", GENLIST_ICON_LARGE_MASK_SIZE, PARENT) - - -#define GENLIST_INHERIT_THUMB_CIRCLE_MEDIUM_DIALOGUE(PARENT) \ - GENLIST_INHERIT_THUMB_CIRCLE_DIALOGUE("81x81", GENLIST_ICON_MEDIUM_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_SQUARE_MEDIUM_DIALOGUE(PARENT) \ - GENLIST_INHERIT_THUMB_SQUARE_DIALOGUE("81x81", GENLIST_ICON_MEDIUM_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_CIRCLE_LARGE_DIALOGUE(PARENT) \ - GENLIST_INHERIT_THUMB_CIRCLE_DIALOGUE("99x99", GENLIST_ICON_LARGE_MASK_SIZE, PARENT) - -#define GENLIST_INHERIT_THUMB_SQUARE_LARGE_DIALOGUE(PARENT) \ - GENLIST_INHERIT_THUMB_SQUARE_DIALOGUE("99x99", GENLIST_ICON_LARGE_MASK_SIZE, PARENT) - -//****************************************************************************// -// ****************************** BG Image **********************************// -//****************************************************************************// - -#define GENLIST_PART_BG_NORMAL \ - GENLIST_PART_RECT("bg_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg_reorder_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder_flip" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg", \ - clip_to: "bg_clip"; \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_BG_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_DIM_COLOR; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_reorder_left", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel2.relative: 0 1; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_reorder_right", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("bg_reorder", \ - clip_to: "bg_reorder_clip"; \ - GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \ - image { \ - normal: "00_list_group_bg.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default"; \ - image { \ - normal: "00_list_group_bg_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "flipped" 0.0; \ - inherit: "default"; \ - visible: 0; \ - } \ - ) - - -#define GENLIST_PART_BG_NORMAL_OFF \ - GENLIST_PART_RECT("bg_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "selected" 0.0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bg_reorder_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - visible: 0; \ - } \ - description { state: "decorate" 0.0; \ - visible: 0; \ - } \ - description { state: "reorder_flip" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("bg_reorder", \ - mouse_events: 0; \ - description {state: "default" 0.0;\ - visible: 0;\ - }\ - description { state: "selected" 0.0; {\ - visible: 0; \ - } \ - description { state: "flipped" 0.0; {\ - visible: 0; \ - } \ - ) - -#define GENLIST_PART_BG_DIALOGUE \ - GENLIST_PART_RECT("2depth", \ - description { state: "default" 0.0; \ - visible: 0;\ - } \ - description { state: "2depth" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_dialogue_left", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel2.relative: 0 1; \ - } \ - ) \ - GENLIST_PART_SPACER("bg_dialogue_right", \ - description { state: "default" 0.0; \ - min: 16 0; \ - max: 16 -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - } \ - description { state: "editmode" 0.0; \ - inherit: "default" 0.0; \ - min: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_BTN_02_SIZE) 0; \ - max: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_BTN_02_SIZE) 0; \ - } \ - ) \ - GENLIST_PART_IMAGE("bg_dialogue", \ - insert_after: "base"; \ - GENLIST_DESCRIPTION_LR("bg_dialogue_left", "bg_dialogue_right", \ - image { \ - normal: "00_list_group_bg.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "top" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_top.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "top_selected" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_top_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "center" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_center.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "center_selected" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_center_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "bottom" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_bottom.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "bottom_selected" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_list_group_bg_bottom_press.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "2depth" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_expandable_bg.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "2depth_top" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_expandable_bg_top.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "2depth_center" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_expandable_bg_center.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - description { state: "2depth_bottom" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "00_expandable_bg_bottom.png"; \ - border: 17 17 8 8; \ - border_scale: 1; \ - } \ - } \ - ) - -//****************************************************************************// -// ****************************** BASE ********************************// -//****************************************************************************// -#define GENLIST_PART_BASE_SIZE(HEIGHT) \ - part { name: "base"; \ - type: RECT; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: 0 HEIGHT; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default"; \ - } \ - } \ - part { name: "state"; \ - type: RECT; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default"; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default"; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default"; \ - } \ - } - -#define GENLIST_PART_BASE \ - GENLIST_PART_BASE_SIZE(0) - -#define GENLIST_PART_FOCUS \ - GENLIST_PART_IMAGE("focus_part", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - image { \ - normal: "00_focus.png"; \ - border: 6 6 6 6; \ - border_scale: 1; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - ) \ - GENLIST_PART_ICON("elm.icon.focus", \ - repeat_events: 1; \ - GENLIST_DESCRIPTION_ENVELOP("focus_part", \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_FOCUS_REORDER \ - GENLIST_PART_IMAGE("focus_part_reorder", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \ - visible: 0; \ - image { \ - normal: "00_focus.png"; \ - border: 6 6 6 6; \ - border_scale: 1; \ - } \ - ) \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - ) - -#define GENLIST_PART_FOCUS_NORMAL \ - GENLIST_PART_FOCUS \ - GENLIST_PART_FOCUS_REORDER - - -#define GENLIST_PART_FOCUS_DIALOGUE \ - GENLIST_PART_IMAGE("focus_part_dialogue", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LR("bg_dialogue_left", "bg_dialogue_right", \ - visible: 0; \ - image { \ - normal: "00_focus.png"; \ - border: 6 6 6 6; \ - border_scale: 1; \ - } \ - ) \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - description { state: "top_focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image { \ - normal: "00_list_group_bg_top_focus.png"; \ - border: 7 7 7 7; \ - } \ - } \ - description { state: "center_focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image { \ - normal: "00_list_group_bg_center_focus.png"; \ - border: 7 7 7 7; \ - } \ - } \ - description { state: "bottom_focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - image { \ - normal: "00_list_group_bg_bottom_focus.png"; \ - border: 7 7 7 7; \ - } \ - } \ - ) \ - GENLIST_PART_ICON("elm.icon.focus", \ - repeat_events: 1; \ - GENLIST_DESCRIPTION_ENVELOP("focus_part_dialogue", \ - fixed: 1 1; \ - ) \ - ) - -//****************************************************************************// -// ****************************** LINE ********************************// -//****************************************************************************// -#define GENLIST_PART_BOTTOM_LINE \ - GENLIST_PART_RECT("bottom_line_clip", \ - description { state: "default" 0.0; \ - color: 255 255 255 255; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_RECT("bottom_line", \ - mouse_events: 0; \ - clip_to: "bottom_line_clip"; \ - description { state: "default" 0.0; \ - min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ - max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ - fixed: 0 1; \ - align: 0.5 1; \ - color: GENLIST_LIST_LINE1_COLOR; \ - rel1.to: "bottom_line2"; \ - rel2.to: "bottom_line2"; \ - rel2.relative: 1 0; \ - rel1.offset: -1 -1; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_LINE1_COLOR; \ - } \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_RECT("bottom_line2", \ - mouse_events: 0; \ - clip_to: "bottom_line_clip"; \ - description { state: "default" 0.0; \ - min: 0 GENLIST_PART_LIST_LINE_HEIGHT; \ - max: -1 GENLIST_PART_LIST_LINE_HEIGHT; \ - fixed: 0 1; \ - align: 0.5 1; \ - color: GENLIST_LIST_LINE2_COLOR; \ - rel1.to_x: "base"; \ - rel1.relative: 0 0; \ - rel2.to_x: "base"; \ - rel2.relative: 1 1; \ - rel1.offset: -1 -1; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_PRESS_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_LINE2_COLOR; \ - } \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - ) - -#define GENLIST_PART_BOTTOM_LINE_OFF \ - GENLIST_PART_RECT("bottom_line", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "selected" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "disabled" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - GENLIST_PART_RECT("bottom_line2", \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "selected" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "disabled" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate" 0.0; \ - color: 0 0 0 0; \ - } \ - ) - -#define GENLIST_PART_DIVIDER_PADDING \ - GENLIST_PART_SPACER("elm.padding.divider.top", \ - description { state: "default" 0.0; \ - align: 0.5 0; \ - min: 0 30; \ - max: -1 30; \ - fixed: 0 1; \ - rel2.relative: 1 0; \ - } \ - ) \ - GENLIST_PART_SPACER("elm.padding.divider.bottom", \ - description { state: "default" 0.0; \ - align: 0.5 1; \ - min: 0 30; \ - max: -1 30; \ - fixed: 0 1; \ - rel1.relative: 0 1; \ - } \ - ) \ - -#define GENLIST_PART_DIVIDER_L(LEFT) \ - GENLIST_PART_DIVIDER_PADDING \ - GENLIST_PART_RECT("elm.divider1", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ - align: 0 0.5; \ - min: 1 0; \ - max: 1 -1; \ - fixed: 1 0; \ - rel2.offset: 0 0; \ - color: GENLIST_LIST_DIVIDER1_COLOR; \ - ) \ - ) \ - GENLIST_PART_RECT("elm.divider2", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LTB("elm.divider1", "elm.padding.divider.top", "elm.padding.divider.bottom", \ - align: 0 0.5; \ - min: 1 0; \ - max: 1 -1; \ - fixed: 1 0; \ - rel2.offset: 0 0; \ - color: GENLIST_LIST_DIVIDER2_COLOR; \ - ) \ - ) - -#define GENLIST_PART_DIVIDER_R(RIGHT) \ - GENLIST_PART_DIVIDER_PADDING \ - GENLIST_PART_RECT("elm.divider1", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \ - min: 1 0; \ - max: 1 -1; \ - fixed: 1 0; \ - rel1.offset: -1 0;\ - color: GENLIST_LIST_DIVIDER1_COLOR; \ - ) \ - ) \ - GENLIST_PART_RECT("elm.divider2", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \ - min: 1 0; \ - max: 1 -1; \ - fixed: 1 0; \ - rel1.offset: -1 0;\ - color: GENLIST_LIST_DIVIDER2_COLOR; \ - ) \ - ) - -#define GENLIST_PART_CENTER_LINE_LRT(LEFT, RIGHT, TOP) \ - GENLIST_PART_RECT("center_line", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ - min: 0 1; \ - max: -1 1; \ - fixed: 0 1; \ - color: GENLIST_LIST_DIVIDER1_COLOR; \ - rel2.relative: 1 1; \ - ) \ - ) \ - GENLIST_PART_RECT("center_line2", \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, "center_line", \ - min: 0 1; \ - max: -1 1; \ - fixed: 0 1; \ - color: GENLIST_LIST_DIVIDER2_COLOR; \ - rel2.relative: 1 1; \ - ) \ - ) - -#define GENLIST_PART_COLORBAR \ - GENLIST_PART_SPACER("elm.padding.colorbar.top", \ - GENLIST_DESCRIPTION_ENVELOP("base", \ - align: 0.5 0; \ - fixed: 0 1; \ - min: 0 4; \ - max: -1 4; \ - rel2.relative: 1 0; \ - ) \ - ) \ - GENLIST_PART_SPACER("elm.padding.colorbar.bottom", \ - GENLIST_DESCRIPTION_ENVELOP("base", \ - align: 0.5 1; \ - fixed: 0 1; \ - min: 0 4; \ - max: -1 4; \ - rel1.relative: 0 1; \ - ) \ - ) \ - GENLIST_PART_ICON("elm.swallow.colorbar", \ - GENLIST_DESCRIPTION_TB("elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \ - min: GENLIST_ICON_COLORBAR_SIZE 0; \ - max: GENLIST_ICON_COLORBAR_SIZE -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel1.relative: 0 1; \ - rel2.relative: 0 0; \ - ) \ - ) - -#define GENLIST_PART_COLORBAR_DIALOGUE \ - GENLIST_PART_SPACER("elm.padding.colorbar.top", \ - GENLIST_DESCRIPTION_ENVELOP("base", \ - align: 0.5 0; \ - fixed: 0 1; \ - min: 0 4; \ - max: -1 4; \ - rel2.relative: 1 0; \ - ) \ - ) \ - GENLIST_PART_SPACER("elm.padding.colorbar.bottom", \ - GENLIST_DESCRIPTION_ENVELOP("base", \ - align: 0.5 1; \ - fixed: 0 1; \ - min: 0 4; \ - max: -1 4; \ - rel1.relative: 0 1; \ - ) \ - ) \ - GENLIST_PART_SPACER("elm.padding.colorbar.left", \ - description{ state: "default" 0.0; \ - min: 19 0; \ - max: 19 -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 0 1; \ - } \ - ) \ - GENLIST_PART_ICON("elm.swallow.colorbar", \ - GENLIST_DESCRIPTION_LTB("elm.padding.colorbar.left","elm.padding.colorbar.top", "elm.padding.colorbar.bottom", \ - min: GENLIST_ICON_COLORBAR_SIZE 0; \ - max: GENLIST_ICON_COLORBAR_SIZE -1; \ - fixed: 1 0; \ - ) \ - ) - -//****************************************************************************// -//********************************* PADDING **********************************// -//****************************************************************************// -#define GENLIST_PART_EXPANDED_PAD \ - part { name: "elm.swallow.pad"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - min: 0 0; \ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 0.0 1.0; \ - } \ - } \ - -#define GENLIST_PART_PADDING( NAME, SIZE, REL1, REL2 ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - min: SIZE 0; \ - max: SIZE -1; \ - fixed: 1 0; \ - align: 0.5 0.5; \ - rel1 { \ - relative: REL1; \ - to: "base"; \ - } \ - rel2 { \ - relative: REL2; \ - to: "base"; \ - } \ - } \ - ) - -#define GENLIST_DESCRIPTION_DECORATE_PADDING \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } - -#define GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } - -#define GENLIST_DESCRIPTION_REORDER_PADDING \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 32 0; \ - max: 32 -1; \ - } - -#define GENLIST_PART_PADDING_LEFT \ - GENLIST_PART_EXPANDED_PAD \ - GENLIST_PART_SPACER("elm.padding.left", \ - GENLIST_DESCRIPTION_L("elm.swallow.pad", \ - min: GENLIST_PADDING_SIZE_LEFT 0; \ - max: GENLIST_PADDING_SIZE_LEFT -1; \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -#define GENLIST_PART_PADDING_LEFT_SIZE( SIZE ) \ - GENLIST_PART_EXPANDED_PAD \ - GENLIST_PART_SPACER("elm.padding.left", \ - GENLIST_DESCRIPTION_L("elm.swallow.pad", \ - min: SIZE 0; \ - max: SIZE -1; \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -#define GENLIST_PART_EDITBTN \ - GENLIST_PART_SPACER("elm.padding.edit.right", \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - min: GENLIST_PADDING_SIZE_DEFAULT 0; \ - max: GENLIST_PADDING_SIZE_DEFAULT -1; \ - } \ - ) \ - GENLIST_PART_ICON("elm.icon.edit", \ - GENLIST_DESCRIPTION_R("elm.padding.edit.right", \ - visible: 0; \ - ) \ - description { state: "editmode" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - fixed: 1 1; \ - min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - } \ - ) - -#define GENLIST_PART_PADDING_RIGHT \ - GENLIST_PART_SPACER("elm.padding.right", \ - description { state: "default" 0.0; \ - min: GENLIST_PADDING_SIZE_RIGHT 0; \ - max: GENLIST_PADDING_SIZE_RIGHT -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 1 0; \ - } \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -#define GENLIST_PART_PADDING_RIGHT_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.right", \ - description { state: "default" 0.0; \ - min: SIZE 0; \ - max: SIZE -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 1 0; \ - } \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) - -// FIXME: Use RECT instead of SPACER if this group is used on layout -// for blocking events -#define GENLIST_PART_PADDING_RIGHT_EDIT \ - GENLIST_PART_SPACER("elm.padding.right", \ - GENLIST_DESCRIPTION_R("elm.padding.right.edit", \ - min: DIALOGUE_PADDING_SIZE_RIGHT 0; \ - max: DIALOGUE_PADDING_SIZE_RIGHT -1; \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_DECORATE_PADDING \ - GENLIST_DESCRIPTION_REORDER_PADDING \ - GENLIST_DESCRIPTION_DECORATE_REORDER_PADDING \ - ) \ - GENLIST_PART_SPACER("elm.padding.right.edit", \ - description { state: "default" 0.0; \ - min:0 0; \ - max: 0 -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - } \ - description { state: "editmode" 0.0; \ - inherit: "default" 0.0; \ - min: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_BTN_02_SIZE) 0; \ - max: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_BTN_02_SIZE) -1; \ - } \ - ) \ - GENLIST_PART_EDITBTN - -#define GENLIST_PART_PADDING_TOP \ - GENLIST_PART_SPACER("elm.padding.top", \ - description { \ - state: "default" 0.0; \ - min: 0 GENLIST_PADDING_SIZE_TOP; \ - max: -1 GENLIST_PADDING_SIZE_TOP; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 1.0 0.0; \ - align: 0.5 0.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_TOP_2LINE \ - GENLIST_PART_SPACER("elm.padding.top", \ - description { \ - state: "default" 0.0; \ - min: 0 GENLIST_PADDING_SIZE_TOP_2LINE; \ - max: -1 GENLIST_PADDING_SIZE_TOP_2LINE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 1.0 0.0; \ - align: 0.5 0.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_TOP_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.top", \ - description { \ - state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 1.0 0.0; \ - align: 0.5 0.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_BOTTOM \ - GENLIST_PART_SPACER("elm.padding.bottom", \ - description { state: "default" 0.0; \ - min: 0 GENLIST_PADDING_SIZE_BOTTOM; \ - max: -1 GENLIST_PADDING_SIZE_BOTTOM; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_BOTTOM_2LINE \ - GENLIST_PART_SPACER("elm.padding.bottom", \ - description { state: "default" 0.0; \ - min: 0 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \ - max: -1 GENLIST_PADDING_SIZE_BOTTOM_2LINE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_BOTTOM_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.bottom", \ - description { state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_R( NAME, RIGHT ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - min: GENLIST_PADDING_SIZE_DEFAULT 0; \ - max: GENLIST_PADDING_SIZE_DEFAULT -1; \ - align: 1 0.5; \ - rel1 { \ - relative: 0 0; \ - to_x: RIGHT; \ - } \ - rel2 { \ - relative: 0 1; \ - to_x: RIGHT; \ - } \ - } \ - ) - -#define GENLIST_PART_PADDING_R_SIZE( NAME, RIGHT, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - min: SIZE 0; \ - max: SIZE -1; \ - align: 1 0.5; \ - rel1 { \ - relative: 0 0; \ - to_x: RIGHT; \ - } \ - rel2 { \ - relative: 0 1; \ - to_x: RIGHT; \ - } \ - } \ - ) - -#define GENLIST_PART_PADDING_L( NAME, LEFT ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - min: GENLIST_PADDING_SIZE_DEFAULT 0; \ - max: GENLIST_PADDING_SIZE_DEFAULT -1; \ - align: 0 0.5; \ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - } \ - rel2 { \ - relative: 1 1; \ - to_x: LEFT; \ - } \ - } \ - ) - -#define GENLIST_PART_PADDING_L_SIZE( NAME, LEFT, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - min: SIZE 0; \ - max: SIZE -1; \ - align: 0 0.5; \ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - } \ - rel2 { \ - relative: 1 1; \ - to_x: LEFT; \ - } \ - } \ - ) - - -#define GENLIST_PART_PADDING_T_SIZE( NAME, TOP, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - align: 0.5 0; \ - rel1 { \ - relative: 0 1; \ - to: TOP; \ - } \ - rel2 { \ - relative: 1 1; \ - to: TOP; \ - } \ - } \ - ) - -#define GENLIST_PART_PADDING_B_SIZE( NAME, BOTTOM, SIZE ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - align: 0.5 1; \ - rel1 { \ - relative: 0.5 0; \ - to: BOTTOM; \ - } \ - rel2 { \ - relative: 0.5 0; \ - to: BOTTOM; \ - } \ - } \ - ) - -#define GENLIST_PROGRAM_EXPAND_ROOT( TARGET ) \ - program { \ - name: "go_expanded"; \ - signal: "elm,state,expanded"; \ - source: "elm"; \ - action: STATE_SET "expand_opened" 0.0; \ - TARGET \ - } \ - program { \ - name: "go_contracted"; \ - signal: "elm,state,contracted"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - -// 2.2.7 Genlist_Edit mode (Rename) -// FIXME: padding is not needed when swallow content is NULL. -// But how can edje know existence of swallow content? -#define GENLIST_PART_FLIP \ - GENLIST_PART_RECT("elm.flip.bg", \ - mouse_events: 0; \ - description { state: "default" 0.0;\ - color: 0 0 0 0;\ - } \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - rel2.offset: 0 -3; \ - color: GENLIST_LIST_BG_COLOR;\ - }\ - ) \ - GENLIST_PART_SPACER("elm.flip.padding.right", \ - description { state: "default" 0.0; \ - min: 26 0; \ - max: 26 -1; \ - fixed: 1 0; \ - align: 1 0.5; \ - rel1.relative: 1 0; \ - } \ - ) \ - GENLIST_PART_ICON("elm.flip.content", \ - GENLIST_DESCRIPTION("elm.padding.left", "elm.flip.padding.icon.left", \ - "elm.padding.top", "elm.padding.bottom", \ - visible: 0; \ - aspect: 1 1; \ - min: 0 96; \ - ) \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - ) \ - GENLIST_PART_PADDING_R("elm.flip.padding.icon.left", "elm.flip.icon") \ - GENLIST_PART_ICON( "elm.flip.icon", \ - GENLIST_DESCRIPTION_RTB("elm.flip.padding.right", \ - "elm.padding.top", "elm.padding.bottom", \ - visible: 0; \ - aspect: 1 1; \ - align: 1 0.5; \ - max: 158 74; \ - ) \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - ) - -//****************************************************************************// -// ******************************* Programs ********************************// -//**************************************************************************// -// signal: elm,state,%s,active -// a "check" item named %s went active -// signal: elm,state,%s,passive -// a "check" item named %s went passive -// default is passive -#define GENLIST_PROGRAM_DEFAULT( TARGET ) \ - program { name: "default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - -#define GENLIST_PROGRAM_DISABLED( TARGET ) \ - program { name: "enabled"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - TARGET \ - } \ - program { name: "disabled"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "base"; \ - TARGET \ - } - -#define GENLIST_PROGRAM_FOCUS \ - program { name: "focused"; \ - signal: "elm,state,focused"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_part"; \ - } \ - program { name: "unfocused"; \ - signal: "elm,state,unfocused"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_part"; \ - } - -#define GENLIST_PROGRAM_FOCUS_NORMAL \ - program { name: "focused"; \ - signal: "elm,state,focused"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"bg_reorder_clip", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) \ - set_state(PART:"focus_part_reorder", "focused", 0.0); \ - else \ - set_state(PART:"focus_part", "focused", 0.0); \ - } \ - } \ - program { name: "unfocused"; \ - signal: "elm,state,unfocused"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_part_reorder"; \ - target: "focus_part"; \ - } - -#define GENLIST_PROGRAM_FOCUS_DIALOGUE \ - program { name: "focused"; \ - signal: "elm,state,focused"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"bg_dialogue", st, 30, vl); \ - if (!strcmp(st, "top") || !strcmp(st, "top_selected") || !strcmp(st, "2depth_top")) \ - set_state(PART:"focus_part_dialogue", "top_focused", 0.0); \ - else if (!strcmp(st, "center") || !strcmp(st, "center_selected") || !strcmp(st, "2depth_center")) \ - set_state(PART:"focus_part_dialogue", "center_focused", 0.0); \ - else if (!strcmp(st, "bottom") || !strcmp(st, "bottom_selected") || !strcmp(st, "2depth_bottom")) \ - set_state(PART:"focus_part_dialogue", "bottom_focused", 0.0); \ - else if (!strcmp(st, "default") || !strcmp(st, "selected") || !strcmp(st, "2depth")) \ - set_state(PART:"focus_part_dialogue", "focused", 0.0); \ - } \ - } \ - program { name: "unfocused"; \ - signal: "elm,state,unfocused"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_part_dialogue"; \ - } - -#define GENLIST_PROGRAM_SOUND( SRC ) \ - program { \ - name: "sound_disable"SRC; \ - signal: "elm,state,slide,active"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "base"; \ - } \ - program { \ - name: "sound_enable"SRC; \ - signal: "elm,state,slide,passive"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - } \ - program { name: "play_sound"SRC; \ - signal: "mouse,clicked,1"; \ - source: SRC; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"base", st, 30, vl); \ - if (strcmp(st, "disabled")) \ - play_sample("touch_sound", 1.0); \ - } \ - } - -#define GENLIST_PROGRAM_REORDER_SOUND( SRC ) \ - program { name: "play_sound"SRC; \ - signal: "mouse,clicked,1"; \ - source: SRC; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"base", st, 30, vl); \ - if (strcmp(st, "disabled")) \ - run_program(PROGRAM:"play_button_press"SRC); \ - } \ - } \ - program { name: "play_button_press"SRC; \ - action: PLAY_SAMPLE "reorder_sound" 1.0; \ - } - -#define GENLIST_PROGRAM_SELECT( TARGET ) \ - program { name: "selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - TARGET \ - } \ - program { name: "unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define GENLIST_PROGRAM_BG_DIALOGUE \ - program { name: "bg_top"; \ - signal: "elm,state,top"; \ - source: "*"; \ - script { \ - new st[31]; \ - new Float:vl; \ - new st2[31]; \ - new Float:vl2; \ - get_state(PART:"2depth", st, 30, vl); \ - get_state(PART:"bg_dialogue", st2, 30, vl2); \ - if (!strcmp(st2, "selected") || \ - !strcmp(st2, "top_selected") || \ - !strcmp(st2, "center_selected") || \ - !strcmp(st2, "bottom_selected")) \ - set_state(PART:"bg_dialogue", "top_selected", 0.0); \ - else if (!strcmp(st, "2depth")) \ - set_state(PART:"bg_dialogue", "2depth_top", 0.0); \ - else \ - set_state(PART:"bg_dialogue", "top", 0.0); \ - } \ - } \ - program { name: "bg_center"; \ - signal: "elm,state,center"; \ - source: "*"; \ - script { \ - new st[31]; \ - new Float:vl; \ - new st2[31]; \ - new Float:vl2; \ - get_state(PART:"2depth", st, 30, vl); \ - get_state(PART:"bg_dialogue", st2, 30, vl2); \ - if (!strcmp(st2, "selected") || \ - !strcmp(st2, "top_selected") || \ - !strcmp(st2, "center_selected") || \ - !strcmp(st2, "bottom_selected")) \ - set_state(PART:"bg_dialogue", "center_selected", 0.0); \ - else if (!strcmp(st, "2depth")) \ - set_state(PART:"bg_dialogue", "2depth_center", 0.0); \ - else \ - set_state(PART:"bg_dialogue", "center", 0.0); \ - } \ - } \ - program { name: "bg_bottom"; \ - signal: "elm,state,bottom"; \ - source: "*"; \ - script { \ - new st[31]; \ - new Float:vl; \ - new st2[31]; \ - new Float:vl2; \ - get_state(PART:"2depth", st, 30, vl); \ - get_state(PART:"bg_dialogue", st2, 30, vl2); \ - if (!strcmp(st2, "selected") || \ - !strcmp(st2, "top_selected") || \ - !strcmp(st2, "center_selected") || \ - !strcmp(st2, "bottom_selected")) \ - set_state(PART:"bg_dialogue", "bottom_selected", 0.0); \ - else if (!strcmp(st, "2depth")) \ - set_state(PART:"bg_dialogue", "2depth_bottom", 0.0); \ - else \ - set_state(PART:"bg_dialogue", "bottom", 0.0); \ - } \ - } - -#define GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ - program { name: "selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"bg_dialogue", st, 30, vl); \ - if (!strcmp(st, "top") || !strcmp(st, "2depth_top")) \ - set_state(PART:"bg_dialogue", "top_selected", 0.0); \ - else if (!strcmp(st, "center") || !strcmp(st, "2depth_center")) \ - set_state(PART:"bg_dialogue", "center_selected", 0.0); \ - else if (!strcmp(st, "bottom") || !strcmp(st, "2depth_bottom")) \ - set_state(PART:"bg_dialogue", "bottom_selected", 0.0); \ - else if (!strcmp(st, "default") || !strcmp(st, "2depth")) \ - set_state(PART:"bg_dialogue", "selected", 0.0); \ - run_program(PROGRAM:"target_selected"); \ - } \ - } \ - program { name: "unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"2depth", st, 30, vl); \ - if (!strcmp(st, "2depth")) { \ - get_state(PART:"bg_dialogue", st, 30, vl); \ - if (!strcmp(st, "top_selected")) \ - set_state(PART:"bg_dialogue", "2depth_top", 0.0); \ - else if (!strcmp(st, "center_selected")) \ - set_state(PART:"bg_dialogue", "2depth_center", 0.0); \ - else if (!strcmp(st, "bottom_selected")) \ - set_state(PART:"bg_dialogue", "2depth_bottom", 0.0); \ - else if (!strcmp(st, "selected")) \ - set_state(PART:"bg_dialogue", "2depth", 0.0); \ - } else { \ - get_state(PART:"bg_dialogue", st, 30, vl); \ - if (!strcmp(st, "top_selected")) \ - set_state(PART:"bg_dialogue", "top", 0.0); \ - else if (!strcmp(st, "center_selected")) \ - set_state(PART:"bg_dialogue", "center", 0.0); \ - else if (!strcmp(st, "bottom_selected")) \ - set_state(PART:"bg_dialogue", "bottom", 0.0); \ - else if (!strcmp(st, "selected")) \ - set_state(PART:"bg_dialogue", "default", 0.0); \ - } \ - run_program(PROGRAM:"target_unselected"); \ - } \ - } \ - program { name: "target_selected"; \ - action: STATE_SET "selected" 0.0; \ - TARGET \ - }\ - program { name: "target_unselected"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - GENLIST_PROGRAM_BG_DIALOGUE - - -#define GENLIST_PROGRAM_SELECT_ARROW \ - program { name: "selected_arrow"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"arrow", st, 30, vl); \ - if (!strcmp(st, "default")) { \ - set_state(PART:"arrow", "default_press", 0.0); \ - set_state(PART:"arrow_clip", "default_press", 0.0); \ - } \ - else if (!strcmp(st, "expand_opened")) { \ - set_state(PART:"arrow", "expand_opened_press", 0.0); \ - set_state(PART:"arrow_clip", "expand_opened_press", 0.0); \ - } \ - } \ - } \ - program { name: "unselected_arrow"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"arrow", st, 30, vl); \ - if (!strcmp(st, "default_press")) { \ - set_state(PART:"arrow", "default", 0.0); \ - set_state(PART:"arrow_clip", "default", 0.0); \ - } \ - else if (!strcmp(st, "expand_opened_press")) { \ - set_state(PART:"arrow", "expand_opened", 0.0); \ - set_state(PART:"arrow_clip", "expand_opened", 0.0); \ - } \ - } \ - } \ - program { name: "selected_arrow_shadow"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"arrow_shadow_clip", st, 30, vl); \ - if (!strcmp(st, "default")) { \ - set_state(PART:"arrow_shadow_clip", "default_press", 0.0); \ - } \ - else if (!strcmp(st, "expand_opened")) { \ - set_state(PART:"arrow_shadow_clip", "expand_opened_press", 0.0); \ - } \ - } \ - } \ - program { name: "unselected_arrow_shadow"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"arrow_shadow_clip", st, 30, vl); \ - if (!strcmp(st, "default_press")) { \ - set_state(PART:"arrow_shadow_clip", "default", 0.0); \ - } \ - else if (!strcmp(st, "expand_opened_press")) { \ - set_state(PART:"arrow_shadow_clip", "expand_opened", 0.0); \ - } \ - } \ - } - -#define GENLIST_PROGRAM_DECORATE( TARGET ) \ - program { name: "decorate_enabled_effect"; \ - signal: "elm,state,decorate,enabled,effect";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_effect";\ - signal: "elm,state,decorate,disabled,effect";\ - source: "elm";\ - action: STATE_SET "default" 0.0; \ - TARGET \ - }\ - program { name: "decorate_enabled";\ - signal: "elm,state,decorate,enabled";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled";\ - signal: "elm,state,decorate,disabled";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } - -#define GENLIST_PROGRAM_REORDER( TARGET ) \ - program { name: "reorder_enabled"; \ - signal: "elm,state,reorder,mode_set"; \ - source: "elm"; \ - action: STATE_SET "reorder" 0.0; \ - TARGET \ - } \ - program { name: "reorder_disabled"; \ - signal: "elm,state,reorder,mode_unset"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define GENLIST_PROGRAM_DECORATE_REORDER( NAME, TARGET ) \ - program { name: "reorder_enabled"NAME; \ - signal: "elm,state,reorder,mode_set"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "decorate") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"decorate_reorder_set"NAME); \ - } else { \ - run_program(PROGRAM:"reorder_set"NAME); \ - } \ - } \ - } \ - program { name: "reorder_disabled"NAME; \ - signal: "elm,state,reorder,mode_unset"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "decorate") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"decorate_set"NAME); \ - } else { \ - run_program(PROGRAM:"default_set"NAME); \ - } \ - } \ - } \ - program { name: "decorate_enabled_effect"NAME; \ - signal: "elm,state,decorate,enabled,effect";\ - source: "elm";\ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"decorate_reorder_set"NAME); \ - } else { \ - run_program(PROGRAM:"decorate_set"NAME); \ - } \ - } \ - }\ - program { name: "decorate_disabled_effect"NAME;\ - signal: "elm,state,decorate,disabled,effect";\ - source: "elm";\ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"reorder_set"NAME); \ - } else { \ - run_program(PROGRAM:"default_set"NAME); \ - } \ - } \ - }\ - program { name: "decorate_enabled"NAME;\ - signal: "elm,state,decorate,enabled";\ - source: "elm";\ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"decorate_reorder_set"NAME); \ - } else { \ - run_program(PROGRAM:"decorate_set"NAME); \ - } \ - } \ - }\ - program { name: "decorate_disabled"NAME;\ - signal: "elm,state,decorate,disabled";\ - source: "elm";\ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"state", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) { \ - run_program(PROGRAM:"reorder_set"NAME); \ - } else { \ - run_program(PROGRAM:"default_set"NAME); \ - } \ - } \ - } \ - program { name: "default_set"NAME; \ - action: STATE_SET "default" 0.0;\ - target: "state"; \ - TARGET \ - } \ - program { name: "decorate_set"NAME; \ - action: STATE_SET "decorate" 0.0;\ - target: "state"; \ - TARGET \ - } \ - program { name: "reorder_set"NAME; \ - action: STATE_SET "reorder" 0.0;\ - target: "state"; \ - TARGET \ - } \ - program { name: "decorate_reorder_set"NAME; \ - action: STATE_SET "decorate_reorder" 0.0;\ - target: "state"; \ - TARGET \ - } - -#define GENLIST_PROGRAM_FLIP \ - program { name: "flip_enabled"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.flip.content"; \ - target: "elm.flip.icon"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "default" 0.0; \ - target: "elm.flip.content"; \ - target: "elm.flip.icon"; \ - } \ - program { name: "flip_enabled_bg"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.flip.bg"; \ - } \ - program { name: "flip_disabled_bg"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.flip.bg"; \ - } - -#define GENLIST_PROGRAM_FLIP_TARGET( TARGET ) \ - program { name: "flip_enabled_target"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - TARGET \ - } \ - program { name: "flip_disabled_target"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define GENLIST_PROGRAM_FLIP_EFFECT_TARGET( TARGET ) \ - program { name: "flip_enabled_effect"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "flipped" 0.0; \ - TARGET \ - } \ - program { name: "flip_disabled_effect"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define GENLIST_PROGRAM_EDITMODE \ - program { name: "edit_enabled"; \ - signal: "elm,state,edit,enabled"; \ - source: "*"; \ - action: STATE_SET "editmode" 0.0; \ - target: "elm.padding.right.edit"; \ - target: "elm.icon.edit"; \ - target: "bg_dialogue_right"; \ - } \ - program { name: "edit_disabled"; \ - signal: "elm,state,edit,disabled"; \ - source: "*"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.padding.right.edit"; \ - target: "elm.icon.edit"; \ - target: "bg_dialogue_right"; \ - } - -/***************************************************************************/ -/***************************************************************************/ - -#define GENLIST_PROGRAMS_NORMAL( TARGET ) \ - programs { \ - GENLIST_PROGRAM_DEFAULT( TARGET \ - target: "base"; \ - target: "bg"; \ - target: "bg_clip"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bottom_line_clip"; \ - target: "bg_reorder"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_DISABLED( TARGET \ - target: "bg"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bg_reorder"; \ - ) \ - GENLIST_PROGRAM_FOCUS_NORMAL \ - GENLIST_PROGRAM_SELECT( TARGET \ - target: "bg"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bg_reorder"; \ - ) \ - GENLIST_PROGRAM_SOUND("bg") \ - GENLIST_PROGRAM_REORDER_SOUND("bg_reorder") \ - GENLIST_PROGRAM_DECORATE_REORDER("normal", TARGET \ - target: "bg_clip"; \ - target: "bg_reorder_clip"; \ - target: "bottom_line_clip"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_FLIP \ - } - -#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \ - programs { \ - GENLIST_PROGRAM_DEFAULT( TARGET \ - target: "base"; \ - target: "bg_dialogue"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - target: "elm.padding.right.edit"; \ - target: "elm.icon.edit"; \ - target: "bg_dialogue_right"; \ - ) \ - GENLIST_PROGRAM_DISABLED( TARGET ) \ - GENLIST_PROGRAM_FOCUS_DIALOGUE \ - GENLIST_PROGRAM_SELECT_DIALOGUE( TARGET ) \ - program { name: "bg_color_change"; \ - signal: "bg_color_change"; \ - source: "elm"; \ - action: STATE_SET "2depth" 0.0; \ - target: "2depth"; \ - } \ - GENLIST_PROGRAM_SOUND("bg_dialogue") \ - GENLIST_PROGRAM_DECORATE_REORDER( "normal", TARGET \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_FLIP \ - GENLIST_PROGRAM_EDITMODE \ - } - -#define GENLIST_PROGRAMS_DECORATE_EFFECT( TARGET ) \ - program { name: "decorate_enabled_effect_ef"; \ - signal: "elm,state,decorate,enabled,effect";\ - source: "elm";\ - transition: DECELERATE 0.5;\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_effect_ef";\ - signal: "elm,state,decorate,disabled,effect";\ - source: "elm";\ - transition: ACCELERATE 0.5;\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } \ - program { name: "decorate_enabled_ef";\ - signal: "elm,state,decorate,enabled";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_ef";\ - signal: "elm,state,decorate,disabled";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } - -#define GENLIST_PROGRAMS_ENTRY( TARGET ) \ - GENLIST_PROGRAM_DEFAULT( TARGET \ - target: "base"; \ - target: "bg"; \ - target: "bg_clip"; \ - target: "bottom_line"; \ - target: "bottom_line2"; \ - target: "bottom_line_clip"; \ - target: "bg_reorder"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_DISABLED( TARGET ) \ - GENLIST_PROGRAM_FOCUS_NORMAL \ - GENLIST_PROGRAM_DECORATE_REORDER("editfield", TARGET \ - target: "bg_clip"; \ - target: "bg_reorder_clip"; \ - target: "bottom_line_clip"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) - -#define GENLIST_PROGRAMS_DIALOGUE_ENTRY( TARGET ) \ - GENLIST_PROGRAM_DEFAULT( TARGET \ - target: "bg_dialogue"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_DISABLED( TARGET ) \ - GENLIST_PROGRAM_FOCUS_DIALOGUE \ - program { name: "bg_color_change"; \ - signal: "bg_color_change"; \ - source: "elm"; \ - action: STATE_SET "2depth" 0.0; \ - target: "2depth"; \ - } \ - GENLIST_PROGRAM_BG_DIALOGUE \ - GENLIST_PROGRAM_DECORATE_REORDER( "normal", TARGET \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - GENLIST_PROGRAM_FLIP \ - GENLIST_PROGRAM_EDITMODE - - -#define GENLIST_PROGRAMS_THUMB \ - GENLIST_PROGRAM_DECORATE_REORDER( "thumb", target: "elm.thumb"; ) \ - GENLIST_PROGRAM_FLIP_TARGET( target: "elm.thumb.clip"; ) \ - program { name: "enabled_thumb"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "base"; \ - target: "elm.thumb"; \ - } \ - program { name: "disabled_thumb"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "base"; \ - target: "elm.thumb"; \ - } \ - program { name: "selected_thumb"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.thumb", st, 30, vl); \ - if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) \ - set_state(PART:"elm.thumb", "reorder_selected", 0.0); \ - else \ - set_state(PART:"elm.thumb", "selected", 0.0); \ - } \ - } \ - program { name: "unselected_thumb"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.thumb", st, 30, vl); \ - if (!strcmp(st, "reorder_selected")) \ - set_state(PART:"elm.thumb", "reorder", 0.0); \ - else \ - set_state(PART:"elm.thumb", "default", 0.0); \ - } \ - } - -//****************************************************************************// -// ******************************* Icon Part ******************************// -//***************************************************************************// -#define GENLIST_PART_ICON(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: SWALLOW; \ - DESCRIPION \ - } - -#define GENLIST_PARAM_ICON_BIG \ - min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \ - max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; - -#define GENLIST_PARAM_ICON_SMALL \ - min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; \ - max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE; - -#define GENLIST_PARAM_ICON_BTN_01 \ - min: 0 GENLIST_BTN_01_HEIGHT; \ - max: -1 GENLIST_BTN_01_HEIGHT; - -#define GENLIST_PARAM_ICON_BTN_02 \ - min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; - -#define GENLIST_PARAM_ICON_ONOFF_WIDTH \ - min: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; \ - max: GENLIST_ICON_ONOFF_WIDTH GENLIST_ICON_ONOFF_HEIGHT; - -#define GENLIST_PARAM_ICON_THUMBNAIL1\ - min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; \ - max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - -#define GENLIST_PARAM_ICON_CHECK_RADIO \ - min: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; \ - max: GENLIST_ICON_CHECK_RADIO_SIZE GENLIST_ICON_CHECK_RADIO_SIZE; - -#define GENLIST_PARAM_ICON_STAR \ - min: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ - max: GENLIST_ICON_STAR_SIZE GENLIST_ICON_STAR_SIZE; \ - -#define GENLIST_PART_ICON_BIG_R(NAME, RIGHT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - fixed: 1 1; \ - GENLIST_PARAM_ICON_BIG \ - ) \ - ) - -#define GENLIST_PART_ICON_BIG_L(NAME, LEFT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_BIG \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_SMALL_L(NAME, LEFT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_SMALL \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_SMALL_LB(NAME, LEFT, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \ - GENLIST_PARAM_ICON_SMALL \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_SMALL_LTB(NAME, LEFT, TOP, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ - GENLIST_PARAM_ICON_SMALL \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_SMALL_RTB(NAME, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - GENLIST_PARAM_ICON_SMALL \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_BTN_01_RTB(NAME, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM,\ - GENLIST_PARAM_ICON_BTN_01 \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_BTN_02_RTB(NAME, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM,\ - GENLIST_PARAM_ICON_BTN_02 \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_BTN_ONOFF_R(NAME, RIGHT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_ONOFF_WIDTH \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_BTN_ONOFF_L(NAME, LEFT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_ONOFF_WIDTH \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_THUMBNAIL1_R(NAME, RIGHT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_THUMBNAIL1 \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_CHECK_RADIO_L(NAME, LEFT) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - GENLIST_PARAM_ICON_CHECK_RADIO \ - fixed: 1 1; \ - ) \ - ) - -#define GENLIST_PART_ICON_STAR_RTB(NAME, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - GENLIST_PARAM_ICON_STAR \ - fixed: 1 1; \ - ) \ - ) - -/*****************************************************************************/ -/******************************* Genlist IMAGE ********************************/ -/*****************************************************************************/ -#define GENLIST_PART_IMAGE(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: IMAGE; \ - DESCRIPION \ - } - -#define GENLIST_PARAM_PASSWORD_IMAGE \ - min: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \ - max: GENLIST_ICON_PASSWORD_SIZE GENLIST_ICON_PASSWORD_SIZE; \ - image.normal: "00_search_edit_field_bg.png"; \ - image.border: 12 13 12 13; \ - image.border_scale: 1; - -/*****************************************************************************/ -/******************************* Genlist Proxy ********************************/ -/*****************************************************************************/ -#define GENLIST_PART_PROXY(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: PROXY; \ - DESCRIPION \ - } - -/*****************************************************************************/ -/******************************* Genlist Bubble ********************************/ -/*****************************************************************************/ -#define GENLIST_IMAGES_EXPANDABLE_BTN \ - images { \ - image: "00_list_button_expand_closed.png" COMP; \ - image: "00_list_button_expand_opened.png" COMP; \ - } - -#define GENLIST_PART_EXPANDABLE_ARROW \ - GENLIST_PART_ICON("touch_arrow", \ - ignore_flags: ON_HOLD; \ - GENLIST_DESCRIPTION_ENVELOP("arrow", ) \ - ) \ - GENLIST_PART_RECT("arrow_clip", \ - GENLIST_DESCRIPTION_ENVELOP("arrow", \ - color: GENLIST_EXPANDABLE_ARROW_NORMAL_COLOR; \ - ) \ - description { state: "disabled" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_DIM_COLOR; \ - } \ - description { state: "expand_opened_press" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_PRESS_COLOR; \ - } \ - description { state: "default_press" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_PRESS_COLOR; \ - } \ - ) \ - GENLIST_PART_RECT("arrow_shadow_clip", \ - GENLIST_DESCRIPTION_ENVELOP("arrow_shadow", \ - color: GENLIST_EXPANDABLE_ARROW_SHADOW_NORMAL_COLOR; \ - ) \ - description { state: "disabled" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_SHADOW_DIM_COLOR; \ - } \ - description { state: "expand_opened_press" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_SHADOW_PRESS_COLOR; \ - visible: 0; \ - } \ - description { state: "default_press" 0.0; \ - color: GENLIST_EXPANDABLE_ARROW_SHADOW_PRESS_COLOR; \ - visible: 0; \ - } \ - ) \ - GENLIST_PART_PROXY("arrow_shadow", \ - clip_to: "arrow_shadow_clip"; \ - ignore_flags: ON_HOLD; \ - mouse_events: 0; \ - description { state : "default" 0.0; \ - source: "arrow"; \ - rel1.to: "arrow"; \ - rel1.offset: 0 2; \ - rel2.to: "arrow"; \ - rel2.offset: 0 2; \ - } \ - ) \ - GENLIST_PART_IMAGE("arrow", \ - clip_to: "arrow_clip"; \ - ignore_flags: ON_HOLD; \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_R("elm.padding.right", \ - fixed: 1 1; \ - min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ - image.normal: "00_list_button_expand_closed.png"; \ - ) \ - description { state: "default_press" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "expand_opened" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_list_button_expand_opened.png"; \ - } \ - description { state: "expand_opened_press" 0.0; \ - inherit: "expand_opened" 0.0; \ - } \ - ) - -/*****************************************************************************/ -/******************************* Genlist RECT ********************************/ -/*****************************************************************************/ -#define GENLIST_PART_SPACER(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - mouse_events: 0; \ - type: SPACER; \ - DESCRIPION \ - } - -#define GENLIST_PART_RECT(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: RECT; \ - DESCRIPION \ - } - -/*****************************************************************************/ -/******************************* Genlist TEXT ********************************/ -/*****************************************************************************/ -// FIXME: because, when naviframe item is pushed, -// naviframe freeze all events so text events cannot be repeated. :-( -// So all texts should have it's own sound program, not repeat to BG -#define GENLIST_PART_TEXT(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: TEXT; \ - DESCRIPION \ - } - -#define GENLIST_PART_TEXTBLOCK(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: TEXTBLOCK; \ - DESCRIPION \ - } - -/*************************** parameters **********************************/ -#define GENLIST_PARAM_TEXT_LIMIT_RB \ - rel1.to_x: "base"; /* This limits text growing. */\ - rel1.relative: 0.35 0; /* This limits text growing. */\ - text.max: 1 0; /* This limits text growing. */ - -#define GENLIST_PARAM_TEXT_LIMIT_RT \ - rel1.to_x: "base"; /* This limits text growing. */\ - rel1.relative: 0.35 1; /* This limits text growing. */\ - text.max: 1 0; /* This limits text growing. */ - -#define GENLIST_PARAM_TEXT_LIMIT_RTB \ - rel1.to_x: "base"; /* This limits text growing. */\ - rel1.relative: 0.35 1; /* This limits text growing. */\ - text.max: 1 0; /* This limits text growing. */ - -// Group Title -#define GENLIST_PARAM_DIALOGUE_GROUP_TITLE \ - color: GENLIST_DIALOGUE_GROUP_TITLE_COLOR; \ - text { \ - align: 0.0 0.5; \ - font: "Tizen:style=Bold"; \ - min: 0 1; \ - size: GENLIST_DIALOGUE_GROUP_TITLE_SIZE; \ - text_class: "list_item"; \ - } - -// Password style -#define GENLIST_PARAM_PASSWORD_TITLE \ - color: DIALOGUE_PASSWORD_TITLE_COLOR; \ - text { \ - font: "Tizen:style=Bold"; \ - size: DIALOGUE_PASSWORD_TITLE_SIZE; \ - min: 0 1; \ - align: 0 0.5; \ - text_class: "list_item"; \ - } - -// Progress main text -#define GENLIST_PARAM_PROGRESS_MAIN \ - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: GENLIST_PROGRESS_MAIN_TEXT_SIZE; \ - text_class: "list_item"; \ - } - -// list main text -#define GENLIST_PARAM_LISTITEM \ - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: GENLIST_LIST_MAIN_TEXT_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_LISTITEM_TB \ - text { \ - min: 0 1; \ - style: "genlist_style_list_main_text_unread"; \ - } - -#define GENLIST_PARAM_LISTITEM_TB_WRAP \ - text { \ - min: 0 1; \ - style: "genlist_style_list_main_text_unread_wrap"; \ - } - -// list subtext -#define GENLIST_PARAM_SUBITEM_DEFAULT \ - color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_LIST_SUB_TEXT_SIZE; \ - text_class: "tizen"; \ - } - -#define GENLIST_PARAM_SUBITEM_SETTINGS \ - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_LIST_SUB_TEXT_SIZE; \ - text_class: "tizen"; \ - } - -#define GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - text { \ - min: 0 1; \ - style: "genlist_style_list_sub_text_default"; \ - } - -#define GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP \ - text { \ - min: 0 1; \ - style: "genlist_style_list_sub_text_default_wrap"; \ - } - -#define GENLIST_PARAM_SUBITEM_SETTINGS_TB \ - text { \ - min: 0 1; \ - style: "genlist_style_list_sub_text_settings"; \ - } - -// list subtext 02 -#define GENLIST_PARAM_SUBITEM_02 \ - color: GENLIST_LIST_SUB_TEXT_02_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_LIST_SUB_TEXT_02_SIZE; \ - text_class: "tizen"; \ - } - -// Dialogue group - Apps -#define GENLIST_PARAM_APPS_NAME\ - color: GENLIST_APPS_NAME_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_APPS_NAME_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_APPS_INC\ - color: GENLIST_APPS_INC_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_APPS_INC_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_APPS_RATING\ - color: GENLIST_APPS_RATING_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_APPS_RATING_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_APPS_PRICE\ - color: GENLIST_APPS_PRICE_ORIGINAL_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_APPS_PRICE_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_APPS_PRICE_SALE\ - color: GENLIST_APPS_PRICE_SALE_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_APPS_PRICE_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_PARAM_CONTENTS_TEXT \ - color: GENLIST_CONTENTS_TEXT_COLOR; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: GENLIST_CONTENTS_TEXT_SIZE; \ - text_class: "tizen"; \ - } - -/*************************** Descriptions **********************************/ -// list main text -#define GENLIST_DESCRIPTION_LISTITEM_OTHERS \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR; \ - } \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_MAIN_TEXT_READ_COLOR; \ - } \ - description { state: "read,disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_TEXT_FOCUS_COLOR; \ - } - -#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_unread_dim"; \ - } \ - description { state: "read" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_read"; \ - } \ - description { state: "read,disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_read_dim"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_focus"; \ - } - -// list sub text -#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_TEXT_FOCUS_COLOR; \ - } - -#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_default_dim"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_focus"; \ - } - -#define GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_default_dim_wrap"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_focus_wrap"; \ - } - -#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_TEXT_FOCUS_COLOR; \ - } - -#define GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_settings_dim"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_sub_text_focus"; \ - } - -// list main text multiline -#define GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_unread_dim_wrap"; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "genlist_style_list_main_text_focus_wrap"; \ - } - -/*************************** Parts **********************************/ -#define GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT(NAME, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - text { \ - min: 0 1; \ - style: "genlist_style_dialogue_group_help_text"; \ - } \ - PARAM) \ - ) - -#define GENLIST_PART_LISTITEM(NAME, DESCRIPTION) \ - GENLIST_PART_TEXT(NAME, \ - DESCRIPTION \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS \ - ) - -#define GENLIST_PART_LISTITEM_TB(NAME, DESCRIPTION) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - DESCRIPTION \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ - ) - -#define GENLIST_PART_LISTITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_LISTITEM \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS \ - ) - -#define GENLIST_PART_LISTITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - fixed: 1 0; \ - GENLIST_PARAM_LISTITEM_TB \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ - ) - -#define GENLIST_PART_LISTITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: 0 HEIGHT; \ - GENLIST_PARAM_LISTITEM \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS \ - ) - -#define GENLIST_PART_LISTITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ - min: 0 HEIGHT; \ - fixed: 0 1; \ - GENLIST_PARAM_LISTITEM \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS \ - ) - -#define GENLIST_PART_LISTITEM_LRT_TB(NAME, HEIGHT, LEFT, RIGHT, TOP, PARAM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ - min: 0 HEIGHT; \ - fixed: 0 1; \ - GENLIST_PARAM_LISTITEM_TB \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ - ) - -#define GENLIST_PART_LISTITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: 0 HEIGHT; \ - fixed: 1 0; \ - GENLIST_PARAM_LISTITEM_TB \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM(NAME, DESCRIPTION) \ - GENLIST_PART_TEXT(NAME, \ - DESCRIPTION \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_R(NAME, HEIGHT, RIGHT) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: 0 HEIGHT; \ - fixed: 1 0; \ - GENLIST_PARAM_TEXT_LIMIT_RB \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_R_TB(NAME, HEIGHT, RIGHT) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: 0 HEIGHT; \ - fixed: 1 0; \ - GENLIST_PARAM_TEXT_LIMIT_RB \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_RB(NAME, HEIGHT, RIGHT, BOTTOM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - fixed: 1 1; \ - GENLIST_PARAM_TEXT_LIMIT_RB \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_RB_TB(NAME, HEIGHT, RIGHT, BOTTOM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_RB(RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_TEXT_LIMIT_RB \ - fixed: 1 1; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_TB_(NAME, HEIGHT, LEFT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_R_FIXED(NAME, WIDTH, HEIGHT, RIGHT) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: WIDTH HEIGHT; \ - fixed: 1 1; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_R_FIXED_TB(NAME, WIDTH, HEIGHT, RIGHT) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_R(RIGHT, \ - min: WIDTH HEIGHT; \ - fixed: 1 0; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_L_FIXED(NAME, WIDTH, HEIGHT, LEFT) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \ - min: WIDTH HEIGHT; \ - fixed: 1 1; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_LR(NAME, HEIGHT, LEFT, RIGHT, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION(LEFT, RIGHT, "elm.padding.top", "elm.padding.bottom", \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - PARAM \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_LR_TB(NAME, HEIGHT, LEFT, RIGHT) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_LR(LEFT, RIGHT, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_LB(NAME, HEIGHT, LEFT, RIGHT) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LB(LEFT, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - fixed: 0 1; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_SETTINGS_LRB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM, PARAM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ - GENLIST_PARAM_SUBITEM_SETTINGS\ - PARAM; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - fixed: 0 1; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_SETTINGS_LRB_TB(NAME, HEIGHT, LEFT, RIGHT, BOTTOM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_LRB(LEFT, RIGHT, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_SUBITEM_SETTINGS_TB \ - fixed: 0 1; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ - min: 0 HEIGHT; \ - fixed: 0 1; \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_SETTINGS_LRT(NAME, HEIGHT, LEFT, RIGHT, TOP) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LRT(LEFT, RIGHT, TOP, \ - min: 0 HEIGHT; \ - fixed: 0 1; \ - GENLIST_PARAM_SUBITEM_SETTINGS \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_LTB(NAME, HEIGHT, LEFT, TOP, BOTTOM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - fixed: 1 1; /*FIXME: why text need this, but textblock doesn't */ \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_TEXT_LIMIT_RT \ - GENLIST_PARAM_SUBITEM_DEFAULT \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PART_SUBITEM_RTB_TB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_TEXTBLOCK(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_TEXT_LIMIT_RT \ - GENLIST_PARAM_SUBITEM_DEFAULT_TB \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB \ - ) - -#define GENLIST_PART_SUBITEM_02_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_TEXT_LIMIT_RT \ - GENLIST_PARAM_SUBITEM_02 \ - fixed: 1 0; \ - ) \ - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS \ - ) - -#define GENLIST_PARAM_LIST_BUBBLE_TEXT \ - color: GENLIST_LIST_BUBBLE_TEXT_COLOR; \ - text { \ - align: 1 0.5; \ - min: 0 1; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_LIST_BUBBLE_TEXT_SIZE; \ - text_class: "tizen"; \ - } - -// FIXME: Need to find why rel2.offset: 9 -1 will not fix the alignment of bubble text ? -#define GENLIST_PART_LIST_BUBBLE_TEXT_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_IMAGE("elm.bubble", \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_ENVELOP(NAME, \ - image { \ - normal: "00_list_bubble_bg.png"; \ - border: 8 8 0 0; \ - } \ - rel1.offset: -10 0; \ - rel2.offset: 8 -1; \ - min: 48 38; \ - max: -1 38; \ - fixed: 0 1; \ - color: GENLIST_LIST_BUBBLE_COLOR; \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_BUBBLE_PRESS_COLOR; \ - } \ - ) \ - GENLIST_PART_TEXT(NAME, \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - min: 0 HEIGHT; \ - GENLIST_PARAM_TEXT_LIMIT_RT \ - rel2.offset: -10 -1; /* This maintain the text alignment with bubble text. */\ - GENLIST_PARAM_LIST_BUBBLE_TEXT \ - ) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_LIST_BUBBLE_TEXT_FOCUS_COLOR; \ - } \ - ) - -#if 0 -#define GENLIST_PART_BASE__( param_item_height ) \ - part { name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 0 param_item_height; \ - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; \ - } \ - } - -/******************************************************************************/ -/** ETC -/******************************************************************************/ -// FIXME: UX do not define selected state. But I thinkt that it is neededs :( - -#define GENLIST_PROOGRAM_EXPAND(SRC, TARGET) \ - program { \ - name: "expand"; \ - signal: "mouse,clicked,1"; \ - source: SRC; \ - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \ - } \ - program { \ - name: "go_expanded"; \ - signal: "elm,state,expanded"; \ - source: "elm"; \ - action: STATE_SET "active" 0.0; \ - TARGET \ - } \ - program { \ - name: "go_contracted"; \ - signal: "elm,state,contracted"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define GENLIST_PART_BASE_LIST_H( HEIGHT) \ - part { name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 0.5 0.5; \ - color: 0 0 0 0; \ - rel2.relative: 1 0; \ - rel2.to: "bottom_line"; \ - min: 0 HEIGHT; \ - } \ - } \ - GENLIST_PART_BOTTOM_LINE - -#define GENLIST_PART_DIALOGUE_ITEM \ - part { name: "elm.rect.dialogue"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 10 0; \ - fixed: 1 0; \ - color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ - } - -#define GENLIST_PART_DIALOGUE_RIGHT_LINE \ - part { name: "elm.rect.dialogue.right.line"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 1 0; \ - fixed: 1 0; \ - rel1 { \ - relative: 1.0 0.0; \ - offset: -1 0; \ - } \ - align: 1.0 0.0; \ - color: GENLIST_LIST_LINE1_COLOR; \ - } \ - } - -#define GENLIST_PROGRAM_FLIP_1TEXT \ - program { name: "flipped"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.text"; \ - target: "elm.flip.content"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - target: "elm.flip.content"; \ - } - -#define GENLIST_PROGRAM_FLIP_2TEXT \ - program { name: "flipped"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.flip.content"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.flip.content"; \ - } - -#define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \ - program { name: "flipped"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.icon"; \ - target: "elm.flip.content"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.icon"; \ - target: "elm.flip.content"; \ - } - -#define GENLIST_PROGRAM_FLIP_2TEXT_2ICON \ - program { name: "flipped"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.icon.1"; \ - target: "elm.icon.2"; \ - target: "elm.flip.content"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.icon.1"; \ - target: "elm.icon.2"; \ - target: "elm.flip.content"; \ - } - -#define GENLIST_PROGRAM_FLIP_3TEXT_2ICON \ - program { name: "flipped"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.text.3"; \ - target: "elm.icon.1"; \ - target: "elm.icon.2"; \ - target: "elm.flip.content"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.1"; \ - target: "elm.text.2"; \ - target: "elm.text.3"; \ - target: "elm.icon.1"; \ - target: "elm.icon.2"; \ - target: "elm.flip.content"; \ - } - - -#define GENLIST_DESCRIPTION_INVISIBLE_SELECTED \ - description { state: "selected" 1.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } - -#define GENLIST_DESCRIPTION_FLIP_ENABLED \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } - -#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - set_state(PART:"bg", "selected", 0.0); \ - if (!strcmp(st, "flipped")) \ - set_state(PART:"elm.text", "selected", 1.0); \ - else \ - set_state(PART:"elm.text", "selected", 0.0); \ - } - - -/* genlist multisense macro - start */ -#define GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS \ - after: "play_button_press"; - -#define GENLIST_PROGRAM_PLAY_BUTTON_PRESS \ - program { name: "play_button_press"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - } -#endif - -#define GENLIST_POPUP_STYLE(NAME) \ - group { GENLIST_NAME(NAME"/popup/default") \ - inherit: "elm/genlist/item/"NAME"/default"; \ - parts { \ - GENLIST_PART_RECT("bg", \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_BG_POPUP_COLOR; \ - } \ - ) \ - GENLIST_PART_RECT("bottom_line", \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_LINE1_POPUP_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - color: GENLIST_LIST_LINE1_POPUP_COLOR; \ - } \ - ) \ - GENLIST_PART_RECT("bottom_line2", \ - description { state: "default" 0.0; \ - color: GENLIST_LIST_LINE2_POPUP_COLOR; \ - } \ - description { state: "disabled" 0.0; \ - color: GENLIST_LIST_LINE2_POPUP_COLOR; \ - } \ - ) \ - } \ - } diff --git a/mobile/themes/widgets/genlist/genlist_normal.edc b/mobile/themes/widgets/genlist/genlist_normal.edc deleted file mode 100644 index 7f7ccd5..0000000 --- a/mobile/themes/widgets/genlist/genlist_normal.edc +++ /dev/null @@ -1,4468 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - -/* - * vim:ts=3 -*/ - - group { GENLIST_NAME("default/default") - alias: "elm/list/item/default"; - alias: "elm/list/item_odd/default"; - alias: "elm/list/item_compress/default"; - alias: "elm/list/item_compress_odd/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON("elm.swallow.icon", - GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom", - fixed: 1 0; - ) - ) - GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, - "elm.swallow.icon", "elm.swallow.end", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_ICON("elm.swallow.end", - GENLIST_DESCRIPTION_R("elm.padding.right", - fixed: 1 0; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// ------------------------------------------------------------------- -// Tizen Theme ------------------------------------------------------- -// ------------------------------------------------------------------- -// 2.2.6.1 - group { GENLIST_NAME("editfield/default") - alias: "elm/layout/item/editfield/default"; - - GENLIST_PROLOG_NORMAL - - data.item: "contents" "elm.icon.entry"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT_SIZE(16) - GENLIST_PART_PADDING_RIGHT_SIZE(16) - GENLIST_PART_PADDING_TOP_SIZE(8) - GENLIST_PART_PADDING_BOTTOM_SIZE(8) - - GENLIST_PART_ICON("elm.icon.entry", - GENLIST_DESCRIPTION( - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - min: 0 96; // This is tuned value for exact entry size. - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_ENTRY( target: "elm.icon.entry"; ) - } - -// 2.2.6.1 (without genlist background) - group { GENLIST_NAME("editfield/no_bg/default") - alias: "elm/layout/editfield/no_bg/default"; - inherit: "elm/genlist/item/editfield/default"; - - parts { - GENLIST_PART_BG_NORMAL_OFF - GENLIST_PART_BOTTOM_LINE_OFF - GENLIST_PART_PADDING_LEFT_SIZE(0) - GENLIST_PART_PADDING_RIGHT_SIZE(0) - } - } - -// 2.2.6.2 - group { GENLIST_NAME("editfield/title/default") - alias: "elm/layout/editfield/title/default"; - - GENLIST_PROLOG_NORMAL - data.item: "contents" "elm.icon.entry"; - data.item: "texts" "elm.text"; - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT_SIZE( 16 ) - GENLIST_PART_PADDING_RIGHT_SIZE( 16 ) - GENLIST_PART_PADDING_TOP_SIZE(17) - GENLIST_PART_PADDING_BOTTOM_SIZE(16) - - GENLIST_PART_PADDING_L_SIZE("elm.padding.title", "elm.padding.left", 10) - GENLIST_PART_SUBITEM_SETTINGS_LRT("elm.text", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.title", "elm.padding.right", "elm.padding.top" - ) - GENLIST_PART_ICON("elm.icon.entry", - GENLIST_DESCRIPTION( - "elm.padding.left", "elm.padding.right", - "elm.text", "elm.padding.bottom", - min: 0 62; // This is tuned value for exact entry size. - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_ENTRY( target: "elm.text"; target: "elm.icon.entry"; ) - } - -// 2.2.6.2 (without genlist background) - group { GENLIST_NAME("editfield/title/no_bg/default") - alias: "elm/layout/editfield/title/no_bg/default"; - inherit: "elm/genlist/item/editfield/title/default"; - - parts { - GENLIST_PART_BG_NORMAL_OFF - GENLIST_PART_BOTTOM_LINE_OFF - GENLIST_PART_PADDING_LEFT_SIZE(0) - GENLIST_PART_PADDING_RIGHT_SIZE(0) - } - } - - group { GENLIST_NAME("1icon/default") - GENLIST_PROLOG_NORMAL - - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION( - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - min: 0 GENLIST_HEIGHT_1LINE; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAM_DEFAULT( target: "elm.icon"; ) - GENLIST_PROGRAM_DISABLED( target: "elm.icon"; ) - GENLIST_PROGRAM_SELECT( target: "elm.icon"; ) - GENLIST_PROGRAM_FLIP - GENLIST_PROGRAM_FOCUS_NORMAL - } - - group { GENLIST_NAME("1icon/with_no_line/default") - inherit: "elm/genlist/item/1icon/default"; - - parts { - GENLIST_PART_BOTTOM_LINE_OFF - } - } - - group { GENLIST_NAME("1icon/no_padding/default") - inherit: "elm/genlist/item/1icon/default"; - - parts { - GENLIST_PART_PADDING_LEFT_SIZE(0) - GENLIST_PART_PADDING_RIGHT_SIZE(0) - GENLIST_PART_PADDING_TOP_SIZE(0) - GENLIST_PART_PADDING_BOTTOM_SIZE(0) - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 (GENLIST_HEIGHT_1LINE+4); - } - } - } - } - - group { GENLIST_NAME("1icon/no_padding_line/default") - inherit: "elm/genlist/item/1icon/default"; - - parts { - GENLIST_PART_PADDING_LEFT_SIZE(0) - GENLIST_PART_PADDING_RIGHT_SIZE(0) - GENLIST_PART_PADDING_TOP_SIZE(0) - GENLIST_PART_PADDING_BOTTOM_SIZE(0) - GENLIST_PART_BOTTOM_LINE_OFF - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 (GENLIST_HEIGHT_1LINE + GENLIST_PADDING_SIZE_TOP + GENLIST_PADDING_SIZE_BOTTOM); - } - } - } - } - -// ------------------------------------------------------------------- -// 1 line ------------------------------------------------------- -// ------------------------------------------------------------------- -// 2.2.1.1 - group { GENLIST_NAME("1text/default") - GENLIST_PROLOG_NORMAL - - data.item: "texts" "elm.text"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } -// 2.2.1.1 (textblock) - group { GENLIST_NAME("1text.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_TB_("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.2 - group { GENLIST_NAME("2text/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.text.2", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_1LINE, - "elm.padding.right", - "elm.padding.top", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.3 - group { GENLIST_NAME("2text.6/default") - inherit: "elm/genlist/item/2text/default"; - - parts { - - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - } - } - -// 2.2.1.4 - group { GENLIST_NAME("1text.1icon/default") - GENLIST_PROLOG_NORMAL - - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.padding.bottom", - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon", - "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.5 - group { GENLIST_NAME("1text.1icon.4/default") - inherit: "elm/genlist/item/1text.1icon/default"; - - parts { - GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.1.6 - group { GENLIST_NAME("1text.1icon.6/default") - inherit: "elm/genlist/item/1text.1icon/default"; - - parts { - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") - } - } - -// 2.2.1.7 - group { GENLIST_NAME("1text.1icon.7/default") - inherit: "elm/genlist/item/1text.1icon/default"; - - parts { - GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right") - } - } - -// 2.2.1.8 - group { GENLIST_NAME("1text.1icon.5/default") - inherit: "elm/genlist/item/1text.1icon/default"; - - parts { - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right") - GENLIST_PART_FOCUS_NORMAL - } - } - -// 2.2.1.8.1 (Circle) - group { GENLIST_NAME("1text.1icon.5.thumb.circle/default") - inherit: "elm/genlist/item/1text.1icon.5/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.1.8.1 (Square) - group { GENLIST_NAME("1text.1icon.5.thumb.square/default") - inherit: "elm/genlist/item/1text.1icon.5/default"; - - GENLIST_INHERIT_THUMB_SQUARE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.1.9 - group { GENLIST_NAME("1text.2icon.3/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.text.limit", - fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. - ) - GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text") - GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right") - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.padding.icon1.left", - min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; - ) - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.9 (textblock) - group { GENLIST_NAME("1text.2icon.3.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.text.limit", - fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. - ) - GENLIST_PART_PADDING_L("elm.padding.text.right", "elm.text") - GENLIST_PART_ICON_SMALL_L("elm.icon.2", "elm.padding.text.right") - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.padding.icon1.left", - min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; - ) - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.10 - group { GENLIST_NAME("1text.1icon.2/default") - // FIXME: just for backward compatibility - alias: "elm/genlist/item/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default"; - alias: "elm/genlist/item/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default"; - alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.icon.right", "elm.padding.right", ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.10.1 (circle) - group { GENLIST_NAME("1text.1icon.2.thumb.circle/default") - inherit: "elm/genlist/item/1text.1icon.2/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_MEDIUM("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.1.10.1 (square) - group { GENLIST_NAME("1text.1icon.2.thumb.square/default") - inherit: "elm/genlist/item/1text.1icon.2/default"; - - GENLIST_INHERIT_THUMB_SQUARE_MEDIUM("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.1.10 (textblock) - group { GENLIST_NAME("1text.1icon.2.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.padding.right",) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.11 - group { GENLIST_NAME("2text.1icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",) - GENLIST_PART_SUBITEM_R("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.11 (textblock) - group { GENLIST_NAME("2text.1icon.tb/default") - alias: "elm/genlist/item/2text.1icon.6.tb/default"; - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",) - GENLIST_PART_SUBITEM_R_TB("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.12 - group { GENLIST_NAME("2text.1icon.6/default") - inherit: "elm/genlist/item/2text.1icon/default"; - - parts { - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - } - } - -// 2.2.1.13 - group { GENLIST_NAME("1text.2icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L( "elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",) - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.13 (textblock) - group { GENLIST_NAME("1text.2icon.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L( "elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",) - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.14 - group { GENLIST_NAME("1text.2icon.6/default") - inherit: "elm/genlist/item/1text.2icon/default"; - - parts { - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - - } - } - -// 2.2.1.14 (textblock) - group { GENLIST_NAME("1text.2icon.6.tb/default") - inherit: "elm/genlist/item/1text.2icon.tb/default"; - - parts { - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.1.15 - group { GENLIST_NAME("1text.2icon.7/default") - inherit: "elm/genlist/item/1text.2icon/default"; - - parts { - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon.2", "elm.padding.right") - } - } - -// 2.2.1.16 -// 2.2.1.20 - group { GENLIST_NAME("1text.1icon.3/default") - inherit: "elm/genlist/item/1text.1icon.2/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") - } - } - -// 2.2.1.16 (textblock) -// 2.2.1.20 (textblock) - group { GENLIST_NAME("1text.1icon.3.tb/default") - inherit: "elm/genlist/item/1text.1icon.2.tb/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") - } - } - -// 2.2.1.17 - group { GENLIST_NAME("1text.2icon.4/default") - inherit: "elm/genlist/item/1text.2icon/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.1.17 (textblock) - group { GENLIST_NAME("1text.2icon.4.tb/default") - inherit: "elm/genlist/item/1text.2icon.tb/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.1.18 -// 2.2.1.23 - group { GENLIST_NAME("1text.2icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right") - GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon2.right", "elm.padding.right",) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.19 -// 2.2.1.25 - group { GENLIST_NAME("1text.3icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right") - GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.icon2.right", "elm.padding.icon3.left",) - GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.21 - group { GENLIST_NAME("1text.2icon.8/default") - inherit: "elm/genlist/item/1text.2icon/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.right") - } - } - -// 2.2.1.22 - group { GENLIST_NAME("1text.2icon.9/default") - inherit: "elm/genlist/item/1text.2icon/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.1.24 - group { GENLIST_NAME("1text.3icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.icon1.right", "elm.padding.icon2.left", ) - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.icon3.left") - GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.1.26 - group { GENLIST_NAME("2text.4/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.divider1.left", - ) - GENLIST_PART_PADDING_R("elm.divider1.left", "elm.divider1") - GENLIST_PART_DIVIDER_R("elm.text.2.left") - GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") - GENLIST_PART_SUBITEM_R_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, - "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( - target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target: "elm.divider2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.26 (textblock) - group { GENLIST_NAME("2text.4.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_LISTITEM_LR_TB("elm.text.1", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.elm.divider1.left",) - GENLIST_PART_PADDING_R("elm.elm.divider1.left", "elm.divider1") - GENLIST_PART_DIVIDER_R("elm.text.2.left") - GENLIST_PART_PADDING_R("elm.text.2.left", "elm.text.2") - GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 206, GENLIST_HEIGHT_1LINE, - "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target: "elm.divider2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.27 - group { GENLIST_NAME("2text.5/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_SUBITEM_L_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE, - "elm.padding.left") - GENLIST_PART_PADDING_L("elm.text2.right", "elm.text.2") - GENLIST_PART_DIVIDER_L("elm.text2.right") - GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") - GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, - "elm.divider.right", "elm.padding.right", ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.divider1"; target: "elm.divider2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.1.28 - group { GENLIST_NAME("1text.1icon.divider/default") - inherit: "elm/genlist/item/1text.1icon.7/default"; - - parts { - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.left", "elm.divider1", - ) - GENLIST_PART_DIVIDER_R("elm.padding.icon.left") - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; ) - } - -// 2.2.1.29 - group { GENLIST_NAME("1text.2icon.divider/default") - inherit: "elm/genlist/item/1text.2icon.7/default"; - - parts { - GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, - "elm.padding.icon1.right", "elm.divider1", - ) - GENLIST_PART_DIVIDER_R("elm.padding.icon2.left") - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - } - } - -// ------------------------------------------------------------------- -// 2 line ------------------------------------------------------- -// ------------------------------------------------------------------- -// 2.2.2.1 - group { GENLIST_NAME("2text.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.1 (textblock) - group { GENLIST_NAME("2text.2.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.2 - group { GENLIST_NAME("2text.3/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.top" - ) - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.right", - "elm.text.2", "elm.padding.bottom", - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.3 - group { GENLIST_NAME("3text/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text.3", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.2" - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.3 (textblock) - group { GENLIST_NAME("3text.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text.3", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.2" - ) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.4 - group { GENLIST_NAME("2text.1icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.4 (textblock) - group { GENLIST_NAME("2text.1icon.2.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - - -// 2.2.2.5 - group { GENLIST_NAME("2text.1icon.10/default") - inherit: "elm/genlist/item/2text.1icon.2/default"; - - parts { - GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.2.5 (textblock) - group { GENLIST_NAME("2text.1icon.10.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.6 - group { GENLIST_NAME("2text.5icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.icon.5", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_ICON_STAR_RTB("elm.icon.5", - "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.4", - "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.3", - "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.2", - "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.2") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.7 - group { GENLIST_NAME("3text.1icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.text.3", - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_SMALL_RTB("elm.icon", - "elm.padding.right", "elm.padding.top", "elm.text.3" - ) - - GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text3.right", - "elm.text.1", "elm.padding.bottom", - ) - GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3") - GENLIST_PART_SUBITEM_RB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.7 (textblock) - group { GENLIST_NAME("3text.1icon.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK - // and theier font size can be changed both. - GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_SMALL_RTB("elm.icon", - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_TB_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text3.right", - "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R("elm.padding.text3.right", "elm.text.3") - GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.8 - group { GENLIST_NAME("2text.2icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.icon.2", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.icon.2") - - GENLIST_PART_ICON_SMALL_LB("elm.icon.2", - "elm.padding.left", "elm.padding.bottom") - GENLIST_PART_PADDING_L("elm.icon2.right", "elm.icon.2") - GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.icon2.right", "elm.padding.right", - "elm.text.1", "elm.padding.bottom", - fixed: 1 1; - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.9 - group { GENLIST_NAME("2text.7/default") - inherit: "elm/genlist/item/2text.2/default"; - - parts { - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - } - } - -// 2.2.2.10 - group { GENLIST_NAME("2text.1icon.7/default") - inherit: "elm/genlist/item/2text.1icon.2/default"; - - parts { - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") - } - } - -// 2.2.2.10 (textblock) - group { GENLIST_NAME("2text.1icon.7.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_SETTINGS_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.11 - group { GENLIST_NAME("2text.1icon.11/default") - inherit: "elm/genlist/item/2text.1icon.2/default"; - parts { - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - } - } - -// 2.2.2.12 - group { GENLIST_NAME("2text.2icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_RB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.icon2.rect", "elm.padding.bottom") - GENLIST_PART_PADDING_L("elm.padding.text2.right", "elm.text.2") - GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", - "elm.padding.text2.right", "elm.text.1", "elm.padding.bottom") - // Virtual part for Maxmimum right X axis of text.2 - part { name: "elm.icon2.rect"; - type: RECT; - scale: 1; - GENLIST_DESCRIPTION_R("elm.padding.icon1.left", - min: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE; - max: (GENLIST_ICON_SMALL_SIZE + GENLIST_PADDING_SIZE_DEFAULT) GENLIST_ICON_SMALL_SIZE; - fixed: 1 1; - visible: 0; - ) - } - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.13 - group { GENLIST_NAME("2text.1icon.5/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.top") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon.left", - "elm.text.2", "elm.padding.bottom", - ) - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.14 - group { GENLIST_NAME("2text.1icon.4/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.14.1 (circle) - group { GENLIST_NAME("2text.1icon.4.thumb.circle/default") - inherit: "elm/genlist/item/2text.1icon.4/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_MEDIUM("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.2.14.1 (square) - group { GENLIST_NAME("2text.1icon.4.thumb.square/default") - inherit: "elm/genlist/item/2text.1icon.4/default"; - - GENLIST_INHERIT_THUMB_SQUARE_MEDIUM("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.2.14 (textblock) - group { GENLIST_NAME("2text.1icon.4.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.15 - group { GENLIST_NAME("3text.1icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon.right", "elm.text.3", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.2") - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.16 - group { GENLIST_NAME("2text.1icon.8/default") - inherit: "elm/genlist/item/2text.1icon.4/default"; - - parts { - part { name: "elm.text.2"; - description { state: "default" 0.0; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - } - } - } - -// 2.2.2.17 - group { GENLIST_NAME("2text.6icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.6", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon6.right", "elm.icon.5", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom") - - GENLIST_PART_ICON_STAR_RTB("elm.icon.5", - "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.4", - "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.3", - "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.2", - "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.2") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.17 (textblock) - group { GENLIST_NAME("2text.6icon.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.6", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon6.right", "elm.icon.6") - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon6.right", "elm.icon.5", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon6.right", "elm.padding.right", "elm.padding.bottom") - - GENLIST_PART_ICON_STAR_RTB("elm.icon.5", - "elm.padding.icon4.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.4", - "elm.padding.icon3.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon3.left", "elm.icon.3", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.3", - "elm.padding.icon2.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon2.left", "elm.icon.2", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.2", - "elm.padding.icon1.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon1.left", "elm.icon.1", 2) - GENLIST_PART_ICON_STAR_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.2") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.18 - group { GENLIST_NAME("2text.2icon.4/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.icon2.left", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - - -// 2.2.2.18 (textblock) - group { GENLIST_NAME("2text.2icon.4.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.icon2.left", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.19 - group { GENLIST_NAME("2text.2icon.6/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.19 (textblock) - group { GENLIST_NAME("2text.2icon.6.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.20 - group { GENLIST_NAME("2text.2icon.8/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.icon2.left", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.20 (textblock) - group { GENLIST_NAME("2text.2icon.8.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.icon2.left", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.icon2.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.21 - group { GENLIST_NAME("2text.2icon.progress/default") - // FIXME: deprecated name, will be removed - alias: "elm/genlist/item/1text.2icon.5/default"; - alias: "elm/genlist/item_odd/1text.2icon.5/default"; - alias: "elm/genlist/item_compress/1text.2icon.5/default"; - alias: "elm/genlist/item_compress_odd/1text.2icon.5/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.swallow.progress "; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 59 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 54 ) - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON("elm.swallow.progress", GENLIST_DESCRIPTION( - "elm.padding.icon1.right", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - min: 0 27;) - ) - GENLIST_PART_SUBITEM_LRT("elm.text.1", 54, - "elm.padding.icon1.right", "elm.text.2", "elm.swallow.progress") - GENLIST_PART_SUBITEM("elm.text.2", GENLIST_DESCRIPTION_RT( - "elm.padding.right", "elm.swallow.progress", - min: 0 54; - GENLIST_PARAM_SUBITEM_DEFAULT - GENLIST_PARAM_TEXT_LIMIT_RT - fixed: 1 1;) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.swallow.progress";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.22 - group { GENLIST_NAME("3text.3icon.progress/default") - // FIXME: deprecated name, will be removed - alias: "elm/genlist/item/3text.3icon/default"; - alias: "elm/genlist/item_odd/3text.3icon/default"; - alias: "elm/genlist/item_compress/3text.3icon/default"; - alias: "elm/genlist/item_compress_odd/3text.3icon/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.progress"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.padding.icon2.left", - "elm.padding.top", - min: 0 59; - GENLIST_PARAM_PROGRESS_MAIN - fixed: 0 1; - ) - ) - GENLIST_PART_ICON("elm.swallow.progress", - GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon2.left", "elm.text.1", "elm.text.2", - min: 0 27; - ) - ) - GENLIST_PART_SUBITEM("elm.text.2", - GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.text.3", "elm.padding.bottom", - min: 0 54; - GENLIST_PARAM_SUBITEM_DEFAULT - fixed: 1 1; - ) - ) - GENLIST_PART_SUBITEM("elm.text.3", - GENLIST_DESCRIPTION_RB("elm.padding.icon2.left", "elm.padding.bottom", - min: 0 54; - GENLIST_PARAM_SUBITEM_DEFAULT - GENLIST_PARAM_TEXT_LIMIT_RT - fixed: 1 1; // This limits text growing. - ) - ) - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_R( - "elm.padding.right", - min: 156 GENLIST_BTN_01_HEIGHT; - max: 156 GENLIST_BTN_01_HEIGHT;) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.progress"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.23 - group { GENLIST_NAME("2text.1icon.divider/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.divider.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom",) - GENLIST_PART_PADDING_R("elm.padding.divider.left", "elm.divider1") - GENLIST_PART_DIVIDER_R("elm.padding.icon.left") - GENLIST_PART_PADDING_R_SIZE("elm.padding.icon.left", "elm.icon", 26) - GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.30 - group { GENLIST_NAME("2text.3icon/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text.limit", - "elm.padding.top", "elm.icon.3", - fixed: 1 0; align: 0 0.5; text.max: 1 0; // This limits text growing. - ) - GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1") - GENLIST_PART_ICON_SMALL_LTB("elm.icon.2", - "elm.padding.text1.right", "elm.padding.top", "elm.icon.3") - - GENLIST_PART_ICON_SMALL_LB("elm.icon.3", - "elm.padding.left", "elm.padding.bottom") - GENLIST_PART_PADDING_L("elm.icon3.right", "elm.icon.3") - GENLIST_PART_SUBITEM_("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.icon3.right", "elm.padding.icon1.left", - "elm.text.1", "elm.padding.bottom", - fixed: 1 1; - ) - // Virtual part for Maxmimum right X axis of TEXT - GENLIST_PART_SPACER("elm.text.limit", - GENLIST_DESCRIPTION_R("elm.padding.icon1.left", - min: (GENLIST_ICON_LARGE_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; - ) - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.31 - group { GENLIST_NAME("2text.1icon.12/default") - inherit: "elm/genlist/item/2text.1icon.2/default"; - parts { - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right") - GENLIST_PART_FOCUS_NORMAL - } - } - -// 2.2.2.31.1 (circle) - group { GENLIST_NAME("2text.1icon.12.thumb.circle/default") - inherit: "elm/genlist/item/2text.1icon.12/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.2.31.1 (square) - group { GENLIST_NAME("2text.1icon.12.thumb.square/default") - inherit: "elm/genlist/item/2text.1icon.12/default"; - - GENLIST_INHERIT_THUMB_SQUARE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.2.31 (textblock) - group { GENLIST_NAME("2text.1icon.12.tb/default") - inherit: "elm/genlist/item/2text.1icon.2.tb/default"; - parts { - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right") - GENLIST_PART_FOCUS_NORMAL - } - } - -// 2.2.2.31.1 (circle) textblock - group { GENLIST_NAME("2text.1icon.12.tb.thumb.circle/default") - inherit: "elm/genlist/item/2text.1icon.12.tb/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.2.2.31.1 (square) textblock - group { GENLIST_NAME("2text.1icon.12.tb.thumb.square/default") - inherit: "elm/genlist/item/2text.1icon.12.tb/default"; - - GENLIST_INHERIT_THUMB_SQUARE_LARGE("elm.icon") - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - - -// 2.2.2.32 -// 2.2.2.36 - group { GENLIST_NAME("2text.1icon.9/default") - inherit:"elm/genlist/item/2text.1icon.4/default"; - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left") - } - } - -// 2.2.2.33 - group { GENLIST_NAME("2text.2icon.7/default") - inherit: "elm/genlist/item/2text.2icon.4/default"; - - parts { - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - } - } - -// 2.2.2.34 -// 2.2.2.37 - group { GENLIST_NAME("2text.2icon.5/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right") - GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon2.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.35 - group { GENLIST_NAME("2text.3icon.4/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON_BIG_L("elm.icon.2", "elm.padding.icon1.right") - GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon2.right", "elm.padding.icon3.left", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon2.right", "elm.padding.icon3.left", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - - -// 2.2.2.38 - group { GENLIST_NAME("4text.1icon.1/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - data.item: "contents" "elm.icon.1"; - - images { - image: "00_list_bubble_bg.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.3", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.bubble.left", "elm.padding.top", "elm.text.3") - - GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") - GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.icon.1"; target: "elm.bubble"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - } - -// 2.2.2.38 textblock - group { GENLIST_NAME("4text.1icon.1.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - data.item: "contents" "elm.icon.1"; - - images { - image: "00_list_bubble_bg.png" COMP; - } - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - // elm.text.1 should be fixed part becuase 2nd line texts are both TEXTBLOCK - // and theier font size can be changed both. - GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.bubble.left", "elm.padding.top", "elm.text.3") - - GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") - GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.icon.1"; target: "elm.bubble"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - } - -// 2.2.2.39 - group { GENLIST_NAME("4text.1icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - data.item: "contents" "elm.icon.1 "; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.3", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.text4.left", "elm.padding.top", "elm.text.3") - GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4") - GENLIST_PART_SUBITEM_02_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.icon.1";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - } -// 2.2.2.39 (TEXTBLOCK) - group { GENLIST_NAME("4text.1icon.2.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - data.item: "contents" "elm.icon.1"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.text4.left", "elm.padding.top", "elm.text.2" - ) - GENLIST_PART_PADDING_R("elm.padding.text4.left", "elm.text.4") - - // FIXME: This part depends on elm.text.2 as bottom part. - // So if elm.text.3 (the other bottom part) size is changed, - // It can break this part's height. - GENLIST_PART_SUBITEM_RTB_TB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.2" - ) - - GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.icon.1";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - } - -// 2.2.2.40 - group { GENLIST_NAME("4text.1/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - - images { - image: "00_list_bubble_bg.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.bubble.left", - "elm.padding.top", "elm.text.3", - ) - GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") - GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.bubble"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - - } - -// 2.2.2.40.tb - group { GENLIST_NAME("4text.1.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - - images { - image: "00_list_bubble_bg.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.bubble.left", - "elm.padding.top", "elm.text.3", - ) - GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") - GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - - GENLIST_PART_SUBITEM_LRB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.text2.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.bubble"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - - } - - -// 2.2.2.41 - group { GENLIST_NAME("4text.2/default") - inherit: "elm/genlist/item/4text.1/default"; - parts { - part { name: "elm.bubble"; - description { state: "default" 0.0; - visible: 0; - } - description { state: "selected" 0.0; - visible: 0; - } - } - GENLIST_PART_SUBITEM_02_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3") - } - } - -// 2.2.2.42 - group { GENLIST_NAME("3text.1icon.3/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon.1"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.3",) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.3") - GENLIST_PART_SUBITEM_LRB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.text.2", "elm.padding.bottom") - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon.1";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.42 - group { GENLIST_NAME("3text.1icon.3.tb/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon.1"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_LRT_TB("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", - ) - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.3" - ) - GENLIST_PART_SUBITEM_TB_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.text.2", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon.1";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - - -// 2.2.2.43 - group { GENLIST_NAME("2text.4icon.1/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon4.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon4.left", "elm.icon.4") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.4", - "elm.padding.icon3.left", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.3", - "elm.padding.icon2.left", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_SMALL_RTB("elm.icon.2", - "elm.padding.icon1.left", "elm.text.1", "elm.padding.bottom") - - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.44 - group { GENLIST_NAME("4text.1icon.3/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4"; - data.item: "contents" "elm.swallow.colorbar elm.icon.1"; - - images { - image: "00_list_bubble_bg.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_COLORBAR - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - - - GENLIST_PART_LISTITEM_LRT("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon1.right", "elm.padding.bubble.left", "elm.padding.top", - ) - GENLIST_PART_PADDING_R("elm.padding.bubble.left", "elm.bubble") - GENLIST_PART_LIST_BUBBLE_TEXT_RTB("elm.text.4", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.text.3" - ) - - GENLIST_PART_SUBITEM_("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon1.right", "elm.padding.text2.left", "elm.text.1", "elm.padding.bottom", - ) - GENLIST_PART_PADDING_R("elm.padding.text2.left", "elm.text.2") - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom" - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; - target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.bubble"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - GENLIST_PROGRAM_SOUND("elm.text.4") - } - -// 2.2.2.45 - group { GENLIST_NAME("3text.1icon.1/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.icon.right", "elm.padding.right", - "elm.padding.top", "elm.text.2",) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon.right", "elm.text.3", "elm.padding.bottom") - GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.right", "elm.text.1", "elm.padding.bottom") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - GENLIST_PROGRAM_SOUND("elm.text.3") - } - -// 2.2.2.46 - group { GENLIST_NAME("2text.2icon.1/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.icon1.left", - "elm.padding.top", "elm.text.2", - ) - GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.icon2.left") - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.2", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.2.47 - group { GENLIST_NAME("2text.1icon.1/default") - inherit: "elm/genlist/item/2text.1icon.2/default"; - - parts { - GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right") - } - } - -// 2.2.4.1 - group { GENLIST_NAME("multiline/1title.2text/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.title elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - - // FIXME: if textblock is used, part grows to big. - GENLIST_PART_TEXT("elm.title", - GENLIST_DESCRIPTION_L("elm.padding.left", - GENLIST_PARAM_LISTITEM - min: 226 0; - fixed: 1 0; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title") - GENLIST_PART_DIVIDER_L("elm.padding.title.right") - GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") - - GENLIST_PART_TEXTBLOCK("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.divider.right", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_LISTITEM_TB_WRAP - min: 0 90; fixed: 0 1; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP - ) - GENLIST_PART_CENTER_LINE_LRT("elm.divider2", "bg", "elm.text.1") - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION("elm.divider.right", "elm.padding.right", "center_line2", "elm.padding.bottom", - GENLIST_PARAM_LISTITEM_TB_WRAP - min: 0 90; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.title"; target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target:"elm.divider2"; - target: "center_line"; target:"center_line2"; - ) - GENLIST_PROGRAM_SOUND("elm.text.1") - } - -// 2.2.4.2 - group { GENLIST_NAME("multiline/1title.1text/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.title elm.text"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 22 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 22 ) - - // FIXME: if textblock is used, part grows to big. - GENLIST_PART_TEXT("elm.title", - GENLIST_DESCRIPTION_L("elm.padding.left", - GENLIST_PARAM_LISTITEM - min: 226 0; - fixed: 1 0; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_L("elm.padding.title.right", "elm.title") - GENLIST_PART_DIVIDER_L("elm.padding.title.right") - GENLIST_PART_PADDING_L("elm.divider.right", "elm.divider2") - - GENLIST_PART_TEXTBLOCK("elm.text", - GENLIST_DESCRIPTION("elm.divider.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - GENLIST_PARAM_LISTITEM_TB_WRAP - //min: 0 48; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.title"; - target: "elm.text"; - target: "elm.divider1"; target:"elm.divider2"; - ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.2.4.3 - group { GENLIST_NAME("multiline/2text/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_TEXT("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - fixed: 0 1; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP - min: 0 GENLIST_HEIGHT_MULTILINE_SUB; - ) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.2.4.4 - group { GENLIST_NAME("multiline/2text.5icon/default") - // FIXME: deprecated name, wiil be removed - alias: "elm/genlist/item/multiline/2text.1icon/default"; - alias: "elm/genlist/item_odd/multiline/2ext.1icon/default"; - alias: "elm/genlist/item_compress/multiline/2text.1icon/default"; - alias: "elm/genlist/item_compress_odd/multiline/2text.1icon/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 10 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 10 ) - - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon5.left", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 GENLIST_HEIGHT_2LINE_MAIN; ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5") - GENLIST_PART_ICON_STAR_RTB("elm.icon.5", - "elm.icon.4", "elm.padding.top", "elm.text.2") - GENLIST_PART_ICON_STAR_RTB("elm.icon.4", - "elm.icon.3", "elm.padding.top", "elm.text.2") - GENLIST_PART_ICON_STAR_RTB("elm.icon.3", - "elm.icon.2", "elm.padding.top", "elm.text.2") - GENLIST_PART_ICON_STAR_RTB("elm.icon.2", - "elm.icon.1", "elm.padding.top", "elm.text.2") - GENLIST_PART_ICON_STAR_RTB("elm.icon.1", - "elm.padding.right", "elm.padding.top", "elm.text.2") - - - GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 14) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP - min: 0 GENLIST_HEIGHT_MULTILINE_SUB; ) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.4.4.5 - group { GENLIST_NAME("multiline/2text.1icon.2/default") - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_TOP_SIZE( 16 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 16 ) - - GENLIST_PART_ICON_SMALL_LTB("elm.icon", "elm.padding.left", "elm.padding.top", "elm.text.2") - GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon") - GENLIST_PART_LISTITEM("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 GENLIST_HEIGHT_2LINE_MAIN; ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 16) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP - min: 0 GENLIST_HEIGHT_MULTILINE_SUB; ) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -/************************************************************/ -/******************** Dialogue Group ************************/ -/************************************************************/ -// 2.4.3 (Dialogue) - group { GENLIST_NAME("dialogue/editfield/default") - alias: "elm/layout/dialogue/editfield/default"; - inherit: "elm/genlist/item/editfield/default"; - - data.item: "contents" "elm.icon.entry elm.icon.edit"; - - GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.icon.edit";) - } - -// 2.4.3 (Dialogue) - group { GENLIST_NAME("dialogue/editfield/title/default") - alias: "elm/layout/dialogue/editfield/title/default"; - inherit: "elm/genlist/item/editfield/title/default"; - - data.item: "contents" "elm.icon.entry elm.icon.edit"; - - GENLIST_DIALOGUE_EDITFIELD_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.icon.edit";) - } - -// Dialogue Group Separators -// default separator - group { GENLIST_NAME("dialogue/separator/default") - alias: "elm/layout/dialogue/separator"; - - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_SPACER("separator", - description { state: "default" 0.0; - min: 0 32; - max: -1 32; - } - ) - } - } - -// Dialogue Group Separators -// default separator - group { GENLIST_NAME("dialogue/separator.2/default") - alias: "elm/layout/dialogue/separator.2"; - - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_SPACER("separator", - description { state: "default" 0.0; - min: 0 8; - max: -1 8; - } - ) - } - } - - group { GENLIST_NAME("dialogue/1icon/default") - alias: "elm/layout/dialogue/1icon"; - inherit: "elm/genlist/item/1icon/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; ) - } - -// 2.4.1.1 -// 2.5.2.1 (deprecated) - group { GENLIST_NAME("dialogue/1text/default") - alias: "elm/layout/dialogue/1text"; - inherit: "elm/genlist/item/1text/default"; - - // FIXME: temporary alias for back-wrad compatibility - alias: "elm/genlist/item/dialogue/1text/expandable2/default"; - alias: "elm/genlist/item_odd/dialogue/1text/expandable2/default"; - alias: "elm/genlist/item_compress/dialogue/1text/expandable2/default"; - alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable2/default"; - - data.item: "contents" "elm.icon.edit"; - /* - alias: "elm/genlist/item/dialogue.1text/default"; - alias: "elm/genlist/item_odd/dialogue.1text/default"; - alias: "elm/genlist/item_compress/dialogue.1text/default"; - alias: "elm/genlist/item_compress_odd/dialogue.1text/default"; - */ - GENLIST_DIALOGUE_INHERIT_BODY(;) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.4.1.2 - group { GENLIST_NAME("dialogue/1text.1icon/default") - alias: "elm/layout/dialogue/1text.1icon"; - inherit: "elm/genlist/item/1text.1icon.6/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.3 -// 2.5.2.4 (expandable) - group { GENLIST_NAME("dialogue/1text.1icon.2/default") - alias: "elm/layout/dialogue/1text.1icon.2"; - inherit: "elm/genlist/item/1text.1icon.2/default"; - - // FIXME: deprecated, only for backward compatibility - alias: "elm/genlist/item/dialogue/1text.1icon.2/expandable2/default"; - alias: "elm/genlist/item_compress/dialogue/1text.1icon.2/expandable2/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.3.1 (circle) - group { GENLIST_NAME("dialogue/1text.1icon.2.thumb.circle/default") - inherit: "elm/genlist/item/dialogue/1text.1icon.2/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_MEDIUM_DIALOGUE("elm.icon") - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.4.1.3.1 (square) - group { GENLIST_NAME("dialogue/1text.1icon.2.thumb.square/default") - inherit: "elm/genlist/item/dialogue/1text.1icon.2/default"; - - GENLIST_INHERIT_THUMB_SQUARE_MEDIUM_DIALOGUE("elm.icon") - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAMS_THUMB - } - -// 2.4.1.3 (TEXTBLOCK) - group { GENLIST_NAME("dialogue/1text.1icon.2.tb/default") - alias: "elm/layout/dialogue/1text.1icon.2.tb"; - inherit: "elm/genlist/item/1text.1icon.2.tb/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.4 - group { GENLIST_NAME("dialogue/1text.2icon/default") - alias: "elm/layout/dialogue/1text.2icon"; - inherit: "elm/genlist/item/1text.2icon.7/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.1.5 - group { GENLIST_NAME("dialogue/2text.1icon.6/default") - alias: "elm/layout/dialogue/2text.1icon.6"; - inherit: "elm/genlist/item/2text.1icon.6/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - } - -// 2.4.1.5 (textblock) - group { GENLIST_NAME("dialogue/2text.1icon.6.tb/default") - alias: "elm/layout/dialogue/2text.1icon.6.tb"; - inherit: "elm/genlist/item/2text.1icon.tb/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - } - -// 2.4.1.6 -// 2.4.1.15 -// 2.5.2.2 & 2.5.2.3 (expandable) - group { GENLIST_NAME("dialogue/1text.1icon.3/default") - alias: "elm/layout/dialogue/1text.1icon.3"; - inherit: "elm/genlist/item/1text.1icon.3/default"; - - // FIXME: deprecated, only for backward compatibility - alias: "elm/genlist/item/dialogue/1text.1icon/expandable2/default"; - alias: "elm/genlist/item_compress/dialogue/1text.1icon/expandable2/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.6 (textblock) - group { GENLIST_NAME("dialogue/1text.1icon.3.tb/default") - alias: "elm/layout/dialogue/1text.1icon.3.tb"; - inherit: "elm/genlist/item/1text.1icon.3.tb/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.7 -// 2.4.1.11 - group { GENLIST_NAME("dialogue/1text.2icon.2/default") - alias: "elm/layout/dialogue/1text.2icon.2"; - inherit: "elm/genlist/item/1text.2icon.4/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.1.8 - group { GENLIST_NAME("dialogue/1text.3icon/default") - alias: "elm/layout/dialogue/1text.3icon"; - inherit: "elm/genlist/item/1text.3icon.2/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) - } - -// 2.4.1.9 FIME: This style is not needed?? (slide has already 3icons style) - group { GENLIST_NAME("dialogue/3icon/default") - alias: "elm/layout/dialogue/3icon"; - - GENLIST_PROLOG_DIALOGUE - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_ICON_BIG_L("elm.icon.1", "elm.padding.left") - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_LR( - "elm.padding.icon1.right", "elm.padding.icon3.left", - min: 468 GENLIST_HEIGHT_1LINE; ) - ) - GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3") - GENLIST_PART_ICON_BIG_R("elm.icon.3", "elm.padding.right") - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon.1"; target: "elm.icon.2"; - target: "elm.icon.3"; ) - } - -// 2.4.1.9 - group { GENLIST_NAME("dialogue/1text.1icon.5/default") - alias: "elm/layout/dialogue/1text.1icon.5"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP - GENLIST_PART_PADDING_BOTTOM - - GENLIST_PART_SUBITEM_("elm.text", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.icon", - ) - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 74; - fixed: 0 1; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - -// 2.4.1.10 - group { GENLIST_NAME("dialogue/2text.1icon.4/default") - alias: "elm/layout/dialogue/2text.1icon.4"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE(16) - GENLIST_PART_PADDING_BOTTOM_SIZE(16) - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text.2", - "elm.padding.top", "elm.padding.icon.top", - ) - GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.padding.icon.top" - ) - GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.top", "elm.icon", 10) - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 16; - fixed: 0 1; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1"); - GENLIST_PROGRAM_SOUND("elm.text.2"); - } - -// 2.4.1.10 (Textblock) - group { GENLIST_NAME("dialogue/2text.1icon.4.tb/default") - alias: "elm/layout/dialogue/2text.1icon.4.tb"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE(16) - GENLIST_PART_PADDING_BOTTOM_SIZE(16) - - GENLIST_PART_LISTITEM_TB_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text.2", - "elm.padding.top", "elm.padding.icon.top", - ) - GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.right", "elm.padding.top", "elm.padding.icon.top" - ) - GENLIST_PART_PADDING_B_SIZE("elm.padding.icon.top", "elm.icon", 10) - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 16; - fixed: 0 1; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - -// 2.4.1.12 - group { GENLIST_NAME("dialogue/2text.6/default") - alias: "elm/layout/dialogue/2text.6"; - inherit: "elm/genlist/item/2text.5/default"; - - // FIXME: deprecated, will be removed - alias: "elm/genlist/item/dialogue.1title.1text/default"; - alias: "elm/genlist/item_odd/dialogue.1title.1text/default"; - alias: "elm/genlist/item_compress/dialogue.1title.1text/default"; - alias: "elm/genlist/item_compress_odd/dialogue.1title.1text/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - } - -// 2.4.1.13 - group { GENLIST_NAME("dialogue/2text.9/default") - alias: "elm/layout/dialogue/2text.9"; - inherit: "elm/genlist/item/dialogue/2text.6/default"; - - data.item: "contents" "elm.icon.edit"; - - parts { - part { name: "elm.text.1"; - description { state: "default"; - color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR; - } - } - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";) - } - -// 2.4.1.14 - group { GENLIST_NAME("dialogue/2text.4/default") - alias: "elm/layout/dialogue/2text.4"; - inherit: "elm/genlist/item/2text.4/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY(; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target: "elm.divider2"; ) - } - -// 2.4.1.14 (textblcok) - group { GENLIST_NAME("dialogue/2text.4.tb/default") - alias: "elm/layout/dialogue/2text.4.tb"; - inherit: "elm/genlist/item/2text.4.tb/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( - GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 200, GENLIST_HEIGHT_1LINE, - "elm.padding.right") - ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target: "elm.divider2"; ) - } - -// 2.4.1.16 - group { GENLIST_NAME("dialogue/1text.3icon.2/default") - alias: "elm/layout/dialogue/1text.3icon.2"; - inherit: "elm/genlist/item/1text.3icon/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; ) - } - -// 2.4.1.17 - group { GENLIST_NAME("dialogue/1text.1icon.4/default") - alias: "elm/layout/dialogue/1text.1icon.4"; - inherit: "elm/genlist/item/1text.1icon.5/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; - target: "elm.icon"; ) - } - -// 2.4.1.18 - group { GENLIST_NAME("dialogue/2text.5/default") - alias: "elm/layout/dialogue/2text.5"; - inherit: "elm/genlist/item/2text.6/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - } - - -// 2.4.1.19 - group { GENLIST_NAME("dialogue/multiline/1text.1icon/default") - alias: "elm/layout/dialogue/multiline/1text.1icon.flexible"; - inherit: "elm/genlist/item/1text.1icon.3.tb/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( - part { name: "elm.text"; - description { state: "default" 0.0; - text.style: "genlist_style_list_main_text_unread_wrap"; - } - description { state: "selected" 0.0; - text.style: "genlist_style_list_main_text_focus_wrap"; - } - description { state: "disabled" 0.0; - text.style: "genlist_style_list_main_text_unread_dim_wrap"; - } - } - ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.20 - group { GENLIST_NAME("dialogue/1text.1icon.divider/default") - alias: "elm/layout/dialogue/1text.1icon.divider"; - inherit: "elm/genlist/item/1text.1icon.divider/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY(;) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; ) - } - -// 2.4.1.21 - group { GENLIST_NAME("dialogue/1text.2icon.divider/default") - alias: "elm/layout/dialogue/1text.2icon.divider"; - inherit: "elm/genlist/item/1text.2icon.divider/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY(;) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; - target: "elm.divider1"; target: "elm.divider2"; - ) - } - -// 2.4.1.22 - group { GENLIST_NAME("dialogue/1text.2icon.10/default") - alias: "elm/layout/dialogue/1text.2icon.10"; - inherit: "elm/genlist/item/1text.2icon.2/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY(;) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.2.1 - group { GENLIST_NAME("dialogue/2text/default") - alias: "elm/layout/dialogue/2text"; - inherit: "elm/genlist/item/2text.2/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - } - -// 2.4.2.2 - group { GENLIST_NAME("dialogue/2text.2/default") - alias: "elm/layout/dialogue/2text.2"; - inherit: "elm/genlist/item/2text.3/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - } - -// 2.4.2.3 - group { GENLIST_NAME("dialogue/2text.3/default") - alias: "elm/layout/dialogue/2text.3"; - inherit: "elm/genlist/item/2text.7/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - } - -// 2.4.2.4 - group { GENLIST_NAME("dialogue/2text.1icon.2/default") - alias: "elm/layout/dialogue/2text.1icon.2"; - inherit: "elm/genlist/item/2text.1icon.4/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - -// 2.4.2.5 - group { GENLIST_NAME("dialogue/2text.1icon.3/default") - alias: "elm/layout/dialogue/2text.1icon.3"; - inherit: "elm/genlist/item/2text.1icon.8/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - } - -// 2.4.2.6 - group { GENLIST_NAME("dialogue/2text.3icon/default") - alias: "elm/layout/dialogue/2text.3icon"; - inherit: "elm/genlist/item/2text.2icon.8/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.swallow.colorbar elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( - GENLIST_PART_COLORBAR_DIALOGUE - GENLIST_PART_ICON_BIG_R("elm.icon.2", "elm.padding.right") - ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.colorbar"; ) - } - -// 2.4.2.7 - group { GENLIST_NAME("dialogue/2text.2icon/default") - alias: "elm/layout/dialogue/2text.2icon"; - inherit: "elm/genlist/item/2text.2icon.5/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( - GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom",) - ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.2.8 - group { GENLIST_NAME("dialogue/2text.2icon.2/default") - alias: "elm/layout/dialogue/2text.2icon.2"; - inherit: "elm/genlist/item/2text.2icon.6/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.2.9 - group { GENLIST_NAME("dialogue/2text.2icon.3/default") - alias: "elm/layout/dialogue/2text.2icon.3"; - inherit: "elm/genlist/item/2text.2icon.4/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.2.9 (TEXTBLOCK) - group { GENLIST_NAME("dialogue/2text.2icon.3.tb/default") - alias: "elm/layout/dialogue/2text.2icon.3.tb"; - inherit: "elm/genlist/item/2text.2icon.4.tb/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - } - -// 2.4.2.10 - group { GENLIST_NAME("dialogue/2text.1icon.5/default") - alias: "elm/layout/dialogue/2text.1icon.5"; - inherit: "elm/genlist/item/2text.1icon.5/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - - -// 2.4.2.11 - group { GENLIST_NAME("dialogue/multiline/1title.1text/default") - alias: "elm/layout/dialogue/multiline/1title.1text/default"; - inherit: "elm/genlist/item/multiline/1title.1text/default"; - - // FIXME: deprecated name, will be removed - alias: "elm/genlist/item/dialogue/1title.1text.2/default"; - alias: "elm/genlist/item_odd/dialogue/1title.1text.2/default"; - alias: "elm/genlist/item_compress/dialogue/1title.1text.2/default"; - alias: "elm/genlist/item_compress_odd/dialogue/1title.1text.2/default"; - alias: "elm/layout/dialogue/1title.1text.2/default"; - - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; - target: "elm.text"; - target: "elm.divider1"; target:"elm.divider2"; ) - } - -// 2.4.2.12 - group { GENLIST_NAME("dialogue/multiline/1title.2text/default") - alias: "elm/layout/dialogue/multiline/1title.2text/default"; - inherit: "elm/genlist/item/multiline/1title.2text/default"; - - data.item: "contents" "elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - parts { - GENLIST_PART_CENTER_LINE_LRT("elm.divider2", "bg_dialogue", "elm.text.1") - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.title"; - target: "elm.text.1"; target: "elm.text.2"; - target: "elm.divider1"; target:"elm.divider2"; - target: "center_line"; target:"center_line2";) - } - -#define GENLIST_PART_PASSWORD_RTB(NAME, BG_NAME, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_IMAGE(BG_NAME, \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \ - GENLIST_PARAM_PASSWORD_IMAGE \ - fixed: 1 0; \ - ) \ - ) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_ENVELOP(BG_NAME, \ - rel1.offset: 1 1; \ - rel2.offset: -1 -1; \ - ) \ - ) - -#define GENLIST_PART_PASSWORD_LTB(NAME, BG_NAME, LEFT, TOP, BOTTOM) \ - GENLIST_PART_IMAGE(BG_NAME, \ - mouse_events: 0; \ - GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \ - GENLIST_PARAM_PASSWORD_IMAGE \ - fixed: 1 0; \ - ) \ - ) \ - GENLIST_PART_ICON(NAME, \ - GENLIST_DESCRIPTION_ENVELOP(BG_NAME, \ - rel1.offset: 1 1; \ - rel2.offset: -1 -1; \ - ) \ - ) - -//2.4.2.13 (password style) - group { GENLIST_NAME("dialogue/1text.4icon/default") - alias: "elm/layout/dialogue/4icon"; - - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4"; - - images { - image : "00_search_edit_field_bg.png" COMP; - } - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT) - GENLIST_PART_PADDING_RIGHT_SIZE(DIALOGUE_PADDING_SIZE_RIGHT) - GENLIST_PART_PADDING_TOP_SIZE(22) - GENLIST_PART_PADDING_BOTTOM_SIZE(18) - GENLIST_PART_TEXT( "elm.text", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - fixed: 0 1; - min: 0 42; - GENLIST_PARAM_PASSWORD_TITLE - ) - ) - GENLIST_PART_PADDING_T_SIZE("elm.padding.text.bottom", "elm.text", 18); - - GENLIST_PART_PASSWORD_RTB("elm.icon.1", "elm.icon.1.bg", - "elm.padding.1", "elm.padding.text.bottom", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_R_SIZE("elm.padding.1", "elm.icon.2.bg", 22) - GENLIST_PART_PASSWORD_RTB("elm.icon.2", "elm.icon.2.bg", - "elm.padding.center", "elm.padding.text.bottom", "elm.padding.bottom" - ) - GENLIST_PART_SPACER("elm.padding.center", - description { state: "default" 0.0.; - min: 22 0; - max: 22 0; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - relative: 0.5 0; - } - rel2 { - relative: 0.5 1; - } - } - ) - GENLIST_PART_PASSWORD_LTB("elm.icon.3", "elm.icon.3.bg", - "elm.padding.center", "elm.padding.text.bottom", "elm.padding.bottom" - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.2", "elm.icon.3.bg", 22) - GENLIST_PART_PASSWORD_LTB("elm.icon.4", "elm.icon.4.bg", - "elm.padding.2", "elm.padding.text.bottom", "elm.padding.bottom" - ) - } - programs { - GENLIST_PROGRAM_DISABLED( target: "elm.text"; ) - GENLIST_PROGRAM_SOUND("elm.text") - } - } - -// 2.4.2.14 - group { GENLIST_NAME("dialogue/2text.2icon.4/default") - alias: "elm/layout/dialogue/2text.2icon.4"; - inherit: "elm/genlist/item/2text.2icon/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2";) - } - -// 2.4.2.15 - group { GENLIST_NAME("dialogue/2text.1icon.10/default") - alias: "elm/layout/dialogue/2text.1icon.10"; - inherit: "elm/genlist/item/2text.1icon.divider/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( - GENLIST_PART_SUBITEM_SETTINGS_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom",) - part { name: "elm.divider1"; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "elm.divider2"; - description { state: "default" 0.0; - visible: 0; - } - } - ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - - -// 2.4.2.15 (textblock) - group { GENLIST_NAME("dialogue/2text.1icon.10.tb/default") - alias: "elm/layout/dialogue/2text.1icon.10.tb"; - inherit: "elm/genlist/item/2text.1icon.7.tb/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - -// 2.4.2.16 - group { GENLIST_NAME("dialogue/2text.1icon.7/default") - alias: "elm/layout/dialogue/2text.1icon.12"; - inherit: "elm/genlist/item/2text.1icon.12/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) - } - - -// 2.4.2.17 - group { GENLIST_NAME("dialogue/2text.1icon.8/default") - alias: "elm/layout/dialogue/2text.1icon.8"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_SUBITEM_LRT("elm.text.2", GENLIST_HEIGHT_2LINE_SUB, - "elm.padding.left", "elm.padding.right", "elm.padding.top") - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.text2.limit", - "elm.text.2", "elm.padding.bottom", - align: 0 0.5; text.max: 1 0; // This limits text growing. - ) - GENLIST_PART_PADDING_L("elm.padding.text1.right", "elm.text.1") - GENLIST_PART_ICON_SMALL_LTB("elm.icon", - "elm.padding.text1.right", "elm.text.2", "elm.padding.bottom") - // Virtual part for Maxmimum right X axis of text.2 - GENLIST_PART_SPACER("elm.text2.limit", - GENLIST_DESCRIPTION_R("elm.padding.right", - min: (GENLIST_ICON_SMALL_SIZE+GENLIST_PADDING_SIZE_DEFAULT) 0; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; - target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.4.2.18 - group { GENLIST_NAME("dialogue/multiline/2text/default") - alias: "elm/layout/dialogue/multiline/2text/default"; - - // FIXME: deprecated name, will be removed - alias: "elm/genlist/item/multiline/dialogue/2text/default"; - alias: "elm/genlist/item_odd/multiline/dialogue/2text/default"; - alias: "elm/genlist/item_compress/multiline/dialogue/2text/default"; - alias: "elm/genlist/item_compress_odd/multiline/dialogue/2text/default"; - alias: "elm/layout/multiline/dialogue/2text/default"; - - GENLIST_PROLOG_NORMAL - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.edit"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - GENLIST_PART_TEXT("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 GENLIST_HEIGHT_2LINE_MAIN; - fixed: 0 1; - ) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 4) - GENLIST_PART_TEXTBLOCK("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT_TB_WRAP - min: 0 GENLIST_HEIGHT_MULTILINE_SUB; - ) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.4.2.19 - group { GENLIST_NAME("dialogue/2text.1icon.15/default") - alias: "elm/layout/dialogue/2text.1icon.15/default"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_2LINE - GENLIST_PART_PADDING_BOTTOM_2LINE - - GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN, - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.icon", - ) - GENLIST_PART_ICON_SMALL_LB("elm.icon", - "elm.padding.left", "elm.padding.bottom") - GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon") - GENLIST_PART_TEXT("elm.text.2", - GENLIST_DESCRIPTION("elm.icon.right", "elm.padding.right", "elm.text.1", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_SETTINGS - min: 0 GENLIST_HEIGHT_2LINE_SUB; - fixed: 0 1; - ) - GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - GENLIST_PROGRAM_SOUND("elm.text.1") - GENLIST_PROGRAM_SOUND("elm.text.2") - } - -// 2.4.2.20 - group { GENLIST_NAME("dialogue/2text.1icon.divider/default") - alias: "elm/layout/dialogue/2text.1icon.divider/default"; - inherit: "elm/genlist/item/2text.1icon.divider/default"; - - data.item: "contents" "elm.icon elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - } - -// 2.4.2.21 -// FIXME: Why name is 3text ?? it's 2text - group { GENLIST_NAME("dialogue/3text.2icon/default") - alias: "elm/layout/dialogue/3text.2icon/default"; - inherit: "elm/genlist/item/2text.2icon/default"; - - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - GENLIST_DIALOGUE_INHERIT_BODY( ; ) - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.4.1 group title - group { GENLIST_NAME("dialogue/grouptitle/default") - alias: "elm/layout/dialogue/grouptitle"; - - // FIXME: deprecated name, will be removed - alias : "elm/genlist/item/dialogue/title/default"; - alias: "elm/genlist/item_odd/dialogue/title/default"; - alias: "elm/genlist/item_compress/dialogue/title/default"; - alias: "elm/genlist/item_compress_odd/dialogue/title/default"; - alias: "elm/layout/dialogue/title"; - - GENLIST_PROLOG - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_SIZE( 26 ) - - GENLIST_PART_PADDING_R("elm.padding.icon.right", "elm.icon"); - GENLIST_PART_TEXT("elm.text", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.icon.right", - "elm.padding.top", "elm.padding.bottom", - GENLIST_PARAM_DIALOGUE_GROUP_TITLE - min: 0 GENLIST_HEIGHT_GROUPTITLE; - ) - ) - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_RTB("elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - max: 32 32; - fixed: 1 0; - ) - ) - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "elm.icon"; ) - GENLIST_PROGRAM_FOCUS_NORMAL - } - -// 2.4.4.2 Help Text - group { GENLIST_NAME("multiline/1text/default"); - alias: "elm/layout/multiline/1text/default"; - - // FIXME: name is not correct... - alias: "elm/layout/dialogue/multiline/1text/default"; - - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - - parts { - GENLIST_PART_BASE - GENLIST_PART_BG_NORMAL - GENLIST_PART_PADDING_LEFT_SIZE(38) - GENLIST_PART_PADDING_RIGHT_SIZE(38) - GENLIST_PART_PADDING_TOP_SIZE(0) - GENLIST_PART_PADDING_BOTTOM_SIZE(0) - - GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT("elm.text", - "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 38; - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_NORMAL - } - GENLIST_PROGRAM_DISABLED( target: "elm.text"; ) - GENLIST_PROGRAM_FOCUS - } - -// 2.4.4.3 - group { GENLIST_NAME("dialogue/bg/2text.1icon/default") - alias: "elm/layout/dialogue/bg/2text.1icon/default"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE(19) - GENLIST_PART_PADDING_BOTTOM_SIZE(19) - - GENLIST_PART_TEXT("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 57; fixed:1 1;) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_TEXT("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.icon.left", "elm.text.1", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT - min: 0 45;) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS - ) - - GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon") - GENLIST_PART_ICON("elm.icon", - GENLIST_DESCRIPTION_R("elm.padding.right", - min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; ) - } - -// 2.4.4.4 - group { GENLIST_NAME("dialogue/bg/3text.2icon/default") - alias: "elm/layout/dialogue/bg/3text.2icon/default"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE(19) - GENLIST_PART_PADDING_BOTTOM_SIZE(19) - - GENLIST_PART_TEXT("elm.text.1", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.icon1.left", "elm.padding.top", - GENLIST_PARAM_LISTITEM - min: 0 57; fixed:1 1;) - GENLIST_DESCRIPTION_LISTITEM_OTHERS - ) - GENLIST_PART_PADDING_T_SIZE("elm.padding.text1.bottom", "elm.text.1", 4) - GENLIST_PART_TEXT("elm.text.2", - GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.icon1.left", "elm.padding.text1.bottom", "elm.text.3", - GENLIST_PARAM_SUBITEM_DEFAULT - min: 0 38;) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS - ) - GENLIST_PART_TEXT("elm.text.3", - GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.icon1.left", "elm.padding.bottom", - GENLIST_PARAM_SUBITEM_DEFAULT - min: 0 38; fixed: 1 1; ) - GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS - ) - - GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1") - GENLIST_PART_ICON_BTN_02_RTB("elm.icon.1", "elm.padding.icon2.left", "elm.padding.top", "elm.padding.bottom") - GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2") - GENLIST_PART_ICON("elm.icon.2", - GENLIST_DESCRIPTION_R("elm.padding.right", - min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - ) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon.1"; target: "elm.icon.2"; ) - } - -// 2.4.4.5 - group { GENLIST_NAME("dialogue/bg/5text.6icon/default") - alias: "elm/layout/dialogue/bg/5text.6icon/default"; - - GENLIST_PROLOG_DIALOGUE - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6 elm.icon.edit"; - - parts { - GENLIST_PART_BG_DIALOGUE - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT ) - GENLIST_PART_PADDING_RIGHT_EDIT - GENLIST_PART_PADDING_TOP_SIZE(13) - GENLIST_PART_PADDING_BOTTOM_SIZE(13) - - GENLIST_PART_ICON("elm.icon.1", - GENLIST_DESCRIPTION_L("elm.padding.left", - min: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - max: GENLIST_ICON_LARGE_SIZE GENLIST_ICON_LARGE_SIZE; - fixed: 1 1; - ) - ) - GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1") - GENLIST_PART_TEXT("elm.text.1", GENLIST_DESCRIPTION_LRT( - "elm.padding.icon1.right", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_APPS_NAME - min: 0 32; fixed: 0 1;) - ) - GENLIST_PART_TEXT("elm.text.2", GENLIST_DESCRIPTION_LRT( - "elm.padding.icon1.right", "elm.padding.right", "elm.text.1", - GENLIST_PARAM_APPS_INC - min: 0 32; fixed: 0 1;) - ) - - GENLIST_PART_ICON("elm.icon.2", GENLIST_DESCRIPTION_LTB( - "elm.padding.icon1.right", "elm.text.2", "elm.text.4", - min: 38 38; fixed: 1 1;) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon2.right", "elm.icon.2", 2) - GENLIST_PART_ICON("elm.icon.3", GENLIST_DESCRIPTION_LTB( - "elm.padding.icon2.right", "elm.text.2", "elm.text.4", - min: 38 38; fixed: 1 1;) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon3.right", "elm.icon.3", 2) - GENLIST_PART_ICON("elm.icon.4", GENLIST_DESCRIPTION_LTB( - "elm.padding.icon3.right", "elm.text.2", "elm.text.4", - min: 38 38; fixed: 1 1;) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon4.right", "elm.icon.4", 2) - GENLIST_PART_ICON("elm.icon.5", GENLIST_DESCRIPTION_LTB( - "elm.padding.icon4.right", "elm.text.2", "elm.text.4", - min: 38 38; fixed: 1 1;) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon5.right", "elm.icon.5", 2) - GENLIST_PART_ICON("elm.icon.6", GENLIST_DESCRIPTION_LTB( - "elm.padding.icon5.right", "elm.text.2", "elm.text.4", - min: 38 38; fixed: 1 1;) - ) - GENLIST_PART_PADDING_L_SIZE("elm.padding.icon6.right", "elm.icon.6", 12) - GENLIST_PART_TEXT("elm.text.3", GENLIST_DESCRIPTION( - "elm.padding.icon6.right", "elm.padding.right", "elm.text.2", "elm.text.4", - GENLIST_PARAM_APPS_RATING - min :0 38;) - ) - - GENLIST_PART_TEXT("elm.text.4", GENLIST_DESCRIPTION_LB( - "elm.padding.icon1.right", "elm.padding.bottom", - GENLIST_PARAM_APPS_PRICE - min: 0 32; fixed: 0 1; - rel2.to_x: "base"; rel2.relative: 0.5 0; text.max: 1 0;/* This limits text growing. */ ) - ) - GENLIST_PART_PADDING_L("elm.padding.text4.right", "elm.text.4") - GENLIST_PART_TEXT("elm.text.5", GENLIST_DESCRIPTION_LRB( - "elm.padding.text4.right", "elm.padding.right", "elm.padding.bottom", - GENLIST_PARAM_APPS_PRICE_SALE - min: 0 32; fixed: 0 1;) - ) - GENLIST_PART_FLIP - GENLIST_PART_FOCUS_DIALOGUE - } - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; target: "elm.text.5"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; ) - } - -// 2.4.4.5.1 (Circle) - group { GENLIST_NAME("dialogue/bg/5text.6icon.thumb.circle/default") - inherit: "elm/genlist/item/dialogue/bg/5text.6icon/default"; - - GENLIST_INHERIT_THUMB_CIRCLE_LARGE_DIALOGUE("elm.icon.1") - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; target: "elm.text.5"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; - ) - GENLIST_PROGRAMS_THUMB - } - -// 2.4.4.5.1 (Square) - group { GENLIST_NAME("dialogue/bg/5text.6icon.thumb.square/default") - inherit: "elm/genlist/item/dialogue/bg/5text.6icon/default"; - - GENLIST_INHERIT_THUMB_SQUARE_LARGE_DIALOGUE("elm.icon.1") - GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4"; target: "elm.text.5"; - target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; - ) - GENLIST_PROGRAMS_THUMB - } - -// ---------------------------------------------------------------------- -// Pop Up Style --------------------------------------------------------- -// ---------------------------------------------------------------------- -GENLIST_POPUP_STYLE("default") -GENLIST_POPUP_STYLE("editfield") -GENLIST_POPUP_STYLE("editfield/title") -GENLIST_POPUP_STYLE("1icon") -GENLIST_POPUP_STYLE("1icon/with_no_line") -GENLIST_POPUP_STYLE("1icon/no_padding") -GENLIST_POPUP_STYLE("1icon/no_padding_line") -GENLIST_POPUP_STYLE("1text") -GENLIST_POPUP_STYLE("1text.tb") -GENLIST_POPUP_STYLE("2text") -GENLIST_POPUP_STYLE("1text.1icon") -GENLIST_POPUP_STYLE("1text.1icon.6") -GENLIST_POPUP_STYLE("1text.1icon.7") -GENLIST_POPUP_STYLE("1text.1icon.5") -GENLIST_POPUP_STYLE("1text.1icon.5.thumb.circle") -GENLIST_POPUP_STYLE("1text.1icon.5.thumb.square") -GENLIST_POPUP_STYLE("1text.2icon.3") -GENLIST_POPUP_STYLE("1text.2icon.3.tb") -GENLIST_POPUP_STYLE("1text.1icon.2") -GENLIST_POPUP_STYLE("1text.1icon.2.tb") -GENLIST_POPUP_STYLE("2text.1icon") -GENLIST_POPUP_STYLE("2text.1icon.tb") -GENLIST_POPUP_STYLE("1text.2icon") -GENLIST_POPUP_STYLE("1text.2icon.tb") -GENLIST_POPUP_STYLE("1text.2icon.6") -GENLIST_POPUP_STYLE("1text.2icon.6.tb") -GENLIST_POPUP_STYLE("1text.1icon.3") -GENLIST_POPUP_STYLE("1text.1icon.3.tb") -GENLIST_POPUP_STYLE("1text.2icon.4") -GENLIST_POPUP_STYLE("1text.2icon.2") -GENLIST_POPUP_STYLE("1text.3icon") -GENLIST_POPUP_STYLE("1text.2icon.9") -GENLIST_POPUP_STYLE("1text.3icon.2") -GENLIST_POPUP_STYLE("2text.1icon.divider") -GENLIST_POPUP_STYLE("1text.2icon.divider") -GENLIST_POPUP_STYLE("2text.2") -GENLIST_POPUP_STYLE("2text.2.tb") -GENLIST_POPUP_STYLE("2text.3") -GENLIST_POPUP_STYLE("3text") -GENLIST_POPUP_STYLE("3text.tb") -GENLIST_POPUP_STYLE("2text.1icon.2") -GENLIST_POPUP_STYLE("2text.1icon.2.tb") -GENLIST_POPUP_STYLE("2text.1icon.10") -GENLIST_POPUP_STYLE("2text.1icon.10.tb") -GENLIST_POPUP_STYLE("3text.1icon") -GENLIST_POPUP_STYLE("3text.1icon.tb") -GENLIST_POPUP_STYLE("2text.2icon") -GENLIST_POPUP_STYLE("2text.1icon.4") -GENLIST_POPUP_STYLE("2text.1icon.4.thumb.circle") -GENLIST_POPUP_STYLE("2text.1icon.4.thumb.square") -GENLIST_POPUP_STYLE("2text.1icon.4.tb") -GENLIST_POPUP_STYLE("3text.1icon.2") -GENLIST_POPUP_STYLE("2text.2icon.4") -GENLIST_POPUP_STYLE("2text.2icon.4.tb") -GENLIST_POPUP_STYLE("2text.2icon.6") -GENLIST_POPUP_STYLE("2text.2icon.6.tb") -GENLIST_POPUP_STYLE("2text.2icon.8") -GENLIST_POPUP_STYLE("2text.2icon.8.tb") -GENLIST_POPUP_STYLE("2text.2icon.progress") -GENLIST_POPUP_STYLE("3text.3icon.progress") -GENLIST_POPUP_STYLE("2text.1icon.12") -GENLIST_POPUP_STYLE("2text.1icon.12.tb") -GENLIST_POPUP_STYLE("2text.1icon.7") -GENLIST_POPUP_STYLE("2text.2icon.5") -GENLIST_POPUP_STYLE("2text.3icon.4") -GENLIST_POPUP_STYLE("4text.1icon.1") -GENLIST_POPUP_STYLE("4text.1icon.1.tb") -GENLIST_POPUP_STYLE("4text.1icon.2") -GENLIST_POPUP_STYLE("4text.1icon.2.tb") -GENLIST_POPUP_STYLE("4text.1") -GENLIST_POPUP_STYLE("4text.1.tb") -GENLIST_POPUP_STYLE("4text.2") -GENLIST_POPUP_STYLE("3text.1icon.3") -GENLIST_POPUP_STYLE("3text.1icon.3.tb") -GENLIST_POPUP_STYLE("4text.1icon.3") -GENLIST_POPUP_STYLE("3text.1icon.1") -GENLIST_POPUP_STYLE("2text.2icon.1") -GENLIST_POPUP_STYLE("2text.1icon.1") diff --git a/mobile/themes/widgets/genlist/genlist_sweep.edc b/mobile/themes/widgets/genlist/genlist_sweep.edc deleted file mode 100644 index d258068..0000000 --- a/mobile/themes/widgets/genlist/genlist_sweep.edc +++ /dev/null @@ -1,1259 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 -*/ -// 2.2.5.1 - group { name: "elm/genlist/item/mode/slide/default"; - alias: "elm/genlist/item_odd/mode/slide/default"; - alias: "elm/genlist/item_compress/mode/slide/default"; - alias: "elm/genlist/item_compress_odd/mode/slide/default"; - - GENLIST_PROLOG - - data.item: "contents" "elm.slide.swallow.1"; - data.item: "mode_part" "elm.swallow.origin"; - - parts { - GENLIST_PART_RECT("bg_sweep", - description { state: "default" 0.0; - color: 28 30 40 255; - } - ) - GENLIST_PART_BASE - GENLIST_PART_PADDING_LEFT - GENLIST_PART_PADDING_RIGHT - GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 171) - GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 171) - - GENLIST_PART_ICON("elm.slide.swallow.1", - GENLIST_DESCRIPTION_LR("elm.padding.btn.left", "elm.padding.btn.right", - min: 326 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_RECT("overlay", - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 128; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - ) - /* - GENLIST_PART_RECT("elm.shadow.left", - description { state: "default" 0.0; - rel1 { - to: "elm.swallow.origin"; - relative: 0 0; - } - rel2 { - to: "elm.swallow.origin"; - relative: 0 1; - } - align: 1 0.5; - min: 20 0; - color: 0 0 0 128; - } - ) - */ - // Swallow part for original genlist item - GENLIST_PART_ICON("elm.swallow.origin";, - GENLIST_DESCRIPTION_ENVELOP("base", ) - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 1 0; - to: "base"; - } - rel2 { - relative: 2 1; - to: "base"; - } - } - ) - GENLIST_PART_FOCUS - } - programs { - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: PLAY_SAMPLE "sweep_sound" 1.0; - after: "animate_slide_right"; - } - program { - name: "animate_slide_right"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - target: "overlay"; - transition: ACCELERATE 0.5; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: PLAY_SAMPLE "sweep_sound" 1.0; - after: "animate_slide_left"; - } - program { - name: "animate_slide_left"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - target: "overlay"; - transition: DECELERATE 0.5; - after: "signal"; - } - program { - name: "signal"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - GENLIST_PROGRAM_FOCUS - } - } - -// 2.2.5.2 - group { name: "elm/genlist/item/mode/slide2/default"; - alias: "elm/genlist/item_odd/mode/slide2/default"; - alias: "elm/genlist/item_compress/mode/slide2/default"; - alias: "elm/genlist/item_compress_odd/mode/slide2/default"; - inherit: "elm/genlist/item/mode/slide/default"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2"; - parts { - GENLIST_PART_PADDING_L_SIZE("elm.padding.btn.left", "elm.padding.left", 0) - GENLIST_PART_PADDING_R_SIZE("elm.padding.btn.right", "elm.padding.right", 0) - GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1) - part { name: "base"; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_MIN_SLIDE2_BASE_WIDTH 0; - } - } - GENLIST_PART_ICON("elm.slide.swallow.1", - GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.2", - insert_before: "elm.slide.swallow.1"; - GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.right", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - } - } - -#define GENLIST_PART_PADDING_TO( NAME, SIZE, TO, ALIGN, REL1, REL2 ) \ - GENLIST_PART_SPACER(NAME, \ - description { state: "default" 0.0; \ - min: SIZE 0; \ - max: SIZE -1; \ - fixed: 1 0; \ - align: ALIGN; \ - rel1 { \ - relative: REL1; \ - to: TO; \ - } \ - rel2 { \ - relative: REL2; \ - to: TO; \ - } \ - } \ - ) - -// 2.2.5.3 - group { name: "elm/genlist/item/mode/slide3/default"; - alias: "elm/genlist/item_odd/mode/slide3/default"; - alias: "elm/genlist/item_compress/mode/slide3/default"; - alias: "elm/genlist/item_compress_odd/mode/slide3/default"; - inherit: "elm/genlist/item/mode/slide2/default"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3"; - parts { - part { name: "base"; - description { state: "default" 0.0; - min: GENLIST_MIN_SLIDE3_BASE_WIDTH 0; - } - } - GENLIST_PART_SPACER("dummy", - GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.right", ) - ) - GENLIST_PART_PADDING_TO("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.666 0.5, 0.333 0, 0.333 1) - GENLIST_PART_PADDING_TO("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.333 0.5, 0.666 0, 0.666 1) - GENLIST_PART_ICON("elm.slide.swallow.1", - GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.2", - GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.3", - insert_before: "elm.slide.swallow.2"; - GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.right", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - } - } -// 2.2.5.4 - group { name: "elm/genlist/item/mode/slide4/default"; - alias: "elm/genlist/item_odd/mode/slide4/default"; - alias: "elm/genlist/item_compress/mode/slide4/default"; - alias: "elm/genlist/item_compress_odd/mode/slide4/default"; - inherit: "elm/genlist/item/mode/slide3/default"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4"; - parts { - part { name: "base"; - description { state: "default" 0.0; - min: GENLIST_MIN_SLIDE4_BASE_WIDTH 0; - } - } - GENLIST_PART_PADDING_TO("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.75 0.5, 0.25 0, 0.25 1) - GENLIST_PART_PADDING_TO("elm.padding.center1", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.50 0.5, 0.5 0, 0.5 1) - GENLIST_PART_PADDING_TO("elm.padding.center2", GENLIST_PADDING_SIZE_DEFAULT, "dummy", 0.25 0.5, 0.75 0, 0.75 1) - GENLIST_PART_ICON("elm.slide.swallow.1", - GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.padding.center", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.2", - GENLIST_DESCRIPTION_LR("elm.padding.center", "elm.padding.center1", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.3", - GENLIST_DESCRIPTION_LR("elm.padding.center1", "elm.padding.center2", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - GENLIST_PART_ICON("elm.slide.swallow.4", - insert_before: "elm.slide.swallow.3"; - GENLIST_DESCRIPTION_LR("elm.padding.center2", "elm.padding.right", - min: 0 GENLIST_BTN_01_HEIGHT; - max: -1 GENLIST_BTN_01_HEIGHT; ) - ) - } - } - -#if 0 -// ---------------------------------------- Belows are not used anymore ?? ------------------------------------------------------ - group { name: "elm/genlist/item/mode/slide.1text/default"; - alias: "elm/genlist/item_odd/mode/slide.1text/default"; - alias: "elm/genlist/item_compress/mode/slide.1text/default"; - alias: "elm/genlist/item_compress_odd/mode/slide.1text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.slide.text.1"; - data.item: "contents" "elm.slide.swallow.1"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "GENLIST_TREESIZE_DEFAULT"; - - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_HEIGHT_1LINE; - color: GENLIST_SWEEP_BG_COLOR_INC; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_16_INC 0; - fixed: 1 0; - visible: 0; - rel1.to: "base"; - rel2 { - relative: 0 1; - to: "base"; - } - } - } - part { name: "base.padding.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1 0; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.bottom"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_PADDING_6_INC; - fixed: 0 1; - visible: 0; - align: 0.5 1; - rel1 { - relative: 0 1; - to: "base"; - } - rel2 { - relative: 1 1; - to: "base"; - } - } - } - part { name: "elm.slide.text.1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_45_INC; - fixed: 0 1; - align: 0.5 0; - rel1 { - relative: 1 0; - to_x: "base.padding.left"; - to_y: "base"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.right"; - to_y: "base"; - } - color: GENLIST_TEXT_COLOR_SWEEP_STYLE; - text { - font: "Tizen:style=Roman"; - size: GENLIST_FONT_32_INC; - min: 0 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - part { name: "elm.slide.swallow.1"; - type: SWALLOW; - description { state: "default" 0.0; - min: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC; - max: GENLIST_SIZE_390_INC GENLIST_SIZE_SLIDE_60_INC; - fixed: 1 1; - rel1 { - relative: 0.5 1; - to_x: "base"; - to_y: "elm.slide.text.1"; - } - rel2 { - relative: 0.5 0; - to_x: "base"; - to_y: "base.padding.bottom"; - } - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - // Swallow part for original genlist item style - part { name: "elm.swallow.origin"; - type: SWALLOW; - description { state: "default" 0.0; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - } - } - - group { name: "elm/genlist/item/mode/slide2.text/default"; - alias: "elm/genlist/item_odd/mode/slide2.text/default"; - alias: "elm/genlist/item_compress/mode/slide2.text/default"; - alias: "elm/genlist/item_compress_odd/mode/slide2.text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.slide.text.1"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "GENLIST_TREESIZE_DEFAULT"; - - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_HEIGHT_129_INC; - color: GENLIST_SWEEP_BG_COLOR_INC; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1.to: "base"; - rel2 { - relative: 0 1; - to: "base"; - } - } - } - part { name: "base.padding.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1 0; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.bottom"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_PADDING_11_INC; - fixed: 0 1; - visible: 0; - align: 0.5 1; - rel1 { - relative: 0 1; - to: "base"; - } - rel2 { - relative: 1 1; - to: "base"; - } - } - } - part { name: "elm.slide.text.1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_56_INC; - fixed: 0 1; - align: 0.5 0; - rel1 { - relative: 1 0; - to_x: "base.padding.left"; - to_y: "base"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.right"; - to_y: "base"; - } - color: GENLIST_TEXT_COLOR_SWEEP_STYLE; - text { - font: "Tizen:style=Roman"; - size: GENLIST_FONT_32_INC; - min: 0 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - part { name: "base.padding.center"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - align: 0.5 0.5; - rel1 { - relative: 0.5 0; - to: "base"; - } - rel2 { - relative: 0.5 1; - to: "base"; - } - } - } - part { name: "elm.slide.swallow.1"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 1 1; - to_x: "base.padding.left"; - to_y: "elm.slide.text.1"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.center"; - to_y: "base.padding.bottom"; - } - } - } - part { name: "elm.slide.swallow.2"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 1 1; - to_x: "base.padding.center"; - to_y: "elm.slide.text.1"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.right"; - to_y: "base.padding.bottom"; - } - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - // Swallow part for original genlist item style - part { name: "elm.swallow.origin"; - type: SWALLOW; - description { state: "default" 0.0; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - } - } - - group { name: "elm/genlist/item/mode/slide3.text/default"; - alias: "elm/genlist/item_odd/mode/slide3.text/default"; - alias: "elm/genlist/item_compress/mode/slide3.text/default"; - alias: "elm/genlist/item_compress_odd/mode/slide3.text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.slide.text.1"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "GENLIST_TREESIZE_DEFAULT"; - - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_HEIGHT_1LINE; - color: GENLIST_SWEEP_BG_COLOR_INC; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1.to: "base"; - rel2 { - relative: 0 1; - to: "base"; - } - } - } - part { name: "base.padding.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1 0; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.bottom"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_PADDING_6_INC; - fixed: 0 1; - visible: 0; - align: 0.5 1; - rel1 { - relative: 0 1; - to: "base"; - } - rel2 { - relative: 1 1; - to: "base"; - } - } - } - part { name: "elm.slide.text.1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_LIST_MAIN_TEXT_SIZE; - fixed: 0 1; - align: 0.5 0; - rel1 { - relative: 1 0; - to_x: "base.padding.left"; - to_y: "base"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.right"; - to_y: "base"; - } - color: GENLIST_TEXT_COLOR_SWEEP_STYLE; - text { - font: "Tizen:style=Roman"; - size: GENLIST_FONT_32_INC; - min: 0 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - part { name: "elm.slide.swallow.2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_220_INC 0; - fixed: 1 0; - rel1 { - relative: 0.5 1; - to_x: "base"; - to_y: "elm.slide.text.1"; - } - rel2 { - relative: 0.5 0; - to_x: "base"; - to_y: "base.padding.bottom"; - } - } - } - part { name: "elm.padding.swallow.2.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - align: 1 0.5; - visible: 0; - rel1.to: "elm.slide.swallow.2"; - rel2 { - relative: 0 1; - to: "elm.slide.swallow.2"; - } - } - } - part { name: "elm.slide.swallow.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_220_INC 0; - fixed: 1 0; - align: 1 0.5; - rel1.to: "elm.padding.swallow.2.left"; - rel2 { - relative: 0 1; - to: "elm.padding.swallow.2.left"; - } - } - } - part { name: "elm.padding.swallow.2.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - align: 0 0.5; - visible: 0; - rel1 { - relative: 1 0; - to: "elm.slide.swallow.2"; - } - rel2.to: "elm.slide.swallow.2"; - } - } - part { name: "elm.slide.swallow.3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_220_INC 0; - fixed: 1 0; - align: 0 0.5; - rel1 { - relative: 1 0; - to: "elm.padding.swallow.2.right"; - } - rel2.to: "elm.padding.swallow.2.right"; - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - // Swallow part for original genlist item style - part { name: "elm.swallow.origin"; - type: SWALLOW; - description { state: "default" 0.0; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - } - } - - group { name: "elm/genlist/item/mode/slide4.text/default"; - alias: "elm/genlist/item_odd/mode/slide4.text/default"; - alias: "elm/genlist/item_compress/mode/slide4.text/default"; - alias: "elm/genlist/item_compress_odd/mode/slide4.text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.slide.text.1"; - data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "GENLIST_TREESIZE_DEFAULT"; - - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_HEIGHT_129_INC; - color: GENLIST_SWEEP_BG_COLOR_INC; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1.to: "base"; - rel2 { - relative: 0 1; - to: "base"; - } - } - } - part { name: "base.padding.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1 0; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "base.padding.bottom"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 7; - fixed: 0 1; - visible: 0; - align: 0.5 1; - rel1 { - relative: 0 1; - to: "base"; - } - rel2 { - relative: 1 1; - to: "base"; - } - } - } - part { name: "elm.slide.text.1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_57_INC; - fixed: 0 1; - align: 0.5 0; - rel1 { - relative: 1 0; - to_x: "base.padding.left"; - to_y: "base"; - } - rel2 { - relative: 0 0; - to_x: "base.padding.right"; - to_y: "base"; - } - color: GENLIST_TEXT_COLOR_SWEEP_STYLE; - text { - font: "Tizen:style=Roman"; - size: GENLIST_FONT_32_INC; - min: 0 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - part { name: "base.padding.center"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_13_INC 0; - fixed: 1 0; - visible: 0; - align: 0.5 0.5; - rel1 { - relative: 0.5 1; - to_x: "base"; - to_y: "elm.slide.text.1"; - } - rel2 { - relative: 0.5 0; - to_x: "base"; - to_y: "base.padding.bottom"; - } - } - } - part { name: "elm.slide.swallow.2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - fixed: 1 1; - align: 1 0.5; - rel1.to: "base.padding.center"; - rel2 { - relative: 0 1; - to: "base.padding.center"; - } - } - } - part { name: "elm.padding.swallow.2.left"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_13_INC 0; - fixed: 1 0; - align: 1 0.5; - visible: 0; - rel1.to: "elm.slide.swallow.2"; - rel2 { - relative: 0 1; - to: "elm.slide.swallow.2"; - } - } - } - part { name: "elm.slide.swallow.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - fixed: 1 1; - align: 1 0.5; - rel1.to: "elm.padding.swallow.2.left"; - rel2 { - relative: 0 1; - to: "elm.padding.swallow.2.left"; - } - } - } - part { name: "elm.slide.swallow.3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - fixed: 1 1; - align: 0 0.5; - rel1 { - relative: 1 0; - to: "base.padding.center"; - } - rel2.to: "base.padding.center"; - } - } - part { name: "elm.padding.swallow.3.right"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_13_INC 0; - fixed: 1 0; - align: 0 0.5; - visible: 0; - rel1 { - relative: 1 0; - to: "elm.slide.swallow.3"; - } - rel2.to: "elm.slide.swallow.2"; - } - } - part { name: "elm.slide.swallow.4"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - max: GENLIST_SIZE_SLIDE_165_INC GENLIST_SIZE_SLIDE_60_INC; - fixed: 1 1; - align: 0 0.5; - rel1 { - relative: 1 0; - to: "elm.padding.swallow.3.right"; - } - rel2.to: "elm.padding.swallow.3.right"; - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - // Swallow part for original genlist item style - part { name: "elm.swallow.origin"; - type: SWALLOW; - description { state: "default" 0.0; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - } - } -#endif diff --git a/mobile/themes/widgets/genlist/genlist_textblock_style.edc b/mobile/themes/widgets/genlist/genlist_textblock_style.edc deleted file mode 100644 index 32b07b9..0000000 --- a/mobile/themes/widgets/genlist/genlist_textblock_style.edc +++ /dev/null @@ -1,149 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 -*/ - -#define STYLE_TAG \ - tag: "br" "\n";\ - tag: "ps" "ps";\ - tag: "tab" "\t";\ - tag: "b" "+ font=Tizen:style=Bold"; - -#define STYLE_TAG_MATCH \ - tag: "match" GENLIST_PART_MATCH_TAG_COLOR; - -// FIXME: Why this is needed? just don't use match color, right? damn textblock bug... -#define STYLE_TAG_MATCH_FOCUS \ - tag: "match" GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE; - -styles { - // ********************** groupindex text - style { name: "genlist_style_groupindex_text"; - base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color="GENLIST_GROUPINDEX_LIST_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_groupindex_text_focus"; - base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color="GENLIST_GROUPINDEX_LIST_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - // ********************** dialgoue group help text - style { name: "genlist_style_dialogue_group_help_text"; - base: "font=Tizen:style=Regular font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color="GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE" text_class=list_item wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - // ********************** list main text - style { name: "genlist_style_list_main_text_unread"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_unread_dim"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_read"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_read_dim"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_focus"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_FOCUS - } - // ********************** list main text (multiline) - style { name: "genlist_style_list_main_text_unread_wrap"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_unread_dim_wrap"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_main_text_focus_wrap"; - base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH_FOCUS - } - // ********************** list sub text - style { name: "genlist_style_list_sub_text_default"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_sub_text_default_dim"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_FOCUS - } - style { name: "genlist_style_list_sub_text_settings"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_sub_text_settings_dim"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_sub_text_focus"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH_FOCUS - } - // ********************** list sub text (multiline) - style { name: "genlist_style_list_sub_text_default_wrap"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_sub_text_default_dim_wrap"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "genlist_style_list_sub_text_focus_wrap"; - base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } -} diff --git a/mobile/themes/widgets/index.edc b/mobile/themes/widgets/index.edc deleted file mode 100644 index a3bc2b6..0000000 --- a/mobile/themes/widgets/index.edc +++ /dev/null @@ -1,872 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - group { name: "elm/index/base/vertical/default"; - script { - public timer_id, timer_flag, timer_id_2, timer_flag_2; - public index_hide_timer(val) { - if (get_int(timer_flag) == 1) - run_program(PROGRAM:"index0.hide"); - return 0; - } - public left_line_hide_timer(val) { - if (get_int(timer_flag_2) == 1) - run_program(PROGRAM:"left.line.dim"); - return 0; - } - } - images { - image: "00_fast_scroll_popup_bg.png" COMP; - } - parts { - part { name: "clip"; - scale: 1; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "clip2"; - scale: 1; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.dragable.index.1"; - type: RECT; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "elm.swallow.index.0"; - } - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 20 38; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "elm.swallow.index.0"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "elm.swallow.index.0"; - } - } - } - part { name: "index.top.padding"; - type: RECT; - scale: 1; - description { - align: 0.5 0.0; - min: 0 INDEX_PADDING_SIZE_INC; - visible: 0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.index.0"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.index.0"; - relative: 1.0 0.0; - } - } - } - part { name: "index.bottom.padding"; - type: RECT; - scale: 1; - description { - align: 0.5 1.0; - min: 0 INDEX_PADDING_SIZE_INC; - visible: 0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.index.0"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.index.0"; - relative: 1.0 1.0; - } - } - } - part { name: "bg"; - type: RECT; - clip_to: "clip"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "index.top.padding"; - rel2.to: "index.bottom.padding"; - color: INDEX_SCROLL_BG_COLOR_INC; - } - } - part { name: "left.line"; - type: RECT; - clip_to: "clip"; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: INDEX_SCROLL_BG_LINE_WIDTH_INC 0; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - color: INDEX_SCROLL_BG_LINE_COLOR_INC; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: INDEX_SCROLL_BG_LINE_ACTIVE_COLOR_INC; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - clip_to: "clip"; - scale: 1; - description { state: "default" 0.0; - visible: 1; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_y: "index.top.padding"; - relative: 1.0 1.0; - } - rel2 { - to_y: "index.bottom.padding"; - relative: 1.0 0.0; - } - color: 255 255 255 255; - } - description { state: "up" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - align: 1.0 1.0; - fixed: 1 1; - } - description { state: "down" 0.0; - rel1.relative: 1.0 1.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - fixed: 1 1; - } - } - part { name: "button_image"; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - rel1 { - to_x: "left.padding"; - to_y: "top.padding"; - } - rel2 { - to_x: "right.padding"; - to_y: "bottom.padding"; - } - image { - normal: "00_fast_scroll_popup_bg.png"; - border: INDEX_POPUP_BG_NINEPATCH_INC; - border_scale: 1; - } - image.middle: 1; - } - } - part { name: "top.padding"; - type: RECT; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - align: 0.5 1.0; - min: 0 INDEX_POPUP_TOP_PADDING_SIZE_INC; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.text"; - relative: 1.0 0.0; - } - visible: 0; - } - } - part { name: "bottom.padding"; - type: RECT; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - align: 0.5 0.0; - min: 0 INDEX_POPUP_BOTTOM_PADDING_SIZE_INC; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.text"; - relative: 1.0 1.0; - } - visible: 0; - } - } - part { name: "left.padding"; - type: RECT; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: INDEX_POPUP_LEFT_PADDING_SIZE_INC 0; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.text"; - relative: 0.0 1.0; - } - visible: 0; - } - } - part { name: "right.padding"; - type: RECT; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: INDEX_POPUP_RIGHT_PADDING_SIZE_INC 0; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.text"; - relative: 1.0 1.0; - } - visible: 0; - } - } - part { - name: "elm.text"; - type: "TEXT"; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - min: INDEX_POPUP_TEXT_WIDTH_INC INDEX_POPUP_TEXT_HEIGHT_INC; - rel1 { - relative: 0.5 0.5; - } - rel2 { - relative: 0.5 0.5; - } - color: INDEX_POPUP_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: INDEX_POPUP_TEXT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - } - } - } - part { name: "elm.dragable.pointer"; - type: RECT; - scale: 1; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 1 1 0; - } - clip_to: "clip"; - description { state: "default" 0.0; - fixed: 1 1; - min: 8 8; - max: 8 8; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - } - color: 0 0 0 0; - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - description { state: "inactive" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "elm.swallow.index.0"; - offset: -3 0; - } - rel2 { - to: "elm.swallow.index.0"; - } - color: 0 0 0 0; - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - run_program(PROGRAM:"initial.index0.active"); - run_program(PROGRAM:"initial.left.line.active"); - } - } - program { name: "drag2"; - signal: "drag,set"; - source: "elm.dragable.index.1"; - script { - new Float:dx; - new Float:dy; - get_drag(PART:"elm.dragable.index.1", dx, dy); - custom_state(PART:"elm.dragable.index.1", "default", 0.0); - set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); - } - } - program { name: "initial.index0.active"; - action: STATE_SET "active" 0.0; - target: "clip"; - after: "index0.inactive"; - } - program { name: "index0.active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "clip"; - after: "disable_timer"; - } - program { name: "index0.inactive"; - signal: "elm,state,inactive"; - source: "elm"; - script { - new v; - v = get_int(timer_id); - if (v > 0) cancel_timer(v); - run_program(PROGRAM:"enable_timer"); - v = timer(2.0, "index_hide_timer", 0); - set_int(timer_id, v); - } - } - program { name: "index0.hide"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "clip"; - after: "disable_timer"; - } - program { name: "initial.left.line.active"; - action: STATE_SET "active" 0.0; - target: "left.line"; - after: "left.line.inactive"; - } - program { name: "left.line.active"; - signal: "mouse,down,1"; - source: "elm.swallow.event.0"; - action: STATE_SET "active" 0.0; - target: "left.line"; - after: "disable_timer_2"; - } - program { name: "left.line.inactive"; - signal: "mouse,up,1"; - source: "elm.swallow.event.0"; - script { - new v; - v = get_int(timer_id_2); - if (v > 0) cancel_timer(v); - run_program(PROGRAM:"enable_timer_2"); - v = timer(2.0, "left_line_hide_timer", 0); - set_int(timer_id_2, v); - } - } - program { name: "left.line.dim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "left.line"; - after: "disable_timer_2"; - } - program { name: "index.active"; - signal: "elm,indicator,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "clip2"; - } - program { name: "index.inactive"; - signal: "elm,indicator,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "clip2"; - } - program { name: "event.inactive"; - signal: "elm,priority,up"; - source: "elm"; - action: STATE_SET "inactive" 0.0; - target: "elm.swallow.event.0"; - } - program { name: "index.up"; - signal: "elm,priority,up"; - source: "elm"; - action: STATE_SET "up" 0.0; - target: "elm.swallow.index.0"; - after: "index.go.down"; - } - program { name: "index.go.down"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "elm.swallow.index.0"; - after: "event.active"; - } - program { name: "event.inactive2"; - signal: "elm,priority,down"; - source: "elm"; - action: STATE_SET "inactive" 0.0; - target: "elm.swallow.event.0"; - } - program { name: "index.down"; - signal: "elm,priority,down"; - source: "elm"; - action: STATE_SET "down" 0.0; - target: "elm.swallow.index.0"; - after: "index.go.up"; - } - program { name: "index.go.up"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "elm.swallow.index.0"; - after: "event.active"; - } - program { name: "event.active"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.event.0"; - } - program { - name: "access.active"; - signal: "elm,access,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "access"; - } - program { - name: "access.inactive"; - signal: "elm,access,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "access"; - } - program { name: "disable_timer"; - script { - set_int(timer_flag, 0); - } - } - program { name: "enable_timer"; - script { - set_int(timer_flag, 1); - } - } - program { name: "disable_timer_2"; - script { - set_int(timer_flag_2, 0); - } - } - program { name: "enable_timer_2"; - script { - set_int(timer_flag_2, 1); - } - } - } - } - - group { name: "elm/index/item/vertical/default"; - alias: "elm/index/item_odd/vertical/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "00_fast_scroll_rollover_bg_line_focus.png" COMP; - } - parts { - part { name: "scroll.bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - color: INDEX_SCROLL_BG_COLOR_INC; - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "divider"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 1.0; - min: 0 INDEX_DIVIDER_WIDTH_INC; - fixed: 1 1; - rel1 { - relative: 0.0 1.0; - offset: 6 0; - } - rel2 { - relative: 1.0 1.0; - offset: -3 0; - } - color: INDEX_DIVIDER_COLOR_INC; - } - description { - state: "inactive" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "focus.top"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 1.0; - min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; - fixed: 1 1; - visible: 0; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "focus.bottom"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - min: 0 INDEX_SCROLL_BG_LINE_WIDTH_INC; - fixed: 1 1; - visible: 0; - rel1 { - to: "divider"; - relative: 0.0 0.0; - } - rel2 { - to: "divider"; - relative: 1.0 0.0; - } - } - } - part { name: "right.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: INDEX_ITEM_PADDING_SIZE_INC 0; - fixed: 1 1; - visible: 0; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - part { name: "item.bg"; - type: IMAGE; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to_y: "focus.top"; - } - rel2 { - to_x: "right.padding"; - to_y: "focus.bottom"; - relative: 0.0 1.0; - } - image { - normal: "00_fast_scroll_rollover_bg_line_focus.png"; - border: INDEX_BG_NINEPATCH_INC; - border_scale: 1; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - min: INDEX_ITEM_WIDTH_INC INDEX_ITEM_HEIGHT_INC; - align: 0.5 0.5; - state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - color: INDEX_ROLLOVER_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: INDEX_ROLLOVER_TEXT_SIZE_INC; - align: 0.5 0.5; - text_class: "tizen"; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - target: "item.bg"; - target: "scroll.bg"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - target: "item.bg"; - target: "scroll.bg"; - } - program { - signal: "elm,last,item"; - source: "elm"; - action: STATE_SET "inactive" 0.0; - target: "divider"; - } - } - } - group { - name: "elm/index/base/vertical/pagecontrol"; - alias: "elm/index/base/horizontal/pagecontrol"; - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - scale: 1; - clip_to: "clip"; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 0.5; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - } - } - group { - name: "elm/index/item/vertical/pagecontrol"; - alias: "elm/index/item_odd/vertical/pagecontrol"; - alias: "elm/index/item/horizontal/pagecontrol"; - alias: "elm/index/item_odd/horizontal/pagecontrol"; - images { - image: "00_page_indicator_01.png" COMP; - image: "00_page_indicator_02.png" COMP; - } - parts { - part { name:"bg"; - type : RECT; - scale: 1; - description { state: "default" 0.0; - min: INDEX_PAGECONTROL_IND_INC; - max: INDEX_PAGECONTROL_IND_INC; - visible: 0; - align: 0.5 0.5; - } - } - part { name: "indicator1"; - type: IMAGE; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - min: INDEX_PAGECONTROL_IND_MIN_INC; - max: INDEX_PAGECONTROL_IND_MIN_INC; - image { - normal: "00_page_indicator_02.png"; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "indicator2"; - type: IMAGE; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - min: INDEX_PAGECONTROL_IND_MIN_INC; - max: INDEX_PAGECONTROL_IND_MIN_INC; - image.normal: "00_page_indicator_01.png"; - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "indicator1"; - target: "indicator2"; - transition: LINEAR 0.2; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "indicator1"; - target: "indicator2"; - transition: LINEAR 0.2; - } - } - } diff --git a/mobile/themes/widgets/label.edc b/mobile/themes/widgets/label.edc deleted file mode 100644 index 5823858..0000000 --- a/mobile/themes/widgets/label.edc +++ /dev/null @@ -1,1270 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define TEXT_SLIDE_DURATION 10 - - styles { - style { name: "textblock_style"; - base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_title_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_maintitle_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_subtitle_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_landscape_title_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_landscape_maintitle_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "naviframe_landscape_subtitle_style"; - base: "font=Tizen:style=Bold font_size="NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" style=far_shadow,bottom shadow_color="NAVIFRAME_TITLE_STYLE_SHADOW_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - /* label doesn't use it */ - style { name: "textblock_charwrap_style"; -base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - } - - group { name: "elm/label/base/default"; - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - } - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "charwrap_mode" 0.0; - text { - style: "textblock_charwrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "default_on"; - signal: "elm,state,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "charwrap_on"; - signal: "elm,state,charwrap"; - source: "elm"; - action: STATE_SET "charwrap_mode" 0.0; - target: "elm.text"; - } - } // end programs - } // end group - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap_ellipsis/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - // FIXME : fixed for multiline ellipsis. - // does it need to make another ellipsis style? - fixed: 0 1; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "charwrap_mode" 0.0; - // FIXME : fixed for multiline ellipsis. - // does it need to make another ellipsis style? - fixed: 0 1; - text { - style: "textblock_charwrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "default_on"; - signal: "elm,state,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "charwrap_on"; - signal: "elm,state,charwrap"; - source: "elm"; - action: STATE_SET "charwrap_mode" 0.0; - target: "elm.text"; - } - } // end programs - } // end group - - group { name: "elm/label/base/marker"; - styles { - style { name: "textblock_style2"; - base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ color=#ffff"; - tag: "b" "+ color=#ffff"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - text { - style: "textblock_style2"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - } - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap/marker"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - text { - style: "textblock_style2"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - } - - group { name: "elm/label/base/slide_long"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - - group { name: "elm/label/base/slide_short"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - - group { name: "elm/label/base/slide_bounce"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - } - public slide_to_begin() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_begin_anim", 1); - set_int(g_anim_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - - group { name: "elm/label/base/naviframe_title"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_end_pending(val, Float:pos) { - if (pos >= 1.0) { - stop_slide(); - emit("elm,state,slide,end", ""); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) - anim(1, "slide_end_pending", 1); - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_title_style"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_title_style"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_title_style"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 1; - } - } - description { state: "default_landscape" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_title_style"; - size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 0 1; - } - } - description { state: "slide_end_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_landscape_title_style"; - size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 1; - } - } - description { state: "slide_begin_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_title_style"; - size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - script { - set_int(g_landscape, 1); - } - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - script { - set_int(g_landscape, 1); - } - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - script { - set_int(g_landscape, 0); - } - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - script { - set_int(g_landscape, 0); - } - } - } - } - group { name: "elm/label/base/naviframe_maintitle"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_end_pending(val, Float:pos) { - if (pos >= 1.0) { - stop_slide(); - emit("elm,state,slide,end", ""); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - if (!get_int(g_landscape)) - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - else - set_tween_state(PART:"elm.text", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - if (pos >= 1.0) - anim(1, "slide_end_pending", 1); - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "slide_begin", 0.0); - else - set_state(PART:"elm.text", "slide_begin_landscape", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "slide_begin", 0.0); - else - set_state(PART:"elm.text", "slide_begin_landscape", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "default", 0.0); - else - set_state(PART:"elm.text", "default_landscape", 0.0); - } - } - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_maintitle_style"; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_maintitle_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_maintitle_style"; - min: 1 1; - } - } - description { state: "default_landscape" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_maintitle_style"; - min: 0 1; - } - } - description { state: "slide_end_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_landscape_maintitle_style"; - min: 1 1; - } - } - description { state: "slide_begin_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_maintitle_style"; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - script { - set_int(g_landscape, 1); - } - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - script { - set_int(g_landscape, 1); - } - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - script { - set_int(g_landscape, 0); - } - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - script { - set_int(g_landscape, 0); - } - } - } - } - group { name: "elm/label/base/naviframe_subtitle"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_end_pending(val, Float:pos) { - if (pos >= 1.0) { - stop_slide(); - emit("elm,state,slide,end", ""); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - if (!get_int(g_landscape)) - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - else - set_tween_state(PART:"elm.text", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - if (pos >= 1.0) - anim(1, "slide_end_pending", 1); - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "slide_begin", 0.0); - else - set_state(PART:"elm.text", "slide_begin_landscape", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "slide_begin", 0.0); - else - set_state(PART:"elm.text", "slide_begin_landscape", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - if (!get_int(g_landscape)) - set_state(PART:"elm.text", "default", 0.0); - else - set_state(PART:"elm.text", "default_landscape", 0.0); - } - } - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_subtitle_style"; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_subtitle_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_subtitle_style"; - min: 1 1; - } - } - description { state: "default_landscape" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_subtitle_style"; - min: 0 1; - } - } - description { state: "slide_end_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "naviframe_landscape_subtitle_style"; - min: 1 1; - } - } - description { state: "slide_begin_landscape" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "naviframe_landscape_subtitle_style"; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - script { - set_int(g_landscape, 1); - } - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - script { - set_int(g_landscape, 1); - } - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - script { - set_int(g_landscape, 0); - } - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - script { - set_int(g_landscape, 0); - } - } - } - } - - group { name: "elm/label/base/datetime"; - alias: "elm/label/base/datetime/year/default"; - alias: "elm/label/base/datetime/month/default"; - alias: "elm/label/base/datetime/date/default"; - alias: "elm/label/base/datetime/hour/default"; - alias: "elm/label/base/datetime/minute/default"; - alias: "elm/label/base/datetime/ampm/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - min: 0 DATETIME_LABEL_DATE_FIELD_HEIGHT_INC; - max: -1 DATETIME_LABEL_DATE_FIELD_HEIGHT_INC; - } - } - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "bg.img"; - type: RECT; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.text"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.text"; - } - fixed: 1 1; - color: 0 0 0 0; - min: DATETIME_LABEL_DATE_FIELD_MIN_WIDTH_INC DATETIME_LABEL_DATE_FIELD_HEIGHT_INC; - max: -1 DATETIME_LABEL_DATE_FIELD_HEIGHT_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXT; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - color: DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: DATETIME_TEXT_FONT_SIZE_INC; - text_class: "tizen"; - min: 1 0; - max: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC; - text { - size: DATETIME_TEXT_FONT_SIZE_INC; - text_class: "tizen"; - min: 1 0; - max: 1 1; - } - } - } - } - programs { - program { name: "label_select"; - signal: "elm,state,select"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "elm.text"; - target: "bg.img"; - } - program { name: "label_unselect"; - signal: "elm,state,unselect"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "bg.img"; - } - } - } diff --git a/mobile/themes/widgets/layout.edc b/mobile/themes/widgets/layout.edc deleted file mode 100644 index 377db05..0000000 --- a/mobile/themes/widgets/layout.edc +++ /dev/null @@ -1,1811 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - /*************************************************/ - /* elm_layout -> fundamental template style */ - /*************************************************/ - group { name: "elm/layout/application/default"; - alias: "elm/layout/application/noindicator"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - //Might be no need anymore - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - } - } - } - } - /*************************************************************************/ - /* elm_layout -> fundamental template style with controlbar (deprecated) */ - /*************************************************************************/ - group { name: "elm/layout/application/controlbar"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 1.0 0.0; - rel2.to: "elm.swallow.controlbar"; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 CONTROLBAR_LARGE_HEIGHT_INC; - fixed: 0 1; - rel1 { relative: 0.0 1.0; } - rel2 { relative: 1.0 1.0; } - align: 0.5 1.0; - } - } - } - } - /************************************************************/ - /* elm_layout -> fundamental template style with tabbar */ - /************************************************************/ - group { name: "elm/layout/application/tabbar"; - alias: "elm/layout/tabbar/default"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.tabbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 TABBAR_DEFAULT_HEIGHT_INC; - fixed: 0 1; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - align: 0.5 0.0; - } - description { state: "icon_text" 0.0; - inherit: "default" 0.0; - min: 0 TABBAR_ICON_TEXT_HEIGHT_INC; - } - description { state: "horizontal" 0.0; - inherit: "default" 0.0; - min: 0 TABBAR_HORIZONTAL_HEIGHT_INC; - } - description { state: "horizontal_icon_text" 0.0; - inherit: "default" 0.0; - min: 0 TABBAR_HORIZONTAL_ICON_TEXT_HEIGHT_INC; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to_y: "elm.swallow.tabbar"; - rel1.relative: 0.0 1.0; - } - } - } - programs { - program { name: "show_tabbar"; - signal: "elm,state,show,tabbar"; - signal: "elm,state,default,tabbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.tabbar"; - } - program { name: "hide_tabbar"; - signal: "elm,state,hide,tabbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.swallow.tabbar"; - } - program { name: "icon_text_tabbar"; - signal: "elm,state,icon_text,tabbar"; - source: "elm"; - action: STATE_SET "icon_text" 0.0; - target: "elm.swallow.tabbar"; - } - program { name: "horizontal_tabbar"; - signal: "elm,state,horizontal,tabbar"; - source: "elm"; - action: STATE_SET "horizontal" 0.0; - target: "elm.swallow.tabbar"; - } - program { name: "horizontal_icon_text_tabbar"; - signal: "elm,state,horizontal_icon_text,tabbar"; - source: "elm"; - action: STATE_SET "horizontal_icon_text" 0.0; - target: "elm.swallow.tabbar"; - } - } - } - - /*************************************************/ - /* elm_layout -> searchbar style */ - /*************************************************/ - group { name: "elm/layout/application/searchbar_base"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "searchbar"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_H_INC; - fixed: 0 1; - align: 0.0 1.0; - rel2 { - relative: 1.0 0.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - align: 0.0 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - relative: 0.0 1.0; - to: "searchbar"; - } - } - } - } - programs { - program { name: "show_searchbar"; - signal: "elm,state,show,searchbar"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "searchbar"; - } - program { name: "show_searchbar_with_animation"; - signal: "elm,state,show,searchbar,animation"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.3; - target: "searchbar"; - } - program { name: "hide_searchbar"; - signal: "elm,state,hide,searchbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "searchbar"; - } - program { name: "hide_searchbar_with_animation"; - signal: "elm,state,hide,searchbar,animation"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: ACCELERATE 0.3; - target: "searchbar"; - } - } - } - - /*************************************************/ - /* elm_layout -> integrated style (deprecated) */ - /*************************************************/ - group { name: "elm/standard/window/integration"; - parts { - /* for event blocking */ - part { name: "base_event"; - type: RECT; - repeat_events: 0; - description { state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - description { state: "block_events" 0.0; - inherit: "default" 0.0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: LAYOUT_BG_COLOR_INC; - } - description { state: "white_bg" 0.0; - color: 255 255 255 255; - } - description { state: "black_bg" 0.0; - color: 0 0 0 255; - } - description { state: "beige_bg" 0.0; - color: 246 245 237 255; - } - description { state: "group_list_bg" 0.0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - } - description { state: "transparent_bg" 0.0; - color: 0 0 0 0; - } - description { state: "edit_mode" 0.0; - color: LAYOUT_EDIT_MODE_BG_COLOR_INC; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "show_with_navi_bar" 0.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; } - visible: 1; - } - description { state: "show" 1.0; - inherit: "default" 0.0; - rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; } - visible: 1; - } - description { state: "show_with_navi_bar" 1.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; } - rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; } - visible: 1; - } - } - part { name: "elm.swallow.navi_bar"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 0 NAVIFRAME_TITLE_H_INC; - fixed: 0 1; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - align: 0.5 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 CONTROLBAR_LARGE_HEIGHT_INC; - fixed: 0 1; - rel1 { relative: 0.0 1.0; } - rel2 { relative: 1.0 1.0; } - align: 0.5 1.0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "block_events"; - signal: "elm,base_event,block_events"; - source: "elm"; - action: STATE_SET "block_events" 0.0; - target: "base_event"; - } - program { name: "repeat_events"; - signal: "elm,base_event,repeat_events"; - source: "elm"; - action: STATE_SET "repeat_events" 0.0; - target: "base_event"; - } - program { name: "show_default_bg"; - signal: "elm,bg,show,default"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - } - } - program { name: "show_black_bg"; - signal: "elm,bg,show,black"; - source: "elm"; - script { - set_state(PART:"base", "black_bg", 0.0); - } - } - program { name: "show_white_bg"; - signal: "elm,bg,show,white"; - source: "elm"; - script { - set_state(PART:"base", "white_bg", 0.0); - } - } - program { name: "show_beige_bg"; - signal: "elm,bg,show,beige"; - source: "elm"; - script { - set_state(PART:"base", "beige_bg", 0.0); - } - } - program { name: "show_group_list_bg"; - signal: "elm,bg,show,group_list"; - source: "elm"; - script { - set_state(PART:"base", "group_list_bg", 0.0); - } - } - program { name: "show_transparent_bg"; - signal: "elm,bg,show,transparent"; - source: "elm"; - script { - set_state(PART:"base", "transparent_bg", 0.0); - } - } - program { name: "show_edit_mode_bg"; - signal: "elm,bg,show,edit_mode"; - source: "elm"; - script { - set_state(PART:"base", "edit_mode", 0.0); - } - } - program { name: "show_navi_bar"; - signal: "elm,state,show,navi_bar"; - source: "elm"; - script { - set_state(PART:"elm.swallow.navi_bar", "show", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "hide_navi_bar"; - signal: "elm,state,hide,navi_bar"; - source: "elm"; - script { - set_state(PART:"elm.swallow.navi_bar", "default", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "show_content"; - signal: "elm,state,show,content"; - source: "elm"; - script { - set_state(PART:"elm.swallow.content", "show", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "hide_content"; - signal: "elm,state,hide,content"; - source: "elm"; - script { - set_state(PART:"elm.swallow.content", "hide", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "show_controlbar"; - signal: "elm,state,show,controlbar"; - source: "elm"; - script { - set_state(PART:"elm.swallow.controlbar", "show", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "hide_controlbar"; - signal: "elm,state,hide,controlbar"; - source: "elm"; - script { - set_state(PART:"elm.swallow.controlbar", "default", 0.0); - run_program(PROGRAM:"check_location"); - } - } - program { name: "check_location"; - script { - new st[30]; - new Float:vl; - new navi_bar = 0, content = 0, controlbar = 0; - - get_state(PART:"elm.swallow.navi_bar", st, 30, vl) - if (!strncmp(st, "show", 4)) navi_bar = 1; - get_state(PART:"elm.swallow.content", st, 30, vl) - if (!strncmp(st, "show", 4)) content = 1; - get_state(PART:"elm.swallow.controlbar", st, 30, vl) - if (!strncmp(st, "show", 4)) controlbar = 1; - - // set navi bar - if (navi_bar == 1) { - set_state(PART:"elm.swallow.navi_bar", "show", 0.0) - } - - // set content - if (content == 1) { - if (navi_bar == 1) { - set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0) - } else { - set_state(PART:"elm.swallow.content", "show", 0.0) - } - get_state(PART:"elm.swallow.content", st, 30, vl) - - if (controlbar == 1) { - set_state(PART:"elm.swallow.content", st, 1.0) - } - } - } - } - } - } - - /************************************************************/ - /* elm_layout -> fundamental template style with fastscroll */ - /************************************************************/ - group { name: "elm/layout/application/fastscroll"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "right.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - min: INDEX_ITEM_WIDTH_INC 0; - visible: 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel2 { - to: "right.padding"; - relative: 0.0 1.0; - } - } - } - part { - name: "elm.swallow.fastscroll"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - } - } - } - } -group { name: "elm/layout/editfield/default"; - images { - image: "00_edit_field_clear.png" COMP; - } - parts { - part { - name: "base"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 0 EDITFIELD_DEFAULT_MINH_INC; - color: 0 0 0 0; - } - } - part { - name: "top1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - align: 0.5 0; - } - } - part { - name: "left1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_LEFT1_INC 0; - fixed: 1 1; - align: 0 0; - rel1.relative : 0.0 0.0; - rel2.relative : 0.0 1.0; - } - } - part { - name: "right1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0; - fixed: 1 1; - align: 1 0; - rel1.relative : 1.0 0.0; - rel2.relative : 1.0 1.0; - } - } - part { - name: "right2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_RIGHT2_INC 0; - fixed: 1 1; - align: 1 0; - rel1.relative : 1.0 0.0; - rel2.relative : 1.0 1.0; - } - } - part { - name: "bottom1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC; - fixed: 1 1; - align: 0 1; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.guidetext"; - type: TEXT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: EDITFIELD_GUIDE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Roman"; - size: ENTRY_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 0 40; - rel1 { - relative : 1.0 1.0; - to_x: "left1"; - to_y: "top1"; - } - rel2 { - relative : 0.0 0.0; - to_x: "right1"; - to_y: "bottom1"; - } - align: 0.0 0.5; - } - } - part { - name: "eraser_image"; - scale: 1; - clip_to: "eraser_image.clipper"; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC; - fixed: 1 1; - align: 1 0.5; - rel1 { - relative: 0.0 0.5; - to_x : "right2"; - } - rel2 { - relative: 0.0 0.5; - to_x : "right2"; - } - image.normal: "00_edit_field_clear.png"; - } - description { - state: "elm.eraser.show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "eraser_image.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "elm.eraser.show" 0.0; - color: EDITFIELD_ERASER_DEFAULT_COLOR_INC; - } - description { state: "elm.eraser.pressed" 0.0; - color: EDITFIELD_ERASER_PRESSED_COLOR_INC; - } - } - part { - name: "eraser"; - type: RECT; - scale: 1; - mouse_events: 1; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC; - fixed: 1 1; - align: 1 0.5; - color: 0 0 0 0; - rel1 { - relative: 0.0 0.5; - to_x : "right2"; - } - rel2 { - relative: 0.0 0.5; - to_x : "right2"; - } - } - description { - state: "elm.eraser.show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "guidetext_show"; - signal: "elm,state,guidetext,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guidetext"; - } - program { - name: "guidetext_hide"; - signal: "elm,state,guidetext,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guidetext"; - } - program { - name: "eraser_show"; - signal: "elm,state,eraser,show"; - source: "elm"; - action: STATE_SET "elm.eraser.show" 0.0; - target: "eraser_image"; - target: "eraser_image.clipper"; - target: "eraser"; - } - program { - name: "eraser_hide"; - signal: "elm,state,eraser,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "eraser_image"; - target: "eraser_image.clipper"; - target: "eraser"; - } - program { - name: "eraser_clicked"; - signal: "mouse,clicked,1"; - source: "eraser"; - action: SIGNAL_EMIT "elm,eraser,clicked" "elm"; - } - program { - name: "eraser_pressed"; - signal: "mouse,down,1"; - source: "eraser"; - action: STATE_SET "elm.eraser.pressed" 0.0; - target: "eraser_image.clipper"; - } - program { - name: "eraser_unpressed"; - signal: "mouse,up,1"; - source: "eraser"; - action: STATE_SET "elm.eraser.show" 0.0; - target: "eraser_image.clipper"; - } - } -} - -group { name: "elm/layout/editfield/title"; - images { - image: "00_edit_field_clear.png" COMP; - } - parts { - part { - name: "base"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 0 EDITFIELD_TITLE_MINH_INC; - color: 0 0 0 0; - } - } - part { - name: "top1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - align: 0.5 0; - } - } - part { - name: "top2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_TOP2_INC; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - align: 0.5 0; - } - } - part { - name: "left1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_LEFT1_INC 0; - fixed: 1 1; - align: 0 0; - rel1.relative : 0.0 0.0; - rel2.relative : 0.0 1.0; - } - } - part { - name: "left2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_LEFT2_INC 0; - fixed: 1 1; - align: 0 0; - rel1.relative : 0.0 0.0; - rel2.relative : 0.0 1.0; - } - } - part { - name: "right1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0; - fixed: 1 1; - align: 1 0; - rel1.relative : 1.0 0.0; - rel2.relative : 1.0 1.0; - } - } - part { - name: "right2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_RIGHT2_INC 0; - fixed: 1 1; - align: 1 0; - rel1.relative : 1.0 0.0; - rel2.relative : 1.0 1.0; - } - } - part { - name: "bottom1"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC; - fixed: 1 1; - align: 0 1; - rel1.relative: 0.0 1.0; - } - } - part { - name: "bottom2"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC; - fixed: 0 1; - rel1.relative: 0.0 1.0; - align: 0 1; - } - } - part { - name: "eraser_base"; - type: RECT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_y: "top1"; - } - } - } - part { - name: "elm.text"; - type: TEXT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 34; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "left2"; - to_y: "top2"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left2"; - to_y: "top2"; - } - color: EDITFIELD_TITLE_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: EDITFIELD_TITLE_SIZE_INC; - min: 1 1; - align: 0.0 0.0; - text_class: "tizen"; - } - } - } - part { - name: "elm.guidetext"; - type: TEXT; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: EDITFIELD_GUIDE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Roman"; - size: ENTRY_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - min: 0 40; - rel1 { - relative : 1.0 1.0; - to_x: "left1"; - to_y: "top1"; - } - rel2 { - relative : 0.0 0.0; - to_x: "right1"; - to_y: "bottom1"; - } - align: 0.0 0.5; - } - } - part { - name: "eraser_image"; - scale: 1; - clip_to: "eraser_image.clipper"; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC; - fixed: 1 1; - align: 1 0.5; - rel1 { - relative: 0.0 0.5; - to_x : "right2"; - to_y : "eraser_base"; - } - rel2 { - relative: 0.0 0.5; - to_x : "right2"; - to_y : "eraser_base"; - } - image.normal: "00_edit_field_clear.png"; - } - description { - state: "elm.eraser.show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "eraser_image.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "elm.eraser.show" 0.0; - color: EDITFIELD_ERASER_DEFAULT_COLOR_INC; - } - description { state: "elm.eraser.pressed" 0.0; - color: EDITFIELD_ERASER_PRESSED_COLOR_INC; - } - } - part { - name: "eraser"; - type: RECT; - scale: 1; - mouse_events: 1; - description { - state: "default" 0.0; - visible: 0; - min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC; - fixed: 1 1; - align: 1 0.5; - color: 0 0 0 0; - rel1 { - relative: 0.0 0.5; - to_x : "right2"; - to_y : "eraser_base"; - } - rel2 { - relative: 0.0 0.5; - to_x : "right2"; - to_y : "eraser_base"; - } - } - description { - state: "elm.eraser.show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "guidetext_show"; - signal: "elm,state,guidetext,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guidetext"; - } - program { - name: "guidetext_hide"; - signal: "elm,state,guidetext,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guidetext"; - } - program { - name: "eraser_show"; - signal: "elm,state,eraser,show"; - source: "elm"; - action: STATE_SET "elm.eraser.show" 0.0; - target: "eraser_image"; - target: "eraser_image.clipper"; - target: "eraser"; - } - program { - name: "eraser_hide"; - signal: "elm,state,eraser,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "eraser_image"; - target: "eraser_image.clipper"; - target: "eraser"; - } - program { - name: "eraser_clicked"; - signal: "mouse,clicked,1"; - source: "eraser"; - action: SIGNAL_EMIT "elm,eraser,clicked" "elm"; - } - program { - name: "eraser_pressed"; - signal: "mouse,down,1"; - source: "eraser"; - action: STATE_SET "elm.eraser.pressed" 0.0; - target: "eraser_image.clipper"; - } - program { - name: "eraser_unpressed"; - signal: "mouse,up,1"; - source: "eraser"; - action: STATE_SET "elm.eraser.show" 0.0; - target: "eraser_image.clipper"; - } - } -} - -group { name: "elm/layout/searchbar/default"; - images { - image: "00_search_edit_field_bg.png" COMP; - } - parts { - part { name: "inputfield_base"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_BASE_HEIGHT_INC; - align: 0.0 0.0; - } - } - part { name: "top_left_padding"; - type: SPACER; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: SEARCHBAR_LEFT_PADDING_INC SEARCHBAR_TOP_PADDING_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "inputfield_base"; } - rel2 { relative: 0.0 0.0; to: "inputfield_base"; } - } - } - part { name: "bottom_right_padding"; - type: SPACER; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: SEARCHBAR_RIGHT_PADDING_INC SEARCHBAR_BOTTOM_PADDING_INC; - fixed: 1 1; - align: 1.0 1.0; - rel1 { relative: 1.0 1.0; to: "inputfield_base"; } - rel2 { relative: 1.0 1.0; to: "inputfield_base"; } - } - } - part { name: "inputfield_rect"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; - align: 0.0 0.5; - rel1 { relative: 1.0 1.0; to: "top_left_padding"; } - rel2 { relative: 0.0 0.0; to: "bottom_right_padding"; } - color: 0 0 0 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; - rel1 { - relative : 0.0 0.0; - to: "inputfield_rect"; - } - rel2 { - relative : 1.0 1.0; - to: "inputfield_rect"; - } - align: 0.0 0.5; - } - } - } - programs { - program { - name: "bg_clicked"; - signal: "mouse,clicked,1"; - source: "inputfield_rect"; - action: SIGNAL_EMIT "elm,bg,clicked" "elm"; - } - program { - name: "sound_play"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/layout/searchbar/cancel_button"; - parts { - part { name: "inputfield_base"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_BASE_HEIGHT_INC; - align: 0.0 0.0; - } - } - part { name: "top_padding_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_TOP_PADDING_INC; - fixed: 0 1; - align: 0 0; - rel1.to: "inputfield_base"; - rel2.to: "inputfield_base"; - rel2.relative: 1.0 0.0; - } - } - part { name: "bottom_padding_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_BOTTOM_PADDING_INC; - fixed: 0 1; - align: 0 1; - rel1.to: "inputfield_base"; - rel1.relative: 0.0 1.0; - rel2.to: "inputfield_base"; - } - } - part { name: "base_bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SEARCHBAR_HEIGHT_INC; - align: 0 0.5; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "top_padding_rect"; - } - rel2 { - relative: 1.0 0.0; - to: "bottom_padding_rect"; - } - } - } - part { name: "left_padding_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SEARCHBAR_LEFT_PADDING_INC 0; - fixed: 1 0; - align: 0 0; - rel1.to: "inputfield_base"; - rel2.to: "inputfield_base"; - rel2.relative: 0.0 1.0; - } - } - part { name: "right_padding_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SEARCHBAR_RIGHT_PADDING_INC 0; - fixed: 1 0; - align: 1.0 0.0; - rel1.to: "inputfield_base"; - rel1.relative: 1.0 0.0; - rel2.to: "inputfield_base"; - } - } - part { name: "inputfield_rect"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; - rel1 { - relative: 1.0 0.0; - to_x: "left_padding_rect"; - to_y: "base_bg"; - } - rel2 { - relative: 0.0 1.0; - to_x: "right_btn_padding_rect"; - to_y: "base_bg"; - } - color: 0 0 0 0; - } - } - part { name: "right_btn_padding_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; - align: 1.0 0.0; - rel1.relative: 0.0 0.0; - rel1.to: "right_padding_rect"; - rel2.relative: 0.0 1.0; - rel2.to: "right_padding_rect"; - } - description { state: "in" 0.0; - inherit: "default" 0.0; - min: SEARCHBAR_CANCEL_BUTTON_LEFT_PADDING_INC 0; - rel1.to: "button_cancel"; - rel2.to: "button_cancel"; - } - } - part { name: "button_cancel"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: SEARCHBAR_CANCEL_BUTTON_W_INC 0; - align: 1.0 0.5; - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "right_padding_rect"; - to_y: "top_padding_rect"; - } - rel2 { - relative: 0.0 0.0; - to_x: "right_padding_rect"; - to_y: "bottom_padding_rect"; - } - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC; - rel1 { - relative : 0.0 0.0; - to: "inputfield_rect"; - } - rel2 { - relative : 1.0 1.0; - to: "inputfield_rect"; - } - align: 0.0 0.5; - } - } - } - programs { - program { - name: "sound_play"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "bg_clicked"; - signal: "mouse,clicked,1"; - source: "inputfield_rect"; - action: SIGNAL_EMIT "elm,bg,clicked" "elm"; - } - program { name: "cancel_in"; - signal: "cancel,in"; - source: ""; - action: STATE_SET "in" 0.0; - target: "right_btn_padding_rect"; - transition: LINEAR 0.3; - } - program { name: "cancel_out"; - signal: "cancel,out"; - source: ""; - action: STATE_SET "default" 0.0; - target: "right_btn_padding_rect"; - transition: LINEAR 0.3; - } - program { name: "cancel_show"; - signal: "cancel,show"; - source: ""; - action: STATE_SET "in" 0.0; - target: "right_btn_padding_rect"; - } - program { name: "cancel_hide"; - signal: "cancel,hide"; - source: ""; - action: STATE_SET "default" 0.0; - target: "right_btn_padding_rect"; - } - } -} - -group { - name: "elm/layout/nocontents/full"; - alias: "elm/nocontents/base/full"; - alias: "elm/nocontents/base/default"; - styles{ - style { name: "nocontent_style"; - base: "font=Tizen:style=Bold font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color="NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - style { name: "nocontent_help_text"; - base: "font=Tizen:style=Regular font_size="NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC" align=left color="NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "hilight" "+ font=Tizen:style=Regular"; - tag: "b" "+ font=Tizen:style=Regular"; - tag: "tab" "\t"; - } - } - images { - image: "00_nocontents_picture.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: NOCONTENT_BASE_MIN_WIDTH_HEIGHT_INC; - rel1 { - relative: 0.5 0.5; - } - rel2 { - relative: 0.5 0.5; - } - } - } - part { name: "nocontents.image"; - description { state: "default" 0.0; - fixed: 1 1; - min: NOCONTENT_IMAGE_WIDTH_HEIGHT_INC; - align: 0.5 0.0; - rel1 { - relative: 0.5 0.0; - to: "bg"; - } - rel2 { - relative: 0.5 0.0; - to: "bg"; - } - image { - normal: "00_nocontents_picture.png"; - } - color: NOCONTENT_IMAGE_COLOR_INC; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - description { state: "default" 0.0; - min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; - align: 0.5 1.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - text { - style: "nocontent_style"; - min: 0 1; - max: 0 1; - } - } - } - part { name: "padding_after_text"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - align: 0.5 0.0; - min: NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC; - visible: 0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "elm.text"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.text"; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC; - } - } - part { name: "elm.help.text"; - type: TEXTBLOCK; - description { state: "default" 0.0; - align: 0.5 0.0; - min: NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC; - fixed: 1 1; - rel1 { - relative: 0.5 1.0; - to: "padding_after_text"; - } - rel2 { - relative: 0.5 1.0; - to: "padding_after_text"; - } - text { - style: "nocontent_help_text"; - align: 0.0 0.5; - min: 0 1; - max: 0 1; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC; - } - } - part { name: "pad_after_help_text"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.0; - min: NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "elm.help.text"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.help.text"; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC; - } - } - part { name: "swallow_area"; - type: SWALLOW; - description { state: "default" 0.0; - min: NOCONTENT_PORTRAIT_SWALLOW_AREA_MIN_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.5 1.0; - to: "pad_after_help_text"; - } - rel2 { - relative: 0.5 1.0; - to: "pad_after_help_text"; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: NOCONTENT_LANDSCAPE_SWALLOW_AREA_MIN_INC; - } - } - } - programs { - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: STATE_SET "landscape" 0.0; - target: "swallow_area"; - target: "elm.help.text"; - target: "padding_after_text"; - target: "pad_after_help_text"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: STATE_SET "landscape" 0.0; - target: "swallow_area"; - target: "elm.help.text"; - target: "padding_after_text"; - target: "pad_after_help_text"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: STATE_SET "default" 0.0; - target: "swallow_area"; - target: "elm.help.text"; - target: "padding_after_text"; - target: "pad_after_help_text"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: STATE_SET "default" 0.0; - target: "swallow_area"; - target: "elm.help.text"; - target: "padding_after_text"; - target: "pad_after_help_text"; - } - } -} - -group { - name: "elm/layout/nocontents/multimedia"; - alias: "elm/nocontents/base/multimedia"; - inherit: "elm/layout/nocontents/full"; - images { - image: "00_nocontents_multimedia.png" COMP; - } - parts { - part { name: "nocontents.image"; - description { state: "default" 0.0; - image { - normal: "00_nocontents_multimedia.png"; - } - } - } - } -} - -group { - name: "elm/layout/nocontents/text"; - alias: "elm/nocontents/base/text"; - inherit: "elm/layout/nocontents/full"; - images { - image: "00_nocontents_text.png" COMP; - } - parts { - part { name: "nocontents.image"; - description { state: "default" 0.0; - image { - normal: "00_nocontents_text.png"; - } - } - } - } -} - -group { - name: "elm/layout/nocontents/unnamed"; - alias: "elm/nocontents/base/unnamed"; - inherit: "elm/layout/nocontents/full"; - images { - image: "00_nocontents_unnamed.png" COMP; - } - parts { - part { name: "nocontents.image"; - description { state: "default" 0.0; - image { - normal: "00_nocontents_unnamed.png"; - } - } - } - } -} - -group { - name: "elm/layout/nocontents/devices"; - alias: "elm/nocontents/base/devices"; - inherit: "elm/layout/nocontents/full"; - images { - image: "00_nocontents_devices.png" COMP; - } - parts { - part { name: "nocontents.image"; - description { state: "default" 0.0; - image { - normal: "00_nocontents_devices.png"; - } - } - } - } -} - -group { - name: "elm/layout/nocontents/album"; - alias: "elm/nocontents/base/album"; - inherit: "elm/layout/nocontents/full"; - images { - image: "00_nocontents_album.png" COMP; - } - parts { - part { name: "nocontents.image"; - description { state: "default" 0.0; - image { - normal: "00_nocontents_album.png"; - } - } - } - } -} - -group { - name: "elm/layout/nocontents/search"; - alias: "elm/nocontents/base/search"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - mouse_events: 0; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.5; - min: NOCONTENT_TEXT_STYLE_BG_MIN_INC; - rel1 { - relative: 0.0 0.5; - to:"bg"; - } - rel2 { - relative: 1.0 0.5; - to:"bg"; - } - text { - style: "nocontent_style"; - min: 0 1; - max: 0 1; - } - } - } - part { name: "text_bottom_padding"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC; - fixed: 0 1; - align: 0.5 0.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to:"elm.text"; - } - rel2 { - relative: 1.0 1.0; - to:"elm.text"; - } - } - } - part { name: "custom"; - mouse_events: 1; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - visible: 1; - rel1 { - relative: 0.0 1.0; - to:"text_bottom_padding"; - } - rel2 { - relative: 1.0 1.0; - to:"text_bottom_padding"; - } - } - } - } -} diff --git a/mobile/themes/widgets/map.edc b/mobile/themes/widgets/map.edc deleted file mode 100644 index a50c871..0000000 --- a/mobile/themes/widgets/map.edc +++ /dev/null @@ -1,491 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/map/base/default"; - images { - image: "White/63x63/00_list_process_01.png" COMP; - image: "White/63x63/00_list_process_02.png" COMP; - image: "White/63x63/00_list_process_03.png" COMP; - image: "White/63x63/00_list_process_04.png" COMP; - image: "White/63x63/00_list_process_05.png" COMP; - image: "White/63x63/00_list_process_06.png" COMP; - image: "White/63x63/00_list_process_07.png" COMP; - image: "White/63x63/00_list_process_08.png" COMP; - image: "White/63x63/00_list_process_09.png" COMP; - image: "White/63x63/00_list_process_10.png" COMP; - image: "White/63x63/00_list_process_11.png" COMP; - image: "White/63x63/00_list_process_12.png" COMP; - image: "White/63x63/00_list_process_13.png" COMP; - image: "White/63x63/00_list_process_14.png" COMP; - image: "White/63x63/00_list_process_15.png" COMP; - image: "White/63x63/00_list_process_16.png" COMP; - image: "White/63x63/00_list_process_17.png" COMP; - image: "White/63x63/00_list_process_18.png" COMP; - image: "White/63x63/00_list_process_19.png" COMP; - image: "White/63x63/00_list_process_20.png" COMP; - image: "White/63x63/00_list_process_21.png" COMP; - image: "White/63x63/00_list_process_22.png" COMP; - image: "White/63x63/00_list_process_23.png" COMP; - image: "White/63x63/00_list_process_24.png" COMP; - image: "White/63x63/00_list_process_25.png" COMP; - image: "White/63x63/00_list_process_26.png" COMP; - image: "White/63x63/00_list_process_27.png" COMP; - image: "White/63x63/00_list_process_28.png" COMP; - image: "White/63x63/00_list_process_29.png" COMP; - image: "White/63x63/00_list_process_30.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "White/63x63/00_list_process_30.png"; - tween: "White/63x63/00_list_process_01.png"; - tween: "White/63x63/00_list_process_02.png"; - tween: "White/63x63/00_list_process_03.png"; - tween: "White/63x63/00_list_process_04.png"; - tween: "White/63x63/00_list_process_05.png"; - tween: "White/63x63/00_list_process_06.png"; - tween: "White/63x63/00_list_process_07.png"; - tween: "White/63x63/00_list_process_08.png"; - tween: "White/63x63/00_list_process_09.png"; - tween: "White/63x63/00_list_process_10.png"; - tween: "White/63x63/00_list_process_11.png"; - tween: "White/63x63/00_list_process_12.png"; - tween: "White/63x63/00_list_process_13.png"; - tween: "White/63x63/00_list_process_14.png"; - tween: "White/63x63/00_list_process_15.png"; - tween: "White/63x63/00_list_process_16.png"; - tween: "White/63x63/00_list_process_17.png"; - tween: "White/63x63/00_list_process_18.png"; - tween: "White/63x63/00_list_process_19.png"; - tween: "White/63x63/00_list_process_20.png"; - tween: "White/63x63/00_list_process_21.png"; - tween: "White/63x63/00_list_process_22.png"; - tween: "White/63x63/00_list_process_23.png"; - tween: "White/63x63/00_list_process_24.png"; - tween: "White/63x63/00_list_process_25.png"; - tween: "White/63x63/00_list_process_26.png"; - tween: "White/63x63/00_list_process_27.png"; - tween: "White/63x63/00_list_process_28.png"; - tween: "White/63x63/00_list_process_29.png"; - } - } - } - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } -} -group { name: "elm/map/marker/radio/default"; - data { - item: size_w 48; - item: size_h 48; - item: size_max_w 58; - item: size_max_h 58; - } - images { - image: "map_item.png" COMP; - } - parts { - part { name: "whole"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_item.png"; - } - } - part { name: "elm.icon"; - type: SWALLOW; - clip_to: "whole"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.relative: 0.27 0.27; - rel2.relative: 0.73 0.73; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1.relative: 0.28 0.25; - rel2.relative: 0.75 0.75; - text { - font: "Tizen:style=Medium"; - size: 24; - min: 0 0; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "open"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "open" "elm"; - } - program { name: "bringin"; - signal: "mouse,down,1,double"; - source: "base"; - action: SIGNAL_EMIT "bringin" "elm"; - } - } -} -group { name: "elm/map/marker/radio2/default"; - data { - item: size_w 48; - item: size_h 48; - item: size_max_w 58; - item: size_max_h 58; - } - images { - image: "map_item_2.png" COMP; - } - parts { - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_item_2.png"; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1.relative: 0.28 0.25; - rel2.relative: 0.75 0.75; - text { - font: "Tizen:style=Medium"; - size: 24; - min: 0 0; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "open"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "open" "elm"; - } - program { name: "bringin"; - signal: "mouse,down,1,double"; - source: "base"; - action: SIGNAL_EMIT "bringin" "elm"; - } - } -} -group { name: "elm/map/marker/empty/default"; - data { - item: size_w 44; - item: size_h 44; - item: size_max_w 64; - item: size_max_h 64; - } - parts { - part { name: "whole"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "base"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.icon"; - type: SWALLOW; - clip_to: "whole"; - mouse_events: 0; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1.relative: 0.28 0.25; - rel2.relative: 0.75 0.75; - text { - font: "Tizen:style=Medium"; - size: 24; - min: 0 0; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "open"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "open" "elm"; - } - program { name: "bringin"; - signal: "mouse,down,1,double"; - source: "base"; - action: SIGNAL_EMIT "bringin" "elm"; - } - } -} -group { name: "elm/map/marker_bubble/default"; - images { - image: "bubble.png" COMP; - image: "bubble_shine.png" COMP; - } - data { - item: size_w 200; - item: size_h 100; - } - parts { - part { name: "clipper"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "base0"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - image { - normal: "bubble.png"; - border: 11 36 10 19; - } - image.middle: SOLID; - fill.smooth: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1 { - offset: 9 8; - } - rel2 { - offset: -10 -17; - } - } - } - part { name: "shine"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to: "base0"; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - } - image { - normal: "bubble_shine.png"; - border: 5 5 5 0; - } - fill.smooth: 0; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "show" 0.0; - target: "clipper"; - transition: ACCELERATE 0.5; - } - } -} -group { name: "elm/map/circle/base/default"; - images { - image: "map_circle.png" COMP; - } - parts { - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_circle.png"; - } - } - } -} -group { name: "elm/map/scale/base/default"; - data { - item: size_w 100; - item: size_h 25; - } - images { - image: "map_scale.png" COMP; - } - parts { - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_scale.png"; - image.border: 10 10 10 10; - } - } - part { name: "elm.text"; - type: TEXT; - ignore_flags: ON_HOLD; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1 { - relative: 0 0; - offset: 1 1; - } - rel2 { - relative: 1 1; - offset: -1 -1; - } - text { - font: "Tizen:style=Medium"; - size: 24; - min: 0 0; - align: 0.1 0.5; - text_class: "tizen"; - } - } - } - } -} diff --git a/mobile/themes/widgets/multibuttonentry.edc b/mobile/themes/widgets/multibuttonentry.edc deleted file mode 100644 index 06ae951..0000000 --- a/mobile/themes/widgets/multibuttonentry.edc +++ /dev/null @@ -1,495 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -group { - name: "elm/multibuttonentry/base/default"; - - data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC; - data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC; - data.item: "closed_button_type" "label"; /* image, label, default: label */ - - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: MULTIBUTTONENTRY_BG_COLOR_INC; - } - } - part { - name: "top.left.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC; - fixed: 1 1; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - color: 0 0 0 0; - } - } - part { - name: "bottom.right.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC; - fixed: 1 1; - rel1.relative: 1.0 1.0; - align: 1.0 1.0; - color: 0 0 0 0; - } - } - part { - name: "box.swallow"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "top.left.pad"; - } - rel2 { - relative: 0.0 0.0; - to: "bottom.right.pad"; - } - } - } - part { name: "block_events"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - description { - state: "invisible" 0.0; - visible: 0; - } - } - part { name: "events"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - } - program { - name: "event_allow"; - signal: "elm,state,event,allow"; - source: ""; - action: STATE_SET "invisible" 0.0; - target: "block_events"; - } - program { - name: "event_block"; - signal: "elm,state,event,block"; - source: ""; - action: STATE_SET "default" 0.0; - target: "block_events"; - } - } -} - -group { - name: "elm/multibuttonentry/guidetext/default"; - - styles { - style { - name: "multibuttonentry_guide_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - } - - parts { - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC; - text.style: "multibuttonentry_guide_style"; - } - } - } -} - -group { - name: "elm/multibuttonentry/btn/default"; - - styles { - style { - name: "multibuttonentry_btn_text_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" style=far_shadow, bottom shadow_color="MULTIBUTTONENTRY_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC" text_class=tizen"; - } - style { - name: "multibuttonentry_btn_text_pressed_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" style=far_shadow, top shadow_color="MULTIBUTTONENTRY_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC" text_class=tizen"; - } - style { - name: "multibuttonentry_btn_text_ellipsis_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" style=far_shadow, bottom shadow_color="MULTIBUTTONENTRY_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC" ellipsis=1 text_class=tizen"; - } - style { - name: "multibuttonentry_btn_text_ellipsis_pressed_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" style=far_shadow, top shadow_color="MULTIBUTTONENTRY_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC" ellipsis=1 text_class=tizen"; - } - } - - images { - image: "00_contacts_button.png" COMP; - image: "00_contacts_button_press.png" COMP; - image: "00_contacts_button_dim.png" COMP; - } - - data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; - data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC; - - parts { - part { - name: "elm.btn.bg"; - type: IMAGE; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC; - image { - normal: "00_contacts_button.png"; - border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC; - border_scale: 1; - } - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - image.normal: "00_contacts_button_press.png"; - } - description { - state: "out_of_focus" 0.0; - inherit: "default" 0.0; - image.normal: "00_contacts_button_dim.png"; - } - } - part { - name: "left.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - color: 0 0 0 0; - } - } - part { - name: "right.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - color: 0 0 0 0; - } - } - part { - name: "elm.btn.text"; - type: TEXTBLOCK; - mouse_events: 0; - multiline: 0; - scale: 1; - description { - state: "default" 0.0; - text { - style: "multibuttonentry_btn_text_style"; - min: 1 0; - } - rel1 { - relative: 1.0 0.0; - to: "left.padding"; - } - rel2 { - relative: 0.0 1.0; - to: "right.padding"; - } - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - text.style: "multibuttonentry_btn_text_pressed_style"; - } - description { - state: "ellipsis" 0.0; - inherit: "default" 0.0; - text { - style: "multibuttonentry_btn_text_ellipsis_style"; - min: 0 0; - } - } - description { - state: "ellipsis_focused" 0.0; - inherit: "ellipsis" 0.0; - text.style: "multibuttonentry_btn_text_ellipsis_pressed_style"; - } - } - part { name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "text_ellipsis"; - signal: "elm,state,text,ellipsis"; - source: ""; - action: STATE_SET "ellipsis" 0.0; - target: "elm.btn.text"; - } - program { - name: "focused"; - signal: "focused"; - source: ""; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.btn.text", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"elm.btn.text", "focused", 0.0); - else - set_state(PART:"elm.btn.text", "ellipsis_focused", 0.0); - - set_state(PART:"elm.btn.bg", "focused", 0.0); - } - after: "selected"; - } - program { - name: "unfocused"; - signal: "default"; - source: ""; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.btn.text", st, 30, vl); - if (!strcmp(st, "focused")) - set_state(PART:"elm.btn.text", "default", 0.0); - else - set_state(PART:"elm.btn.text", "ellipsis", 0.0); - - set_state(PART:"elm.btn.bg", "default", 0.0); - } - } - program { - name: "mbe_lose_focus"; - signal: "lose_focus"; - source: ""; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.btn.text", st, 30, vl); - if (!strcmp(st, "focused")) - set_state(PART:"elm.btn.text", "default", 0.0); - else - set_state(PART:"elm.btn.text", "ellipsis", 0.0); - - set_state(PART:"elm.btn.bg", "out_of_focus", 0.0); - } - } - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - after: "touch_snd"; - } - program { - name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - name: "selected"; - action: SIGNAL_EMIT "elm,action,selected" ""; - } - } -} - -group { - name: "elm/multibuttonentry/number/default"; - - parts { - part { - name: "left.pad"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - color: 0 0 0 0; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; - color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC; - text { - font: "Tizen:style=Regular"; - size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC; - min: 1 0; - text_class: "tizen"; - } - rel1 { - relative: 1.0 0.0; - to: "left.pad"; - } - } - } - } -} - -group { - name: "elm/multibuttonentry/closedbutton/default"; - - images { - image: "00_circle_button.png" COMP; - image: "00_button_expand_closed.png" COMP; - } - - parts { - part { - name: "closed_button_bg"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC; - image.normal: "00_circle_button.png"; - } - } - part { - name: "closed_button"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - image.normal: "00_button_expand_closed.png"; - } - } - } -} - -group { - name: "elm/multibuttonentry/label/default"; - - styles { - style { - name: "multibuttonentry_label_style"; - base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - } - - parts { - part { - name: "mbe.label.right.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: MULTIBUTTONENTRY_LABEL_PAD_INC 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - color: 0 0 0 0; - } - } - part { - name: "mbe.label"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC; - text { - style: "multibuttonentry_label_style"; - min: 1 0; - } - rel2 { - relative: 0.0 1.0; - to: "mbe.label.right.padding"; - } - } - } - } -} diff --git a/mobile/themes/widgets/naviframe.edc b/mobile/themes/widgets/naviframe.edc deleted file mode 100644 index 421afa9..0000000 --- a/mobile/themes/widgets/naviframe.edc +++ /dev/null @@ -1,3735 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define NAVIFRAME_VIEW_TRANS_TIME 0.3 -#define NAVIFRAME_TITLE_SLIDE_TEXT_GAP 60 -#define NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 40 -#define NAVIFRAME_TITLE_SLIDE_MAX_COUNT 3 -#define NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT 0.01 - - group { name: "elm/naviframe/item/basic/default"; - images { - image: "00_title_bg.png" COMP; - image: "00_badge_bg.png" COMP; - image: "00_effect_title_text_dim_left.png" COMP; - image: "00_effect_title_text_dim_right.png" COMP; - } - script { - public tbar_bg = 0; //Toolbar BG Show call count - public tbar_close = 0; //Toolbar lastest Open/Close status - public title_badge_visible = 0; //Title badge visible/hidden status - public landscape = 0; //Landscape mode status - public subtitle = 0; //Subtitle on/off status - - public title_duration = 0; - public subtitle_duration = 0; - public title_slide_stop; - public subtitle_slide_stop; - public title_slide_anim_id; - public subtitle_slide_anim_id; - public title_text_w; - public subtitle_text_w; - public org_title_text_w; - public org_subtitle_text_w; - public title_slide_count = 0; - public subtitle_slide_count = 0; - - public get_width(val) { - new x, y, w, h; - new buf[128]; - new st[31]; - new Float:vl; - - // Title Text - if (val == 0) { - get_geometry(PART:"elm.text.title", x, y, w, h); - set_int(org_title_text_w, w); - - get_text(PART:"elm.text.title", buf, 127); - set_text(PART:"elm.text.full_title", buf); - get_state(PART:"elm.text.title", st, 30, vl); - set_state(PART:"elm.text.full_title", st, 0.0); - get_geometry(PART:"elm.text.full_title", x, y, w, h); - set_int(title_text_w, w); - } - // Subtitle Text - else { - get_geometry(PART:"elm.text.subtitle", x, y, w, h); - set_int(org_subtitle_text_w, w); - - get_text(PART:"elm.text.subtitle", buf, 127); - set_text(PART:"elm.text.full_subtitle", buf); - get_state(PART:"elm.text.subtitle", st, 30, vl); - set_state(PART:"elm.text.full_subtitle", st, 0.0); - get_geometry(PART:"elm.text.full_subtitle", x, y, w, h); - set_int(subtitle_text_w, w); - } - } - - public slide_end_pending(val, Float:pos) { - if (pos >= 1.0) { - // Title Text - if (val == 0) { - if (get_int(title_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) - start_slide(0); - else - stop_slide(0); - } - // Subtitle Text - else{ - if (get_int(subtitle_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) - start_slide(1); - else - stop_slide(1); - } - } - } - - public slide_to_end_anim(val, Float:pos) { - // Title Text - if (val == 0) { - if (get_int(title_slide_stop)) return; - - if (!get_int(subtitle)) { - set_tween_state(PART:"elm.text.slide_begin_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); - set_tween_state(PART:"elm.text.slide_end_title", pos, "title_slide_begin", 0.0, "title_slide_end", 0.0); - } - else { - if (!get_int(landscape)) { - set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); - set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin", 0.0, "maintitle_slide_end", 0.0); - } - else { - set_tween_state(PART:"elm.text.slide_begin_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); - set_tween_state(PART:"elm.text.slide_end_title", pos, "maintitle_slide_begin_landscape", 0.0, "maintitle_slide_end_landscape", 0.0); - } - } - - if (pos >= 1.0) - anim(1, "slide_end_pending", 0); - } - // Subtitle Text - else { - if (get_int(subtitle_slide_stop)) return; - - if (!get_int(landscape)) { - set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); - set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin", 0.0, "slide_end", 0.0); - } - else { - set_tween_state(PART:"elm.text.slide_begin_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - set_tween_state(PART:"elm.text.slide_end_subtitle", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - } - - if (pos >= 1.0) - anim(1, "slide_end_pending", 1); - } - } - - public slide_to_end(val) { - new slide_anim_id; - new Float:duration; - - // Title Text - if (val == 0) { - if (get_int(title_slide_stop)) return; - - duration = get_float(title_duration); - slide_anim_id = anim(duration, "slide_to_end_anim", 0); - set_int(title_slide_anim_id, slide_anim_id); - } - // Subtitle Text - else { - if (get_int(subtitle_slide_stop)) return; - - duration = get_float(subtitle_duration); - slide_anim_id = anim(duration, "slide_to_end_anim", 1); - set_int(subtitle_slide_anim_id, slide_anim_id); - } - } - - public start_slide(val) { - new Float:len; - new buf[128]; - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "hide")) - return; - - // Title Text - if (val == 0) { - set_int(title_slide_count, get_int(title_slide_count) + 1); - - if (get_int(title_slide_count) == 1) { - get_width(0); - - if (get_int(title_text_w) <= get_int(org_title_text_w)) { - set_int(title_slide_count, 0); - return; - } - - set_state(PART:"title_text_slide_effect_left", "visible", 0.0); - set_state(PART:"title_text_slide_effect_right", "visible", 0.0); - - len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP; - set_float(title_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); - - set_int(title_slide_stop, 0); - - get_text(PART:"elm.text.title", buf, 127); - set_text(PART:"elm.text.slide_begin_title", buf); - set_text(PART:"elm.text.slide_end_title", buf); - } - - if (!get_int(subtitle)) { - set_state(PART:"elm.text.slide_begin_title", "title_slide_begin", 0.0); - set_state(PART:"elm.text.slide_end_title", "title_slide_begin", 0.0); - } - else { - set_state(PART:"elm.text.slide_begin_title", "maintitle_slide_begin", 0.0); - set_state(PART:"elm.text.slide_end_title", "maintitle_slide_begin", 0.0); - } - - if (get_int(title_slide_count) == 1) { - set_state(PART:"title_text_clip", "slide", 0.0); - set_state(PART:"slide_title_text_clip", "slide", 0.0); - } - - slide_to_end(0); - } - // Subtitle Text - else { - set_int(subtitle_slide_count, get_int(subtitle_slide_count) + 1); - - if (get_int(subtitle_slide_count) == 1) { - get_width(1); - - if (get_int(subtitle_text_w) <= get_int(org_subtitle_text_w)) { - set_int(subtitle_slide_count, 0); - return; - } - - set_state(PART:"subtitle_text_slide_effect_left", "visible", 0.0); - set_state(PART:"subtitle_text_slide_effect_right", "visible", 0.0); - - len = get_int(subtitle_text_w) + NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP; - if (!get_int(landscape)) - set_float(subtitle_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); - else - set_float(subtitle_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); - - set_int(subtitle_slide_stop, 0); - - get_text(PART:"elm.text.subtitle", buf, 127); - set_text(PART:"elm.text.slide_begin_subtitle", buf); - set_text(PART:"elm.text.slide_end_subtitle", buf); - } - - if (!get_int(landscape)) { - set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin", 0.0); - set_state(PART:"elm.text.slide_end_subtitle", "slide_begin", 0.0); - } - else { - set_state(PART:"elm.text.slide_begin_subtitle", "slide_begin_landscape", 0.0); - set_state(PART:"elm.text.slide_end_subtitle", "slide_begin_landscape", 0.0); - } - - if (get_int(subtitle_slide_count) == 1) { - set_state(PART:"subtitle_text_clip", "slide", 0.0); - set_state(PART:"slide_subtitle_text_clip", "slide", 0.0); - } - - slide_to_end(1); - } - } - - public stop_slide(val) { - new slide_anim_id; - - // Title Text - if (val == 0) { - set_int(title_slide_stop, 1); - set_int(title_slide_count, 0); - - slide_anim_id = get_int(title_slide_anim_id); - cancel_anim(slide_anim_id); - set_int(title_slide_anim_id, 0); - - set_text(PART:"elm.text.slide_begin_title", ""); - set_text(PART:"elm.text.slide_end_title", ""); - - set_state(PART:"elm.text.slide_begin_title", "default", 0.0); - set_state(PART:"elm.text.slide_end_title", "default", 0.0); - - set_state(PART:"title_text_clip", "default", 0.0); - set_state(PART:"slide_title_text_clip", "default", 0.0); - - set_state(PART:"title_text_slide_effect_left", "default", 0.0); - set_state(PART:"title_text_slide_effect_right", "default", 0.0); - } - // Subtitle Text - else { - set_int(subtitle_slide_stop, 1); - set_int(subtitle_slide_count, 0); - - slide_anim_id = get_int(subtitle_slide_anim_id); - cancel_anim(slide_anim_id); - set_int(subtitle_slide_anim_id, 0); - - set_text(PART:"elm.text.slide_begin_subtitle", ""); - set_text(PART:"elm.text.slide_end_subtitle", ""); - - set_state(PART:"elm.text.slide_begin_subtitle", "default", 0.0); - set_state(PART:"elm.text.slide_end_subtitle", "default", 0.0); - - set_state(PART:"subtitle_text_clip", "default", 0.0); - set_state(PART:"slide_subtitle_text_clip", "default", 0.0); - - set_state(PART:"subtitle_text_slide_effect_left", "default", 0.0); - set_state(PART:"subtitle_text_slide_effect_right", "default", 0.0); - } - } - } - - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "left" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "left" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "right" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 1 NAVIFRAME_TITLE_H_INC; - max: -1 NAVIFRAME_TITLE_H_INC; - align: 0.0 0.0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - image { - normal: "00_title_bg.png"; - border: NAVIFRAME_TITLE_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: 1 NAVIFRAME_LANDSCAPE_TITLE_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_TITLE_H_INC; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - } - } - part { name: "title_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to_y: "title_bg"; } - rel2 { to_y: "title_bg"; } - } - } - part { name: "title_right_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - fixed: 1 1; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "divider2"; } - rel2 { relative: 1.0 1.0; to: "divider2"; } - visible: 0; - } - description { state: "title_left_btn_set" 0.0; - inherit: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "divider1"; } - rel2 { relative: 1.0 1.0; to: "divider1"; } - } - } - part { name: "title_left_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 0.0 1.0; to: "title_bg"; } - visible: 0; - } - description { state: "icon" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_ICON_PADDING_INC; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 1.0; - rel1.to_x: "base"; - rel1.to_y: "title_bg"; - rel2.relative: 1.0 0.0; - rel2.to_x: "base"; - rel2.to_y: "toolbar"; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to_y: "elm.swallow.content"; - rel2.to_y: "elm.swallow.content"; - } - } - part { name: "badge_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 0.0 0.0; to: "title_right_padding"; } - rel2 { relative: 0.0 1.0; to: "title_right_padding"; } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_BADGE_PADDING_INC; - } - } - part { name: "title_text_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 NAVIFRAME_TITLE_TEXT_BG_H_INC; - max: -1 NAVIFRAME_TITLE_TEXT_BG_H_INC; - fixed: 1 1; - rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; } - rel2 { relative: 0.0 1.0; to_x: "title_right_padding"; to_y: "title_bg"; } - } - description { state: "subtitle_is_set" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_TITLE_TEXT_BG_H_INC; - } - } - part { name: "maintitle_text_bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { relative: 0.0 0.0; to: "title_text_bg"; } - rel2 { relative: 0.0 1.0; to_x: "badge_padding"; to_y: "title_text_bg"; } - } - description { state: "subtitle_is_set" 0.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "title_text_bg"; } - rel2 { relative: 0.0 0.0; to_x: "badge_padding"; to_y: "subtitle_top_padding"; } - } - } - part { name: "title_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "title_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "subtitle_is_set" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "subtitle_is_set_landscape" 0.0; - inherit: "subtitle_is_set" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - } - part { name: "slide_title_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.text.title"; - rel2.to: "elm.text.title"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "slide_text_gap1"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } - rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } - } - } - part { name: "elm.text.slide_begin_title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "title_slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "title_slide_end" 0.0; - inherit: "default" 0.0; - text.align: 1.0 0.5; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } - rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } - } - description { state: "maintitle_slide_begin" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } - rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } - } - description { state: "maintitle_slide_end" 0.0; - inherit: "maintitle_slide_begin" 0.0; - text.align: 1.0 0.5; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } - rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } - } - description { state: "maintitle_slide_begin_landscape" 0.0; - inherit: "maintitle_slide_begin" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - description { state: "maintitle_slide_end_landscape" 0.0; - inherit: "maintitle_slide_end" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - } - part { name: "title_text_slide_effect_left_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 0.0 0.0; to: "elm.text.title"; } - rel2 { relative: 0.0 1.0; to: "elm.text.title"; } - } - } - part { name: "title_text_slide_effect_left"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } - rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } - image { - normal: "00_effect_title_text_dim_left.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.full_title"; - type: TEXT; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - visible: 0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "subtitle_is_set" 0.0; - visible: 0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "subtitle_is_set_landscape" 0.0; - inherit: "subtitle_is_set" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - } - part { name: "slide_text_gap2"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "elm.text.full_title"; } - rel2 { relative: 1.0 1.0; to: "elm.text.full_title"; } - } - } - part { name: "elm.text.slide_end_title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_FONT_SIZE_INC; - size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC; - fit: 1 0; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "maintitle_text_bg"; - rel2.to: "maintitle_text_bg"; - } - description { state: "title_slide_begin" 0.0; - inherit: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } - rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } - } - description { state: "title_slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "maintitle_slide_begin" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } - rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } - } - description { state: "maintitle_slide_end" 0.0; - inherit: "maintitle_slide_begin" 0.0; - rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; } - rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; } - } - description { state: "maintitle_slide_begin_landscape" 0.0; - inherit: "maintitle_slide_begin" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - description { state: "maintitle_slide_end_landscape" 0.0; - inherit: "maintitle_slide_end" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC; - } - } - part { name: "title_text_slide_effect_right_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "elm.text.title"; } - rel2 { relative: 1.0 1.0; to: "elm.text.title"; } - } - } - part { name: "title_text_slide_effect_right"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; } - rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; } - image { - normal: "00_effect_title_text_dim_right.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "subtitle_top_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 1.0; - rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } - rel2 { relative: 1.0 0.0; to: "subtitle_text_bg"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 0 1; - min: 0 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; - max: -1 NAVIFRAME_SUBTITLE_TOP_PADDING_H_INC; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - fixed: 0 1; - min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_TOP_PADDING_H_INC; - } - } - part { name: "subtitle_text_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0; to: "title_text_bg"; } - rel2 { relative: 1.0 1.0; to: "title_text_bg"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 0 1; - min: 0 NAVIFRAME_SUBTITLE_H_INC; - max: -1 NAVIFRAME_SUBTITLE_H_INC; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - fixed: 0 1; - min: 0 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_SUBTITLE_H_INC; - } - } - part { name: "subtitle_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "subtitle_text_bg"; - rel2.to: "subtitle_text_bg"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.subtitle"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "subtitle_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC; - align: 0.0 0.5; - rel1.to: "subtitle_text_bg"; - rel2.to: "subtitle_text_bg"; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - part { name: "slide_subtitle_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.text.subtitle"; - rel2.to: "elm.text.subtitle"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "slide_subtitle_divider1"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } - rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } - } - } - part { name: "elm.text.slide_begin_subtitle"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_subtitle_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "subtitle_text_bg"; - rel2.to: "subtitle_text_bg"; - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - text.align: 1.0 0.5; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } - rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } - } - description { state: "slide_begin_landscape" 0.0; - inherit: "default" 0.0; - text.size: NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC; - rel1 { relative: 0.0 0.0; to: "subtitle_text_bg"; } - rel2 { relative: 0.0 1.0; to: "subtitle_text_bg"; } - } - description { state: "slide_end_landscape" 0.0; - inherit: "slide_begin_landscape" 0.0; - text.align: 1.0 0.5; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_subtitle_divider1"; } - rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; } - } - } - part { name: "subtitle_text_slide_effect_left"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 0.0 0.0; to_x: "title_text_slide_effect_left_bg"; to_y: "subtitle_text_bg"; } - rel2 { relative: 0.0 1.0; to_x: "title_text_slide_effect_left_bg"; to_y: "subtitle_text_bg"; } - image { - normal: "00_effect_title_text_dim_left.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.full_subtitle"; - type: TEXT; - scale: 1; - clip_to: "slide_subtitle_text_clip"; - description { state: "default" 0.0; - visible: 0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "subtitle_text_bg"; - rel2.to: "subtitle_text_bg"; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - text.size: NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC; - } - } - part { name: "slide_subtitle_divider2"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP -1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "elm.text.full_subtitle"; } - rel2 { relative: 1.0 1.0; to: "elm.text.full_subtitle"; } - } - } - part { name: "elm.text.slide_end_subtitle"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_subtitle_text_clip"; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "subtitle_text_bg"; - rel2.to: "subtitle_text_bg"; - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } - rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "slide_begin_landscape" 0.0; - inherit: "default" 0.0; - text.size: NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC; - rel1 { relative: 1.0 0.0; to: "slide_subtitle_divider2"; } - rel2 { relative: 1.0 1.0; to: "slide_subtitle_divider2"; } - } - description { state: "slide_end_landscape" 0.0; - inherit: "slide_begin_landscape" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - } - part { name: "subtitle_text_slide_effect_right_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "elm.text.subtitle"; } - rel2 { relative: 1.0 1.0; to: "elm.text.subtitle"; } - } - } - part { name: "subtitle_text_slide_effect_right"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "subtitle_text_slide_effect_right_bg"; } - rel2 { relative: 1.0 1.0; to: "subtitle_text_slide_effect_right_bg"; } - image { - normal: "00_effect_title_text_dim_right.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_before_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_text_bg"; } - rel2 { relative: 0.0 1.0; to: "title_text_bg"; } - fixed: 1 0; - min: NAVIFRAME_PADDING2_INC; - visible: 0; - } - } - part { name: "badge_top_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: NAVIFRAME_BADGE_TOP_PADDING_INC; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 0.0; to: "title_bg"; } - align: 0.0 0.0; - } - description { state: "subtitle_is_set" 0.0; - inherit: "default" 0.0; - min: 0 0; - fixed: 0 1; - } - } - part { name: "badge_left_padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - fixed: 1 1; - rel1 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "badge_top_padding"; } - rel2 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "badge_top_padding"; } - align: 0.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_BADGE_LEFT_PADDING_INC; - } - } - part { name: "left.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 0 0; - rel1 { - to: "badge_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to: "badge_left_padding"; - relative: 1.0 1.0; - } - align: 0.0 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; - } - } - part { name: "right.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 0 0; - rel1 { - to: "title_badge"; - relative: 1.0 0.0; - } - rel2 { - to: "title_badge"; - relative: 1.0 1.0; - } - align: 0.0 0.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC; - } - } - part { name: "badge_bg"; - type: IMAGE; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - fixed: 1 1; - rel1 { - to: "left.padding.text"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text"; - relative: 1.0 1.0; - } - image { - normal: "00_badge_bg.png"; - border: NAVIFRAME_BADGE_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: NAVIFRAME_BADGE_BG_IMAGE_SIZE_INC; - } - } - part { name: "title_badge"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - min: NAVIFRAME_BADGE_TEXT_MIN_W_INC 0; - max: NAVIFRAME_BADGE_TEXT_MAX_W_INC -1; - fixed: 1 1; - rel1 { relative: 1.0 0.0; to: "left.padding.text"; } - rel2 { relative: 1.0 1.0; to_y: "left.padding.text"; to_x: "badge_padding"; } - align: 0.0 0.5; - color: NAVIFRAME_BADGE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: NAVIFRAME_BADGE_TEXT_H_INC; - min: 0 0; - max: 1 0; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "click_event_area"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { to: "title_bg"; } - rel2 { to: "title_bg"; } - color: 0 0 0 0; - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "title_bg"; - rel2.to: "title_bg"; - color: 0 0 0 0; - } - } - part { name: "divider1"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - fixed: 1 1; - color: NAVIFRAME_TITLE_BUTTON_DIVIDER_COLOR_INC; - rel1 { relative: 0.0 0.0; to: "title_left_btn"; } - rel2 { relative: 0.0 1.0; to: "title_left_btn"; } - align: 1.0 0.5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 2 48; - max: 2 48; - } - } - part { name: "title_left_btn"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "divider2"; } - rel2 { relative: 0.0 1.0; to: "divider2"; } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; - } - } - part { name: "divider2"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - fixed: 1 1; - color: NAVIFRAME_TITLE_BUTTON_DIVIDER_COLOR_INC; - rel1 { relative: 0.0 0.0; to: "title_right_btn"; } - rel2 { relative: 0.0 1.0; to: "title_right_btn"; } - align: 1.0 0.5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 2 48; - max: 2 48; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_ICON_SIZE_INC; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "padding_before_text"; } - rel2 { relative: 0.0 1.0; to: "padding_before_text"; } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 1.0 0.5; - } - } - part { name: "title_right_btn"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_TITLE_FUNC_BTN_SIZE_INC; - } - } - part { name: "toolbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 999999 0; - fixed: 0 1; - align: 0.0 1.0; - visible: 0; - rel1 { to: "base"; } - rel2 { to: "base"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; - visible: 1; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - visible: 1; - } - } - part { name: "more_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "toolbar"; } - rel2 { relative: 0.0 1.0; to: "toolbar"; } - visible: 0; - } - } - part { name: "toolbar_more_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - rel1.to: "more_btn_bg"; - rel2.to: "more_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "prev_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "toolbar"; } - rel2.to: "toolbar"; - visible: 0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "prev_btn_bg"; - rel2.to: "prev_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "toolbar_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to: "toolbar"; } - rel2 { to: "toolbar"; } - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - set_state(PART:"clipper", "default", 0.0); - emit("elm,action,title,slide", ""); - } - } - program { name: "title_slide"; - signal: "elm,action,title,slide"; - source: ""; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - timer(1.5, "start_slide", 0); - - if (get_int(subtitle)) { - if (get_int(subtitle_slide_anim_id)) - stop_slide(0); - timer(1.5, "start_slide", 1); - } - } - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"title_bg", "default", 0.0); - else - set_state(PART:"title_bg", "landscape", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - } - } - program { name: "subtitle_show"; - signal: "elm,state,subtitle,show"; - source: "elm"; - script { - set_state(PART:"badge_top_padding", "subtitle_is_set", 0.0); - set_state(PART:"maintitle_text_bg", "subtitle_is_set", 0.0); - if (!get_int(landscape)) { - set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); - set_state(PART:"subtitle_top_padding", "visible", 0.0); - set_state(PART:"subtitle_text_bg", "visible", 0.0); - } - else { - set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); - set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); - set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); - } - set_int(subtitle, 1); - } - } - program { name: "subtitle_hide"; - signal: "elm,state,subtitle,hide"; - source: "elm"; - script { - set_state(PART:"badge_top_padding", "default", 0.0); - set_state(PART:"maintitle_text_bg", "default", 0.0); - set_state(PART:"subtitle_top_padding", "default", 0.0); - set_state(PART:"subtitle_text_bg", "default", 0.0); - set_state(PART:"elm.text.title", "default", 0.0); - set_int(subtitle, 0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,show"; - source: "elm"; - action: STATE_SET "icon" 0.0; - target: "title_left_padding"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_left_padding"; - } - program { name: "title_left_btn_show"; - signal: "elm,state,title_left_btn,show"; - source: "elm"; - script { - set_state(PART:"divider1", "visible", 0.0); - set_state(PART:"title_right_padding", "title_left_btn_set", 0.0); - } - } - program { name: "title_left_btn_hide"; - signal: "elm,state,title_left_btn,hide"; - source: "elm"; - script { - set_state(PART:"divider1", "default", 0.0); - set_state(PART:"title_right_padding", "default", 0.0); - } - } - program { name: "title_right_btn_show"; - signal: "elm,state,title_right_btn,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "divider2"; - } - program { name: "title_right_btn_hide"; - signal: "elm,state,title_right_btn,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "divider2"; - } - program { name: "toolbar_show"; - signal: "elm,state,toolbar,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - set_int(tbar_bg, get_int(tbar_bg) + 1); - } - } - program { name: "toolbar_hide"; - signal: "elm,state,toolbar,hide"; - source: "elm"; - script { - set_int(tbar_bg, get_int(tbar_bg) - 1); - if (get_int(tbar_bg) <= 0) - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open_internal"; - signal: "elm,state,toolbar,open,internal"; - source: "elm"; - script { - set_int(tbar_close, 0); - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - } - program { name: "toolbar_close_internal"; - signal: "elm,state,toolbar,close,internal"; - source: "elm"; - script { - set_int(tbar_close, 1); - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open"; - signal: "elm,state,toolbar,open"; - source: ""; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - transition: LINEAR 0.2; - after: "toolbar_open_internal"; - } - program { name: "toolbar_close"; - signal: "elm,state,toolbar,close"; - source: ""; - action: STATE_SET "default" 0.0; - target: "toolbar"; - transition: LINEAR 0.2; - after: "toolbar_close_internal"; - } - program { name: "toolbar_instant_open"; - signal: "elm,state,toolbar,instant_open"; - source: ""; - script { - emit("elm,state,toolbar,open,internal", "elm"); - } - } - program { name: "toolbar_instant_close"; - signal: "elm,state,toolbar,instant_close"; - source: ""; - script { - emit("elm,state,toolbar,close,internal", "elm"); - } - } - program { name: "show_finished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "pushed_finished"; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - - if (get_int(subtitle)) { - if (get_int(subtitle_slide_anim_id)) - stop_slide(0); - } - emit("elm,action,pushed,finished", ""); - } - } - program { name: "popped_finished"; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - - if (get_int(subtitle)) { - if (get_int(subtitle_slide_anim_id)) - stop_slide(0); - } - emit("elm,action,popped,finished", ""); - } - } - program { - name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "click_event_area"; - script { - emit("elm,action,title,clicked", ""); - } - } - program { - name: "title_badge_show"; - signal: "elm,state,title_badge,show"; - source: "elm"; - script { - set_state(PART:"badge_left_padding", "visible", 0.0); - set_state(PART:"badge_padding", "visible", 0.0); - set_state(PART:"left.padding.text", "visible", 0.0); - set_state(PART:"right.padding.text", "visible", 0.0); - set_state(PART:"badge_bg", "visible", 0.0); - set_state(PART:"title_badge", "visible", 0.0); - set_int(title_badge_visible, 1); - } - } - program { - name: "title_badge_hide"; - signal: "elm,state,title_badge,hide"; - source: "elm"; - script { - set_state(PART:"badge_left_padding", "default", 0.0); - set_state(PART:"badge_padding", "default", 0.0); - set_state(PART:"left.padding.text", "default", 0.0); - set_state(PART:"right.padding.text", "default", 0.0); - set_state(PART:"badge_bg", "default", 0.0); - set_state(PART:"title_badge", "default", 0.0); - set_int(title_badge_visible, 0); - } - } - program { - name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - if (!get_int(landscape)) { - set_state(PART:"title_text_bg", "landscape", 0.0); - set_state(PART:"elm.text.subtitle", "landscape", 0.0); - set_state(PART:"title_left_btn", "landscape", 0.0); - set_state(PART:"title_right_btn", "landscape", 0.0); - set_state(PART:"toolbar_more_btn", "landscape", 0.0); - set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"title_bg", "landscape", 0.0); - - get_state(PART:"elm.text.title", st, 30, vl); - if (!strcmp(st, "subtitle_is_set")) - set_state(PART:"elm.text.title", "subtitle_is_set_landscape", 0.0); - - get_state(PART:"subtitle_top_padding", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"subtitle_top_padding", "visible_landscape", 0.0); - - get_state(PART:"subtitle_text_bg", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"subtitle_text_bg", "visible_landscape", 0.0); - - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"toolbar", "visible_landscape", 0.0); - - set_int(landscape, 1); - } - } - } - program { - name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - if (get_int(landscape)) { - set_state(PART:"title_text_bg", "default", 0.0); - set_state(PART:"elm.text.subtitle", "default", 0.0); - set_state(PART:"title_left_btn", "default", 0.0); - set_state(PART:"title_right_btn", "default", 0.0); - set_state(PART:"toolbar_more_btn", "default", 0.0); - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "landscape")) - set_state(PART:"title_bg", "default", 0.0); - - get_state(PART:"elm.text.title", st, 30, vl); - if (!strcmp(st, "subtitle_is_set_landscape")) - set_state(PART:"elm.text.title", "subtitle_is_set", 0.0); - - get_state(PART:"subtitle_top_padding", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"subtitle_top_padding", "visible", 0.0); - - get_state(PART:"subtitle_text_bg", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"subtitle_text_bg", "visible", 0.0); - - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"toolbar", "visible", 0.0); - - set_int(landscape, 0); - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } - } - - group { name: "elm/naviframe/item/tabbar/default"; - images { - image: "00_title_bg.png" COMP; - image: "00_effect_title_text_dim_left.png" COMP; - image: "00_effect_title_text_dim_right.png" COMP; - } - script { - public tbar_bg = 0; //Controlbar BG Show call count - public tbar_close = 0; //Toolbar lastest Open/Close status - public landscape = 0; //Landscape mode status - - public title_duration = 0; - public title_slide_stop; - public title_slide_anim_id; - public title_text_w; - public org_title_text_w; - public title_slide_count = 0; - - public get_width(val) { - new x, y, w, h; - new buf[128]; - new st[31]; - new Float:vl; - - get_geometry(PART:"elm.text.title", x, y, w, h); - set_int(org_title_text_w, w); - - get_text(PART:"elm.text.title", buf, 127); - set_text(PART:"elm.text.full_title", buf); - get_state(PART:"elm.text.title", st, 30, vl); - set_state(PART:"elm.text.full_title", st, 0.0); - get_geometry(PART:"elm.text.full_title", x, y, w, h); - set_int(title_text_w, w); - } - - public slide_end_pending(val, Float:pos) { - if (pos >= 1.0) { - if (get_int(title_slide_count) < NAVIFRAME_TITLE_SLIDE_MAX_COUNT) - start_slide(0); - else - stop_slide(0); - } - } - - public slide_to_end_anim(val, Float:pos) { - if (get_int(title_slide_stop)) return; - - if (!get_int(landscape)) { - set_tween_state(PART:"elm.text.slide_begin_title", pos, "slide_begin", 0.0, "slide_end", 0.0); - set_tween_state(PART:"elm.text.slide_end_title", pos, "slide_begin", 0.0, "slide_end", 0.0); - } - else { - set_tween_state(PART:"elm.text.slide_begin_title", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - set_tween_state(PART:"elm.text.slide_end_title", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0); - } - - if (pos >= 1.0) - anim(1, "slide_end_pending", 0); - } - - public slide_to_end(val) { - new slide_anim_id; - new Float:duration; - - if (get_int(title_slide_stop)) return; - - duration = get_float(title_duration); - slide_anim_id = anim(duration, "slide_to_end_anim", 0); - set_int(title_slide_anim_id, slide_anim_id); - } - - public start_slide(val) { - new Float:len; - new buf[128]; - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "hide")) - return; - - set_int(title_slide_count, get_int(title_slide_count) + 1); - - if (get_int(title_slide_count) == 1) { - get_width(0); - - if (get_int(title_text_w) <= get_int(org_title_text_w)) { - set_int(title_slide_count, 0); - return; - } - - set_state(PART:"title_text_slide_effect_left", "visible", 0.0); - set_state(PART:"title_text_slide_effect_right", "visible", 0.0); - - len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP; - - if (get_int(landscape)) - set_float(title_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); - else - set_float(title_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT); - - set_int(title_slide_stop, 0); - - get_text(PART:"elm.text.title", buf, 127); - set_text(PART:"elm.text.slide_begin_title", buf); - set_text(PART:"elm.text.slide_end_title", buf); - } - - if (!get_int(landscape)) { - set_state(PART:"elm.text.slide_begin_title", "slide_begin", 0.0); - set_state(PART:"elm.text.slide_end_title", "slide_begin", 0.0); - } - else { - set_state(PART:"elm.text.slide_begin_title", "slide_begin_landscape", 0.0); - set_state(PART:"elm.text.slide_end_title", "slide_begin_landscape", 0.0); - } - - if (get_int(title_slide_count) == 1) { - set_state(PART:"title_text_clip", "slide", 0.0); - set_state(PART:"slide_title_text_clip", "slide", 0.0); - } - - slide_to_end(0); - } - - public stop_slide(val) { - new slide_anim_id; - - set_int(title_slide_stop, 1); - set_int(title_slide_count, 0); - - slide_anim_id = get_int(title_slide_anim_id); - cancel_timer(slide_anim_id); - set_int(title_slide_anim_id, 0); - - set_text(PART:"elm.text.slide_begin_title", ""); - set_text(PART:"elm.text.slide_end_title", ""); - - set_state(PART:"elm.text.slide_begin_title", "default", 0.0); - set_state(PART:"elm.text.slide_end_title", "default", 0.0); - - set_state(PART:"title_text_clip", "default", 0.0); - set_state(PART:"slide_title_text_clip", "default", 0.0); - - set_state(PART:"title_text_slide_effect_left", "default", 0.0); - set_state(PART:"title_text_slide_effect_right", "default", 0.0); - } - } - - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "left" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "left" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "right" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 1 NAVIFRAME_TAB_TITLE_H_INC; - max: -1 NAVIFRAME_TAB_TITLE_H_INC; - align: 0.0 0.0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - image { - normal: "00_title_bg.png"; - border: NAVIFRAME_TITLE_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: 1 NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - } - } - part { name: "title_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to_y: "title_bg"; } - rel2 { to_y: "title_bg"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 1.0; - rel1.to_x: "base"; - rel1.to_y: "title_bg"; - rel2.relative: 1.0 0.0; - rel2.to_x: "base"; - rel2.to_y: "toolbar"; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to_y: "elm.swallow.content"; - rel2.to_y: "elm.swallow.content"; - } - } - part { name: "title_left_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 0.0 1.0; to: "title_bg"; } - fixed: 1 0; - min: NAVIFRAME_PADDING_INC; - visible: 0; - } - } - part { name: "title_right_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - fixed: 1 0; - min: NAVIFRAME_PADDING_INC; - visible: 0; - } - } - part { name: "title_text_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 NAVIFRAME_TITLE_TAB_TEXT_H_INC; - max: -1 NAVIFRAME_TITLE_TAB_TEXT_H_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; } - rel2 { relative: 0.0 0.0; to_x: "title_right_padding"; to_y: "title_bg"; } - } - description { state: "subtitle_is_set" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC; - max: -1 NAVIFRAME_LANDSCAPE_TITLE_TAB_TEXT_H_INC; - } - } - part { name: "title_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "title_text_clip"; - description { state: "default" 0.0; - visible: 1; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_TAB_FONT_SIZE_INC; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - align: 0.0 0.5; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - min: 0 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - part { name: "slide_title_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.text.title"; - rel2.to: "elm.text.title"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "slide_text_gap1"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_text_bg"; } - rel2 { relative: 0.0 1.0; to: "title_text_bg"; } - } - } - part { name: "elm.text.slide_begin_title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - visible: 1; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_TAB_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - text.align: 1.0 0.5; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_text_gap1"; } - rel2 { relative: 0.0 1.0; to: "slide_text_gap1"; } - } - description { state: "slide_begin_landscape" 0.0; - inherit: "slide_begin" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - } - description { state: "slide_end_landscape" 0.0; - inherit: "slide_end" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - } - } - part { name: "title_text_slide_effect_left_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 0.0 0.0; to: "elm.text.title"; } - rel2 { relative: 0.0 1.0; to: "elm.text.title"; } - } - } - part { name: "title_text_slide_effect_left"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; } - rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; } - image { - normal: "00_effect_title_text_dim_left.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.full_title"; - type: TEXT; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - visible: 0; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_TAB_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - } - } - part { name: "slide_text_gap2"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - min: NAVIFRAME_TITLE_SLIDE_TEXT_GAP 0; - max: NAVIFRAME_TITLE_SLIDE_TEXT_GAP -1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "elm.text.full_title"; } - rel2 { relative: 1.0 1.0; to: "elm.text.full_title"; } - } - } - part { name: "elm.text.slide_end_title"; - type: TEXT; - effect: FAR_SHADOW BOTTOM; - scale: 1; - clip_to: "slide_title_text_clip"; - description { state: "default" 0.0; - visible: 1; - text { font: "Tizen:style=Bold"; - size: NAVIFRAME_TITLE_TAB_FONT_SIZE_INC; - min: 1 0; - max: 1 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: NAVIFRAME_TITLE_TEXT_COLOR_INC; - color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } - rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "slide_begin_landscape" 0.0; - inherit: "slide_begin" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - } - description { state: "slide_end_landscape" 0.0; - inherit: "slide_end" 0.0; - text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC; - } - } - part { name: "title_text_slide_effect_right_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_PADDING_INC; - align: 0.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "elm.text.title"; } - rel2 { relative: 1.0 1.0; to: "elm.text.title"; } - } - } - part { name: "title_text_slide_effect_right"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC; - align: 1.0 0.5; - fixed: 1 1; - visible: 0; - rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; } - rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; } - image { - normal: "00_effect_title_text_dim_right.png"; - border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "click_event_area"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { to: "title_bg"; } - rel2 { to: "title_bg"; } - color: 0 0 0 0; - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "title_bg"; - rel2.to: "title_bg"; - color: 0 0 0 0; - } - } - part { name: "tabbar"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 0 NAVIFRAME_TITLE_TAB_H_INC; - max: -1 NAVIFRAME_TITLE_TAB_H_INC; - fixed: 0 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - } - } - part { name: "toolbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 999999 0; - fixed: 0 1; - align: 0.0 1.0; - visible: 0; - rel1 { to: "base"; } - rel2 { to: "base"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; - visible: 1; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - visible: 1; - } - } - part { name: "more_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "toolbar"; } - rel2 { relative: 0.0 1.0; to: "toolbar"; } - visible: 0; - } - } - part { name: "toolbar_more_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - rel1.to: "more_btn_bg"; - rel2.to: "more_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "prev_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "toolbar"; } - rel2.to: "toolbar"; - visible: 0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "prev_btn_bg"; - rel2.to: "prev_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "toolbar_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to: "toolbar"; } - rel2 { to: "toolbar"; } - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - set_state(PART:"clipper", "default", 0.0); - emit("elm,action,title,slide", ""); - } - } - program { name: "title_slide"; - signal: "elm,action,title,slide"; - source: ""; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - timer(1.5, "start_slide", 0); - } - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"title_bg", "default", 0.0); - else - set_state(PART:"title_bg", "landscape", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - } - } - program { name: "toolbar_show"; - signal: "elm,state,toolbar,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - set_int(tbar_bg, get_int(tbar_bg) + 1); - } - } - program { name: "toolbar_hide"; - signal: "elm,state,toolbar,hide"; - source: "elm"; - script { - set_int(tbar_bg, get_int(tbar_bg) - 1); - if (get_int(tbar_bg) <= 0) - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open_internal"; - signal: "elm,state,toolbar,open,internal"; - source: "elm"; - script { - set_int(tbar_close, 0); - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - } - program { name: "toolbar_close_internal"; - signal: "elm,state,toolbar,close,internal"; - source: "elm"; - script { - set_int(tbar_close, 1); - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open"; - signal: "elm,state,toolbar,open"; - source: ""; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - transition: LINEAR 0.2; - after: "toolbar_open_internal"; - } - program { name: "toolbar_close"; - signal: "elm,state,toolbar,close"; - source: ""; - action: STATE_SET "default" 0.0; - target: "toolbar"; - transition: LINEAR 0.2; - after: "toolbar_close_internal"; - } - program { name: "toolbar_instant_open"; - signal: "elm,state,toolbar,instant_open"; - source: ""; - script { - emit("elm,state,toolbar,open,internal", "elm"); - } - } - program { name: "toolbar_instant_close"; - signal: "elm,state,toolbar,instant_close"; - source: ""; - script { - emit("elm,state,toolbar,close,internal", "elm"); - } - } - program { name: "show_finished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "pushed_finished"; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - emit("elm,action,pushed,finished", ""); - } - } - program { name: "popped_finished"; - script { - if (get_int(title_slide_anim_id)) - stop_slide(0); - emit("elm,action,popped,finished", ""); - } - } - program { - name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "click_event_area"; - script { - emit("elm,action,title,clicked", ""); - } - } - program { - name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - if (!get_int(landscape)) { - set_state(PART:"elm.text.title", "landscape", 0.0); - set_state(PART:"toolbar_more_btn", "landscape", 0.0); - set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"title_bg", "landscape", 0.0); - - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"toolbar", "visible_landscape", 0.0); - - set_int(landscape, 1); - } - } - } - program { - name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - if (get_int(landscape)) { - set_state(PART:"elm.text.title", "default", 0.0); - set_state(PART:"toolbar_more_btn", "default", 0.0); - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"title_bg", st, 30, vl); - if (!strcmp(st, "landscape")) - set_state(PART:"title_bg", "default", 0.0); - - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"toolbar", "visible", 0.0); - - set_int(landscape, 0); - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } - } - - group { name: "elm/naviframe/item/tabbar/notitle/default"; - script { - public tbar_bg = 0; //Toolbar BG Show call count - public tbar_close = 0; //Toolbar lastest Open/Close status - public landscape = 0; //Landscape mode status - } - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "left" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "left" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "right" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 1 NAVIFRAME_TAB_TITLE_H2_INC; - max: -1 NAVIFRAME_TAB_TITLE_H2_INC; - align: 0.0 0.0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - } - } - part { name: "title_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to_y: "title_bg"; } - rel2 { to_y: "title_bg"; } - } - } - part { name: "tabbar"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - max: -1 NAVIFRAME_TAB_TITLE_H2_INC; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 1.0; - rel1.to_x: "base"; - rel1.to_y: "title_bg"; - rel2.relative: 1.0 0.0; - rel2.to_x: "base"; - rel2.to_y: "toolbar"; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to_y: "elm.swallow.content"; - rel2.to_y: "elm.swallow.content"; - } - } - part { name: "toolbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 999999 0; - fixed: 0 1; - align: 0.0 1.0; - visible: 0; - rel1 { to: "base"; } - rel2 { to: "base"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; - visible: 1; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - visible: 1; - } - } - part { name: "more_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "toolbar"; } - rel2 { relative: 0.0 1.0; to: "toolbar"; } - visible: 0; - } - } - part { name: "toolbar_more_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - rel1.to: "more_btn_bg"; - rel2.to: "more_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "prev_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "toolbar"; } - rel2.to: "toolbar"; - visible: 0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "prev_btn_bg"; - rel2.to: "prev_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "toolbar_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to: "toolbar"; } - rel2 { to: "toolbar"; } - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - set_state(PART:"title_bg", "default", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - } - } - program { name: "toolbar_show"; - signal: "elm,state,toolbar,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - set_int(tbar_bg, get_int(tbar_bg) + 1); - } - } - program { name: "toolbar_hide"; - signal: "elm,state,toolbar,hide"; - source: "elm"; - script { - set_int(tbar_bg, get_int(tbar_bg) - 1); - if (get_int(tbar_bg) <= 0) - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open_internal"; - signal: "elm,state,toolbar,open,internal"; - source: "elm"; - script { - set_int(tbar_close, 0); - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - } - program { name: "toolbar_close_internal"; - signal: "elm,state,toolbar,close,internal"; - source: "elm"; - script { - set_int(tbar_close, 1); - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open"; - signal: "elm,state,toolbar,open"; - source: ""; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - transition: LINEAR 0.2; - after: "toolbar_open_internal"; - } - program { name: "toolbar_close"; - signal: "elm,state,toolbar,close"; - source: ""; - action: STATE_SET "default" 0.0; - target: "toolbar"; - transition: LINEAR 0.2; - after: "toolbar_close_internal"; - } - program { name: "toolbar_instant_open"; - signal: "elm,state,toolbar,instant_open"; - source: ""; - script { - emit("elm,state,toolbar,open,internal", "elm"); - } - } - program { name: "toolbar_instant_close"; - signal: "elm,state,toolbar,instant_close"; - source: ""; - script { - emit("elm,state,toolbar,close,internal", "elm"); - } - } - program { name: "show_finished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "pushed_finished"; - action: SIGNAL_EMIT "elm,action,pushed,finished" ""; - } - program { name: "popped_finished"; - action: SIGNAL_EMIT "elm,action,popped,finished" ""; - } - program { - name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - if (!get_int(landscape)) { - set_state(PART:"toolbar_more_btn", "landscape", 0.0); - set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"toolbar", "visible_landscape", 0.0); - - set_int(landscape, 1); - } - } - } - program { - name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - if (get_int(landscape)) { - set_state(PART:"toolbar_more_btn", "default", 0.0); - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"toolbar", "visible", 0.0); - - set_int(landscape, 0); - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } - } - - group { name: "elm/naviframe/item/empty/default"; - script { - public tbar_bg = 0; //Toolbar BG Show call count - public tbar_close = 0; //Toolbar lastest Open/Close status - public landscape = 0; //Landscape mode status - } - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "left" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "left" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "right" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { to: "title"; } - rel2 { to: "title"; } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 1.0; - rel1.to_x: "base"; - rel1.to_y: "title_bg"; - rel2.relative: 1.0 0.0; - rel2.to_x: "base"; - rel2.to_y: "toolbar"; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - } - } - part { name: "title"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - max: 0 0; - fixed: 1 1; - } - } - part { name: "toolbar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 999999 0; - fixed: 0 1; - align: 0.0 1.0; - visible: 0; - rel1 { to: "base"; } - rel2 { to: "base"; } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_TOOLBAR_HEIGHT_INC; - visible: 1; - } - description { state: "visible_landscape" 0.0; - inherit: "default" 0.0; - min: 0 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - max: 999999 NAVIFRAME_LANDSCAPE_TOOLBAR_HEIGHT_INC; - visible: 1; - } - } - part { name: "more_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "toolbar"; } - rel2 { relative: 0.0 1.0; to: "toolbar"; } - visible: 0; - } - } - part { name: "toolbar_more_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - rel1.to: "more_btn_bg"; - rel2.to: "more_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "prev_btn_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: NAVIFRAME_TOOLBAR_BUTTON_BG_PADDING_INC; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "toolbar"; } - rel2.to: "toolbar"; - visible: 0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "toolbar_clip"; - description { state: "default" 0.0; - max: NAVIFRAME_PREV_FUNC_BTN_SIZE_INC; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "prev_btn_bg"; - rel2.to: "prev_btn_bg"; - visible: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - max: NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC; - } - } - part { name: "toolbar_clip"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { to: "toolbar"; } - rel2 { to: "toolbar"; } - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "base"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - set_state(PART:"title_bg", "default", 0.0); - set_state(PART:"title", "default", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - set_state(PART:"title", "hide", 0.0); - } - } - program { name: "toolbar_show"; - signal: "elm,state,toolbar,show"; - source: "elm"; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - set_int(tbar_bg, get_int(tbar_bg) + 1); - } - } - program { name: "toolbar_hide"; - signal: "elm,state,toolbar,hide"; - source: "elm"; - script { - set_int(tbar_bg, get_int(tbar_bg) - 1); - if (get_int(tbar_bg) <= 0) - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open_internal"; - signal: "elm,state,toolbar,open,internal"; - source: "elm"; - script { - set_int(tbar_close, 0); - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - } - program { name: "toolbar_close_internal"; - signal: "elm,state,toolbar,close,internal"; - source: "elm"; - script { - set_int(tbar_close, 1); - set_state(PART:"toolbar", "default", 0.0); - } - } - program { name: "toolbar_open"; - signal: "elm,state,toolbar,open"; - source: ""; - script { - if (!get_int(landscape)) - set_state(PART:"toolbar", "visible", 0.0); - else - set_state(PART:"toolbar", "visible_landscape", 0.0); - } - transition: LINEAR 0.2; - after: "toolbar_open_internal"; - } - program { name: "toolbar_close"; - signal: "elm,state,toolbar,close"; - source: ""; - action: STATE_SET "default" 0.0; - target: "toolbar"; - transition: LINEAR 0.2; - after: "toolbar_close_internal"; - } - program { name: "toolbar_instant_open"; - signal: "elm,state,toolbar,instant_open"; - source: ""; - script { - emit("elm,state,toolbar,open,internal", "elm"); - } - } - program { name: "toolbar_instant_close"; - signal: "elm,state,toolbar,instant_close"; - source: ""; - script { - emit("elm,state,toolbar,close,internal", "elm"); - } - } - program { name: "show_finished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "pushed_finished"; - action: SIGNAL_EMIT "elm,action,pushed,finished" ""; - } - program { name: "popped_finished"; - action: SIGNAL_EMIT "elm,action,popped,finished" ""; - } - program { - name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - if (!get_int(landscape)) { - set_state(PART:"toolbar_more_btn", "landscape", 0.0); - set_state(PART:"elm.swallow.prev_btn", "landscape", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"toolbar", "visible_landscape", 0.0); - - set_int(landscape, 1); - } - } - } - program { - name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - if (get_int(landscape)) { - set_state(PART:"toolbar_more_btn", "default", 0.0); - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - - new st[31]; - new Float:vl; - get_state(PART:"toolbar", st, 30, vl); - if (!strcmp(st, "visible_landscape")) - set_state(PART:"toolbar", "visible", 0.0); - - set_int(landscape, 0); - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } - } - - group { name: "elm/naviframe/item/basic/uglib"; - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "right" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - color: 255 255 255 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "base"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel1.to: "base"; - rel2.relative: 1.0 1.0; - rel2.to: "base"; - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "show_finished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "pushed_finished"; - action: SIGNAL_EMIT "elm,action,pushed,finished" ""; - } - program { name: "popped_finished"; - action: SIGNAL_EMIT "elm,action,popped,finished" ""; - } - } - } - diff --git a/mobile/themes/widgets/notify.edc b/mobile/themes/widgets/notify.edc deleted file mode 100644 index eeaf31a..0000000 --- a/mobile/themes/widgets/notify.edc +++ /dev/null @@ -1,507 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -group { name: "elm/notify/block_events/default"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: POPUP_DIM_BG_COLOR_INC; - } - description { state: "clicked" 0.0; - color: POPUP_DIM_BG_CLICKED_COLOR_INC; - } - } - } - programs { - program { name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "deeper_block_color"; - } - program { - name: "deeper_block_color"; - action: STATE_SET "clicked" 0.0; - target: "block_events"; - transition: LINEAR 0.2; - after: "default_block_color"; - } - program { - name: "default_block_color"; - action: STATE_SET "default" 0.0; - target: "block_events"; - transition: LINEAR 0.2; - } - } -} - -group { name: "elm/notify/top/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - /* - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - */ - description { state: "default" 0.0; - //inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - /* - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } - */ -} - -group { name: "elm/notify/center/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } -} - -group { name: "elm/notify/bottom/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/left/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/right/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/top_left/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/top_right/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/bottom_left/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -group { name: "elm/notify/bottom_right/default"; - //this group is a design similar to the inwin group - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show_3"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "hide"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/mobile/themes/widgets/panes.edc b/mobile/themes/widgets/panes.edc deleted file mode 100644 index cc89ba5..0000000 --- a/mobile/themes/widgets/panes.edc +++ /dev/null @@ -1,939 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - group { - name: "elm/panes/vertical/default"; - images { - image: "00_splite_handler_bg_v.png" COMP; - image: "00_splite_handler_bg_press.png" COMP; - image: "00_splite_handler_v.png" COMP; - } - parts - { - part - { - name: "whole"; - type: RECT; - description - { - state: "default" 0.0; - visible: 0; - rel1.to_x: "pad_left"; - rel2.to_x: "pad_right"; - } - } - part { - name: "pad_left"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative:0.0 1.0; - min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; - fixed: 1 0; - align: 1.0 0.5; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "pad_right"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.relative: 1.0 0.0; - min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; - fixed: 1 0; - align: 0.0 0.5; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - //2 contents - part - { - name: "whole_left"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1 { - to_x: "pad_left"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bar_bg"; - relative: 0.0 1.0; - } - } - description - { - state: "hide" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - } - part - { - name: "elm.swallow.left"; - type: SWALLOW; - clip_to: "whole_left"; - description - { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1.to: "whole_left"; - rel2.to: "whole_left"; - } - description - { - state: "hide" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - } - part - { - name: "whole_right"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1 { - to_x: "bar_bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "pad_right"; - relative: 0.0 1.0; - } - } - } - part - { - name: "elm.swallow.right"; - type: SWALLOW; - clip_to: "whole_right"; - description - { - state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1.to: "whole_right"; - rel2.to: "whole_right"; - } - } - //BAR - part { name: "elm.bar"; - type: RECT; - dragable { - confine: "whole"; - x: 1 1 1; - y: 0 0 0; - } - scale: 1; - description { state: "default" 0.0; - min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999; - fixed: 0 1; - align: 1.0 0.5; - rel1.relative: 0.0 0.5; - rel2.relative: 1.0 0.5; - color: 0 0 0 0; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - min: 0 999999; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999; - } - description { state: "disabled" 0.1; - inherit: "default" 0.1; - } - } - part { name: "pad_bar_left"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0; - align: 0.0 0.5; - rel1.to_x: "elm.bar"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.bar"; - } - fixed: 1 0; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "pad_bar_right"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "elm.bar"; - } - rel2.to_x: "elm.bar"; - fixed: 1 0; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "bar_bg"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "pad_bar_left"; - } - rel2 { - relative: 0.0 1.0; - to_x: "pad_bar_right"; - } - fixed: 1 0; - image { - normal: "00_splite_handler_bg_v.png"; - border: 2 2 0 0; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_splite_handler_bg_press.png"; - } - } - part { name:"bar_handler"; - mouse_events: 0; - description { state:"default" 0.0; - rel1 { - to_x: "bar_bg"; - relative: 0.0 0.5; - } - rel2 { - to_x: "bar_bg"; - relative: 1.0 0.5; - } - fixed: 0 1; - min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; - image.normal: "00_splite_handler_v.png"; - } - description { state:"clicked" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - color: 0 0 0 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name:"bar_disabled"; - type: RECT; - description { state:"default" 0.0; - rel1.to_x: "elm.bar"; - rel2.to_x: "elm.bar"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - script { - public state_pair = 1; //0:both contents are not set, 1:both contents are set - public frame_num, whole_drag; - - public drag_effect(val) { - new Float:time, Float:cur_drag, Float:drag; - new num; - - num = get_int(frame_num); - drag = get_float(whole_drag); - - num += 1; - time = 0.06 * num; // decide speed - cur_drag = drag - drag * sin(time * 90, DEGREES); - - set_int(frame_num, num); - - if (time < 1.0 && cur_drag > 0.0) { - set_drag(PART:"elm.bar", cur_drag, 0.0); - timer(0.02, "drag_effect", val); - } - else { - set_drag(PART:"elm.bar", 0.0, 0.0); - run_program(PROGRAM:"left_content_reset"); - } - } - } - programs { - program { - name: "load"; - signal: "load"; - source: ""; - script { - set_int(state_pair, 1); - } - } - program { - name: "drag_effect_start"; - signal: "left,hide,effect"; - source: ""; - script { - new Float:x, Float:y; - - get_drag(PART:"elm.bar", x, y); - set_float(whole_drag, x); - set_int(frame_num, 0); - - timer(0.02, "drag_effect", 0); - } - after: "left_content_hide"; - } - program { - name: "left_content_hide"; - action: STATE_SET "hide" 0.0; - transition: DECELERATE 0.4; - target: "elm.swallow.left"; - target: "whole_left"; - } - program { - name: "left_content_reset"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.left"; - target: "whole_left"; - after: "effect_finished"; - } - program { - name: "effect_finished"; - action: SIGNAL_EMIT "left,hide,effect,finished" ""; - } - program { - name: "panes_pair"; - signal: "elm,panes,pair"; - source: ""; - script { - new st[31]; - new Float:vl; - set_int(state_pair, 1); - get_state(PART:"elm.bar", st, 30, vl); - set_state(PART:"elm.bar", st, 0.0); - set_state(PART:"pad_left", "default", 0.0); - set_state(PART:"pad_right", "default", 0.0); - set_state(PART:"pad_bar_left", "default", 0.0); - set_state(PART:"pad_bar_right", "default", 0.0); - } - } - program { - name: "panes_unpair"; - signal: "elm,panes,unpair"; - source: ""; - script { - new st[31]; - new Float:vl; - set_int(state_pair, 0); - get_state(PART:"elm.bar", st, 30, vl); - set_state(PART:"elm.bar", st, 0.1); - set_state(PART:"pad_left", "hidden", 0.0); - set_state(PART:"pad_right", "hidden", 0.0); - set_state(PART:"pad_bar_left", "hidden", 0.0); - set_state(PART:"pad_bar_right", "hidden", 0.0); - } - } - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { - name: "button_click_anim"; - script { - set_state(PART:"bar_bg", "clicked", 0.0); - } - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { - name: "button_unclick_anim"; - script { - set_state(PART:"bar_bg", "default", 0.0); - } - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "button_down_double"; - signal: "mouse,down,1,double"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,click,double" ""; - } - //fix the pane - program { - name: "panes_fixed"; - signal: "elm.panes.fixed"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bar_disabled"; - target: "bar_handler"; - after: "after_fixed"; - } - program { - name: "after_fixed"; - script { - if (get_int(state_pair)) - set_state(PART:"elm.bar", "disabled", 0.0); - else - set_state(PART:"elm.bar", "disabled", 0.1); - } - } - //allow the movement by interaction - program { - name: "panes_unfixed"; - signal: "elm.panes.unfixed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bar_disabled"; - target: "bar_handler"; - after: "after_unfixed"; - } - program { - name: "after_unfixed"; - script { - if (get_int(state_pair)) - set_state(PART:"elm.bar", "default", 0.0); - else - set_state(PART:"elm.bar", "default", 0.1); - } - } - } - } - - group { - name: "elm/panes/horizontal/default"; - images { - image: "00_splite_handler_bg_h.png" COMP; - image: "00_splite_handler_bg_press.png" COMP; - image: "00_splite_handler_h.png" COMP; - } - script { - public state_pair = 1; //0:both contents are not set, 1:both contents are set - } - parts - { - part - { - name: "whole"; - type: RECT; - description - { - state: "default" 0.0; - visible: 0; - rel1.to_y: "pad_left"; - rel2.to_y: "pad_right"; - } - } - part { - name: "pad_left"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative:1.0 0.0; - min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { - name: "pad_right"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.relative: 0.0 1.0; - min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; - fixed: 0 1; - align: 0.5 0.0; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - //2 contents - part - { - name: "whole_left"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1 { - to_y: "pad_left"; - relative: 0.0 1.0; - } - rel2 { - to_y: "bar_bg"; - relative: 1.0 0.0; - } - } - } - part - { - name: "elm.swallow.left"; - type: SWALLOW; - clip_to: "whole_left"; - description - { - state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - rel1.to: "whole_left"; - rel2.to: "whole_left"; - } - } - part - { - name: "whole_right"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1 { - to_y: "bar_bg"; - relative: 0.0 1.0; - } - rel2 { - to_y: "pad_right"; - relative: 1.0 0.0; - } - } - } - part - { - name: "elm.swallow.right"; - type: SWALLOW; - clip_to: "whole_right"; - description - { - state: "default" 0.0; - align: 0.5 1.0; - fixed: 1 1; - rel1.to: "whole_right"; - rel2.to: "whole_right"; - } - } - //BAR - part { name: "elm.bar"; - type: RECT; - dragable { - confine: "whole"; - x: 0 0 0; - y: 1 1 1; - } - scale: 1; - description { state: "default" 0.0; - min: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; - fixed: 1 0; - align: 0.5 0.0; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 0; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - min: 999999 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - min: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC; - visible: 0; - } - description { state: "disabled" 0.1; - inherit: "default" 0.1; - } - } - part { name: "pad_bar_left"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC; - align: 0.5 0.0; - rel1.to_y: "elm.bar"; - rel2 { - relative: 1.0 0.0; - to_y: "elm.bar"; - } - fixed: 0 1; - visible: 0; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "pad_bar_right"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.bar"; - } - rel2.to_y: "elm.bar"; - fixed: 0 1; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "bar_bg"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "pad_bar_left"; - } - rel2 { - relative: 1.0 0.0; - to_y: "pad_bar_right"; - } - fixed: 0 1; - image { - normal: "00_splite_handler_bg_h.png"; - border: 0 0 2 2; - border_scale: 1; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_splite_handler_bg_press.png"; - } - } - part { name:"bar_handler"; - mouse_events: 0; - description { state:"default" 0.0; - rel1 { - to_y: "bar_bg"; - relative: 0.5 0.0; - } - rel2 { - to_y: "bar_bg"; - relative: 0.5 1.0; - } - fixed: 1 0; - min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0; - image.normal: "00_splite_handler_h.png"; - } - description { state:"clicked" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - color: 0 0 0 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name:"bar_disabled"; - type: RECT; - description { state:"default" 0.0; - rel1.to_y: "elm.bar"; - rel2.to_y: "elm.bar"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "load"; - signal: "load"; - source: ""; - script { - set_int(state_pair, 1); - } - } - program { - name: "panes_pair"; - signal: "elm,panes,pair"; - source: ""; - script { - new st[31]; - new Float:vl; - set_int(state_pair, 1); - get_state(PART:"elm.bar", st, 30, vl); - set_state(PART:"elm.bar", st, 0.0); - set_state(PART:"pad_left", "default", 0.0); - set_state(PART:"pad_right", "default", 0.0); - set_state(PART:"pad_bar_left", "default", 0.0); - set_state(PART:"pad_bar_right", "default", 0.0); - } - } - program { - name: "panes_unpair"; - signal: "elm,panes,unpair"; - source: ""; - script { - new st[31]; - new Float:vl; - set_int(state_pair, 0); - get_state(PART:"elm.bar", st, 30, vl); - set_state(PART:"elm.bar", st, 0.1); - set_state(PART:"pad_left", "hidden", 0.0); - set_state(PART:"pad_right", "hidden", 0.0); - set_state(PART:"pad_bar_left", "hidden", 0.0); - set_state(PART:"pad_bar_right", "hidden", 0.0); - } - } - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { - name: "button_click_anim"; - script { - set_state(PART:"bar_bg", "clicked", 0.0); - } - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { - name: "button_unclick_anim"; - script { - set_state(PART:"bar_bg", "default", 0.0); - } - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "button_down_double"; - signal: "mouse,down,1,double"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,click,double" ""; - } - //fix the pane - program { - name: "panes_fixed"; - signal: "elm.panes.fixed"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bar_disabled"; - target: "bar_handler"; - after: "after_fixed"; - } - program { - name: "after_fixed"; - script { - if (get_int(state_pair)) - set_state(PART:"elm.bar", "disabled", 0.0); - else - set_state(PART:"elm.bar", "disabled", 0.1); - } - } - //allow the movement by interaction - program { - name: "panes_unfixed"; - signal: "elm.panes.unfixed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bar_disabled"; - target: "bar_handler"; - after: "after_unfixed"; - } - program { - name: "after_unfixed"; - script { - if (get_int(state_pair)) - set_state(PART:"elm.bar", "default", 0.0); - else - set_state(PART:"elm.bar", "default", 0.1); - } - } - } - } diff --git a/mobile/themes/widgets/photocam.edc b/mobile/themes/widgets/photocam.edc deleted file mode 100644 index c341fd0..0000000 --- a/mobile/themes/widgets/photocam.edc +++ /dev/null @@ -1,559 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -group { name: "elm/photocam/base/default"; - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE COMP; - image: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE COMP; - image: "White/63x63/00_list_process_01.png" COMP; - image: "White/63x63/00_list_process_02.png" COMP; - image: "White/63x63/00_list_process_03.png" COMP; - image: "White/63x63/00_list_process_04.png" COMP; - image: "White/63x63/00_list_process_05.png" COMP; - image: "White/63x63/00_list_process_06.png" COMP; - image: "White/63x63/00_list_process_07.png" COMP; - image: "White/63x63/00_list_process_08.png" COMP; - image: "White/63x63/00_list_process_09.png" COMP; - image: "White/63x63/00_list_process_10.png" COMP; - image: "White/63x63/00_list_process_11.png" COMP; - image: "White/63x63/00_list_process_12.png" COMP; - image: "White/63x63/00_list_process_13.png" COMP; - image: "White/63x63/00_list_process_14.png" COMP; - image: "White/63x63/00_list_process_15.png" COMP; - image: "White/63x63/00_list_process_16.png" COMP; - image: "White/63x63/00_list_process_17.png" COMP; - image: "White/63x63/00_list_process_18.png" COMP; - image: "White/63x63/00_list_process_19.png" COMP; - image: "White/63x63/00_list_process_20.png" COMP; - image: "White/63x63/00_list_process_21.png" COMP; - image: "White/63x63/00_list_process_22.png" COMP; - image: "White/63x63/00_list_process_23.png" COMP; - image: "White/63x63/00_list_process_24.png" COMP; - image: "White/63x63/00_list_process_25.png" COMP; - image: "White/63x63/00_list_process_26.png" COMP; - image: "White/63x63/00_list_process_27.png" COMP; - image: "White/63x63/00_list_process_28.png" COMP; - image: "White/63x63/00_list_process_29.png" COMP; - image: "White/63x63/00_list_process_30.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "conf_over"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - visible: 0; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "White/63x63/00_list_process_30.png"; - tween: "White/63x63/00_list_process_01.png"; - tween: "White/63x63/00_list_process_02.png"; - tween: "White/63x63/00_list_process_03.png"; - tween: "White/63x63/00_list_process_04.png"; - tween: "White/63x63/00_list_process_05.png"; - tween: "White/63x63/00_list_process_06.png"; - tween: "White/63x63/00_list_process_07.png"; - tween: "White/63x63/00_list_process_08.png"; - tween: "White/63x63/00_list_process_09.png"; - tween: "White/63x63/00_list_process_10.png"; - tween: "White/63x63/00_list_process_11.png"; - tween: "White/63x63/00_list_process_12.png"; - tween: "White/63x63/00_list_process_13.png"; - tween: "White/63x63/00_list_process_14.png"; - tween: "White/63x63/00_list_process_15.png"; - tween: "White/63x63/00_list_process_16.png"; - tween: "White/63x63/00_list_process_17.png"; - tween: "White/63x63/00_list_process_18.png"; - tween: "White/63x63/00_list_process_19.png"; - tween: "White/63x63/00_list_process_20.png"; - tween: "White/63x63/00_list_process_21.png"; - tween: "White/63x63/00_list_process_22.png"; - tween: "White/63x63/00_list_process_23.png"; - tween: "White/63x63/00_list_process_24.png"; - tween: "White/63x63/00_list_process_25.png"; - tween: "White/63x63/00_list_process_26.png"; - tween: "White/63x63/00_list_process_27.png"; - tween: "White/63x63/00_list_process_28.png"; - tween: "White/63x63/00_list_process_29.png"; - } - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part {name: "vbar.padding"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; - max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0; - align: 1 0.5; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_y: "elm.swallow.content"; - to_x: "vbar.padding"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE; - border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER; - border_scale: 1; - middle: DEFAULT; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part {name: "hbar.padding"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; - max: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE; - align: 1 1; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "sb_vbar"; - to_y: "hbar.padding"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - color: 255 255 255 0; - image { - normal: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE; - border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER; - border_scale: 1; - middle: SOLID; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(2.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } - } - diff --git a/mobile/themes/widgets/popup.edc b/mobile/themes/widgets/popup.edc deleted file mode 100644 index 500e296..0000000 --- a/mobile/themes/widgets/popup.edc +++ /dev/null @@ -1,2556 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define POPUP_ITEM_STATE_ENABLED 0 -#define POPUP_ITEM_STATE_DISABLED 1 - -/*popup widget specific notify style style*/ -group { name: "elm/notify/center/popup"; - alias: "elm/notify/center/verticalbuttonstyle"; - alias: "elm/notify/center/menustyle"; - alias: "elm/notify/center/min_menustyle"; - alias: "elm/notify/center/liststyle"; - alias: "elm/notify/center/min_liststyle"; - alias: "elm/notify/center/customstyle"; - alias: "elm/notify/center/volumebarstyle"; - alias: "elm/notify/center/volumebarstyle_text"; - alias: "elm/notify/center/content_expand"; - alias: "elm/notify/center/content_no_vhpad"; - alias: "elm/notify/center/dimrect"; - alias: "elm/notify/center/indicator_norepeatevent"; - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "persp"; - type: RECT; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - align: 0.5 0.5; - color: 0 0 0 0; - visible: 1; - perspective { - zplane: -200; - focal: 1000; - } - } - } - part { name: "persp1"; - type: RECT; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - align: 0.5 0.5; - visible: 1; - color: 0 0 0 0; - perspective { - zplane: 0; - focal: 1000; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 1; - perspective: "persp"; - smooth: 0; - color[0]: 248 246 239 0; - color[1]: 248 246 239 0; - color[2]: 248 246 239 0; - color[3]: 248 246 239 0; - } - } - description { state: "visible" 0.0; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 1; - perspective: "persp1"; - smooth: 0; - } - } - description { state: "end" 0.0; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 0; - smooth: 0; - } - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "show_1"; - signal: "show"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - after: "end"; - } - program { name: "end"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - transition: SIN_FAC 0.33 1.4; - after: "end2"; - } - program { name: "end2"; - action: STATE_SET "end" 0.0; - target: "elm.swallow.content"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } -} - -group { name: "elm/notify/center/popup"; - alias: "elm/notify/bottom/popup"; - alias: "elm/notify/top/popup"; - alias: "elm/notify/top/content_no_vhpad"; - alias: "elm/notify/bottom/content_no_vhpad"; - alias: "elm/notify/center/verticalbuttonstyle"; - alias: "elm/notify/center/volumebarstyle"; - alias: "elm/notify/center/volumebarstyle_text"; - alias: "elm/notify/center/content_no_vhpad"; - alias: "elm/notify/center/dimrect"; - alias: "elm/notify/center/transparent"; - alias: "elm/notify/center/verticalbuttonstyle_transparent"; - alias: "elm/notify/center/menustyle_transparent"; - alias: "elm/notify/center/min_menustyle_transparent"; - alias: "elm/notify/center/liststyle_transparent"; - alias: "elm/notify/center/min_liststyle_transparent"; - alias: "elm/notify/center/customstyle_transparent"; - alias: "elm/notify/center/volumebarstyle_transparent"; - alias: "elm/notify/center/volumebarstyle_text_transparent"; - alias: "elm/notify/center/content_expand_transparent"; - alias: "elm/notify/center/content_no_vhpad_transparent"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - map.on: 0; - } - description { state: "visible" 0.0; - map.on: 0; - } - description { state: "end" 0.0; - map.on: 0; - } - } - } -} - -group { name: "elm/notify/block_events/popup"; - alias: "elm/notify/block_events/verticalbuttonstyle"; - alias: "elm/notify/block_events/menustyle"; - alias: "elm/notify/block_events/min_menustyle"; - alias: "elm/notify/block_events/liststyle"; - alias: "elm/notify/block_events/min_liststyle"; - alias: "elm/notify/block_events/customstyle"; - alias: "elm/notify/block_events/volumebarstyle"; - alias: "elm/notify/block_events/volumebarstyle_text"; - alias: "elm/notify/block_events/content_expand"; - alias: "elm/notify/block_events/content_no_vhpad"; - parts { - part { name: "block_events_color"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: POPUP_DIM_BG_DEFAULT_COLOR_INC; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - color: POPUP_DIM_BG_COLOR_INC; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - color: POPUP_DIM_BG_CLICKED_COLOR_INC; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "block_events_color"; - } - program { name: "show1"; - signal: "show"; - action: STATE_SET "show" 0.0; - transition: SIN_FAC 0.33 0.5; - target: "block_events_color"; - } - program { name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events_color"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "deeper_block_color"; - } - program { - name: "deeper_block_color"; - action: STATE_SET "clicked" 0.0; - target: "block_events_color"; - transition: LINEAR 0.2; - after: "default_block_color"; - } - program { - name: "default_block_color"; - action: STATE_SET "show" 0.0; - target: "block_events_color"; - transition: LINEAR 0.2; - } - } -} - -group { name: "elm/notify/block_events/transparent"; - alias: "elm/notify/block_events/verticalbuttonstyle_transparent"; - alias: "elm/notify/block_events/menustyle_transparent"; - alias: "elm/notify/block_events/min_menustyle_transparent"; - alias: "elm/notify/block_events/liststyle_transparent"; - alias: "elm/notify/block_events/min_liststyle_transparent"; - alias: "elm/notify/block_events/customstyle_transparent"; - alias: "elm/notify/block_events/volumebarstyle_transparent"; - alias: "elm/notify/block_events/volumebarstyle_text_transparent"; - alias: "elm/notify/block_events/content_expand_transparent"; - alias: "elm/notify/block_events/content_no_vhpad_transparent"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: POPUP_DIM_BG_TRANS_COLOR_INC; - } - } - } -} - -group { name: "elm/notify/block_events/dimrect"; - inherit: "elm/notify/block_events/transparent"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: POPUP_DIM_BG_COLOR_INC; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - color: POPUP_DIM_BG_CLICKED_COLOR_INC; - } - } - } -} - -group { name: "elm/label/base/popup/default"; - alias: "elm/label/base/popup/content_expand"; - alias: "elm/label/base/popup/transparent"; - styles { - style { name: "popup_desc_style"; - base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=slp wrap=mixed ellipsis=1"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "popup_desc_style"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/popup/base/default"; - alias: "elm/popup/base/transparent"; - images { - image: "00_popup_bg.png" COMP; - image: "00_popup_button_bg.png" COMP; - image: "00_popup_title_bg.png" COMP; - } - styles { - style { name: "popup_title_style"; - base: "font=Tizen:style=Bold align=left font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color="POPUP_DEFAULT_TITLE_TEXT_COLOR_INC" style="POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE" shadow_color="POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "tab" "\t"; - } - } - styles { - style { name: "popup_title_style2"; - base: "font=Tizen:style=Bold align=right font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color="POPUP_DEFAULT_TITLE2_TEXT_COLOR_INC" style="POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE" shadow_color="POPUP_DEFAULT_TITLE2_TEXT_SHADOW_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "tab" "\t"; - } - } - parts { - part { - name:"shadow_left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; - max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; - align: 0 0; - fixed: 1 1; - } - } - part { - name:"shadow_right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; - max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; - align: 1 1; - fixed: 1 1; - } - } - part { name: "base"; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC; - max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC; - image { - normal: "00_popup_bg.png"; - border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC; - border_scale: 1; - } - fill.smooth: 0; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC; - max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC; - } - } - part { name: "elm.bg.title"; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC; - max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC; - fixed: 1 1; - visible: 0; - align: 0.5 0.0; - image { - normal: "00_popup_title_bg.png"; - border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC; - border_scale: 1; - } - rel1 { - relative: 1.0 1.0; - to: "shadow_left_top_padding"; - } - rel2 { - relative: 0.0 1.0; - to_x: "shadow_right_bottom_padding"; - to_y: "shadow_left_top_padding"; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "landscape" 0.0; - inherit: "default" 0.0; - min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC; - max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC; - } - description { state: "landscape_visible" 0.0; - inherit: "landscape" 0.0; - visible: 1; - } - } - part { name: "action_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 POPUP_ACTION_DESC_TOP_PADDING; - max: 0 POPUP_ACTION_DESC_TOP_PADDING; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - } - } - part { name: "label_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - } - } - part { name: "label_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 1.0; - rel1 { - relative: 0.5 0.0; - to_y: "shadow_right_bottom_padding"; - } - rel2 { - relative: 0.5 0.0; - to_y: "shadow_right_bottom_padding"; - } - } - } - part { name: "title_left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.bg.title"; - fixed: 1 1; - min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING; - max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING; - } - } - part { name: "title_right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel2.to: "elm.bg.title"; - fixed: 1 1; - min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING; - max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING; - } - } - part { name: "icon_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "title_left_top_padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "title_left_top_padding"; - to_y: "elm.bg.title"; - } - align: 0.0 0.5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; - } - } - part { name: "padding_after_icon"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to: "icon_rect"; - } - rel2 { - relative: 1.0 0.0; - to: "icon_rect"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: POPUP_TITLE_ICON_TEXT_PADDING_INC; - } - } - part { name: "elm.swallow.title.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "icon_rect"; - rel2.to: "icon_rect"; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale:1; - description { state: "default" 0.0; - fixed: 1 1; - text { - style: "popup_title_style"; - size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - fit: 1 0; - min: 0 1; - align: 0.0 0.5; - } - rel1 { - relative: 1.0 0.0; - to: "padding_after_icon"; - } - rel2 { - relative: 0.0 1.0; - to: "title_right_bottom_padding"; - } - align: 0.0 0.5; - } - } - part { name: "elm.text.title2"; - type: TEXTBLOCK; - scale:1; - description { state: "default" 0.0; - fixed: 1 1; - text { - style: "popup_title_style2"; - size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - fit: 1 0; - min: 0 1; - align: 0.0 0.5; - } - rel1 { - relative: 1.0 0.0; - to: "padding_after_icon"; - } - rel2 { - relative: 0.0 1.0; - to: "title_right_bottom_padding"; - } - align: 0.0 0.5; - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.bg.title"; - rel2.to: "elm.bg.title"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_CONTENT_LANDSCAPE_MIN_MAX_INC; - fixed: 1 0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "label_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "label_bottom_padding"; - } - } - description { state: "show_title_area" 0.0; - inherit: "default" 0.0; - 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: "shadow_right_bottom_padding"; - } - } - description { state: "show_action_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "action_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "elm.swallow.action_area"; - } - } - description { state: "show_action_title_area" 0.0; - inherit: "default" 0.0; - 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"; - } - } - } - part { name: "access.body"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "shadow_left_top_padding"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - to_x: "shadow_right_bottom_padding"; - to_y: "elm.swallow.content"; - } - color: 0 0 0 0; - } - } - part { name: "access.base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - } - part { name: "left_part"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_LEFT_PADDING 0; - fixed: 1 0; - align: 0.0 0.0; - rel1.to: "base"; - rel2 { - to: "base"; - relative: 0.0 1.0; - } - } - } - part { name: "right_part"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_RIGHT_PADDING 0; - fixed: 1 0; - align: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - to: "base"; - } - rel2.to: "base"; - } - } - part { name: "elm.bg.action_area"; - scale : 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC; - fixed : 0 1; - align: 0.5 1.0; - visible: 0; - image { - normal: "00_popup_button_bg.png"; - border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - rel1 { - relative: 1.0 1.0; - to: "left_part"; - } - rel2 { - relative: 0.0 1.0; - to: "right_part"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.action_area"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 0.0; - rel1.to: "elm.bg.action_area"; - rel2.to: "elm.bg.action_area"; - } - } - } - programs { - program { name: show_title_icon; - signal: "elm,state,title,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "icon_rect"; - target: "padding_after_icon"; - } - program { name: hide_title_icon; - signal: "elm,state,title,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "padding_after_icon"; - target: "icon_rect"; - } - program { name: show_title_area; - signal: "elm,state,title_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", 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:"base", st, 30, vl); - if (!strcmp(st, "landscape")) - set_state(PART:"elm.bg.title", "landscape_visible", 0.0); - else - set_state(PART:"elm.bg.title", "visible", 0.0); - } - } - program { name: hide_title_area; - signal: "elm,state,title_area,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "show_action_area", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - get_state(PART:"base", st, 30, vl); - if (!strcmp(st, "landscape")) - set_state(PART:"elm.bg.title", "landscape", 0.0); - else - set_state(PART:"elm.bg.title", "default", 0.0); - } - } - program { name: show_action_area; - signal: "elm,state,action_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.bg.title", st, 30, vl); - if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) - set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "show_action_area", 0.0); - set_state(PART:"elm.bg.action_area", "visible", 0.0); - } - } - program { name: hide_action_area; - signal: "elm,state,action_area,hidden"; - source: "elm"; - 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, "visible")) || (!strcmp(st, "landscape_visible"))) - set_state(PART:"elm.swallow.content", "show_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - set_state(PART:"elm.bg.action_area", "default", 0.0); - } - } - program { name: "change_to_landscape"; - signal: "elm,state,landscape"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"base", "landscape", 0.0); - get_state(PART:"elm.bg.title", st, 30, vl); - if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) - set_state(PART:"elm.bg.title", "landscape_visible", 0.0); - else - set_state(PART:"elm.bg.title", "landscape", 0.0); - } - after: "orientation_change"; - } - program { name: "orientation_change"; - action: SIGNAL_EMIT "elm,state,orientation,changed" ""; - } - program { name: "change_to_portrait"; - signal: "elm,state,portrait"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"base", "default", 0.0); - get_state(PART:"elm.bg.title", st, 30, vl); - if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible"))) - set_state(PART:"elm.bg.title", "visible", 0.0); - else - set_state(PART:"elm.bg.title", "default", 0.0); - } - after: "orientation_change"; - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - action: SIGNAL_EMIT "elm,state,landscape" "elm"; - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - action: SIGNAL_EMIT "elm,state,portrait" "elm"; - } - } /* end of programs */ -} - -group { name: "elm/popup/base/verticalbuttonstyle"; - alias: "elm/popup/base/verticalbuttonstyle_transparent"; - inherit: "elm/popup/base/default"; - parts { - part { name: "elm.swallow.action_area"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 0 1; - min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC; - rel1 { - relative: 1.0 0.0; - to_x: "left_part"; - to_y: "shadow_right_bottom_padding"; - } - rel2 { - relative: 0.0 0.0; - to_x: "right_part"; - to_y: "shadow_right_bottom_padding"; - } - } - } - } -} - - -group { name: "elm/popup/base/content_no_vhpad"; - inherit: "elm/popup/base/default"; - alias: "elm/popup/base/min_menustyle"; - alias: "elm/popup/base/content_no_vhpad_transparent"; - parts { - part { name: "label_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 0.5 1.0; - to_y: "shadow_left_top_padding"; - } - } - } - part { name: "label_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.5 1.0; - rel1 { - relative: 0.5 0.0; - to_y: "shadow_right_bottom_padding"; - } - rel2 { - relative: 0.5 0.0; - to_y: "shadow_right_bottom_padding"; - } - } - } - } -} - -group { name: "elm/popup/content/default"; - alias: "elm/popup/content/transparent"; - alias: "elm/popup/content/customstyle"; - alias: "elm/popup/content/customstyle_transparent"; - parts{ - part { name: "pad_t"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 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; - rel1 { - relative: 1.0 0.0; - to_x: "pad_l"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - } - } - } - part { name: "pad_l"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; - max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - part { name: "pad_r"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; - max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.0; - } - } - part { name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 1.0; - to_x: "pad_l"; - to_y: "pad_t"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - to_y: "pad_b"; - } - } - } - part { name: "pad_b"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC; - max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to_x: "pad_l"; - } - rel2.to_x: "pad_r"; - } - } - } -} - -group { name: "elm/popup/content/content_no_vhpad"; - inherit: "elm/popup/content/default"; - alias: "elm/popup/content/min_menustyle"; - alias: "elm/popup/content/content_no_vhpad_transparent"; - parts { - part { name: "pad_t"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.5 0.0; - min: 0 0; - max: 0 0; - fixed: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "pad_l"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - } - } - } - part { name: "pad_l"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0; - max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - part { name: "pad_r"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0; - max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.0; - } - } - part { name: "pad_b"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - min: 0 0; - max: 0 0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to_x: "pad_l"; - } - rel2.to_x: "pad_r"; - } - } - part { name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 1.0; - to_x: "pad_l"; - to_y: "pad_t"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - to_y: "pad_b"; - } - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// - -group { name: "elm/popup/item/default"; - alias: "elm/popup/item/min_menustyle"; - script { - public item_state = POPUP_ITEM_STATE_ENABLED; - } - parts { - part { name: "event_blocker"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: GENLIST_LIST_BG_COLOR; - min: POPUP_ITEM_BG_DEFAULT_MIN_INC; - align: 0.5 0.0; - } - description { state: "clicked" 0.0; - color: GENLIST_LIST_PRESS_COLOR; - } - } - part { name: "padding_left_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: POPUP_ITEM_LEFT_MIN_PADDING_INC; - fixed: 1 1; - } - } - part { name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: POPUP_ITEM_RIGHT_MIN_PADDING_INC; - fixed: 1 1; - } - } - part { name: "separator"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "dafault" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - align: 0.5 1.0; - min: 0 1; - max: 999999 1; - } - } - part { name: "padding_icon_text"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2.to: "elm.swallow.content"; - fixed: 1 0; - min: 0 0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - min: POPUP_ITEM_ICON_TEXT_PADDING_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 0; - min: 40 40; - max: 40 40; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "icononly" 0.0; - min: 40 40; - max: 40 40; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_icon_text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to:"padding_right_bottom"; - } - align: 0.0 0.5; - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - align: 0 0.5; - min: 0 1; - font: "Tizen:style=Regular"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - text_class: "list_item"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC; - visible: 1; - } - } - part { name: "over1"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "item_unclick"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - after: "touch_snd"; - } - program { name: "touch_snd"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "disable"; - signal: "elm,state,item,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - after: "disable_text"; - } - program { name: "enable"; - signal: "elm,state,item,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - after: "enable_text"; - } - program { name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "clicked")) - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(item_state, POPUP_ITEM_STATE_DISABLED); - } - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(item_state, POPUP_ITEM_STATE_ENABLED); - } - } - program { name: "text_show"; - signal: "elm,state,item,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,item,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,item,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,item,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } -} - -///////////////////////////////////////////////////////////////////////////////////////// -group { name: "elm/popup/item/landscape/default"; - inherit: "elm/popup/item/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: GENLIST_LIST_BG_COLOR; - min: POPUP_ITEM_BG_LANDCAPE_MIN_INC; - align: 0.5 0.0; - } - description { state: "clicked" 0.0; - color: GENLIST_LIST_PRESS_COLOR; - } - } - } -} - -//////////////////////////////////////////////////////////////////////////////////////// -group { name: "elm/label/base/popup/verticalbuttonstyle"; - styles - { - style { name: "popup_desc_style_center"; - base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - text { - style: "popup_desc_style_center"; - min: 0 1; - max: 0 1; - } - } - } - } -} - -group { name: "elm/popup/buttons3/verticalbuttonstyle"; - alias: "elm/popup/buttons3/verticalbuttonstyle_transparent"; - data.item: "action_area_height" POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT; - parts { - part { name: "bg"; - scale : 1; - description { state: "default" 0.0; - align: 0.5 0.0; - image { - normal: "00_popup_button_bg.png"; - border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - } - part { name: "elm.rect.pad_btn_top"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC; - fixed: 0 1; - align: 0.0 0.0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.rect.pad_btn_top"; - } - } - } - part { name: "elm.rect.pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC; - max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; - to: "actionbtn1"; - } - rel2 { - relative: 1.0 1.0; - to: "actionbtn1"; - } - } - } - part { name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { relative: 0 1.0; - to_y: "elm.rect.pad_btn"; - } - } - } - part { name: "elm.rect.pad_btn2"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC; - max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; - to: "actionbtn2"; - } - rel2 { - relative: 1.0 1.0; - to: "actionbtn2"; - } - } - } - part { name:"actionbtn3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; to_y: "elm.rect.pad_btn2"; - } - } - } - } -} - -group { name: "elm/popup/content/menustyle"; - alias: "elm/popup/content/menustyle_transparent"; - parts{ - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 0.0 1.0; - } - } - } - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC; - max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC; - align: 0.5 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to:"left_padding"; - } - rel2 { - relative: 0.0 1.0; - to:"right_padding"; - } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - } -} - -group { name: "elm/popup/content/min_menustyle"; - alias: "elm/popup/content/min_menustyle_transparent"; - parts{ - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 0.0 1.0; - } - } - } - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC; - max: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC; - align: 0.5 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to:"left_padding"; - } - rel2 { - relative: 0.0 1.0; - to:"right_padding"; - } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - } -} - -group { name: "elm/popup/content/liststyle"; - alias: "elm/popup/content/liststyle_transparent"; - parts{ - part { name: "left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC; - max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC; - } - } - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC; - max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC; - align: 0.5 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 1.0; - to:"left_top_padding"; - } - rel2 { - relative: 0.0 1.0; - to:"right_padding"; - } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - } -} - -group { name: "elm/popup/content/min_liststyle"; - alias: "elm/popup/content/min_liststyle_transparent"; - parts{ - part { name: "left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC; - max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC; - } - } - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC; - max: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC; - align: 0.5 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 1.0; - to:"left_top_padding"; - } - rel2 { - relative: 0.0 1.0; - to:"right_padding"; - } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - } -} - -group { name: "elm/popup/buttons1/default"; - alias: "elm/popup/buttons1/transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC; - max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC; - fixed: 1 1; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - } - } -} - -group { name: "elm/popup/buttons2/default"; - alias: "elm/popup/buttons2/transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part { name: "left_pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - 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; - align: 0 0.5; - rel1.relative: 0.0 0.0; - } - } - part { name: "right_pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - 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; - align: 1 0.5; - rel2.relative: 1.0 1.0; - } - } - part { name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "left_pad_btn"; - } - rel2 { - relative: 0.0 1.0; - to: "elm.rect.pad_btn"; - } - } - } - part { name: "elm.rect.pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - fixed: 1 1; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - } - part { name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "elm.rect.pad_btn"; - } - rel2 { - relative: 0.0 1.0; - to: "right_pad_btn"; - } - } - } - } -} - -group { name: "elm/popup/buttons3/default"; - alias: "elm/popup/buttons3/menustyle"; - alias: "elm/popup/buttons3/transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part { name: "left_pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - 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; - align: 0 0.5; - rel1.relative: 0.0 0.0; - } - } - part { name: "right_pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - 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; - align: 1 0.5; - rel2.relative: 1.0 1.0; - } - } - part { name: "btn_area"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to: "left_pad_btn"; - } - rel2 { - relative: 0.0 1.0; - to: "right_pad_btn"; - } - } - } - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "left_pad_btn"; - } - rel2 { - relative: 0.0 1.0; - to: "elm.rect.pad_btn"; - } - } - } - part { name: "elm.rect.pad_btn"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - fixed: 1 1; - rel1.relative: 0.33 0.0; - rel1.to: "btn_area"; - rel2.relative: 0.33 1.0; - rel2.to: "btn_area"; - } - } - part{ name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to: "elm.rect.pad_btn"; - } - rel2 { - relative: 0.0 1.0; - to: "elm.rect.pad_btn2"; - } - } - } - part { name: "elm.rect.pad_btn2"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC; - fixed: 1 1; - rel1.relative: 0.67 0.0; - rel1.to: "btn_area"; - rel2.relative: 0.67 1.0; - rel2.to: "btn_area"; - } - } - part{ name:"actionbtn3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "elm.rect.pad_btn2"; - } - rel2 { - relative: 0.0 1.0; - to: "right_pad_btn"; - } - } - } - } -} - -group { name: "elm/popup/base/volumebarstyle"; - inherit: "elm/popup/base/default"; - alias: "elm/popup/base/volumebarstyle_transparent"; - images { - image: "00_popup_bg.png" COMP; - } - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC; - fixed: 1 0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "shadow_right_bottom_padding"; - } - } - description { state: "show_title_area" 0.0; - inherit: "default" 0.0; - 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: "shadow_right_bottom_padding"; - } - } - description { state: "show_action_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "elm.swallow.action_area"; - } - } - description { state: "show_action_title_area" 0.0; - inherit: "default" 0.0; - 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"; - } - } - } - } -} - -group { name: "elm/popup/base/volumebarstyle_text"; - alias: "elm/popup/base/volumebarstyle_text_transparent"; - inherit: "elm/popup/base/volumebarstyle"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC; - fixed: 1 0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "shadow_right_bottom_padding"; - } - } - description { state: "show_title_area" 0.0; - inherit: "default" 0.0; - 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: "shadow_right_bottom_padding"; - } - } - description { state: "show_action_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "base"; - to_y: "shadow_left_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - to_y: "elm.swallow.action_area"; - } - } - description { state: "show_action_title_area" 0.0; - inherit: "default" 0.0; - 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"; - } - } - } - } -} - -group { name: "elm/popup/base/content_expand"; - alias: "elm/popup/base/content_expand_transparent"; - images { - image: "00_popup_bg.png" COMP; - image: "00_popup_button_bg.png" COMP; - image: "00_popup_title_bg.png" COMP; - } - parts { - part { name: "base"; - scale : 1; - description { state: "default" 0.0; - rel1.to_x: "elm.swallow.content"; - rel2.to_x: "elm.swallow.content"; - image { - normal: "00_popup_bg.png"; - border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC; - border_scale: 1; - } - align: 0.0 0.0; - } - } - part { - name:"shadow_left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; - max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING; - align: 0 0; - fixed: 1 1; - } - } - part { - name:"shadow_right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; - max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING; - align: 1 1; - fixed: 1 1; - } - } - part { name: "elm.bg.title"; - scale : 1; - description { state: "default" 0.0; - min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC; - fixed : 0 1; - align: 0.5 0.0; - visible: 0; - image { - normal: "00_popup_title_bg.png"; - border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC; - border_scale: 1; - } - rel1 { - relative: 1.0 0.0; - to_x: "shadow_left_top_padding"; - to_y: "base"; - } - rel2 { - relative: 0.0 0.0; - to_x: "shadow_right_bottom_padding"; - to_y: "base"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "left_pad"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.bg.title"; - } - } - part { name: "right_pad"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC; - fixed: 1 1; - align: 1.0 1.0; - rel2.to: "elm.bg.title"; - } - } - part { name: "elm.swallow.title.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - to: "left_pad"; - relative: 1.0 1.0; - } - rel2 { - to: "right_pad"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale:1; - description { state: "default" 0.0; - text { - style: "popup_title_style"; - size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC; - fit: 1 0; - min: 0 1; - align: 0.0 0.5; - } - visible: 0; - rel1 { - to: "left_pad"; - relative: 1.0 1.0; - } - rel2 { - to: "right_pad"; - relative: 0.0 1.0; - } - align: 0.0 0.5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC; - max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - description { state: "show_title_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - to_y: "elm.bg.title"; - } - } - description { state: "show_action_area" 0.0; - inherit: "default" 0.0; - rel2 { - relative: 0.5 0.0; - to_y: "elm.bg.action_area"; - } - } - description { state: "show_action_title_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - to_y: "elm.bg.title"; - } - rel2 { - relative: 0.5 0.0; - to_y: "elm.bg.action_area"; - } - } - } - part { name: "elm.bg.action_area"; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC; - fixed : 0 1; - align: 0.5 1.0; - visible: 0; - image { - normal: "00_popup_button_bg.png"; - border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - rel1 { - relative: 1.0 1.0; - to_x: "shadow_left_top_padding"; - to_y: "base"; - } - rel2 { - relative: 0.0 1.0; - to_x: "shadow_right_bottom_padding"; - to_y: "base"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.action_area"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - rel1.to: "elm.bg.action_area"; - rel2.to: "elm.bg.action_area"; - } - } - } - programs { - program { name: show_title_icon; - signal: "elm,state,title,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.title.icon"; - } - program { name: hide_title_icon; - signal: "elm,state,title,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.title.icon"; - } - program { name: show_title_text; - signal: "elm,state,title,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text.title"; - } - program { name: hide_title_text; - signal: "elm,state,title,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.title"; - } - program { name: show_title_area; - signal: "elm,state,title_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", 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); - set_state(PART:"elm.bg.title", "visible", 0.0); - } - } - program { name: hide_title_area; - signal: "elm,state,title_area,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", st, 30, vl); - if (!strcmp(st, "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 { name: show_action_area; - signal: "elm,state,action_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.bg.title", 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_action_area", 0.0); - set_state(PART:"elm.bg.action_area", "visible", 0.0); - } - } - program { name: hide_action_area; - signal: "elm,state,action_area,hidden"; - source: "elm"; - 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, "visible")) - set_state(PART:"elm.swallow.content", "show_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - set_state(PART:"elm.bg.action_area", "default", 0.0); - } - } - } -} - -group { name: "elm/popup/buttons1/content_expand"; - alias: "elm/popup/buttons1/content_expand_transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.2 0.1; - rel2.relative: 0.8 0.9; - } - } - } -} - -group { name: "elm/popup/buttons2/content_expand"; - alias: "elm/popup/buttons2/content_expand_transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.relative: 0.1 0.1; - rel2.relative: 0.45 0.9; - } - } - part{ name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.relative: 0.55 0.1; - rel2.relative: 0.9 0.9; - } - } - } -} - -group { name: "elm/popup/buttons3/content_expand"; - alias: "elm/popup/buttons3/content_expand_transparent"; - data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT; - parts{ - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.relative: 0.05 0.1; - rel2.relative: 0.3 0.9; - } - } - part{ name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.relative: 0.375 0.1; - rel2.relative: 0.625 0.9; - } - } - part{ name:"actionbtn3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.relative: 0.7 0.1; - rel2.relative: 0.95 0.9; - } - } - } -} - -group { name: "elm/popup/item/content_expand"; - alias: "elm/popup/item/content_expand_transparent"; - inherit: "elm/popup/item/default"; - parts { - part { name: "bg"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - color: 240 240 240 255; - min: 620 112; - align: 0.5 0.0; - } - description { state: "clicked" 0.0; - color: 190 170 150 255; - } - } - } -} - -group { name: "elm/popup/content/content_expand"; - alias: "elm/popup/content/content_expand_transparent"; - parts{ - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - } -} - -#undef POPUP_ITEM_STATE_ENABLED -#undef POPUP_ITEM_STATE_DISABLED diff --git a/mobile/themes/widgets/progressbar.edc b/mobile/themes/widgets/progressbar.edc deleted file mode 100644 index 7454466..0000000 --- a/mobile/themes/widgets/progressbar.edc +++ /dev/null @@ -1,1966 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/////////////////////////////////////////////////////////////////////////////////////// - - group { name: "elm/progressbar/horizontal/default"; - alias: "elm/progressbar/horizontal/list_progress"; - images { - image: "00_progress_bg.png" COMP; - image: "00_progress_bar.png" COMP; - image: "00_progress_bg_dim.png" COMP; - image: "00_progress_bar_dim.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 1.0; - offset: 0 0; - } - visible: 0; - align: 0.0 0.0; - } - } - part { name: "elm.padding.right"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: 0 0; - } - visible: 0; - align: 1.0 0.0; - } - } - part { name: "elm.background.progressbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.padding.left"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to_x: "elm.padding.right"; - relative: 0.0 1.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { - min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; - max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; - state: "default" 0.0; - rel1 { - to: "elm.background.progressbar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.background.progressbar"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - offset: 0 0; - to_y: "elm.background.progressbar"; - } - rel2 { - offset: 0 -1; - relative: 0.0 1.0; - to_y: "elm.background.progressbar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel2.to_x: "elm.swallow.content"; - rel2.relative: 1.0 1.0; - color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 1 1; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - image { - normal: "00_progress_bg.png"; - border: PROGRESS_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_bg_dim.png"; - } - } - part { name: "elm.text.status"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0.5 0.5; - } - rel2 { - to: "background"; - relative: 0.5 0.5; - } - text { - font: "Tizen:style=Medium"; - size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC; - min: 0 0; - align: 0.5 0.0; - text_class: "tizen"; - } - color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 1 1; - } - } - part { - name: "bar.image.left.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1.to: "elm.swallow.bar"; - rel2 { - relative: 0.0 1.0; - to: "elm.swallow.bar"; - } - align: 0.0 0.5; - } - } - part { - name: "bar.image.right.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.bar"; - } - rel2.to: "elm.swallow.bar"; - align: 1.0 0.5; - } - } - part { name: "drag.background"; - mouse_events: 0; - type: RECT; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to_x: "bar.image.left.padding"; - to_y: "elm.swallow.bar"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bar.image.right.padding"; - to_y: "elm.swallow.bar"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1 { - to_x: "bar.image.left.padding"; - to_y: "elm.swallow.bar"; - relative: 1.0 0.0; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - offset: -1 -1; - } - image { - normal: "00_progress_bar.png"; - border: PROGRESS_BAR_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "bar.image.right.padding"; - relative: 1.0 0.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 0.1 1.0; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.9 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_bar_dim.png"; - } - } - part { name: "text-bar"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "progress-rect"; - //effect: SOFT_SHADOW; - scale: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - visible: 0; - rel1.to: "elm.text.status"; - rel1.offset: -1 -1; - rel2.to: "elm.text.status"; - text { - text_source: "elm.text.status"; - font: "Tizen:style=Medium"; - size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC; - min: 0 0; - align: 0.0 0.0; - text_class: "tizen"; - } - color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 1 1; - } - } - part { name: "elm.cur.progressbar"; - mouse_events: 0; - scale: 1; - dragable { - confine: "drag.background"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - min: 0 28; - fixed: 1 1; - visible: 0; - rel1.to: "drag.background"; - rel2.to: "drag.background"; - } - } - part { name: "progress-rect"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - } - } - } - programs { - program { name: "label_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "label_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - // after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - //after: "state_pulse"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "progressbar_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - program { name: "progressbar_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/list_title_progress"; - images { - image: "00_progress_bg.png" COMP; - image: "00_progress_bar.png" COMP; - image: "00_progress_bg_dim.png" COMP; - image: "00_progress_bar_dim.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - color: 0 0 0 0; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 82; - visible: 0; - fixed: 1 0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 0.0 1.0; to: "base"; } - color: 0 0 0 0; - align: 0.0 0.0; - } - } - part { name: "elm.padding.right"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 82; - visible: 0; - fixed: 1 0; - rel1 { relative: 1.0 0.0; to: "base"; } - rel2 { relative: 1.0 1.0; to: "base"; } - color: 0 0 0 0; - align: 1.0 0.0; - } - } - part { - name: "elm.padding.top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 100 1; - visible: 0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - color: 0 0 0 0; - } - } - part { - name: "elm.padding.bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - min: 100 1; - visible: 0; - fixed: 0 1; - rel1 { relative: 0.0 1.0; to: "base"; } - rel2 { relative: 1.0 1.0; to: "base"; } - color: 0 0 0 0; - } - } - part { - name: "label_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - min: 460 56; - fixed: 0 1; - rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } - rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; } - align: 0.0 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.padding.left"; - to_y: "label_rect"; - relative: 1.0 1.0; - offset: 0 0; - } - rel2 { - to_x: "elm.padding.right"; - relative: 0.0 1.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { - min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; - max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC; - state: "default" 0.0; - rel1 { - to: "elm.background.progressbar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.background.progressbar"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - offset: 0 0; - to_y: "elm.background.progressbar"; - } - rel2 { - offset: 0 -1; - relative: 0.0 1.0; - to_y: "elm.background.progressbar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 1; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "label_rect"; - rel2.to: "label_rect"; - color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: PROGRESSBAR_TITLE_FONT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - image { - normal: "00_progress_bg.png"; - border: PROGRESS_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_bg_dim.png"; - } - } - part { name: "elm.text.status"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0.5 0.5; - } - rel2 { - to: "background"; - relative: 0.5 0.5; - } - text { - font: "Tizen:style=Medium"; - size: PROGRESSBAR_TITLE_FONT_SIZE_INC; - min: 0 0; - align: 0.5 0.0; - text_class: "tizen"; - } - color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 1 1; - } - } - part { - name: "bar.image.left.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1.to: "elm.swallow.bar"; - rel2 { - relative: 0.0 1.0; - to: "elm.swallow.bar"; - } - align: 0.0 0.5; - } - } - part { - name: "bar.image.right.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.bar"; - } - rel2.to: "elm.swallow.bar"; - align: 1.0 0.5; - } - } - part { name: "drag.background"; - mouse_events: 0; - type: RECT; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to_x: "bar.image.left.padding"; - to_y: "elm.swallow.bar"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bar.image.right.padding"; - to_y: "elm.swallow.bar"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1 { - to_x: "bar.image.left.padding"; - to_y: "elm.swallow.bar"; - relative: 1.0 0.0; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - offset: -1 -1; - } - image { - normal: "00_progress_bar.png"; - border: PROGRESS_BAR_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "bar.image.right.padding"; - relative: 1.0 0.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 0.1 1.0; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.9 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_bar_dim.png"; - } - } - part { name: "text-bar"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "progress-rect"; - //effect: SOFT_SHADOW; - scale: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - visible: 0; - rel1.to: "elm.text.status"; - rel1.offset: -1 -1; - rel2.to: "elm.text.status"; - text { - text_source: "elm.text.status"; - font: "Tizen:style=Medium"; - size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC; - min: 0 0; - align: 0.0 0.0; - text_class: "tizen"; - } - color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 1 1; - } - } - part { name: "elm.cur.progressbar"; - mouse_events: 0; - scale: 1; - dragable { - confine: "drag.background"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - min: 0 28; - fixed: 1 1; - visible: 0; - rel1.to: "drag.background"; - rel2.to: "drag.background"; - } - } - part { name: "progress-rect"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - } - } - } - programs { - program { name: "label_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "label_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - // after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - //after: "state_pulse"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "progressbar_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - program { name: "progressbar_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/pending_list"; - images { - image: "00_progress_bg.png" COMP; - image: "00_progress_bg_dim.png" COMP; - image: "00_progress_pending_01_bg.png" COMP; - image: "00_progress_pending_02_bg.png" COMP; - image: "00_progress_pending_01_bg_dim.png" COMP; - image: "00_progress_pending_02_bg_dim.png" COMP; - image: "00_progress_pending_01_bg_h.png" COMP; - image: "00_progress_pending_02_bg_h.png" COMP; - image: "00_progress_pending_01_bg_h_dim.png" COMP; - image: "00_progress_pending_02_bg_h_dim.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { - min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC; - max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC; - state: "default" 0.0; - rel1 { - to: "elm.background.progressbar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.background.progressbar"; - relative: 1.0 1.0; - } - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - image { - normal: "00_progress_bg.png"; - border: PROGRESS_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_bg_dim.png"; - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1 { - to: "background"; - relative: 0.0 0.0; - } - rel2 { - to: "background"; - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "00_progress_pending_01_bg.png"; - border: 0 0 0 0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - } - description { - state: "state_begin_landscape" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_01_bg_h.png"; - } - description { state: "state_begin_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_01_bg_dim.png"; - } - description { state: "state_begin_landscape_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_01_bg_h_dim.png"; - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_02_bg.png"; - } - description { - state: "state_end_landscape" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_02_bg_h.png"; - } - description { state: "state_end_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_02_bg_dim.png"; - } - description { state: "state_end_landscape_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_progress_pending_02_bg_h_dim.png"; - } - } - } - script { - public landscape = 0; - public state_end = 0; - } - programs { - program { name: "slide_to_end"; - in: 0.3 0.0; - script { - if (!get_int(landscape)) - set_state(PART:"elm.progress.progressbar", "state_end", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_end_landscape", 0.0); - set_int(state_end, 1); - } - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - in: 0.3 0.0; - script { - if (!get_int(landscape)) - set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_begin_landscape", 0.0); - set_int(state_end, 0); - } - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "progressbar_disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"background", "disabled", 0.0); - if (!get_int(landscape)) { - if (!get_int(state_end)) - set_state(PART:"elm.progress.progressbar", "state_begin_disabled", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_end_disabled", 0.0); - } - else { - if (!get_int(state_end)) - set_state(PART:"elm.progress.progressbar", "state_begin_landscape_disabled", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_end_landscape_disabled", 0.0); - } - } - } - program { name: "progressbar_enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"background", "default", 0.0); - if (!get_int(landscape)) { - if (!get_int(state_end)) - set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_end", 0.0); - } - else { - if (!get_int(state_end)) - set_state(PART:"elm.progress.progressbar", "state_begin_landscape", 0.0); - else - set_state(PART:"elm.progress.progressbar", "state_end_landscape", 0.0); - } - } - } - program { name: "landscape_mode"; - source: "elm"; - signal: "elm,state,orient,90"; - script { - set_int(landscape, 1); - } - } - program { name: "landscape_mode2"; - source: "elm"; - signal: "elm,state,orient,270"; - script { - set_int(landscape, 1); - } - } - program { name: "portrait_mode"; - source: "elm"; - signal: "elm,state,orient,0"; - script { - set_int(landscape, 0); - } - } - program { name: "portrait_mode2"; - source: "elm"; - signal: "elm,state,orient,180"; - script { - set_int(landscape, 0); - } - } - } - } - -#define PROCESS_IMAGE(COLOR, SIZE, NUM) \ - image: ""COLOR"/"SIZE"/00_list_process_"NUM".png" COMP; - -#define PROCESS_IMAGES(COLOR, SIZE) \ - images { \ - PROCESS_IMAGE(COLOR, SIZE, 01) \ - PROCESS_IMAGE(COLOR, SIZE, 02) \ - PROCESS_IMAGE(COLOR, SIZE, 03) \ - PROCESS_IMAGE(COLOR, SIZE, 04) \ - PROCESS_IMAGE(COLOR, SIZE, 05) \ - PROCESS_IMAGE(COLOR, SIZE, 06) \ - PROCESS_IMAGE(COLOR, SIZE, 07) \ - PROCESS_IMAGE(COLOR, SIZE, 08) \ - PROCESS_IMAGE(COLOR, SIZE, 09) \ - PROCESS_IMAGE(COLOR, SIZE, 10) \ - PROCESS_IMAGE(COLOR, SIZE, 11) \ - PROCESS_IMAGE(COLOR, SIZE, 12) \ - PROCESS_IMAGE(COLOR, SIZE, 13) \ - PROCESS_IMAGE(COLOR, SIZE, 14) \ - PROCESS_IMAGE(COLOR, SIZE, 15) \ - PROCESS_IMAGE(COLOR, SIZE, 16) \ - PROCESS_IMAGE(COLOR, SIZE, 17) \ - PROCESS_IMAGE(COLOR, SIZE, 18) \ - PROCESS_IMAGE(COLOR, SIZE, 19) \ - PROCESS_IMAGE(COLOR, SIZE, 20) \ - PROCESS_IMAGE(COLOR, SIZE, 21) \ - PROCESS_IMAGE(COLOR, SIZE, 22) \ - PROCESS_IMAGE(COLOR, SIZE, 23) \ - PROCESS_IMAGE(COLOR, SIZE, 24) \ - PROCESS_IMAGE(COLOR, SIZE, 25) \ - PROCESS_IMAGE(COLOR, SIZE, 26) \ - PROCESS_IMAGE(COLOR, SIZE, 27) \ - PROCESS_IMAGE(COLOR, SIZE, 28) \ - PROCESS_IMAGE(COLOR, SIZE, 29) \ - PROCESS_IMAGE(COLOR, SIZE, 30) \ - } - -#define PROGRESS_DESC(COLOR, SIZE, NUM ) \ - description { state: "pulse" 0.#NUM; \ - inherit: "default" 0.0; \ - image { \ - normal: ""COLOR"/"SIZE"/00_list_process_"NUM".png"; \ - } \ - } - -#define PROCESS_DESCS(COLOR, SIZE, WIDTH, HEIGHT) \ - description { \ - state: "default" 0.0; \ - min: WIDTH HEIGHT; \ - max: WIDTH HEIGHT; \ - aspect: 1.0 1.0; \ - aspect_preference: BOTH; \ - image { \ - normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \ - } \ - } \ - description { state: "pulse" 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \ - } \ - } \ - PROGRESS_DESC(COLOR, SIZE, 01 ) \ - PROGRESS_DESC(COLOR, SIZE, 02 ) \ - PROGRESS_DESC(COLOR, SIZE, 03 ) \ - PROGRESS_DESC(COLOR, SIZE, 04 ) \ - PROGRESS_DESC(COLOR, SIZE, 05 ) \ - PROGRESS_DESC(COLOR, SIZE, 06 ) \ - PROGRESS_DESC(COLOR, SIZE, 07 ) \ - PROGRESS_DESC(COLOR, SIZE, 08 ) \ - PROGRESS_DESC(COLOR, SIZE, 09 ) \ - PROGRESS_DESC(COLOR, SIZE, 10 ) \ - PROGRESS_DESC(COLOR, SIZE, 11 ) \ - PROGRESS_DESC(COLOR, SIZE, 12 ) \ - PROGRESS_DESC(COLOR, SIZE, 13 ) \ - PROGRESS_DESC(COLOR, SIZE, 14 ) \ - PROGRESS_DESC(COLOR, SIZE, 15 ) \ - PROGRESS_DESC(COLOR, SIZE, 16 ) \ - PROGRESS_DESC(COLOR, SIZE, 17 ) \ - PROGRESS_DESC(COLOR, SIZE, 18 ) \ - PROGRESS_DESC(COLOR, SIZE, 19 ) \ - PROGRESS_DESC(COLOR, SIZE, 20 ) \ - PROGRESS_DESC(COLOR, SIZE, 21 ) \ - PROGRESS_DESC(COLOR, SIZE, 22 ) \ - PROGRESS_DESC(COLOR, SIZE, 23 ) \ - PROGRESS_DESC(COLOR, SIZE, 24 ) \ - PROGRESS_DESC(COLOR, SIZE, 25 ) \ - PROGRESS_DESC(COLOR, SIZE, 26 ) \ - PROGRESS_DESC(COLOR, SIZE, 27 ) \ - PROGRESS_DESC(COLOR, SIZE, 28 ) \ - PROGRESS_DESC(COLOR, SIZE, 29 ) \ - PROGRESS_DESC(COLOR, SIZE, 30 ) - -#define PROGRESSING_DELAY 0.07 - - group { name: "elm/progressbar/horizontal/list_process"; - alias: "elm/progressbar/horizontal/process"; - PROCESS_IMAGES("White", "63x63") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - PROCESS_DESCS("White", "63x63", 63, 63) - } - } - script { - public pulse_state; - } - programs { - program { name: "continue_pulse"; - script { - new Float:state; - state = get_float(pulse_state); - set_state(PART:"background", "pulse", state); - state += 0.01; - if( state > 0.30 ) - state = 0.01; - set_float(pulse_state, state); - } - after: "delay"; - } - program { name: "delay"; - action: STATE_SET "pulse" 0.10; - target: "background"; - in: PROGRESSING_DELAY 0.0; - after: "continue_pulse"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - script { - set_float(pulse_state, 0.0); - } - after: "continue_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "continue_pulse"; - target: "delay"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/list_process_medium"; - alias: "elm/progressbar/horizontal/process_medium"; - PROCESS_IMAGES("White", "54x54") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - PROCESS_DESCS("White", "54x54", 54, 54) - } - } - script { - public pulse_state; - } - programs { - program { name: "continue_pulse"; - script { - new Float:state; - state = get_float(pulse_state); - set_state(PART:"background", "pulse", state); - state += 0.01; - if( state > 0.30 ) - state = 0.01; - set_float(pulse_state, state); - } - after: "delay"; - } - program { name: "delay"; - action: STATE_SET "pulse" 0.10; - target: "background"; - in: PROGRESSING_DELAY 0.0; - after: "continue_pulse"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - script { - set_float(pulse_state, 0.0); - } - after: "continue_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "continue_pulse"; - target: "delay"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/list_process_small"; - alias: "elm/progressbar/horizontal/process_small"; - PROCESS_IMAGES("White", "36x36") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 36 36; - max: 36 36; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image { - normal: "White/36x36/00_list_process_01.png"; - } - } - description { - state: "pulse" 0.0; - inherit: "default" 0.0; - image { - normal: "White/36x36/00_list_process_01.png"; - tween: "White/36x36/00_list_process_02.png"; - tween: "White/36x36/00_list_process_03.png"; - tween: "White/36x36/00_list_process_04.png"; - tween: "White/36x36/00_list_process_05.png"; - tween: "White/36x36/00_list_process_06.png"; - tween: "White/36x36/00_list_process_07.png"; - tween: "White/36x36/00_list_process_08.png"; - tween: "White/36x36/00_list_process_09.png"; - tween: "White/36x36/00_list_process_10.png"; - tween: "White/36x36/00_list_process_11.png"; - tween: "White/36x36/00_list_process_12.png"; - tween: "White/36x36/00_list_process_13.png"; - tween: "White/36x36/00_list_process_14.png"; - tween: "White/36x36/00_list_process_15.png"; - tween: "White/36x36/00_list_process_16.png"; - tween: "White/36x36/00_list_process_17.png"; - tween: "White/36x36/00_list_process_18.png"; - tween: "White/36x36/00_list_process_19.png"; - tween: "White/36x36/00_list_process_20.png"; - tween: "White/36x36/00_list_process_21.png"; - tween: "White/36x36/00_list_process_22.png"; - tween: "White/36x36/00_list_process_23.png"; - tween: "White/36x36/00_list_process_24.png"; - tween: "White/36x36/00_list_process_25.png"; - tween: "White/36x36/00_list_process_26.png"; - tween: "White/36x36/00_list_process_27.png"; - tween: "White/36x36/00_list_process_28.png"; - tween: "White/36x36/00_list_process_29.png"; - tween: "White/36x36/00_list_process_30.png"; - } - } - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "pulse" 0.0; - target: "background"; - transition: LINEAR 1.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "background"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - - -// Black progressbar - group { name: "elm/progressbar/horizontal/list_process_black"; - alias: "elm/progressbar/horizontal/process_black"; - PROCESS_IMAGES("Black", "63x63") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - PROCESS_DESCS("Black", "63x63", 63, 63) - } - } - script { - public pulse_state; - } - programs { - program { name: "continue_pulse"; - script { - new Float:state; - state = get_float(pulse_state); - set_state(PART:"background", "pulse", state); - state += 0.01; - if( state > 0.30 ) - state = 0.01; - set_float(pulse_state, state); - } - after: "delay"; - } - program { name: "delay"; - action: STATE_SET "pulse" 0.10; - target: "background"; - in: PROGRESSING_DELAY 0.0; - after: "continue_pulse"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - script { - set_float(pulse_state, 0.0); - } - after: "continue_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "continue_pulse"; - target: "delay"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/list_process_medium_black"; - alias: "elm/progressbar/horizontal/process_medium_black"; - PROCESS_IMAGES("Black", "54x54") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - PROCESS_DESCS("Black", "54x54", 54, 54) - } - } - script { - public pulse_state; - } - programs { - program { name: "continue_pulse"; - script { - new Float:state; - state = get_float(pulse_state); - set_state(PART:"background", "pulse", state); - state += 0.01; - if( state > 0.30 ) - state = 0.01; - set_float(pulse_state, state); - } - after: "delay"; - } - program { name: "delay"; - action: STATE_SET "pulse" 0.10; - target: "background"; - in: PROGRESSING_DELAY 0.0; - after: "continue_pulse"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - script { - set_float(pulse_state, 0.0); - } - after: "continue_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "continue_pulse"; - target: "delay"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/list_process_small_black"; - alias: "elm/progressbar/horizontal/process_small_black"; - PROCESS_IMAGES("Black", "36x36") - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - PROCESS_DESCS("Black", "36x36", 36, 36) - } - } - script { - public pulse_state; - } - programs { - program { name: "continue_pulse"; - script { - new Float:state; - state = get_float(pulse_state); - set_state(PART:"background", "pulse", state); - state += 0.01; - if( state > 0.30 ) - state = 0.01; - set_float(pulse_state, state); - } - after: "delay"; - } - program { name: "delay"; - action: STATE_SET "pulse" 0.10; - target: "background"; - in: PROGRESSING_DELAY 0.0; - after: "continue_pulse"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - script { - set_float(pulse_state, 0.0); - } - after: "continue_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "continue_pulse"; - target: "delay"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } diff --git a/mobile/themes/widgets/radio.edc b/mobile/themes/widgets/radio.edc deleted file mode 100644 index 478c183..0000000 --- a/mobile/themes/widgets/radio.edc +++ /dev/null @@ -1,422 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - -#define RADIO_STATE_DEFAULT 0 // radio is off -#define RADIO_STATE_VISIBLE 1 // radio is on - - styles { - style { name: "radio_label_textblock_style"; - base: "font=Tizen:style=Regular font_size="RADIO_STYLE_DEFAULT_FONT_SIZE_INC" color="RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - style { name: "radio_label_textblock_style_disable"; - base: "font=Tizen:style=Regular font_size="RADIO_STYLE_DEFAULT_FONT_SIZE_INC" color="RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC" wrap=char text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } -//////////////////////////////////////////////////////////////////////////////////////// - -#define RADIO_STYLE_DEFAULT(style_name, min_width, min_height) \ - group { name: "elm/radio/base/"style_name; \ - images { \ - image: "00_button_radio_activated_dim.png" COMP; \ - image: "00_button_radio_activated.png" COMP; \ - image: "00_button_radio_activated_press.png" COMP; \ - image: "00_button_radio_bg.png" COMP; \ - image: "00_button_radio_dim_bg.png" COMP; \ - image: "00_button_radio_press_bg.png" COMP; \ - image: "00_button_radio_focus.png" COMP; \ - } \ - script { \ - public radio_state = RADIO_STATE_DEFAULT; \ - } \ - parts { \ - part { name: "back_bg"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel2.relative: 0.0 1.0; \ - align: 0 0.5; \ - min: min_width min_height; \ - fixed: 1 0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "bg"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ - max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ - fixed: 1 1; \ - rel1.to: "back_bg"; \ - rel2.to: "back_bg"; \ - image.normal: "00_button_radio_bg.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_radio_dim_bg.png"; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "00_button_radio_press_bg.png"; \ - } \ - } \ - part { name: "radio"; \ - clip_to: "opacity_clip"; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "bg"; \ - rel2.to: "bg"; \ - max: 0 0; \ - image.normal: "00_button_radio_activated.png"; \ - visible: 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - max: RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "visible" 0.0; \ - image.normal: "00_button_radio_activated_dim.png"; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "visible" 0.0; \ - image.normal: "00_button_radio_activated_press.png"; \ - } \ - } \ - part { name: "opacity_clip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 255 255 255 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - } \ - } \ - part { name: "elm.swallow.content"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - visible: 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "bg"; \ - relative: 1.0 0.0; \ - offset: 1 1; \ - } \ - rel2 { \ - to_x: "bg"; \ - offset: 2 -2; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - fixed: 1 1; \ - visible: 1; \ - aspect: 1.0 1.0; \ - } \ - } \ - part { name: "elm.text"; \ - type: TEXTBLOCK; \ - mouse_events: 0; \ - clip_to: "disclip"; \ - scale: 1; \ - description { state: "default" 0.0; \ - visible: 0; \ - fixed: 0 1; \ - rel1 { \ - relative: 1.0 0.5; \ - offset: 1 1; \ - to_x: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 0.5; \ - offset: -2 -2; \ - } \ - align: 0.0 0.5; \ - text { \ - style: "radio_label_textblock_style"; \ - min: 0 0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text.min: 1 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled_visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - text { \ - style: "radio_label_textblock_style_disable"; \ - min: 0 0; \ - } \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events:1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disclip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: RADIO_DISCLIP_NORMAL_COLOR_INC; \ - } \ - description { state: "disabled" 0.0; \ - color: RADIO_DISCLIP_DISABLED_COLOR_INC; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "click"; \ - signal: "mouse,clicked,1"; \ - source: "over1"; \ - action: SIGNAL_EMIT "elm,action,radio,toggle" ""; \ - } \ - program { name: "touch_sound"; \ - signal: "mouse,clicked,1"; \ - source: "over2"; \ - action: PLAY_SAMPLE "touch_sound" 1.0; \ - } \ - program { name: "bg_normal"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - script { \ - if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ - set_state(PART:"radio", "visible", 0.0); \ - else \ - set_state(PART:"radio", "default", 0.0); \ - set_state(PART:"bg", "default", 0.0); \ - } \ - } \ - program { name: "pressed"; \ - signal: "mouse,down,1"; \ - source: "over2"; \ - script { \ - if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ - set_state(PART:"radio", "pressed", 0.0); \ - else \ - set_state(PART:"radio", "default", 0.0); \ - set_state(PART:"bg", "pressed", 0.0); \ - } \ - } \ - program { name: "mouse,out"; \ - signal: "mouse,out"; \ - source: "over2"; \ - script { \ - if (get_int(radio_state) == RADIO_STATE_VISIBLE) \ - set_state(PART:"radio", "visible", 0.0); \ - else \ - set_state(PART:"radio", "default", 0.0); \ - set_state(PART:"bg", "default", 0.0); \ - } \ - } \ - program { name: "radio_on"; \ - signal: "elm,state,radio,on"; \ - source: "elm"; \ - script { \ - set_int(radio_state, RADIO_STATE_VISIBLE); \ - run_program(PROGRAM:"radio_show_effect"); \ - run_program(PROGRAM:"radio_draw_effect"); \ - } \ - } \ - program { name: "radio_off"; \ - signal: "elm,state,radio,off"; \ - source: "elm"; \ - script { \ - set_int(radio_state, RADIO_STATE_DEFAULT); \ - set_state(PART:"opacity_clip", "default", 0.0); \ - set_state(PART:"radio", "default", 0.0); \ - } \ - } \ - program { name: "radio_show_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.233; \ - target: "opacity_clip"; \ - } \ - program { name: "radio_draw_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.267; \ - target: "radio"; \ - } \ - program { name: "text_show"; \ - signal: "elm,state,text,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "text_hide"; \ - signal: "elm,state,text,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text"; \ - } \ - program { name: "icon_show"; \ - signal: "elm,state,icon,visible"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "icon_hide"; \ - signal: "elm,state,icon,hidden"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.swallow.content"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disclip"; \ - target: "bg"; \ - target: "disabler"; \ - after: "disable_text"; \ - } \ - program { name: "disable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.text", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.text", "disabled", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "disabled", 0.0); \ - get_state(PART:"radio", st, 30, vl); \ - if (!strcmp(st, "visible")) \ - set_state(PART:"radio", "disabled_visible", 0.0); \ - else \ - set_state(PART:"radio", "disabled", 0.0); \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "disclip"; \ - target: "bg"; \ - after: "enable_text"; \ - } \ - program { name: "enable_text"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"elm.text", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.text", "visible", 0.0); \ - else \ - set_state(PART:"elm.text", "default", 0.0); \ - get_state(PART:"elm.swallow.content", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - set_state(PART:"elm.swallow.content", "visible", 0.0); \ - else \ - set_state(PART:"elm.swallow.content", "default", 0.0); \ - get_state(PART:"radio", st, 30, vl); \ - if (!strcmp(st, "disabled_visible")) \ - { \ - set_state(PART:"opacity_clip", "visible", 0.0); \ - set_state(PART:"radio", "visible", 0.0); \ - } \ - else \ - { \ - set_state(PART:"opacity_clip", "default", 0.0); \ - set_state(PART:"radio", "default", 0.0); \ - } \ - } \ - } \ - } \ - } - -/////////////////////////////////////////////////////////////////////////////////////// -RADIO_STYLE_DEFAULT("default", RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC) - -/////////////////////////////////////////////////////////////////////////////////////// -RADIO_STYLE_DEFAULT("default/extended", RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC, RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC) - -/////////////////////////////////////////////////////////////////////////////////////// - -#undef RADIO_STATE_DEFAULT -#undef RADIO_STATE_VISIBLE diff --git a/mobile/themes/widgets/scroller.edc b/mobile/themes/widgets/scroller.edc deleted file mode 100644 index aa7ab2f..0000000 --- a/mobile/themes/widgets/scroller.edc +++ /dev/null @@ -1,1895 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -/* - * vim:ts=3 -*/ -group { name: "elm/scroller/base/default"; - alias: "elm/carousel/base/default"; - alias: "elm/scroller/base/map_bubble"; - alias: "elm/gengrid/base/no_effect"; - alias: "elm/genlist/base/no_effect"; - - data { - item: "focus_highlight" "on"; - } - - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public sh_v, sh_h, sh_timer, edge_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - public timer1(val) { - emit("do-hide-vshadow", ""); - emit("do-hide-hshadow", ""); - set_int(sh_timer, 0); - return 0; - } - public timer2(val) { - emit("do-hide-vshadow", ""); - emit("do-hide-hshadow", ""); - set_int(edge_timer, 0); - return 0; - } - } - images { - image: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE COMP; - image: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 1; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE; - border: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER; - border_scale: 1; - middle: DEFAULT; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - image { - normal: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE; - border: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER; - border_scale: 1; - middle: DEFAULT; - } - } - } - part { name: "disabler"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 128 128 128 128; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - program { name: "show"; - signal: "show"; - source: ""; - script { - new v; - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - v = get_int(sbalways_v); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - v = get_int(sbalways_h); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -} - -group { name: "elm/scroller/base/handler"; - alias: "elm/carousel/base/handler"; - - data { - item: "focus_highlight" "on"; - } - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public sh_timer, edge_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - public timer1(val) { - emit("do-hide-vshadow", ""); - emit("do-hide-hshadow", ""); - set_int(sh_timer, 0); - return 0; - } - public timer2(val) { - emit("do-hide-vshadow", ""); - emit("do-hide-hshadow", ""); - set_int(edge_timer, 0); - return 0; - } - } - images { - image: "00_fast_scroll_handler_top.png" COMP; - image: "00_fast_scroll_handler_center.png" COMP; - image: "00_fast_scroll_handler_bottom.png" COMP; - image: "00_fast_scroll_handler_left_h.png" COMP; - image: "00_fast_scroll_handler_center_h.png" COMP; - image: "00_fast_scroll_handler_right_h.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to_y: "sb_hbar"; - to_x: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.vbar"; - type: RECT; - clip_to: "sb_vbar_clip"; - mouse_events: 1; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: 30 99999; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - } - } - part { name: "scrollbar_handler_image_top"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.0; - rel2.to: "scrollbar_handler_image_middle"; - visible: 1; - image { - normal: "00_fast_scroll_handler_top.png"; - border: 36 0 31 0; - border_scale: 1; - } - } - } - part { name: "scrollbar_handler_image_middle"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.5 0.5; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 0.5 0.5; - rel2.to: "elm.dragable.vbar"; - visible: 1; - min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC; - image { - normal: "00_fast_scroll_handler_center.png"; - border: 36 0 0 0; - border_scale: 1; - } - } - } - part { name: "scrollbar_handler_image_bottom"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.0 1.0; - rel1.to: "scrollbar_handler_image_middle"; - rel2.relative: 1.0 1.0; - rel2.to: "elm.dragable.vbar"; - visible: 1; - image { - normal: "00_fast_scroll_handler_bottom.png"; - border: 36 0 0 36; - border_scale: 1; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - type: RECT; - clip_to: "sb_hbar_clip"; - mouse_events: 1; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: 99999 30; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - } - } - part { name: "h_scrollbar_handler_image_left"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.0 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 0.0 1.0; - rel2.to: "scrollbar_handler_image_hor"; - visible: 1; - image { - normal: "00_fast_scroll_handler_left_h.png"; - border: 31 0 36 0; - border_scale: 1; - } - } - } - part { name: "scrollbar_handler_image_hor"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.5 0.5; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 0.5 0.5; - rel2.to: "elm.dragable.hbar"; - visible: 1; - min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC; - image { - normal: "00_fast_scroll_handler_center_h.png"; - border: 0 0 36 0; - border_scale: 1; - } - } - } - part { name: "h_scrollbar_handler_image_right"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 1.0 0.0; - rel1.to: "scrollbar_handler_image_hor"; - rel2.relative: 1.0 1.0; - rel2.to: "elm.dragable.hbar"; - visible: 1; - image { - normal: "00_fast_scroll_handler_right_h.png"; - border: 0 36 36 0; - border_scale: 1; - } - } - } - part { name: "disabler"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 128 128 128 128; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "vbar_press"; - signal: "mouse,down,1"; - source: "elm.dragable.vbar"; - action: SIGNAL_EMIT "elm,vbar,press" "elm"; - } - program { name: "vbar_unpress"; - signal: "mouse,up,1"; - source: "elm.dragable.vbar"; - action: SIGNAL_EMIT "elm,vbar,unpress" "elm"; - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "hbar_press"; - signal: "mouse,down,1"; - source: "elm.dragable.hbar"; - action: SIGNAL_EMIT "elm,hbar,press" "elm"; - } - program { name: "hbar_unpress"; - signal: "mouse,up,1"; - source: "elm.dragable.hbar"; - action: SIGNAL_EMIT "elm,hbar,unpress" "elm"; - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - program { name: "show"; - signal: "show"; - source: ""; - script { - new v; - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - v = get_int(sbalways_v); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - v = get_int(sbalways_h); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -} - -group { name: "elm/genlist/base/default"; - alias: "elm/genscroller/base/default"; - alias: "elm/list/base/default"; - inherit: "elm/scroller/base/default"; - - images { - image: "00_overscrolling_top.png" COMP; - image: "00_overscrolling_bottom.png" COMP; - image: "00_overscrolling_left.png" COMP; - image: "00_overscrolling_right.png" COMP; - } - - parts { - part { name: "vshadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "hshadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "shadow_top"; - clip_to: "vshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 30; - fixed: 1 1; - align: 0.5 0.0; - color: 255 255 255 100; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_top.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_bottom"; - clip_to: "vshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 30; - fixed: 1 1; - align: 0.5 1.0; - color: 255 255 255 100; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_bottom.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_left"; - clip_to: "hshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 30 0; - fixed: 1 1; - align: 0.0 0.5; - color: 255 255 255 100; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_left.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_right"; - clip_to: "hshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 30 0; - fixed: 1 1; - align: 1.0 0.5; - color: 255 255 255 100; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_right.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "padding_jump_to_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; - max: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - fixed: 1 1; - align: 1.0 0.0; - } - } - part { name: "elm.swallow.jump_to_top"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "padding_jump_to_top"; - relative: 0.0 1.0; - } - rel2 { - to: "padding_jump_to_top"; - relative: 0.0 1.0; - } - fixed: 1 1; - align: 1.0 0.0; - } - } - part { name: "padding_jump_to_left"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC; - max: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC; - rel1.relative: 0.0 1.0; - rel2.relative: 0.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - fixed: 1 1; - align: 0.0 1.0; - } - } - part { name: "elm.swallow.jump_to_left"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "padding_jump_to_left"; - relative: 1.0 0.0; - } - rel2 { - to: "padding_jump_to_left"; - relative: 1.0 0.0; - } - fixed: 1 1; - align: 0.0 1.0; - } - } - } - programs { - program { name: "load"; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_state(PART:"vshadow_clip", "hidden", 0.0); - set_state(PART:"hshadow_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - set_int(sh_v, 0); - set_int(sh_timer, 0); - set_int(edge_timer, 0); - emit("reload", "elm"); - } - } - program { name: "vshadow_show"; - signal: "do-show-vshadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "vshadow_clip"; - } - program { name: "vshadow_hide"; - signal: "do-hide-vshadow"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.2; - target: "vshadow_clip"; - } - program { name: "hshadow_show"; - signal: "do-show-hshadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "hshadow_clip"; - } - program { name: "hshadow_hide"; - signal: "do-hide-hshadow"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.2; - target: "hshadow_clip"; - } - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "scroll_up"; - signal: "elm,action,scroll,up"; - source: "elm"; - after: "scroll_vertical"; - } - program { name: "scroll_down"; - signal: "elm,action,scroll,down"; - source: "elm"; - after: "scroll_vertical"; - } - program { name: "scroll_vertical"; - script { - new v; - v = get_int(edge_timer); - if (!v) { - set_state(PART:"shadow_top", "default", 0.0); - set_state(PART:"shadow_bottom", "default", 0.0); - emit("do-show-vshadow", ""); - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer1", 0); - set_int(sh_timer, v); - } - } - } - program { name: "scroll_left"; - signal: "elm,action,scroll,left"; - source: "elm"; - after: "scroll_horizontal"; - } - program { name: "scroll_right"; - signal: "elm,action,scroll,right"; - source: "elm"; - after: "scroll_horizontal"; - } - program { name: "scroll_horizontal"; - script { - new v; - v = get_int(edge_timer); - if (!v) { - set_state(PART:"shadow_left", "default", 0.0); - set_state(PART:"shadow_right", "default", 0.0); - emit("do-show-hshadow", ""); - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer1", 0); - set_int(sh_timer, v); - } - } - } - program { name: "edge_top"; - signal: "elm,edge,top"; - source: "elm"; - script { - set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "hidden", 0.0); - } - after: "edge_vertical"; - } - program { name: "edge_bottom"; - signal: "elm,edge,bottom"; - source: "elm"; - script { - set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "hidden", 0.0); - } - after: "edge_vertical"; - } - program { name: "edge_left"; - signal: "elm,edge,left"; - source: "elm"; - script { - set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "hidden", 0.0); - } - after: "edge_horizontal"; - } - program { name: "edge_right"; - signal: "elm,edge,right"; - source: "elm"; - script { - set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "hidden", 0.0); - } - after: "edge_horizontal"; - } - program { name: "edge_vertical"; - script { - new v; - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = get_int(edge_timer); - if (!v) { - emit("do-show-vshadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer2", 0); - set_int(edge_timer, v); - } - } - program { name: "edge_horizontal"; - script { - new v; - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = get_int(edge_timer); - if (!v) { - emit("do-show-hshadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer2", 0); - set_int(edge_timer, v); - } - } - } -} - -group { name: "elm/genlist/base/handler"; - alias: "elm/genscroller/base/handler"; - alias: "elm/list/base/handler"; - inherit: "elm/scroller/base/handler"; - - images { - image: "00_overscrolling_top.png" COMP; - image: "00_overscrolling_bottom.png" COMP; - image: "00_overscrolling_left.png" COMP; - image: "00_overscrolling_right.png" COMP; - } - - parts { - part { name: "vshadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "hshadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "shadow_top"; - clip_to: "vshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 30; - fixed: 1 1; - align: 0.5 0.0; - color: 255 255 255 100; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_top.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_bottom"; - clip_to: "vshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 30; - fixed: 1 1; - align: 0.5 1.0; - color: 255 255 255 100; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_bottom.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_left"; - clip_to: "hshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 30 0; - fixed: 1 1; - align: 0.0 0.5; - color: 255 255 255 100; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_left.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "shadow_right"; - clip_to: "hshadow_clip"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 30 0; - fixed: 1 1; - align: 1.0 0.5; - color: 255 255 255 100; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - image.normal: "00_overscrolling_right.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_state(PART:"vshadow_clip", "hidden", 0.0); - set_state(PART:"hshadow_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - set_int(sh_timer, 0); - set_int(edge_timer, 0); - emit("reload", "elm"); - } - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "vshadow_show"; - signal: "do-show-vshadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "vshadow_clip"; - } - program { name: "vshadow_hide"; - signal: "do-hide-vshadow"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.2; - target: "vshadow_clip"; - } - program { name: "hshadow_show"; - signal: "do-show-hshadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "hshadow_clip"; - } - program { name: "hshadow_hide"; - signal: "do-hide-hshadow"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.2; - target: "hshadow_clip"; - } - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "scroll_up"; - signal: "elm,action,scroll,up"; - source: "elm"; - after: "scroll_vertical"; - } - program { name: "scroll_down"; - signal: "elm,action,scroll,down"; - source: "elm"; - after: "scroll_vertical"; - } - program { name: "scroll_vertical"; - script { - new v; - v = get_int(edge_timer); - if (!v) { - set_state(PART:"shadow_top", "default", 0.0); - set_state(PART:"shadow_bottom", "default", 0.0); - emit("do-show-vshadow", ""); - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer1", 0); - set_int(sh_timer, v); - } - } - } - program { name: "scroll_left"; - signal: "elm,action,scroll,left"; - source: "elm"; - after: "scroll_horizontal"; - } - program { name: "scroll_right"; - signal: "elm,action,scroll,right"; - source: "elm"; - after: "scroll_horizontal"; - } - program { name: "scroll_horizontal"; - script { - new v; - v = get_int(edge_timer); - if (!v) { - set_state(PART:"shadow_left", "default", 0.0); - set_state(PART:"shadow_right", "default", 0.0); - emit("do-show-hshadow", ""); - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer1", 0); - set_int(sh_timer, v); - } - } - } - program { name: "edge_top"; - signal: "elm,edge,top"; - source: "elm"; - script { - set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "hidden", 0.0); - } - after: "edge_vertical"; - } - program { name: "edge_bottom"; - signal: "elm,edge,bottom"; - source: "elm"; - script { - set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "hidden", 0.0); - } - after: "edge_vertical"; - } - program { name: "edge_left"; - signal: "elm,edge,left"; - source: "elm"; - script { - set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "hidden", 0.0); - } - after: "edge_horizontal"; - } - program { name: "edge_right"; - signal: "elm,edge,right"; - source: "elm"; - script { - set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "hidden", 0.0); - } - after: "edge_horizontal"; - } - program { name: "edge_vertical"; - script { - new v; - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = get_int(edge_timer); - if (!v) { - emit("do-show-vshadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer2", 0); - set_int(edge_timer, v); - } - } - program { name: "edge_horizontal"; - script { - new v; - v = get_int(sh_timer); - if (v > 0) cancel_timer(v); - v = get_int(edge_timer); - if (!v) { - emit("do-show-hshadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.1, "timer2", 0); - set_int(edge_timer, v); - } - } - } -} - -group { name: "elm/gengrid/base/default"; - inherit: "elm/genlist/base/default"; - - images { - image: "00_grid_overscrolling_top.png" COMP; - image: "00_grid_overscrolling_bottom.png" COMP; - image: "00_grid_overscrolling_left.png" COMP; - image: "00_grid_overscrolling_right.png" COMP; - } - - parts { - part { name: "shadow_top"; - description { state: "default" 0.0; - min: 0 405; - image.normal: "00_grid_overscrolling_top.png"; - } - } - part { name: "shadow_bottom"; - description { state: "default" 0.0; - min: 0 405; - image.normal: "00_grid_overscrolling_bottom.png"; - } - } - part { name: "shadow_left"; - description { state: "default" 0.0; - min: 405 0; - image.normal: "00_grid_overscrolling_left.png"; - } - } - part { name: "shadow_right"; - description { state: "default" 0.0; - min: 405 0; - image.normal: "00_grid_overscrolling_right.png"; - } - } - } -} - -group { name: "elm/gengrid/base/handler"; - inherit: "elm/genlist/base/handler"; - - parts { - part { name: "shadow_top"; - description { state: "default" 0.0; - min: 0 405; - image.normal: "00_grid_overscrolling_top.png"; - } - } - part { name: "shadow_bottom"; - description { state: "default" 0.0; - min: 0 405; - image.normal: "00_grid_overscrolling_bottom.png"; - } - } - part { name: "shadow_left"; - description { state: "default" 0.0; - min: 405 0; - image.normal: "00_grid_overscrolling_left.png"; - } - } - part { name: "shadow_right"; - description { state: "default" 0.0; - min: 405 0; - image.normal: "00_grid_overscrolling_right.png"; - } - } - } -} - -group { name: "elm/scroller/contents/default"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content_r"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 2.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "elm.swallow.content_b"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 1.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 2.0; - to: "elm.swallow.content"; - } - } - } - part { name: "elm.swallow.content_rb"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 2.0 2.0; - to: "elm.swallow.content"; - } - } - } - } -} - diff --git a/mobile/themes/widgets/segmentedcontrol.edc b/mobile/themes/widgets/segmentedcontrol.edc deleted file mode 100644 index ca9b915..0000000 --- a/mobile/themes/widgets/segmentedcontrol.edc +++ /dev/null @@ -1,777 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -//################################################################ -//Segment Control -//################################################################ - -group { name: "elm/segment_control/base/default"; -#define SEGMENT_TYPE_SINGLE 1 -#define SEGMENT_TYPE_LEFT 2 -#define SEGMENT_TYPE_MIDDLE 3 -#define SEGMENT_TYPE_RIGHT 4 -#define SEGMENT_STATE_NORMAL 1 -#define SEGMENT_STATE_PRESSED 2 -#define SEGMENT_STATE_SELECTED 3 -#define SEGMENT_STATUS_ENABLED 0 -#define SEGMENT_STATUS_DISABLED 1 - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 100 40; - visible: 0; - } - } - } -} -group { name: "elm/segment_control/item/default"; - styles{ - style { name: "segment_control_multiline_style"; - base: "font=Tizen:style=Bold font_size="SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC" align=center color=#ffffff wrap=char ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "tab" "\t"; - } - } - images { - image: "00_badge_bg.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "segment"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - min: 1 1; - visible: 0; - rel1 { - to: "base"; - relative: 0.0 0.0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - } - color: 0 0 0 0; - } - description { state: "default_single" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "default_left" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "default_right" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "default_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed_single" 0.0; - inherit: "default" 0.0; - } - description { state: "pressed_left" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed_right" 0.0; - inherit: "default" 0.0; - } - description { state: "pressed_middle" 0.0; - inherit: "default" 0.0; - } - description { state: "selected_single" 0.0; - inherit: "default" 0.0; - } - description { state: "selected_left" 0.0; - inherit: "default" 0.0; - } - description { state: "selected_right" 0.0; - inherit: "default" 0.0; - } - description { state: "selected_middle" 0.0; - inherit: "default" 0.0; - } - } - part { name: "seg_padding"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - to: "segment"; - relative: 1.0 0.5; - } - rel2 { - to: "segment"; - relative: 1.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: SEGMENT_CONTROL_DIVIDER_LINE_MIN_SIZE_INC; - visible: 1; - } - } - part { name: "divider_left"; - type: RECT; - clip_to: "seg_padding"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "seg_padding"; - relative: 0.0 0.0; - } - rel2 { - to: "seg_padding"; - relative: 0.5 1.0; - } - color: SEGMENT_CONTROL_DIVIDER_LEFT_COLOR_INC; - } - } - part { name: "divider_right"; - type: RECT; - clip_to: "seg_padding"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "seg_padding"; - relative: 0.5 0.0; - } - rel2 { - to: "seg_padding"; - relative: 1.0 1.0; - } - color: SEGMENT_CONTROL_DIVIDER_RIGHT_COLOR_INC; - } - } - part { name: "left_text_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; - fixed: 1 0; - rel1 { - to: "segment"; - relative: 0.0 0.0; - } - rel2 { - to: "segment"; - relative: 0.0 1.0; - } - } - } - part { name: "right_text_padding"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - min: SEGMENT_CONTROL_TEXT_PADDING_MIN_SIZE_INC; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - to: "segment"; - relative: 1.0 0.0; - } - rel2 { - to: "segment"; - relative: 1.0 1.0; - } - } - } - part { name: "icon.bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "padding_icon_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - visible: 0; - align: 0.0 0.0; - rel1 { - to: "icon.bg"; - relative: 1.0 0.0; - } - rel2 { - to: "icon.bg"; - relative: 1.0 1.0; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - rel2.offset: 2 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - rel1.to: "left_text_padding"; - rel1.relative: 1.0 0.0; - rel2.to: "left_text_padding"; - rel2.relative: 1.0 1.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - visible: 1; - min: SEGMENT_CONTROL_VISIBLE_ICON_RECT_MIN_MAX_INC; - rel2.relative: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - max: 9999 84; - rel1 { - to_x: "padding_icon_text"; - to_y: "base"; - relative: 1.0 0.0; - } - rel2 { - to: "right_text_padding"; - relative: 0.0 1.0; - } - color: SEGMENT_CONTROL_DEFAULT_ITEM_TEXT_COLOR_NORMAL_INC; - text { - style: "segment_control_multiline_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "normal" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC; - } - } - part { name: "elm.text.badge.bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to: "left.padding.text.badge"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text.badge"; - relative: 1.0 1.0; - } - align: 1.0 0.5; - image { - normal: "00_badge_bg.png"; - border: 29 24 0 0; - border_scale: 1; - } - } - description { state: "normal" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "left.padding.text.badge"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SEGMENT_CONTROL_BADGE_TEXT_LEFT_PADDING_MIN_INC; - rel1 { - to: "elm.text.badge"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.text.badge"; - relative: 0.0 0.0; - } - align: 1.0 0.0; - } - } - part { name: "right.padding.text.badge"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SEGMENT_CONTROL_BADGE_TEXT_RIGHT_PADDING_MIN_INC; - rel1 { - to: "segment"; - relative: 1.0 0.0; - } - rel2 { - to: "segment"; - relative: 1.0 0.0; - } - align: 1.0 0.0; - } - } - part { name: "elm.text.badge"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 1 1; - rel1 { - to: "segment"; - relative: 0.2 0.0; // rel_x is given 0.2, so bg image will not cross the segment image in left dir. - } - rel2 { - to: "right.padding.text.badge"; - relative: 0.0 1.0; - } - align: 1.0 0.5; - color: SEGMENT_CONTROL_BADGE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: SEGMENT_CONTROL_BADGE_TEXT_FONT_SIZE_INC; - min: 1 1; - max: 1 0; - } - } - description { state: "normal" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "disabler"; - type: RECT; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 1 1; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - to: "segment"; - } - rel2 { - relative: 1.0 1.0; - to: "segment"; - } - color: 255 255 255 150; - } - description { state: "disabled_single" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled_left" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled_right" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - script { - public seg_type; // Single, Left, Middle, Right. - public seg_state; // Normal/Default, Pressed, Selected. - public seg_status;// Enabled/Default, Disabled - - public update_state() { - new type, state, disabled; - type = get_int(seg_type); - state = get_int(seg_state); - disabled = get_int(seg_status); - - if(state == SEGMENT_STATE_NORMAL) - { - if(type == SEGMENT_TYPE_SINGLE) - { - set_state(PART:"segment", "default_single", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - else if(type == SEGMENT_TYPE_LEFT) - { - set_state(PART:"segment", "default_left", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_MIDDLE) - { - set_state(PART:"segment", "default_middle", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_RIGHT) - { - set_state(PART:"segment", "default_right", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - set_state(PART:"elm.text", "normal", 0.0); - } - else if(state == SEGMENT_STATE_PRESSED) - { - if(type == SEGMENT_TYPE_SINGLE) - { - set_state(PART:"segment", "pressed_single", 0.0); - } - else if(type == SEGMENT_TYPE_LEFT) - { - set_state(PART:"segment", "pressed_left", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_MIDDLE) - { - set_state(PART:"segment", "pressed_middle", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_RIGHT) - { - set_state(PART:"segment", "pressed_right", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - set_state(PART:"elm.text", "pressed", 0.0); - } - else if(state == SEGMENT_STATE_SELECTED) - { - if(type == SEGMENT_TYPE_SINGLE) - { - set_state(PART:"segment", "selected_single", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - else if(type == SEGMENT_TYPE_LEFT) - { - set_state(PART:"segment", "selected_left", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_MIDDLE) - { - set_state(PART:"segment", "selected_middle", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_RIGHT) - { - set_state(PART:"segment", "selected_right", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - set_state(PART:"elm.text", "selected", 0.0); - } - if(disabled == SEGMENT_STATUS_DISABLED) - { - if(type == SEGMENT_TYPE_SINGLE) - { - set_state(PART:"disabler", "disabled_single", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - else if(type == SEGMENT_TYPE_LEFT) - { - set_state(PART:"disabler", "disabled_left", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_MIDDLE) - { - set_state(PART:"disabler", "disabled_middle", 0.0); - set_state(PART:"seg_padding", "visible", 0.0); - } - else if(type == SEGMENT_TYPE_RIGHT) - { - set_state(PART:"disabler", "disabled_right", 0.0); - set_state(PART:"seg_padding", "default", 0.0); - } - set_state(PART:"elm.text", "disabled", 0.0); - } - else - { - set_state(PART:"disabler", "default", 0.0); - } - } - } - program { - name: "segment_type_s"; - signal: "elm,type,segment,single"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_SINGLE); - update_state(); - } - } - program { - name: "segment_type_l"; - signal: "elm,type,segment,left"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_LEFT); - update_state(); - } - } - program { - name: "segment_type_m"; - signal: "elm,type,segment,middle"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_MIDDLE); - update_state(); - } - } - program { - name: "segment_type_r"; - signal: "elm,type,segment,right"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_RIGHT); - update_state(); - } - } - program { - name: "normal_segment"; - signal: "elm,state,segment,normal"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_NORMAL); - update_state(); - } - } - program { - name: "pressed_segment"; - signal: "elm,state,segment,pressed"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_PRESSED); - update_state(); - } - } - program { - name: "selected_segment"; - signal: "elm,state,segment,selected"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_SELECTED); - update_state(); - } - } - program { name: "disable_segment"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(seg_status, SEGMENT_STATUS_DISABLED); - update_state(); - } - } - program { name: "enable_segment"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(seg_status, SEGMENT_STATUS_ENABLED); - update_state(); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "selected")) - set_state(PART:"elm.text", "selected", 0.0); - else - set_state(PART:"elm.text", "normal", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "badge_text_show"; - signal: "elm,state,elm.text.badge,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text.badge", st, 30, vl); - if (!strcmp(st, "selected")) - { - set_state(PART:"elm.text.badge", "selected", 0.0); - set_state(PART:"elm.text.badge.bg", "selected", 0.0); - } - else - { - set_state(PART:"elm.text.badge", "normal", 0.0); - set_state(PART:"elm.text.badge.bg", "normal", 0.0); - } - } - } - program { name: "badge_text_hide"; - signal: "elm,state,elm.text.badge,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.badge"; - target: "elm.text.badge.bg"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - } -#undef SEGMENT_TYPE_SINGLE -#undef SEGMENT_TYPE_LEFT -#undef SEGMENT_TYPE_MIDDLE -#undef SEGMENT_TYPE_RIGHT -#undef SEGMENT_STATE_NORMAL -#undef SEGMENT_STATE_PRESSED -#undef SEGMENT_STATE_SELECTED -#undef SEGMENT_STATUS_ENABLED -#undef SEGMENT_STATUS_DISABLED -} diff --git a/mobile/themes/widgets/selectioninfo.edc b/mobile/themes/widgets/selectioninfo.edc deleted file mode 100644 index 98d7362..0000000 --- a/mobile/themes/widgets/selectioninfo.edc +++ /dev/null @@ -1,451 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -group { name: "elm/standard/selectioninfo/default"; - parts { - part { name: "bg"; - type: RECT; - scale : 1; - description { - state: "default" 0.0; - min: 0 SELECTION_INFO_VER_PADDING_INC; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { name: "padding_left"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: SELECTION_INFO_LEFT_PADDING_INC 0; - align: 0.0 0.5; - rel1.to: "bg"; - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "padding_left"; - relative: 1.0 0.0; - } - rel2.to: "bg"; - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "clicked"; - signal: "mouse,clicked,1"; - source: "bg"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/center_text"; - inherit: "elm/standard/selectioninfo/default"; - parts { - part { - name: "elm.text"; - description { - state: "default" 0.0; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - } - text.align: 0.5 0.5; - } - } - } -} - -group { name: "elm/standard/selectioninfo/vertical/bottom_12"; - parts { - part { name: "bg"; - type: RECT; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "bg"; } - rel2 { to: "bg"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/vertical/bottom_64"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: 0 SELECTION_INFO_VER_PADDING_INC; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.32; to: "bg"; } - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "base"; } - rel2 { to: "base"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/vertical/bottom_86"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - type: RECT; - mouse_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: 0 SELECTION_INFO_VER_PADDING_INC; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.258; to: "bg"; } - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "base"; } - rel2 { to: "base"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/horizontal/bottom_12"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "bg"; } - rel2 { to: "bg"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/horizontal/bottom_64"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: 0 SELECTION_INFO_VER_PADDING_INC; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.32; to: "bg"; } - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "base"; } - rel2 { to: "base"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -group { name: "elm/standard/selectioninfo/horizontal/bottom_86"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - type: RECT; - mouse_events: 1; - scale : 1; - description { - state: "default" 0.0; - min: 0 SELECTION_INFO_VER_PADDING_INC; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.258; to: "bg"; } - color: SELECTION_INFO_BACKGROUND_COLOR_INC; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel1 { to: "base"; } - rel2 { to: "base"; } - color: SELECTION_INFO_TEXT_COLOR_INC; - text { - font: "Tizen"; - size: SELECTION_INFO_TEXT_FONT_SIZE_INC; - text: ""; - text_class: "tizen"; - } - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} diff --git a/mobile/themes/widgets/slider.edc b/mobile/themes/widgets/slider.edc deleted file mode 100644 index 6faf743..0000000 --- a/mobile/themes/widgets/slider.edc +++ /dev/null @@ -1,1468 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - group { name: "elm/slider/horizontal/tap_to_drag"; - images { - image: "00_progress_bg.png" COMP; - image: "00_progress_bar.png" COMP; - } - script { - public invert_on = 0; - public set_invert_on() { - set_state(PART:"level", "inverted", 0.0); - set_state(PART:"level2", "inverted", 0.0); - set_int(invert_on, 1); - } - public set_invert_off() { - set_state(PART:"level", "default", 0.0); - set_state(PART:"level2", "default", 0.0); - set_int(invert_on, 0); - } - public thumb_down() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "pressed", 0.0); - else if(get_int(invert_on) == 1) - set_state(PART:"level2", "pressed", 0.0); - } - public thumb_up() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "default", 0.0); - else if(get_int(invert_on) == 1) - set_state(PART:"level2", "inverted", 0.0); - } - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC; - max: 99999 SLIDER_BASE_HEIGHT_INC; - rel1 { to: "bg"; - offset: 1 0; - } - rel2 { to: "bg"; - offset: -5 -1; - } - image.normal: "00_progress_bg.png"; - image.border: PROGRESS_BG_IMAGE_BORDER_INC; - image.border_scale: 1; - } - } - part { - name: "bar_image_left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1.to: "base"; - rel2 { - relative: 0.0 1.0; - to: "base"; - } - align: 0.0 0.5; - } - } - part { - name: "bar_image_right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "base"; - } - rel2.to: "base"; - align: 1.0 0.5; - } - } - part { name: "level"; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to_x: "bar_image_left_padding"; - to_y: "base"; - relative: 1.0 0.0; - } - rel2 { - to_y: "base"; - to_x: "elm.dragable.slider"; - offset: -5 -1; - relative: 0.5 1.0; - } - image.normal: "00_progress_bar.png"; - image.border: PROGRESS_BAR_IMAGE_BORDER_INC; - image.border_scale: 1; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - } - part { name: "level2"; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to_y: "base"; - to_x: "elm.dragable.slider"; - relative: 0.5 0.0; - } - rel1 { - to_x: "bar_image_right_padding"; - to_y: "base"; - relative: 0.0 1.0; - } - image.normal: "00_progress_bg.png"; - image.border: PROGRESS_BG_IMAGE_BORDER_INC; - image.border_scale: 1; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - rel2.offset: 3 0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC; - max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC; - align: 1.0 0.5; - rel1 { - to_x: "bar_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bar_right_padding"; - relative: 0.0 1.0; - } - } - } - part { - name: "bar_left_padding"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 10 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - to_x: "elm.text"; - } - rel2 { - relative: 1.0 0.5; - to_x: "elm.text"; - } - align: 0.0 0.5; - } - } - part { - name: "bar_right_padding"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 10 0; - fixed: 1 1; - rel1 { - relative: 0.0 0.5; - to_x: "elm.units"; - } - rel2 { - relative: 0.0 0.5; - to_x: "elm.units"; - } - align: 1.0 0.5; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - to_y: "elm.swallow.bar"; - } - rel2 { - relative: 0.0 1.0; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to_x: "elm.swallow.icon"; - rel1.relative: 1.0 0.0; - rel1.offset: -1 4; - rel2.to_x: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -5; - color: SLIDER_UNITS_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: SLIDER_UNITS_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 0 4; - rel2.offset: 0 -5; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - to_y: "elm.swallow.bar"; - } - rel2 { - relative: 1.0 1.0; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "units"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - to_x: "elm.units"; - offset: 0 5; - } - image { - // normal: "sl_units.png"; - border: 0 5 3 8; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.units"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1.0 0.5; - rel1.relative: 0.0 0.0; - rel1.offset: 0 8; - rel1.to_x: "elm.swallow.end"; - rel2.relative: 0.0 1.0; - rel2.offset: 0 -9; - rel2.to_x: "elm.swallow.end"; - color: SLIDER_UNITS_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: SLIDER_UNITS_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - text.min: 1 1; - rel1.offset: -5 0; - rel2.offset: -5 -1; - } - } - part { name: "elm.dragable.slider"; - type: GROUP; - source: "elm/slider/horizontal/indicator/tap_to_drag"; - mouse_events: 1; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "bg"; - } - description { state: "default" 0.0; - min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; - fixed: 1 1; - rel1 { - relative: 0.5 0.0; - to_x: "bg"; - } - rel2 { - relative: 0.5 1.0; - to_x: "bg"; - } - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - mouse_events: 1; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 1 1; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 102; - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,state,end,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,state,end,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.units"; - target: "units"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.units"; - target: "units"; - } - program { name: "invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - script { - set_invert_on(); - } - } - program { name: "invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - script { - set_invert_off(); - } - } - program { name: "val_show"; - signal: "mouse,down,*"; - source: "elm.dragable.slider"; - script { - thumb_down(); - } - } - program { name: "val_hide"; - signal: "mouse,up,*"; - source: "elm.dragable.slider"; - script { - thumb_up(); - } - } - program { name: "slider_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "clipper"; - } - program { name: "slider_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - } - } - - group { name: "elm/slider/horizontal/indicator/default"; - alias: "elm/slider/horizontal/indicator/disabled"; - alias: "elm/slider/horizontal/indicator/tap_to_drag"; - images { - image: "00_slider_handle.png" COMP; - image: "00_slider_handle_dim.png" COMP; - image: "00_slider_handle_press.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "button_events"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "image_left_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; - max: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; - rel1 { - to_x: "elm.indicator"; - relative: -1.0 0.0; - } - rel2 { - to_x: "elm.indicator"; - relative: 0.0 1.0; - } - align: 1.0 0.5; - } - } - part { name: "image_right_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; - max: SLIDER_INDICATOR_IMAGE_PADDING_SIZE_INC; - rel1 { - to_x: "elm.indicator"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.indicator"; - relative: 2.0 1.0; - } - align: 0.0 0.5; - } - } - part { name: "button0"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; - max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; - rel1.to: "image_left_padding"; - rel2.to: "image_right_padding"; - image { - normal: "00_slider_handle.png"; - border: SLIDER_INDICATOR_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image { - normal: "00_slider_handle_press.png"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "00_slider_handle_dim.png"; - } - } - } - part { name: "elm.indicator"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 1; - color: SLIDER_INDICATOR_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: SLIDER_INDICATOR_TEXT_SIZE_INC; - min: 1 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC; - } - } - } - programs { - program { name: "set_val_show"; - signal: "elm,state,val,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.indicator"; - } - program { name: "set_val_hide"; - signal: "elm,state,val,hide"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.indicator"; - } - program { name: "slider_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button0"; - target: "button_events"; - } - program { name: "slider_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button0"; - target: "button_events"; - } - program { name: "mouse_down"; - signal: "mouse,down,*"; - source: "button_events"; - action: STATE_SET "pressed" 0.0; - target: "button0"; - after: "text_pressed"; - } - program { name: "mouse_up"; - signal: "mouse,up,*"; - source: "button_events"; - action: STATE_SET "default" 0.0; - target: "button0"; - after: "text_unpressed"; - } - program { name: "text_pressed"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.indicator", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"elm.indicator", "pressed", 0.0); - } - } - program { name: "text_unpressed"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.indicator", st, 30, vl); - if (!strcmp(st, "pressed")) - set_state(PART:"elm.indicator", "default", 0.0); - } - } - } - } - - group { name: "elm/slider/horizontal/default"; - alias: "elm/slider/horizontal/disabled"; - images { - image: "00_progress_bg.png" COMP; - image: "00_progress_bar.png" COMP; - } - script { - public invert_on = 0; - public popup_show = 1; - public set_popup_show() { - set_int(popup_show, 1); - } - public set_popup_hide() { - set_int(popup_show, 0); - } - public set_invert_on() { - set_state(PART:"level", "inverted", 0.0); - set_state(PART:"level2", "inverted", 0.0); - set_int(invert_on, 1); - } - public set_invert_off() { - set_state(PART:"level", "default", 0.0); - set_state(PART:"level2", "default", 0.0); - set_int(invert_on, 0); - } - public thumb_down() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "pressed", 0.0); - else if(get_int(invert_on) == 1) - set_state(PART:"level2", "pressed", 0.0); - if(get_int(popup_show) == 1) - emit("popup,show", "elm"); - } - public thumb_up() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "default", 0.0); - else if(get_int(invert_on) == 1) - set_state(PART:"level2", "inverted", 0.0); - if(get_int(popup_show) == 1) - emit("popup,hide", "elm"); - } - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC; - max: 99999 SLIDER_BASE_HEIGHT_INC; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "00_progress_bg.png"; - image.border: PROGRESS_BG_IMAGE_BORDER_INC; - image.border_scale: 1; - } - } - part { - name: "bar_image_left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1.to: "base"; - rel2 { - relative: 0.0 1.0; - to: "base"; - } - align: 0.0 0.5; - } - } - part { - name: "bar_image_right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "base"; - } - rel2.to: "base"; - align: 1.0 0.5; - } - } - part { name: "level"; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to_x: "bar_image_left_padding"; - to_y: "base"; - relative: 1.0 0.0; - } - rel2 { - to_y: "base"; - to_x: "elm.dragable.slider"; - relative: 0.5 1.0; - } - image.normal: "00_progress_bar.png"; - image.border: PROGRESS_BAR_IMAGE_BORDER_INC; - image.border_scale: 1; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - } - part { name: "level2"; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to_y: "base"; - to_x: "elm.dragable.slider"; - relative: 0.5 0.0; - } - rel2 { - to_y: "base"; - to_x: "bar_image_left_padding"; - relative: 0.0 1.0; - } - image.normal: "00_progress_bar.png"; - image.border: PROGRESS_BAR_IMAGE_BORDER_INC; - image.border_scale: 1; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC; - max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC; - align: 1.0 0.5; - rel1 { - to_x: "bar_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bar_right_padding"; - relative: 0.0 1.0; - } - } - } - part { - name: "bar_left_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 16 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - to_x: "elm.text"; - } - rel2 { - relative: 1.0 0.5; - to_x: "elm.text"; - } - align: 0.0 0.5; - } - } - part { - name: "bar_right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - min: 16 0; - fixed: 1 1; - rel1 { - relative: 0.0 0.5; - to_x: "elm.units"; - } - rel2 { - relative: 0.0 0.5; - to_x: "elm.units"; - } - align: 1.0 0.5; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - to_y: "elm.swallow.bar"; - } - rel2 { - relative: 0.0 1.0; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.swallow.content.shadow.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.swallow.content.shadow.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.icon"; - proxy.source_clip: 0; - rel1 { - to: "elm.swallow.icon"; - offset: 0 1; - } - rel2 { - to: "elm.swallow.icon"; - offset: -1 0; - } - } - } - part { name: "elm.swallow.content.proxy"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper"; - description { state: "default" 0.0; - source: "elm.swallow.icon"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "elm.swallow.content.shadow.clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 255; - } - } - part { name: "icon_clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: SLIDER_ICON_CLIPPER_COLOR_INC; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to_x: "elm.swallow.icon"; - rel1.relative: 1.0 0.0; - rel2.to_x: "elm.swallow.icon"; - color: SLIDER_UNITS_TEXT_COLOR_INC; - text { - font: "Tizen:style=Medium"; - size: SLIDER_UNITS_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - to_y: "elm.swallow.bar"; - } - rel2 { - relative: 1.0 1.0; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.swallow.content.shadow.proxy.end"; - type: PROXY; - scale: 1; - clip_to: "elm.swallow.content.shadow.clipper.end"; - description { state: "default" 0.0; - source: "elm.swallow.end"; - proxy.source_clip: 0; - rel1 { - to: "elm.swallow.end"; - offset: 0 1; - } - rel2 { - to: "elm.swallow.end"; - offset: -1 0; - } - } - } - part { name: "elm.swallow.content.proxy.end"; - type: PROXY; - scale: 1; - clip_to: "icon_clipper_end"; - description { state: "default" 0.0; - source: "elm.swallow.end"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.end"; - rel2.to: "elm.swallow.end"; - } - } - part { name: "elm.swallow.content.shadow.clipper.end"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 255; - } - } - part { name: "icon_clipper_end"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: SLIDER_ICON_CLIPPER_COLOR_INC; - } - } - part { name: "units"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - to_x: "elm.units"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.units"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1.0 0.5; - rel1.to_x: "elm.swallow.end"; - rel2.relative: 0.0 1.0; - rel2.to_x: "elm.swallow.end"; - color: SLIDER_UNITS_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: SLIDER_UNITS_TEXT_SIZE_INC; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.track.slider"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - align: 0.5 1.0; - fixed: 0 1; - rel1.to: "elm.dragable.slider"; - rel2 { - relative: 1.0 0.0; - to: "elm.dragable.slider"; - } - } - } - part { name: "elm.dragable.slider"; - type: GROUP; - source: "elm/slider/horizontal/indicator/default"; - mouse_events: 1; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "bg"; - } - description { state: "default" 0.0; - min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC; - fixed: 1 1; - align: 0.5 0.5; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - mouse_events: 1; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 102; - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,state,end,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,state,end,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.units"; - target: "units"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.units"; - target: "units"; - } - program { name: "invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - script { - set_invert_on(); - } - } - program { name: "invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - script { - set_invert_off(); - } - } - program { name: "val_show"; - signal: "mouse,down,*"; - source: "elm.dragable.slider"; - script { - thumb_down(); - } - } - program { name: "val_hide"; - signal: "mouse,up,*"; - source: "elm.dragable.slider"; - script { - thumb_up(); - } - } - program { name: "popup_show"; - signal: "elm,state,val,show"; - source: "elm"; - script { - set_popup_show(); - } - } - program { name: "popup_hide"; - signal: "elm,state,val,hide"; - source: "elm"; - script { - set_popup_hide(); - } - } - program { name: "slider_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "clipper"; - } - program { name: "slider_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - } - } - - group { name: "elm/slider/horizontal/popup/default"; - alias: "elm/slider/horizontal/popup/tap_to_drag"; - images { - image: "00_slider_popup_center.png" COMP; - image: "00_slider_popup_left.png" COMP; - image: "00_slider_popup_right.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; - max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - } - } - part { name: "left.padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; - max: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; - rel1.to: "elm.indicator"; - rel2 { - relative: 0.0 1.0; - to: "elm.indicator"; - } - align: 1.0 0.5; - } - } - part { name: "right.padding"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; - max: SLIDER_INDICATOR_POPUP_PADDING_MIN_SIZE_INC; - rel1 { - relative: 1.0 0.0; - to: "elm.indicator"; - } - rel2.to: "elm.indicator"; - align: 0.0 0.5; - } - } - part { name: "bg.left.image"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "left.padding"; - rel2 { - relative: 0.0 1.0; - to_x: "bg.center.image"; - } - align: 0.0 0.5; - min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; - max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - image { - normal: "00_slider_popup_left.png"; - border: SLIDER_INDICATOR_POPUP_LEFT_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg.right.image"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "bg.center.image"; - } - rel2.to_x: "right.padding"; - align: 1.0 0.5; - min: SLIDER_INDICATOR_POPUP_BG_IMAGE_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; - max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - image { - normal: "00_slider_popup_right.png"; - border: SLIDER_INDICATOR_POPUP_RIGHT_BG_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg.center.image"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; - max: SLIDER_INDICATOR_POPUP_BG_CENTER_IMAGE_SIZE_INC; - image { - normal: "00_slider_popup_center.png"; - border: 0 0 0 0; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.indicator"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: SLIDER_INDICATOR_POPUP_MIN_WIDTH_INC SLIDER_INDICATOR_POPUP_HEIGHT_INC; - max: -1 SLIDER_INDICATOR_POPUP_HEIGHT_INC; - color: SLIDER_INDICATOR_POPUP_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: SLIDER_INDICATOR_POPUP_TEXT_SIZE_INC; - align: 0.5 0.0; - min: 1 1; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "popup,val,show"; - signal: "elm,state,val,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.indicator"; - target: "bg.left.image"; - target: "bg.right.image"; - target: "bg.center.image"; - } - program { name: "popup,val,hide"; - signal: "elm,state,val,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.indicator"; - target: "bg.left.image"; - target: "bg.right.image"; - target: "bg.center.image"; - } - program { name: "popup,show"; - signal: "popup,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.indicator"; - target: "bg.left.image"; - target: "bg.right.image"; - target: "bg.center.image"; - } - program { name: "popup,hide"; - signal: "popup,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.indicator"; - target: "bg.left.image"; - target: "bg.right.image"; - target: "bg.center.image"; - after: "popup,hide,done"; - } - program { name: "popup,hide,done"; - action: SIGNAL_EMIT "popup,hide,done" "elm"; - } - } - } diff --git a/mobile/themes/widgets/tickernoti.edc b/mobile/themes/widgets/tickernoti.edc deleted file mode 100644 index a79fa2b..0000000 --- a/mobile/themes/widgets/tickernoti.edc +++ /dev/null @@ -1,603 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - - group { - name: "elm/tickernoti/base/1line/default"; - alias: "elm/tickernoti/base/info"; - data { - item: "height" TICKERNOTI_INFO_BG_MIN_HEIGHT_INC; - } - images { - image: "00_notification_bg.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - min: 0 TICKERNOTI_INFO_BG_MIN_HEIGHT_INC; - } - } - part { - name: "bg"; - mouse_events: 0; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - image { - normal: "00_notification_bg.png"; - border: TICKERNOTI_DEFAULT_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - } - } - part { - name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - } - } - part { - name: "icon"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { - state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "padding_icon_right"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_BG_PADDING_AFTER_ICON_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "icon"; - to_y: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "icon"; - to_y: "padding_right_bottom"; - } - } - } - part { - name: "elm.text"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to: "padding_icon_right"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - color: TICKERNOTI_TEXT_COLOR_INC; - text { - font: "Tizen:style=Roman"; - size: TICKERNOTI_INFO_TEXT_FONT_SIZE_INC; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - part { - name: "event"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description {state: "default" 0.0; - color: 0 0 0 0; - rel1 { - to: "bg"; - } - rel2 { - to: "bg"; - } - } - } - } - programs { - program { - name: "effect_show"; - signal: "effect,show"; - source: "elm"; - action: STATE_SET "show" "0.0"; - in: 0.1 0.0; - transition: ACCEL 0.4; - target: "bg"; - } - program { - name: "other_click"; - signal: "mouse,clicked,1"; - source: "bg"; - action: SIGNAL_EMIT "clicked" ""; - after: "effect_hide"; - } - program { - name: "effect_hide"; - action: STATE_SET "default" "0.0"; - transition: DECEL 0.4; - target: "bg"; - after: "hide"; - } - program { - name: "hide"; - action: SIGNAL_EMIT "request,hide" ""; - } - } - } - group { - name: "elm/tickernoti/base/default"; - data { - item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; - } - images { - image: "00_notification_bg.png" COMP; - } - styles { - style { - name: "style_text"; - base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "notitext1" "+font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC""; - tag: "notitext2" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC""; - } - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC; - image { - normal: "00_notification_bg.png"; - border: TICKERNOTI_DEFAULT_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; - fixed: 0 1; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 0.0; - } - visible: 0; - } - } - part { - name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 0.0 0.0; - to: "base"; - } - } - } - part { - name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - } - } - // Icon - part { - name: "icon"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { - state: "default" 0.0; - fixed: 1 1; - min: TICKERNOTI_DEFAULT_ICON_MIN_INC; - max: TICKERNOTI_DEFAULT_ICON_MIN_INC; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "base"; - } - rel2 { - relative: 1.0 1.0; - to_x: "padding_left_top"; - to_y: "base"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "padding_icon_right"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "icon"; - to_y: "base"; - } - rel2 { - to_x: "icon"; - to_y: "base"; - } - } - } - /* Text */ - part { - name: "text_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_TEXT_MIN_INC; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to_x: "padding_icon_right"; - to_y: "base"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_button_left"; - to_y: "base"; - } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 0 1; - rel1.to: "text_rect"; - rel2.to: "text_rect"; - text { - style: "style_text"; - max: 0 1; - align: 0.0 0.5; - } - } - } - part { - name: "event"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { - to: "bg"; - } - rel2 { - to: "bg"; - } - } - } - // Button - part { - name: "button"; - type: SWALLOW; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - min: TICKERNOTI_DEFAULT_BUTTON_MIN_INC; - max: TICKERNOTI_DEFAULT_BUTTON_MAX_INC; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 0.0 0.0; - to_x: "padding_right_bottom"; - to_y: "base"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "base"; - } - } - } - part { - name: "padding_button_left"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC; - fixed: 1 0; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - to: "button"; - } - rel2 { - relative: 0.0 1.0; - to: "button"; - } - } - } - } - programs { - program { - name: "effect_show"; - signal: "effect,show"; - source: "elm"; - in: 0.1 0.0; - action: STATE_SET "show" "0.0"; - transition: ACCEL 0.4; - target: "bg"; - } - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "event"; - action: SIGNAL_EMIT "clicked" ""; - after: "effect_hide"; - } - program { - name: "effect_hide"; - signal: "effect,hide"; - source: "elm"; - action: STATE_SET "default" "0.0"; - transition: DECEL 0.4; - target: "bg"; - after: "hide"; - } - program { - name: "hide"; - action: SIGNAL_EMIT "request,hide" ""; - } - } - } - - group { name: "elm/tickernoti/base/textonly"; - data { - item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; - } - images { - image: "00_notification_bg.png" COMP; - } - styles { - style { - name: "style_textonly"; - base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "notitext" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC""; - } - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC; - image { - normal: "00_notification_bg.png"; - border: TICKERNOTI_DEFAULT_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC; - fixed: 0 1; - rel2.relative: 1.0 0.0; - visible: 0; - } - } - part { - name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "base"; - rel2 { - relative: 0.0 0.0; - to: "base"; - } - } - } - part { - name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - to: "base"; - } - rel2.to: "base"; - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - style: "style_textonly"; - } - } - } - } - } diff --git a/mobile/themes/widgets/toolbar.edc b/mobile/themes/widgets/toolbar.edc deleted file mode 100644 index 19ba2e7..0000000 --- a/mobile/themes/widgets/toolbar.edc +++ /dev/null @@ -1,2413 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * 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. - */ - - - -#define ITEM_STATE_ENABLED 0 -#define ITEM_STATE_DISABLED 1 -#define TOOLBAR_SLIDING_PER_FPS 2 -#define TOOLBAR_SLIDING_FPS 40.0 -#define TOOLBAR_SLIDING_TEXT_GAP 40 -#define TOOLBAR_SLIDING_TEXT_OFFSET 5 - -#define TOOLBAR_TEXT_STYLE(_font_size) \ - style { name: "toolbar_text_style_"_font_size; \ - base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="TOOLBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC" font_size="_font_size" align=center color="TOOLBAR_ITEM_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=0"; \ - tag: "br" "\n"; \ - tag: "ps" "ps"; \ - tag: "hilight" "+ font=Tizen:style=Bold"; \ - tag: "b" "+ font=Tizen:style=Bold"; \ - tag: "tab" "\t"; \ - } - -#define TOOLBAR_PRESSED_TEXT_STYLE(_font_size) \ - style { name: "toolbar_pressed_text_style_"_font_size; \ - base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="TOOLBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC" font_size="_font_size" align=center color="TOOLBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=0"; \ - tag: "br" "\n"; \ - tag: "ps" "ps"; \ - tag: "hilight" "+ font=Tizen:style=Bold"; \ - tag: "b" "+ font=Tizen:style=Bold"; \ - tag: "tab" "\t"; \ - } - -#define TABBAR_TEXT_STYLE(_font_size) \ - style { name: "tabbar_text_style_"_font_size; \ - base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="TABBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC" font_size="_font_size" align=center color="TABBAR_ITEM_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=0"; \ - tag: "br" "\n"; \ - tag: "ps" "ps"; \ - tag: "hilight" "+ font=Tizen:style=Bold"; \ - tag: "b" "+ font=Tizen:style=Bold"; \ - tag: "tab" "\t"; \ - } - -#define TABBAR_SELECTED_TEXT_STYLE(_font_size) \ - style { name: "tabbar_selected_text_style_"_font_size; \ - base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="TABBAR_ITEM_TEXTBLOCK_SHADOW_COLOR_INC" font_size="_font_size" align=center color="TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=0"; \ - tag: "br" "\n"; \ - tag: "ps" "ps"; \ - tag: "hilight" "+ font=Tizen:style=Bold"; \ - tag: "b" "+ font=Tizen:style=Bold"; \ - tag: "tab" "\t"; \ - } - -#define TABBAR_PRESSED_TEXT_STYLE(_font_size) \ - style { name: "tabbar_pressed_text_style_"_font_size; \ - base: "font=Tizen:style=Bold style=far_shadow,bottom shadow_color="TABBAR_ITEM_PRESSED_TEXTBLOCK_SHADOW_COLOR_INC" font_size="_font_size" align=center color="TABBAR_ITEM_PRESSED_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=0"; \ - tag: "br" "\n"; \ - tag: "ps" "ps"; \ - tag: "hilight" "+ font=Tizen:style=Bold"; \ - tag: "b" "+ font=Tizen:style=Bold"; \ - tag: "tab" "\t"; \ - } - -styles{ - TABBAR_TEXT_STYLE(30) - TABBAR_SELECTED_TEXT_STYLE(30) - TABBAR_PRESSED_TEXT_STYLE(30) - TOOLBAR_TEXT_STYLE(38) - TOOLBAR_PRESSED_TEXT_STYLE(38) -} - -group { name: "elm/toolbar/base/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_toolbar_bg.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - } - } - part { name: "base_bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - image { - normal: "00_toolbar_bg.png"; - border: TOOLBAR_ITEM_BG_DEFAULT_BORDER_INC; - border_scale: 1; - } - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } -} - -group { name: "elm/toolbar/item/default"; - images { - image: "00_toolbar_press.png" COMP; - image: "00_tab_focus.png" COMP; - } - - data.item: "transition_animation_on" "0"; - script { - public item_state = ITEM_STATE_ENABLED; - public items_number = 0; - } - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_toolbar_press.png"; - border: TOOLBAR_ITEM_BG_PRESSED_BORDER_INC; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - color: 0 0 0 0; - } - description { state: "1_item" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 0; - } - description { state: "2_items" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 0; - } - description { state: "3_items" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 0 0; - fixed: 1 1; - visible: 0; - color: 0 0 0 0; - } - description { state: "1_item" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_ONE_ITEM_PADDING_SIZE 0; - } - description { state: "2_items" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_TWO_ITEMS_PADDING_SIZE 0; - } - description { state: "3_items" 0.0; - inherit: "default" 0.0; - min: TOOLBAR_ITEM_THREE_ITEMS_PADDING_SIZE 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - fixed: 1 1; - max: 9999 60; - text { - style: "toolbar_text_style_38"; - min: 0 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: visible; - text.style: "toolbar_pressed_text_style_38"; - } - } - part { name: "elm.text_new"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "elm.text_new.clipper"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC; - fixed: 1 1; - text { - style: "toolbar_text_style_38"; - min: 0 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: visible; - text.style: "toolbar_pressed_text_style_38"; - } - } - part { name: "elm.text.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "animation" 0.0; - color: 255 255 255 0; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.text_new.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "animation" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "divider"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: TOOLBAR_ITEM_DIVIDER_SIZE; - max: TOOLBAR_ITEM_DIVIDER_SIZE; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - } - rel2 { - relative: 1.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "divider_left"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TOOLBAR_ITEM_DIVIDER_LEFT_COLOR_INC; - rel1 { - relative: 0.0 0.0; - to: "divider"; - } - rel2 { - relative: 0.5 1.0; - to: "divider"; - } - } - } - part { name: "divider_right"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TOOLBAR_ITEM_DIVIDER_RIGHT_COLOR_INC; - rel1 { - relative: 0.5 0.0; - to: "divider"; - } - rel2 { - relative: 1.0 1.0; - to: "divider"; - } - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "event2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "highlight"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_tab_focus.png"; - border: TOOLBAR_ITEM_TAB_FOCUS_BORDER_INC; - border_scale: 1; - } - } - description { state: "highlighted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(item_state) != ITEM_STATE_DISABLED) - { - set_state(PART:"bg", "pressed", 0.0); - set_state(PART:"elm.text", "pressed", 0.0); - set_state(PART:"elm.text_new", "pressed", 0.0); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event2"; - script { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"elm.text_new", "visible", 0.0); - } - } - program { name: "go"; - signal: "mouse,clicked,1"; - source: "event"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "play_sound"; - } - program { name: "play_sound"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "mouse,in"; - signal: "mouse,in"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,in" "elm"; - } - program { name: "mouse,out"; - signal: "mouse,out"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,out" "elm"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_DISABLED); - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text.clipper", "disabled", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_ENABLED); - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text.clipper", "default", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - } - } - program { name: "label_set,animation,forward"; - signal: "elm,state,label_set,forward"; - source: "elm"; - after: "label_set,sync"; - } - program { name: "label_set,animation,backward"; - signal: "elm,state,label_set,backward"; - source: "elm"; - after: "label_set,sync"; - } - program { name: "label_set,sync"; - signal: "elm,state,label_set"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - set_state(PART:"elm.text_new", st, vl); - } - after: "label_set,animation"; - } - program { name: "label_set,animation"; - action: STATE_SET "animation" 0.0; - target: "elm.text.clipper"; - target: "elm.text_new.clipper"; - after: "label_set,animation,done"; - } - program { name: "label_set,animation,done"; - action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; - } - program { name: "label,reset"; - signal: "elm,state,label,reset"; - source: "elm"; - script { - set_state(PART:"elm.text_new.clipper", "default", 0.0); - if (get_int(item_state) != ITEM_STATE_DISABLED) - set_state(PART:"elm.text.clipper", "default", 0.0); - else - set_state(PART:"elm.text.clipper", "disabled", 0.0); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "text_only_item_1"; - signal: "elm,number,item,1"; - source: "elm"; - script { - set_int(items_number, 1); - set_state(PART:"padding_left_top", "1_item", 0.0); - set_state(PART:"padding_right_bottom", "1_item", 0.0); - } - } - program { name: "text_only_item_2"; - signal: "elm,number,item,2"; - source: "elm"; - script { - set_int(items_number, 2); - set_state(PART:"padding_left_top", "2_items", 0.0); - set_state(PART:"padding_right_bottom", "2_items", 0.0); - } - } - program { name: "text_only_item_3"; - signal: "elm,number,item,3"; - source: "elm"; - script { - set_int(items_number, 3); - set_state(PART:"padding_left_top", "3_items", 0.0); - set_state(PART:"padding_right_bottom", "3_items", 0.0); - } - } - program { name: "divider_visible_1"; - signal: "elm,order,first,item"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "divider"; - } - program { name: "divider_visible_2"; - signal: "elm,order,default,item"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "divider"; - } - program { name: "divider_hidden"; - signal: "elm,order,last,item"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "divider"; - } - program { name: "highlight_on"; - signal: "elm,highlight,on"; - source: "elm"; - action: STATE_SET "highlighted" 0.0; - target: "highlight"; - } - program { name: "highlight_off"; - signal: "elm,highlight,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "highlight"; - } - } -} - -group { name: "elm/toolbar/separator/default"; - parts { - part { name: "divider"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: TABBAR_ITEM_DIVIDER_SIZE; - max: TABBAR_ITEM_DIVIDER_SIZE; - fixed: 1 1; - rel1 { - relative: 0.5 0.5; - } - rel2 { - relative: 0.5 0.5; - } - } - } - part { name: "divider_left"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC; - rel1 { - relative: 0.0 0.0; - to: "divider"; - } - rel2 { - relative: 0.5 1.0; - to: "divider"; - } - } - } - part { name: "divider_right"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC; - rel1 { - relative: 0.5 0.0; - to: "divider"; - } - rel2 { - relative: 1.0 1.0; - to: "divider"; - } - } - } - } -} - -group { name: "elm/toolbar/object/default"; - parts { - part { name: "elm.swallow.object"; // object group - type: SWALLOW; - description { - state: "default" 0.0; - } - } - } -} - -group { name: "elm/toolbar/base/tabbar"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_effect_tab_bounce_left.png" COMP; - image: "00_effect_tab_bounce_right.png" COMP; - image: "00_title_bg.png" COMP; - } - script { - public left_timer, right_timer; - public l_timer(val) { - emit("do-hide-left-shadow", ""); - set_int(left_timer, 0); - return 0; - } - public r_timer(val) { - emit("do-hide-right-shadow", ""); - set_int(right_timer, 0); - return 0; - } - } - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "base_bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - image { - normal: "00_title_bg.png"; - border: TABBAR_ITEM_BG_DEFAULT_BORDER_INC; - border_scale: 1; - } - } - } - part { name: "left_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - align: 0.0 0.5; - rel1.to: "base"; - rel2.to: "base"; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - } - part { name: "right_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - align: 1.0 0.5; - rel1.to: "base"; - rel2.to: "base"; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "left_padding"; - rel1.relative: 1.0 0.0; - rel2.to: "right_padding"; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - part { name: "left_shadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "show" 0.0; - } - } - part { name: "right_shadow_clip"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "show" 0.0; - } - } - part { name: "shadow_left"; - clip_to: "left_shadow_clip"; - type: IMAGE; - scale: 1; - repeat_events: 1; - description { state: "default" 0.0; - min: 162 0; - fixed: 1 1; - align: 0.0 0.5; - color: 255 255 255 255; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - image.normal: "00_effect_tab_bounce_left.png"; - } - } - part { name: "shadow_right"; - clip_to: "right_shadow_clip"; - type: IMAGE; - scale: 1; - repeat_events: 1; - description { state: "default" 0.0; - min: 162 0; - fixed: 1 1; - align: 1.0 0.5; - color: 255 255 255 255; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - image.normal: "00_effect_tab_bounce_right.png"; - } - } - } - programs { - program { name: "load"; - script { - set_int(left_timer, 0); - set_int(right_timer, 0); - } - } - program { name: "left_shadow_show"; - signal: "do-show-left-shadow"; - source: ""; - action: STATE_SET "show" 0.0; - transition: LINEAR 0.3; - target: "left_shadow_clip"; - } - program { name: "left_shadow_hide"; - signal: "do-hide-left-shadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "left_shadow_clip"; - } - program { name: "right_shadow_show"; - signal: "do-show-right-shadow"; - source: ""; - action: STATE_SET "show" 0.0; - transition: LINEAR 0.3; - target: "right_shadow_clip"; - } - program { name: "right_shadow_hide"; - signal: "do-hide-right-shadow"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "right_shadow_clip"; - } - program { name: "edge_left"; - signal: "elm,edge,left"; - source: "elm"; - script { - new v; - v = get_int(left_timer); - if (!v) { - emit("do-show-left-shadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.5, "l_timer", 0); - set_int(left_timer, v); - } - } - program { name: "edge_right"; - signal: "elm,edge,right"; - source: "elm"; - script { - new v; - v = get_int(right_timer); - if (!v) { - emit("do-show-right-shadow", ""); - } - if (v > 0) cancel_timer(v); - v = timer(0.5, "r_timer", 0); - set_int(right_timer, v); - } - } - } -} - -group { name: "elm/toolbar/item/tabbar"; - images { - image: "00_tab_press.png" COMP; - image: "00_badge_bg.png" COMP; - image: "00_tab_focus.png" COMP; - image: "00_tab_select_bar.png" COMP; - image: "00_effect_tab_text_dim_left.png" COMP; - image: "00_effect_tab_text_dim_right.png" COMP; - } - - data.item: "transition_animation_on" "0"; - script { - public item_state = ITEM_STATE_ENABLED; - public items_number = 0; - public sliding_timer; - public end_timer; - public text_w; - public org_text_w; - public loop_count = 0; - public selected = 0; - public pressed = 0; - - public get_width() { - new x, y, w, h; - if (get_int(selected)) - { - set_state(PART:"elm.text", "selected", 0.0); - } - else - { - set_state(PART:"elm.text", "visible", 0.0); - } - get_geometry(PART:"elm.text", x, y, w, h); - set_int(org_text_w, w); - - set_state(PART:"elm.text", "sliding", 0.0); - get_geometry(PART:"elm.text", x, y, w, h); - set_int(text_w, w); - } - public ender(val) { - set_int(loop_count, 0); - if (get_int(sliding_timer)) cancel_timer(get_int(sliding_timer)); - set_int(sliding_timer, 0); - if (get_int(end_timer)) cancel_timer(get_int(end_timer)); - set_int(end_timer, 0); - set_state(PART:"elm.text.dim.left", "default", 0.0); - set_state(PART:"elm.text_new.clipper", "default", 0.0); - if (val == 1) { - custom_state(PART:"elm.text", "sliding", 0.0); - set_state_val(PART:"elm.text", STATE_REL1_OFFSET, TOOLBAR_SLIDING_TEXT_OFFSET, 0); - set_state_val(PART:"elm.text", STATE_REL2_OFFSET, TOOLBAR_SLIDING_TEXT_OFFSET, 0); - set_state(PART:"elm.text", "custom", 0.0); - } else { - if (get_int(selected)) - { - set_state(PART:"elm.text", "selected", 0.0); - } - else - { - set_state(PART:"elm.text", "visible", 0.0); - } - set_state(PART:"elm.text.dim.right", "default", 0.0); - } - } - public sliding(val) { - new buf[128]; - if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { - set_int(loop_count, get_int(loop_count) + 1); - get_width(); - if (get_int(text_w) <= get_int(org_text_w)) { - ender(0); - return; - } - } - val -= TOOLBAR_SLIDING_PER_FPS; -// for debuging ////////////////////////////// -/* snprintf(buf, 127, "%d:%d:%d", - val, get_int(org_text_w), get_int(text_w)); - set_text(PART:"dbg", buf);*/ - - if (val <= -get_int(text_w) - TOOLBAR_SLIDING_TEXT_GAP + TOOLBAR_SLIDING_TEXT_OFFSET) - val = TOOLBAR_SLIDING_TEXT_OFFSET; - custom_state(PART:"elm.text", "sliding", 0.0); - set_state_val(PART:"elm.text", STATE_REL1_OFFSET, val, 0); - set_state_val(PART:"elm.text", STATE_REL2_OFFSET, val, 0); - set_state(PART:"elm.text", "custom", 0.0); - - set_state(PART:"elm.text_new.clipper", "animation", 0.0); - get_text(PART:"elm.text", buf, 128); - set_text(PART:"elm.text_new", buf); - custom_state(PART:"elm.text_new", "sliding", 0.0); - set_state_val(PART:"elm.text_new", STATE_REL1_OFFSET, - val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); - set_state_val(PART:"elm.text_new", STATE_REL2_OFFSET, - val + get_int(text_w) + TOOLBAR_SLIDING_TEXT_GAP, 0); - set_state(PART:"elm.text_new", "custom", 0.0); - - set_state(PART:"elm.text.dim.left", "show", 0.0); - set_state(PART:"elm.text.dim.right", "show", 0.0); - - if (val == TOOLBAR_SLIDING_TEXT_OFFSET || val <= -get_int(text_w)) - set_state(PART:"elm.text.dim.left", "default", 0.0); - - if (val == TOOLBAR_SLIDING_TEXT_OFFSET) { - if (get_int(loop_count) < 3) - set_int(sliding_timer, timer(2.0, "sliding", TOOLBAR_SLIDING_TEXT_OFFSET)); - else - set_int(end_timer, timer(0.5, "ender", 1)); - } else - set_int(sliding_timer, timer(1.0/TOOLBAR_SLIDING_FPS, "sliding", val)); - } - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 180 0; - visible: 0; - } - description { state: "icon_text" 0.0; - inherit: "default" 0.0; - min: 180 0; - } - } - part { name: "selected_line"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "00_tab_select_bar.png"; - border: TABBAR_ITEM_TAB_SELECT_BAR_BORDER_INC; - border_scale: 1; - } - align: 0.0 1.0; - min: 0 10; - fixed: 0 1; - visible: 0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg_cover"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_tab_press.png"; - border: TABBAR_ITEM_TAB_PRESS_BORDER_INC; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "moving" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 2 0; - fixed: 1 1; - visible: 0; - color: 0 0 0 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 2 0; - fixed: 1 1; - visible: 0; - color: 0 0 0 0; - } - } - part { - name: "icon_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - align: 0.5 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: TABBAR_ITEM_ICON_SIZE_INC; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_after_icon"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; - to: "icon_rect"; - } - rel2.to: "icon_rect"; - fixed: 0 1; - min: 0 0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 1; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_before_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.5 1.0; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "elm.text"; - } - rel2 { - relative: 0.0 0.0; - to_x: "padding_right_bottom"; - to_y: "elm.text"; - } - fixed: 0 1; - min: 0 0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon.clipper"; - description { state: "default" 0.0; - visible: 0; - min: TABBAR_ITEM_ICON_SIZE_INC; - max: TABBAR_ITEM_ICON_SIZE_INC; - rel1 { - to: "padding_left_top"; - } - rel2 { - to: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - } - description { state: "visible" 0.0; - fixed: 1 0; - min: TABBAR_ITEM_ICON_SIZE_INC; - max: TABBAR_ITEM_ICON_SIZE_INC; - align: 0.5 1.0; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_before_text"; - } - rel2 { - relative: 0.0 0.0; - to_x: "padding_right_bottom"; - to_y: "padding_before_text"; - } - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.icon_new"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon_new.clipper"; - description { state: "default" 0.0; - visible: 0; - min: TABBAR_ITEM_ICON_SIZE_INC; - max: TABBAR_ITEM_ICON_SIZE_INC; - rel1.to: "padding_left_top"; - rel2.to: "padding_right_bottom"; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - } - description { state: "visible" 0.0; - fixed: 1 0; - min: TABBAR_ITEM_ICON_SIZE_INC; - max: TABBAR_ITEM_ICON_SIZE_INC; - rel1 { - relative: 0.0 1.0; - to_x: "padding_left_top"; - to_y: "padding_before_text"; - } - rel2 { - relative: 0.0 0.0; - to_x: "padding_right_bottom"; - to_y: "padding_before_text"; - } - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.icon.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.icon.proxy.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.icon"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.icon"; - rel1.offset: 0 2; - rel2.to: "elm.swallow.icon"; - rel2.offset: 0 2; - } - } - part { name: "elm.swallow.icon_new.proxy"; - type: PROXY; - scale: 1; - clip_to: "elm.icon_new.proxy.clipper"; - description { state: "default" 0.0; - source: "elm.swallow.icon_new"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.icon_new"; - rel1.offset: 0 2; - rel2.to: "elm.swallow.icon_new"; - rel2.offset: 0 2; - } - } - part { name: "elm.swallow.icon.proxy.2"; - type: PROXY; - scale: 1; - clip_to: "elm.icon.proxy.clipper.2"; - description { state: "default" 0.0; - source: "elm.swallow.icon"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "elm.swallow.icon_new.proxy.2"; - type: PROXY; - scale: 1; - clip_to: "elm.icon_new.proxy.clipper.2"; - description { state: "default" 0.0; - source: "elm.swallow.icon_new"; - proxy.source_clip: 0; - rel1.to: "elm.swallow.icon_new"; - rel2.to: "elm.swallow.icon_new"; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_left_top"; - to_y: "padding_after_icon"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - fixed: 1 1; - max: 0 34; - text { - style: "tabbar_text_style_30"; - min: 0 1; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "visible" 0.0; - text.style: "tabbar_selected_text_style_30"; - } - description { state: "pressed" 0.0; - inherit: "visible" 0.0; - text.style: "tabbar_pressed_text_style_30"; - } - description { state: "sliding" 0.0; - inherit: "selected" 0.0; - rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; - rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; - text.min: 1 1; - align: 0.0 0.5; - } - } - part { name: "elm.text_new"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - clip_to: "elm.text_new.clipper"; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_left_top"; - to_y: "padding_after_icon"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - max: 0 34; - fixed: 1 1; - text { - style: "tabbar_text_style_30"; - min: 0 1; - max: 1 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "visible" 0.0; - text.style: "tabbar_selected_text_style_30"; - } - description { state: "pressed" 0.0; - inherit: "visible" 0.0; - text.style: "tabbar_pressed_text_style_30"; - } - description { state: "sliding" 0.0; - inherit: "selected" 0.0; - rel1.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; - rel2.offset: TOOLBAR_SLIDING_TEXT_OFFSET 0; - text.min: 1 1; - align: 0.0 0.5; - } - } - part { name: "padding.badge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - } - rel2 { - relative: 1.0 0.0; - } - min: 10 10; - fixed: 1 1; - visible: 0; - } - description { state: "default" 0.10; - inherit: "default" 0.0; - min: TABBAR_BADGE_ONE_ITEM_PADDING_SIZE; - } - description { state: "default" 0.06; - inherit: "default" 0.0; - min: TABBAR_BADGE_TWO_ITEMS_PADDING_SIZE; - } - description { state: "default" 0.04; - inherit: "default" 0.0; - min: TABBAR_BADGE_THREE_ITEMS_PADDING_SIZE; - } - } - part { name: "elm.image.badge"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 54 54; - fixed: 1 1; - rel1 { - to: "left.padding.text"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text"; - relative: 1.0 1.0; - } - image { - normal: "00_badge_bg.png"; - border: TABBAR_BADGE_BG_IMAGE_BORDER_INC; - border_scale: 1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "left.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 12 54; - rel1 { - to: "elm.text.badge"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.text.badge"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - } - } - part { name: "right.padding.text"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 12 54; - rel1 { - to: "padding.badge"; - relative: 0.0 1.0; - } - rel2 { - to: "padding.badge"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - } - } - part { name: "elm.text.badge"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1 { - to: "right.padding.text"; - relative: 0.0 0.0; - } - rel2 { - to: "right.padding.text"; - relative: 0.0 1.0; - } - min: 30 0; - fixed: 1 0; - align: 1.0 0.5; - color: TABBAR_BADGE_TEXT_COLOR_INC; - text { - font: "Tizen:style=Bold"; - size: 34; - min: 1 0; - text_class: "tizen"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: 255 255 255 255; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.text_new.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: 255 255 255 0; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.icon.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - } - part { name: "elm.icon_new.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DEFAULT_ICON_COLOR_INC; - } - } - part { name: "elm.icon.proxy.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_PRESSED_ICON_SHADOW_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - } - part { name: "elm.icon_new.proxy.clipper"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_PRESSED_ICON_SHADOW_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_SHADOW_COLOR_INC; - } - } - part { name: "elm.icon.proxy.clipper.2"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_ICON_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_SELECTED_ICON_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_PRESSED_ICON_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DISABLED_ICON_COLOR_INC; - } - } - part { name: "elm.icon_new.proxy.clipper.2"; - type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - color: TABBAR_ITEM_ICON_COLOR_INC; - } - description { state: "animation" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_ICON_COLOR_INC; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_SELECTED_ICON_COLOR_INC; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_PRESSED_ICON_COLOR_INC; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: TABBAR_ITEM_DISABLED_ICON_COLOR_INC; - } - } - part { name: "elm.text.dim.left"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 45 0; - fixed: 1 0; - align: 0.0 0.5; - visible: 0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.text.clipper"; - to_y: "elm.text"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.text.clipper"; - to_y: "elm.text"; - } - image.normal: "00_effect_tab_text_dim_left.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.dim.right"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 45 0; - fixed: 1 0; - align: 1.0 0.5; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.text.clipper"; - to_y: "elm.text"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.text.clipper"; - to_y: "elm.text"; - } - image.normal: "00_effect_tab_text_dim_right.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "divider"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: TABBAR_ITEM_DIVIDER_SIZE; - max: TABBAR_ITEM_DIVIDER_SIZE; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - } - rel2 { - relative: 1.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "divider_left"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC; - rel1 { - relative: 0.0 0.0; - to: "divider"; - } - rel2 { - relative: 0.5 1.0; - to: "divider"; - } - } - } - part { name: "divider_right"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC; - rel1 { - relative: 0.5 0.0; - to: "divider"; - } - rel2 { - relative: 1.0 1.0; - to: "divider"; - } - } - } - part { name: "highlight"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_tab_focus.png"; - border: TABBAR_ITEM_TAB_FOCUS_BORDER_INC; - border_scale: 1; - } - } - description { state: "highlighted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - dragable { - x: 1 0 0; - y: 1 0 0; - } - description { state: "default" 0.0; - color: 0 0 0 0; - } - } -// for debuging ////////////////////////////// -/* part { name: "dbg"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - fixed: 1 1; - align: 1.0 0.0; - text { - style: "tabbar_text_style_30"; - text: "test"; - min: 1 1; - } - } - }*/ - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon.proxy.clipper"; - target: "elm.icon.proxy.clipper.2"; - target: "selected_line"; - after: "selected_text"; - } - program { name: "selected_text"; - script{ - new st[31]; - new Float:vl; - set_int(selected, 1); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "selected", vl); - if (strcmp(st, "default")) - run_program(PROGRAM:"slide_start"); - } - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon.proxy.clipper"; - target: "elm.icon.proxy.clipper.2"; - target: "selected_line"; - after: "unselected_text"; - } - program { name: "unselected_text"; - script{ - new st[31]; - new Float:vl; - set_int(selected, 0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "selected")) - set_state(PART:"elm.text", "visible", vl); - if (strcmp(st, "default")) - run_program(PROGRAM:"slide_stop"); - } - } - program { name: "moving"; - signal: "elm,state,moving"; - source: "elm"; - script { - set_state(PART:"bg_cover", "moving", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - set_state(PART:"bg_cover", "pressed", 0.0); - set_state(PART:"elm.text", "pressed", 0.0); - set_state(PART:"elm.icon.clipper", "pressed", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "pressed", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "pressed", 0.0); - set_int(pressed, 1); - } - } - program { - name: "drag"; - signal: "drag"; - source: "event"; - script { - new st[31]; - new Float:vl; - new Float:dx, Float:dy; - get_state(PART:"bg_cover", st, 30, vl); - if (strcmp(st, "moving")) - { - get_drag(PART:"event", dx, dy); - if ((abs(dx)*abs(dx))+(abs(dy)*abs(dy)) > 400) - { - set_drag(PART:"event", 0.0, 0.0); - set_state(PART:"bg_cover", "default", 0.0); - if (get_int(selected)) - { - set_state(PART:"elm.text", "selected", 0.0); - set_state(PART:"elm.icon.clipper", "selected", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "selected", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "selected", 0.0); - } - else - { - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "default", 0.0); - } - } - set_drag(PART:"event", 0.0, 0.0); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - set_drag(PART:"event", 0.0, 0.0); - set_state(PART:"bg_cover", "default", 0.0); - set_int(pressed, 0); - if (get_int(selected)) - { - set_state(PART:"elm.text", "selected", 0.0); - set_state(PART:"elm.icon.clipper", "selected", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "selected", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "selected", 0.0); - } - else - { - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "default", 0.0); - } - } - } - program { name: "go"; - signal: "mouse,clicked,1"; - source: "event"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "play_sound"; - } - program { name: "play_sound"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "mouse,in"; - signal: "mouse,in"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,in" "elm"; - } - program { name: "mouse,out"; - signal: "mouse,out"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,out" "elm"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_DISABLED); - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "disabled", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - run_program(PROGRAM:"icon_set,animation,done"); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_ENABLED); - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text.clipper", "default", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "default", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - run_program(PROGRAM:"icon_set,animation,done"); - } - } - program { name: "label_set,animation,forward"; - signal: "elm,state,label_set,forward"; - source: "elm"; - after: "label_set,sync"; - } - program { name: "label_set,animation,backward"; - signal: "elm,state,label_set,backward"; - source: "elm"; - after: "label_set,sync"; - } - program { name: "label_set,sync"; - signal: "elm,state,label_set"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - set_state(PART:"elm.text_new", st, vl); - } - after: "label_set,animation"; - } - program { name: "label_set,animation"; - action: STATE_SET "animation" 0.0; - target: "elm.text.clipper"; - target: "elm.text_new.clipper"; - after: "label_set,animation,done"; - } - program { name: "label_set,animation,done"; - action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; - } - program { name: "label,reset"; - signal: "elm,state,label,reset"; - source: "elm"; - script { - set_state(PART:"elm.text_new.clipper", "default", 0.0); - if (get_int(item_state) != ITEM_STATE_DISABLED) - set_state(PART:"elm.text.clipper", "default", 0.0); - else - set_state(PART:"elm.text.clipper", "disabled", 0.0); - } - } - program { name: "icon_set,animation,forward"; - signal: "elm,state,icon_set,forward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation,backward"; - signal: "elm,state,icon_set,backward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation"; - signal: "elm,state,icon_set"; - source: "elm"; - action: STATE_SET "animation" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon_new.clipper"; - target: "elm.icon.proxy.clipper"; - target: "elm.icon_new.proxy.clipper"; - target: "elm.icon.proxy.clipper.2"; - target: "elm.icon_new.proxy.clipper.2"; - after: "icon_set,animation,done"; - } - program { name: "icon_set,animation,done"; - action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; - } - program { name: "icon,reset"; - signal: "elm,state,icon,reset"; - source: "elm"; - script { - set_state(PART:"elm.icon_new.clipper", "default", 0.0); - if (get_int(item_state) != ITEM_STATE_DISABLED) - { - set_state(PART:"elm.icon.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "default", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "default", 0.0); - } - else - { - set_state(PART:"elm.icon.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.proxy.clipper.2", "disabled", 0.0); - } - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - set_state(PART:"bg", "icon_text", 0.0); - } - if (get_int(selected)) - set_state(PART:"elm.text", "selected", 0.0); - else - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (strcmp(st, "default")) - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (strncmp(st, "default", 7)) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - set_state(PART:"bg", "icon_text", 0.0); - } - else - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - script { - set_state(PART:"elm.swallow.icon", "default", 0.0); - set_state(PART:"icon_rect", "default", 0.0); - set_state(PART:"padding_after_icon", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "badge_show"; - signal: "elm,state,elm.text.badge,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text.badge"; - target: "elm.image.badge"; - } - program { name: "badge_hide"; - signal: "elm,state,elm.text.badge,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.badge"; - target: "elm.image.badge"; - } - program { name: "divider_visible_1"; - signal: "elm,order,first,item"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "divider"; - } - program { name: "divider_visible_2"; - signal: "elm,order,default,item"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "divider"; - } - program { name: "divider_hidden"; - signal: "elm,order,last,item"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "divider"; - } - program { name: "highlight_on"; - signal: "elm,highlight,on"; - source: "elm"; - action: STATE_SET "highlighted" 0.0; - target: "highlight"; - } - program { name: "highlight_off"; - signal: "elm,highlight,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "highlight"; - } - program { name: "tab_item_2"; - signal: "elm,number,item,2"; - source: "elm"; - script { - set_int(items_number, 2); - set_state(PART:"padding.badge", "default", 0.10); - } - } - program { name: "tab_item_3"; - signal: "elm,number,item,3"; - source: "elm"; - script { - set_int(items_number, 3); - set_state(PART:"padding.badge", "default", 0.06); - } - } - program { name: "tab_item_4"; - signal: "elm,number,item,4"; - source: "elm"; - script { - set_int(items_number, 4); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_5"; - signal: "elm,number,item,5"; - source: "elm"; - script { - set_int(items_number, 5); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_6"; - signal: "elm,number,item,6"; - source: "elm"; - script { - set_int(items_number, 6); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_7"; - signal: "elm,number,item,7"; - source: "elm"; - script { - set_int(items_number, 7); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_8"; - signal: "elm,number,item,8"; - source: "elm"; - script { - set_int(items_number, 8); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_9"; - signal: "elm,number,item,9"; - source: "elm"; - script { - set_int(items_number, 9); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_10"; - signal: "elm,number,item,10"; - source: "elm"; - script { - set_int(items_number, 10); - } - after: "tab_item_upper_4"; - } - program { name: "tab_item_upper_4"; - script { - set_state(PART:"padding.badge", "default", 0.04); - } - } - program { name: "slide_start"; - script { - if (!get_int(sliding_timer) && !get_int(end_timer)) { - set_int(sliding_timer, timer(1.5, "sliding", TOOLBAR_SLIDING_TEXT_OFFSET)); - } - } - } - program { name: "slide_stop"; - script { - ender(0); - } - } - } -} - -group { name: "elm/toolbar/base/tabbar/item_with_title"; - inherit: "elm/toolbar/base/tabbar"; - images { - image: "00_sub_title_bg.png" COMP; - } - parts { - part { name: "base_bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - } - image { - normal: "00_sub_title_bg.png"; - border: TABBAR_ITEM_BG_DEFAULT_BORDER_INC; - border_scale: 1; - } - } - } - } -} - -group { name: "elm/toolbar/item/tabbar/item_with_title"; - inherit: "elm/toolbar/item/tabbar"; - images { - image: "00_effect_tab_text_dim_left_02.png" COMP; - image: "00_effect_tab_text_dim_right_02.png" COMP; - } - parts { - part { name: "elm.text.dim.left"; - description { state: "default" 0.0; - image.normal: "00_effect_tab_text_dim_left_02.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.dim.right"; - description { state: "default" 0.0; - image.normal: "00_effect_tab_text_dim_right_02.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "divider"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: TABBAR_ITEM_WITH_TITLE_DIVIDER_SIZE; - max: TABBAR_ITEM_WITH_TITLE_DIVIDER_SIZE; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - } - rel2 { - relative: 1.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "divider_left"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC; - rel1 { - relative: 0.0 0.0; - to: "divider"; - } - rel2 { - relative: 0.5 1.0; - to: "divider"; - } - } - } - part { name: "divider_right"; - type: RECT; - clip_to: "divider"; - description { state: "default" 0.0; - color: TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC; - rel1 { - relative: 0.5 0.0; - to: "divider"; - } - rel2 { - relative: 1.0 1.0; - to: "divider"; - } - } - } - } -} diff --git a/packaging/efl-theme-tizen.spec b/packaging/efl-theme-tizen.spec index 4bf22e1..f369acb 100644 --- a/packaging/efl-theme-tizen.spec +++ b/packaging/efl-theme-tizen.spec @@ -1,56 +1,50 @@ Name: efl-theme-tizen Summary: Tizen theme files -Version: 1.0.233b48 +Version: 1.1.52 Release: 1 Group: TO_BE/FILLED_IN -License: BSD +License: BSD 2-Clause Source0: %{name}-%{version}.tar.gz -BuildRequires: perl, edje, edje-bin, embryo, embryo-bin +BuildRequires: edje-bin %define _unpackaged_files_terminate_build 0 %description -Tizen theme for EFL - -%if %{_repository} == "mobile" -%package -n efl-theme-tizen-devel -Summary: Development package - -%description -n efl-theme-tizen-devel -Development package -%endif +Tizen heme for EFL %prep -%setup -q +%setup -q %build export CFLAGS+=" --fPIC" export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" +%if "%{?tizen_profile_name}" == "wearable" + export TARGET=2.3-wearable + export SIZE=HVGA +%elseif "%{?tizen_profile_name}" == "mobile" + export TARGET=2.3-mobile + export SIZE=WVGA +%endif -cd %{_repository} && make %{?jobs:-j%jobs} +make %install -rm -rf %{buildroot} -cd %{_repository} && make install DESTDIR=%{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name} -%if %{_repository} == "mobile" -cp %{buildroot}/usr/share/elementary/themes/tizen-HD-dark.edj %{buildroot}/usr/share/elementary/themes/tizen-hd.edj + +%if "%{?tizen_profile_name}" == "wearable" + export TARGET=2.3-wearable + export SIZE=HVGA +%elseif "%{?tizen_profile_name}" == "mobile" + export TARGET=2.3-mobile + export SIZE=WVGA %endif +make install prefix=%{_prefix} DESTDIR=%{buildroot} + +mkdir -p %{buildroot}%{_datadir}/license +cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/%{name} + %files %defattr(-,root,root,-) -%if %{_repository} == "wearable" -%{_datadir}/elementary/themes/tizen*.edj -%endif +%{_datadir}/elementary/themes/*.edj +%{_datadir}/license/%{name} %manifest %{name}.manifest -/usr/share/license/%{name} -%if %{_repository} == "mobile" -%{_datadir}/elementary/themes/tizen-HD-dark.edj -%{_datadir}/elementary/themes/tizen-HD-light.edj -%{_datadir}/elementary/themes/tizen-hd.edj - -%files -n efl-theme-tizen-devel -%defattr(-,root,root,-) -/opt/var/efl-theme-tizen-edc/* -%endif diff --git a/wearable/AUTHORS b/wearable/AUTHORS deleted file mode 100644 index ab26069..0000000 --- a/wearable/AUTHORS +++ /dev/null @@ -1,14 +0,0 @@ -Jaehwan Kim -Seokjae Jeong -ChunEon Park -Juyung Seo -WooHyun Jung -MyungJae Lee -Cinwoo Kim -MyungWoon Kim -Hoyoung Chang -JeeYeon Park -IlKook Yun -JeongHyun Yun -Thiep Ha - diff --git a/wearable/Makefile b/wearable/Makefile deleted file mode 100644 index 8ca7d46..0000000 --- a/wearable/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -PREFIX ?= /usr - -all: - cp themes/tizen.edc themes/light.edc - cp themes/tizen.edc themes/dark.edc - cd themes && make - -install: - cd themes && make $@ - rm -rf themes/light.edc themes/dark.edc - -uninstall: - cd themes && make $@ - -clean: - cd themes && make $@ - -distclean: clean - diff --git a/wearable/NOTICE b/wearable/NOTICE deleted file mode 100644 index 9b0dbfa..0000000 --- a/wearable/NOTICE +++ /dev/null @@ -1,3 +0,0 @@ -Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. -Except as noted, this software is licensed under BSD 2-Clause License. -Please, see the LICENSE.BSD-2-Clause file for BSD 2-Clause License terms and conditions. diff --git a/wearable/themes/Makefile b/wearable/themes/Makefile deleted file mode 100644 index 6951ea5..0000000 --- a/wearable/themes/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -PREFIX ?= /usr -INSTALL=install -c -EDC_DIR=$(DESTDIR)/opt/var/efl-theme-tizen-edc -THEME_DIR=$(DESTDIR)$(PREFIX)/share/elementary/themes -EDJE_FLAGS_VERBOSE_ = -EDJE_FLAGS_VERBOSE_0 = -EDJE_FLAGS_VERBOSE_1 = -v -SRC=tizen - -all: default.edj - echo $(escaped_prefix) - -.SUFFIXES: .edc .edj -.edc.edj: - perl -pi -e 's/TIZEN_TMP_INC/".\/inc\/theme_$*_inc.edc"/g' $*.edc - edje_cc $(EDJE_FLAGS_$(V))\ - -id ./images/$(@:.edj=)\ - -id ./images/$(@:.edj=)/Action\ bar\ - -id ./images/$(@:.edj=)/Progress\ - -id ./images/$(@:.edj=)/TimePicker\ - -id ./images/$(@:.edj=)/slider\ - -id ./images/$(@:.edj=)/Body\ - -id ./images/$(@:.edj=)/Controller_icon\ - -id ./images/$(@:.edj=)/List\ Edge\ Glow\ Effect\ - -id ./images/$(@:.edj=)/Overscrolling\ - -id ./images/$(@:.edj=)/Overscrolling/Top\ - -id ./images/$(@:.edj=)/Overscrolling/Bottom\ - -id ./images/$(@:.edj=)/Overscrolling/Left\ - -id ./images/$(@:.edj=)/Overscrolling/Right\ - -id ./images/$(@:.edj=)/Popup\ - -id ./images/$(@:.edj=)/Scroll\ - -id ./images/$(@:.edj=)/VI\ - -id ./images/$(@:.edj=)/temp\ - -id ./images/$(@:.edj=)/temp/Copy_Paste\ - -id ./images/$(@:.edj=)/temp/swipe\ - -id ./images/$(@:.edj=)/Apps\ - -id ./images/$(@:.edj=)/Apps/Call\ - -id ./images/$(@:.edj=)/Apps/Call/call\ menu\ - -id ./images/$(@:.edj=)/Apps/Music_player\ - -id ./images/$(@:.edj=)/Apps/Email\ - -id ./images/$(@:.edj=)/Apps/Gallery\ - -id ./images/$(@:.edj=)/Apps/Logs\ - -id ./images/$(@:.edj=)/Apps/Widget_schedule\ - -sd ./sounds\ - -id ./apps/elm_demo_tizen/images/\ - -sd ./apps/elm_demo_tizen/sounds/\ - $*.edc $(SRC)-$*.edj - -clean: - rm -f *.edj - -install: - mkdir -p $(THEME_DIR) - $(INSTALL) tizen*.edj $(THEME_DIR) - mkdir -p $(EDC_DIR) - cp -r $(SRC).edc widgets $(EDC_DIR) - rm -rf themes/$*.edc - -uninstall: - rm -f $(EDC_DIR)/$(SRC.edc) && rm -rf $(EDC_DIR)/widgets - -distclean: clean diff --git a/wearable/themes/apps/elm_demo_tizen/elm_demo_tizen.edc b/wearable/themes/apps/elm_demo_tizen/elm_demo_tizen.edc deleted file mode 100644 index 1090a21..0000000 --- a/wearable/themes/apps/elm_demo_tizen/elm_demo_tizen.edc +++ /dev/null @@ -1 +0,0 @@ -/****/ \ No newline at end of file diff --git a/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_left.png b/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_left.png deleted file mode 100644 index f9f6a0f..0000000 Binary files a/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_left.png and /dev/null differ diff --git a/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_right.png b/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_right.png deleted file mode 100644 index ecb521c..0000000 Binary files a/wearable/themes/apps/elm_demo_tizen/images/00_list_swipe_right.png and /dev/null differ diff --git a/wearable/themes/apps/elm_demo_tizen/images/b_logs_icon_actionbar_btn_call_nor.png b/wearable/themes/apps/elm_demo_tizen/images/b_logs_icon_actionbar_btn_call_nor.png deleted file mode 100644 index b50e91e..0000000 Binary files a/wearable/themes/apps/elm_demo_tizen/images/b_logs_icon_actionbar_btn_call_nor.png and /dev/null differ diff --git a/wearable/themes/apps/elm_demo_tizen/sounds/Slider_sweep.wav b/wearable/themes/apps/elm_demo_tizen/sounds/Slider_sweep.wav deleted file mode 100755 index 11b657c..0000000 Binary files a/wearable/themes/apps/elm_demo_tizen/sounds/Slider_sweep.wav and /dev/null differ diff --git a/wearable/themes/default.edc b/wearable/themes/default.edc deleted file mode 100644 index 45157a5..0000000 --- a/wearable/themes/default.edc +++ /dev/null @@ -1,93 +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. - */ - - -// 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. - -// theme configuration file for each theme (tizen, tizen-black, ...) - -// Color definitions -#include "./inc/theme_default_inc.edc" -// Default definitions -#include "./inc/default_inc.edc" - -externals { - external: "elm"; -} - -collections { - sounds { - sample { - name: "touch_sound" RAW; - source: "B_Touch.ogg"; - } - } - sounds { - sample { - name: "roller_sound" RAW; - source: "B_Roller.wav"; - } - } - sounds { - sample { - name: "sweep_sound" RAW; - source: "Slider_sweep.wav"; - } - } - sounds { - sample { - name: "reorder_sound" RAW; - source: "List_reorder.wav"; - } - } - #include "widgets/bg.edc" - #include "widgets/button.edc" - #include "widgets/check.edc" - #include "widgets/datetime.edc" - #include "widgets/genlist.edc" - #include "widgets/genlist_decorate.edc" - #include "widgets/gengrid.edc" - #include "widgets/index.edc" - #include "widgets/layout.edc" - #include "widgets/naviframe.edc" - #include "widgets/popup.edc" - #include "widgets/progressbar.edc" - #include "widgets/radio.edc" - #include "widgets/scroller.edc" - #include "widgets/slider.edc" - #include "widgets/entry.edc" - #include "widgets/label.edc" - #include "widgets/spinner.edc" - -// ***************************** Applications *************************************** // - #include "apps/elm_demo_tizen/elm_demo_tizen.edc" -} diff --git a/wearable/themes/images/default/Action bar/tw_action_item_background_disabled_holo_dark.png b/wearable/themes/images/default/Action bar/tw_action_item_background_disabled_holo_dark.png deleted file mode 100644 index c775e40..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_action_item_background_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_action_item_background_pressed_holo_dark.png b/wearable/themes/images/default/Action bar/tw_action_item_background_pressed_holo_dark.png deleted file mode 100644 index 8d97f46..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_action_item_background_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_action_text_fadeout_left_holo_dark.png b/wearable/themes/images/default/Action bar/tw_action_text_fadeout_left_holo_dark.png deleted file mode 100755 index 8896858..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_action_text_fadeout_left_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_action_text_fadeout_right_holo_dark.png b/wearable/themes/images/default/Action bar/tw_action_text_fadeout_right_holo_dark.png deleted file mode 100755 index 25fc401..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_action_text_fadeout_right_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_ic_menu_detail_holo_dark.png b/wearable/themes/images/default/Action bar/tw_ic_menu_detail_holo_dark.png deleted file mode 100644 index e81583d..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_ic_menu_detail_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_ic_menu_moreoverflow_holo_dark.png b/wearable/themes/images/default/Action bar/tw_ic_menu_moreoverflow_holo_dark.png deleted file mode 100644 index 85242ae..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_ic_menu_moreoverflow_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_ic_menu_selectall_holo_dark.png b/wearable/themes/images/default/Action bar/tw_ic_menu_selectall_holo_dark.png deleted file mode 100755 index e6db59e..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_ic_menu_selectall_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Action bar/tw_widget_actionbar_activity.png b/wearable/themes/images/default/Action bar/tw_widget_actionbar_activity.png deleted file mode 100644 index d371225..0000000 Binary files a/wearable/themes/images/default/Action bar/tw_widget_actionbar_activity.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_dim.png deleted file mode 100755 index e4d405a..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_normal.png deleted file mode 100755 index 7a6e915..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_pressed.png deleted file mode 100755 index 04d1b83..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_headset_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_dim.png deleted file mode 100755 index 61712fe..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_normal.png deleted file mode 100755 index 5774836..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_pressed.png deleted file mode 100755 index d935fee..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_keypad_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_dim.png deleted file mode 100755 index b744115..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_normal.png deleted file mode 100755 index bf343fc..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_pressed.png deleted file mode 100755 index 103bb17..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_hold_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_dim.png deleted file mode 100755 index 02606d1..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_normal.png deleted file mode 100755 index 3e0c712..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_dim.png deleted file mode 100755 index 4d52024..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_normal.png deleted file mode 100755 index e967b47..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_pressed.png deleted file mode 100755 index 442b6fa..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_ongoing_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_pressed.png deleted file mode 100755 index 04e24df..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_mute_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_dim.png deleted file mode 100755 index 76ef98a..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_normal.png deleted file mode 100755 index 99e22e3..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_pressed.png deleted file mode 100755 index eb60d2b..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_swap_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_dim.png deleted file mode 100755 index 6bd8464..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_normal.png deleted file mode 100755 index a8eec59..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_pressed.png deleted file mode 100755 index 1d63893..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_tophone_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_dim.png deleted file mode 100755 index 83e2d15..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_normal.png deleted file mode 100755 index 4b8893a..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_pressed.png deleted file mode 100755 index 37f0102..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_towatch_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_dim.png deleted file mode 100755 index 9f33e19..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_normal.png deleted file mode 100755 index fab12a5..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_pressed.png deleted file mode 100755 index 869db87..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_transferto_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_dim.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_dim.png deleted file mode 100755 index 8d47be7..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_normal.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_normal.png deleted file mode 100755 index 16b7dd2..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_pressed.png b/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_pressed.png deleted file mode 100755 index 8469c12..0000000 Binary files a/wearable/themes/images/default/Apps/Call/call menu/b_call_volume_unhold_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_off.png b/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_off.png deleted file mode 100755 index 12dec40..0000000 Binary files a/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_on.png b/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_on.png deleted file mode 100755 index a51dd07..0000000 Binary files a/wearable/themes/images/default/Apps/Email/b_email_bookmark_icon_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Gallery/b_image_viewer_select.png b/wearable/themes/images/default/Apps/Gallery/b_image_viewer_select.png deleted file mode 100755 index ac1ee0e..0000000 Binary files a/wearable/themes/images/default/Apps/Gallery/b_image_viewer_select.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Logs/b_logs_icon_actionbar_divider.png b/wearable/themes/images/default/Apps/Logs/b_logs_icon_actionbar_divider.png deleted file mode 100755 index b3b1f9e..0000000 Binary files a/wearable/themes/images/default/Apps/Logs/b_logs_icon_actionbar_divider.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_off.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_off.png deleted file mode 100644 index 891d306..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_on.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_on.png deleted file mode 100644 index 0483c29..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_Bluetooth_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_off.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_off.png deleted file mode 100644 index 8872d3c..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_on.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_on.png deleted file mode 100644 index 0a3920e..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_favorite_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_info.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_info.png deleted file mode 100644 index 2e131de..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_info.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_all.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_all.png deleted file mode 100644 index c6945d7..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_all.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_off.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_off.png deleted file mode 100644 index bb24851..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_one.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_one.png deleted file mode 100644 index c440eb3..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_repeat_one.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_off.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_off.png deleted file mode 100644 index f6bd63d..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_on.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_on.png deleted file mode 100644 index 3b9a56b..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_shuffle_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_speak.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_speak.png deleted file mode 100644 index 2d5dfea..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_icon_speak.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Music_player/b_music_mini_press.png b/wearable/themes/images/default/Apps/Music_player/b_music_mini_press.png deleted file mode 100644 index 2839f20..0000000 Binary files a/wearable/themes/images/default/Apps/Music_player/b_music_mini_press.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_left_arrow.png b/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_left_arrow.png deleted file mode 100755 index f2878a6..0000000 Binary files a/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_left_arrow.png and /dev/null differ diff --git a/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_right_arrow.png b/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_right_arrow.png deleted file mode 100755 index eedb015..0000000 Binary files a/wearable/themes/images/default/Apps/Widget_schedule/b2_widget_contact_right_arrow.png and /dev/null differ diff --git a/wearable/themes/images/default/Body/b_home_screen_page_indicator_off.png b/wearable/themes/images/default/Body/b_home_screen_page_indicator_off.png deleted file mode 100755 index 9f5db6e..0000000 Binary files a/wearable/themes/images/default/Body/b_home_screen_page_indicator_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Body/b_home_screen_page_indicator_on.png b/wearable/themes/images/default/Body/b_home_screen_page_indicator_on.png deleted file mode 100755 index c462460..0000000 Binary files a/wearable/themes/images/default/Body/b_home_screen_page_indicator_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_bg.png b/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_bg.png deleted file mode 100644 index 753fa72..0000000 Binary files a/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_bg.png and /dev/null differ diff --git a/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_on.png b/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_on.png deleted file mode 100644 index 7269653..0000000 Binary files a/wearable/themes/images/default/Body/tw_b_home_screen_scrollbar_on.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_check_on_disabled_holo_dark.png deleted file mode 100755 index b600e6b..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_check_on_holo_dark.png deleted file mode 100755 index 2a8e4b2..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_check_on_pressed_holo_dark.png deleted file mode 100755 index 6fe62cf..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_check_on_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_disabled_holo_dark.png deleted file mode 100755 index 3dc86e2..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_normal_holo_dark.png deleted file mode 100755 index a8012ee..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_pressed_holo_dark.png deleted file mode 100755 index 00a6ec7..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_checkbox_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_disabled_holo_dark.png deleted file mode 100755 index 58a2c4e..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_normal_holo_dark.png deleted file mode 100755 index 868711e..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_disable_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_disable_holo_dark.png deleted file mode 100755 index 93e0790..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_disable_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_normal_holo_dark.png deleted file mode 100755 index d85e5a9..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png deleted file mode 100755 index 808f2ba..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_radio_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_radio_pressed_holo_dark.png deleted file mode 100755 index 8c68631..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_radio_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_disabled_holo_dark.png deleted file mode 100755 index 41a600d..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_normal_holo_dark.png deleted file mode 100755 index 06d81c1..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_pressed_holo_dark.png deleted file mode 100755 index 6188a1a..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_bg_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_disabled_holo_dark.png deleted file mode 100755 index f171dda..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_normal_holo_dark.png deleted file mode 100755 index cd2a0c9..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_pressed_holo_dark.png deleted file mode 100755 index 74c8299..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_off_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_disabled_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_disabled_holo_dark.png deleted file mode 100755 index e75a7e8..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_normal_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_normal_holo_dark.png deleted file mode 100755 index 0094bbd..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_normal_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_pressed_holo_dark.png b/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_pressed_holo_dark.png deleted file mode 100755 index ff298e4..0000000 Binary files a/wearable/themes/images/default/Controller_icon/tw_btn_toggle_on_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_00.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_00.png deleted file mode 100644 index 4f729de..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_00.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_01.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_01.png deleted file mode 100644 index 0d28fb5..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_02.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_02.png deleted file mode 100644 index 31a6734..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_03.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_03.png deleted file mode 100644 index a5aa5aa..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_04.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_04.png deleted file mode 100644 index 8c58bb7..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_05.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_05.png deleted file mode 100644 index 6a00108..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_06.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_06.png deleted file mode 100644 index 6185d4a..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_07.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_07.png deleted file mode 100644 index 7dfc1a3..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_08.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_08.png deleted file mode 100644 index d43c30f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_09.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_09.png deleted file mode 100644 index bec2d63..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_10.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_10.png deleted file mode 100644 index 4cf77c5..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_11.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_11.png deleted file mode 100644 index 3b38c12..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_12.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_12.png deleted file mode 100644 index 068258e..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_13.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_13.png deleted file mode 100644 index 1b5c1a0..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_14.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_14.png deleted file mode 100644 index ffb675d..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_15.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_15.png deleted file mode 100644 index 4280289..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_16.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_16.png deleted file mode 100644 index 75753a6..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_17.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_17.png deleted file mode 100644 index e12d631..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_18.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_18.png deleted file mode 100644 index 1991d51..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_19.png b/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_19.png deleted file mode 100644 index a9685b9..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Bottom/bouncing_bottom_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_00.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_00.png deleted file mode 100644 index 0c92430..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_00.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_01.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_01.png deleted file mode 100644 index 54a2906..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_02.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_02.png deleted file mode 100644 index 0c2c12a..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_03.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_03.png deleted file mode 100644 index 2ee82d2..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_04.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_04.png deleted file mode 100644 index e3bd26b..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_05.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_05.png deleted file mode 100644 index 8ae9a28..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_06.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_06.png deleted file mode 100644 index d9ea10f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_07.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_07.png deleted file mode 100644 index c702110..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_08.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_08.png deleted file mode 100644 index 8448de6..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_09.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_09.png deleted file mode 100644 index 32df964..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_10.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_10.png deleted file mode 100644 index 2ce8ad9..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_11.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_11.png deleted file mode 100644 index 28fd70f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_12.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_12.png deleted file mode 100644 index 7dd6d82..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_13.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_13.png deleted file mode 100644 index 19f5c6d..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_14.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_14.png deleted file mode 100644 index f42af60..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_15.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_15.png deleted file mode 100644 index 0401bdd..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_16.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_16.png deleted file mode 100644 index 66febdd..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_17.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_17.png deleted file mode 100644 index 780861e..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_18.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_18.png deleted file mode 100644 index 579da36..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_19.png b/wearable/themes/images/default/Overscrolling/Left/bouncing_left_19.png deleted file mode 100644 index 8e78089..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Left/bouncing_left_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_00.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_00.png deleted file mode 100644 index bcb46cd..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_00.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_01.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_01.png deleted file mode 100644 index 3a88ab8..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_02.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_02.png deleted file mode 100644 index a90625c..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_03.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_03.png deleted file mode 100644 index 9101103..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_04.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_04.png deleted file mode 100644 index 6d9ee06..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_05.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_05.png deleted file mode 100644 index 3f7d0f5..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_06.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_06.png deleted file mode 100644 index 3a0f4cd..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_07.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_07.png deleted file mode 100644 index 4fcd377..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_08.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_08.png deleted file mode 100644 index 9f27d47..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_09.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_09.png deleted file mode 100644 index b663160..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_10.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_10.png deleted file mode 100644 index 80600f0..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_11.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_11.png deleted file mode 100644 index d628d43..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_12.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_12.png deleted file mode 100644 index a2ea1b4..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_13.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_13.png deleted file mode 100644 index fca56f1..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_14.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_14.png deleted file mode 100644 index a78a9fa..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_15.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_15.png deleted file mode 100644 index 7180678..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_16.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_16.png deleted file mode 100644 index 512584c..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_17.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_17.png deleted file mode 100644 index 8749d3f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_18.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_18.png deleted file mode 100644 index ec79d66..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_19.png b/wearable/themes/images/default/Overscrolling/Right/bouncing_right_19.png deleted file mode 100644 index 68c2118..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Right/bouncing_right_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_00.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_00.png deleted file mode 100644 index f3cd5ba..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_00.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_01.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_01.png deleted file mode 100644 index 4a0ba3d..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_02.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_02.png deleted file mode 100644 index 46d0961..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_03.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_03.png deleted file mode 100644 index b5e5807..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_04.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_04.png deleted file mode 100644 index f9793ed..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_05.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_05.png deleted file mode 100644 index 7d2aa81..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_06.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_06.png deleted file mode 100644 index 69eceff..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_07.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_07.png deleted file mode 100644 index 8195cfe..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_08.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_08.png deleted file mode 100644 index f565c8f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_09.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_09.png deleted file mode 100644 index c51ef5f..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_10.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_10.png deleted file mode 100644 index 8cc8f75..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_11.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_11.png deleted file mode 100644 index 3dcb68c..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_12.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_12.png deleted file mode 100644 index ab6fc38..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_13.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_13.png deleted file mode 100644 index 57bc115..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_14.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_14.png deleted file mode 100644 index ae700f7..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_15.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_15.png deleted file mode 100644 index df6d835..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_16.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_16.png deleted file mode 100644 index ab234cc..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_17.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_17.png deleted file mode 100644 index d9f9ab5..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_18.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_18.png deleted file mode 100644 index 694e45a..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_19.png b/wearable/themes/images/default/Overscrolling/Top/bouncing_top_19.png deleted file mode 100644 index 00a16f9..0000000 Binary files a/wearable/themes/images/default/Overscrolling/Top/bouncing_top_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_brightness.png b/wearable/themes/images/default/Popup/tw_device_options_brightness.png deleted file mode 100755 index 2cb2237..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_brightness.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_mute.png b/wearable/themes/images/default/Popup/tw_device_options_mute.png deleted file mode 100755 index 548701d..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_mute.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_outdoor.png b/wearable/themes/images/default/Popup/tw_device_options_outdoor.png deleted file mode 100755 index c46e0ec..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_outdoor.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_sound.png b/wearable/themes/images/default/Popup/tw_device_options_sound.png deleted file mode 100755 index 91f9293..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_sound.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_sound_off.png b/wearable/themes/images/default/Popup/tw_device_options_sound_off.png deleted file mode 100755 index 0ceaf86..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_sound_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_device_options_vibrate.png b/wearable/themes/images/default/Popup/tw_device_options_vibrate.png deleted file mode 100755 index 2a55b33..0000000 Binary files a/wearable/themes/images/default/Popup/tw_device_options_vibrate.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_ic_lock_power_off.png b/wearable/themes/images/default/Popup/tw_ic_lock_power_off.png deleted file mode 100755 index 7049f23..0000000 Binary files a/wearable/themes/images/default/Popup/tw_ic_lock_power_off.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_ic_lock_restart.png b/wearable/themes/images/default/Popup/tw_ic_lock_restart.png deleted file mode 100755 index fa5c8bc..0000000 Binary files a/wearable/themes/images/default/Popup/tw_ic_lock_restart.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_popup_bg_holo_dark.png b/wearable/themes/images/default/Popup/tw_popup_bg_holo_dark.png deleted file mode 100644 index 32c4357..0000000 Binary files a/wearable/themes/images/default/Popup/tw_popup_bg_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Popup/tw_progress_secondary_holo_dark.png b/wearable/themes/images/default/Popup/tw_progress_secondary_holo_dark.png deleted file mode 100644 index 21e691e..0000000 Binary files a/wearable/themes/images/default/Popup/tw_progress_secondary_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate1_holo_dark.png b/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate1_holo_dark.png deleted file mode 100755 index 13f8d3b..0000000 Binary files a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate1_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate2_holo_dark.png b/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate2_holo_dark.png deleted file mode 100755 index 6ec4917..0000000 Binary files a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate2_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate3_holo_dark.png b/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate3_holo_dark.png deleted file mode 100755 index e1ffc85..0000000 Binary files a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate3_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate4_holo_dark.png b/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate4_holo_dark.png deleted file mode 100755 index c18b3a8..0000000 Binary files a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate4_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate5_holo_dark.png b/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate5_holo_dark.png deleted file mode 100755 index 82bb659..0000000 Binary files a/wearable/themes/images/default/Progress/tw_popup_progressbar_indeterminate5_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progress_bg_holo_dark.png b/wearable/themes/images/default/Progress/tw_progress_bg_holo_dark.png deleted file mode 100644 index 9f57f12..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progress_bg_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progress_primary_holo_dark.png b/wearable/themes/images/default/Progress/tw_progress_primary_holo_dark.png deleted file mode 100644 index 0741129..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progress_primary_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progress_secondary_holo_dark.png b/wearable/themes/images/default/Progress/tw_progress_secondary_holo_dark.png deleted file mode 100644 index e2783ec..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progress_secondary_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate1_holo_dark.png b/wearable/themes/images/default/Progress/tw_progressbar_indeterminate1_holo_dark.png deleted file mode 100755 index 4004ddc..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate1_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate2_holo_dark.png b/wearable/themes/images/default/Progress/tw_progressbar_indeterminate2_holo_dark.png deleted file mode 100755 index 01fa87b..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate2_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate3_holo_dark.png b/wearable/themes/images/default/Progress/tw_progressbar_indeterminate3_holo_dark.png deleted file mode 100755 index bc86086..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate3_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate4_holo_dark.png b/wearable/themes/images/default/Progress/tw_progressbar_indeterminate4_holo_dark.png deleted file mode 100755 index 475c89c..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate4_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate5_holo_dark.png b/wearable/themes/images/default/Progress/tw_progressbar_indeterminate5_holo_dark.png deleted file mode 100755 index 018df73..0000000 Binary files a/wearable/themes/images/default/Progress/tw_progressbar_indeterminate5_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_scrubber_control_disabled_holo_dark.png b/wearable/themes/images/default/Progress/tw_scrubber_control_disabled_holo_dark.png deleted file mode 100644 index 9eb4d57..0000000 Binary files a/wearable/themes/images/default/Progress/tw_scrubber_control_disabled_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_scrubber_control_holo_dark.png b/wearable/themes/images/default/Progress/tw_scrubber_control_holo_dark.png deleted file mode 100644 index b7c6fdb..0000000 Binary files a/wearable/themes/images/default/Progress/tw_scrubber_control_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_scrubber_control_pressed_holo_dark.png b/wearable/themes/images/default/Progress/tw_scrubber_control_pressed_holo_dark.png deleted file mode 100644 index 9fe56a0..0000000 Binary files a/wearable/themes/images/default/Progress/tw_scrubber_control_pressed_holo_dark.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_01.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_01.png deleted file mode 100644 index d371225..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_02.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_02.png deleted file mode 100644 index 4a47176..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_03.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_03.png deleted file mode 100644 index 247e595..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_04.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_04.png deleted file mode 100644 index 5558b13..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_05.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_05.png deleted file mode 100644 index dccd427..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_06.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_06.png deleted file mode 100644 index 72936b1..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_07.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_07.png deleted file mode 100644 index 216d365..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_08.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_08.png deleted file mode 100644 index 7e21c57..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_09.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_09.png deleted file mode 100644 index 00ccf93..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_10.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_10.png deleted file mode 100644 index 25ea822..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_11.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_11.png deleted file mode 100644 index fe094c9..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_12.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_12.png deleted file mode 100644 index 88722e6..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_13.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_13.png deleted file mode 100644 index fd392db..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_14.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_14.png deleted file mode 100644 index 9ab1764..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_15.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_15.png deleted file mode 100644 index eb5a0f3..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_16.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_16.png deleted file mode 100644 index 9823626..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_17.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_17.png deleted file mode 100644 index a4bd247..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_18.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_18.png deleted file mode 100644 index 08ef8d8..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_19.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_19.png deleted file mode 100644 index 8f8f9ac..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_20.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_20.png deleted file mode 100644 index 5db09af..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_20.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_21.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_21.png deleted file mode 100644 index f803787..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_21.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_22.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_22.png deleted file mode 100644 index d9e52c8..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_22.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_23.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_23.png deleted file mode 100644 index ebb3248..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_23.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_24.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_24.png deleted file mode 100644 index d948516..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_24.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_25.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_25.png deleted file mode 100644 index 1e024b0..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_25.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_26.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_26.png deleted file mode 100644 index e6797c6..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_26.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_27.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_27.png deleted file mode 100644 index a9ea33b..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_27.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_28.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_28.png deleted file mode 100644 index 92eef5d..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_28.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_29.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_29.png deleted file mode 100644 index 2f76212..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_29.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_30.png b/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_30.png deleted file mode 100644 index f692442..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_actionbar_activity_30.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity.png deleted file mode 100644 index f49d239..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_01.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_01.png deleted file mode 100644 index f49d239..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_01.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_02.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_02.png deleted file mode 100644 index 2dac34d..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_02.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_03.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_03.png deleted file mode 100644 index ee8c367..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_03.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_04.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_04.png deleted file mode 100644 index 44f082a..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_04.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_05.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_05.png deleted file mode 100644 index c2d5f2e..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_05.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_06.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_06.png deleted file mode 100644 index bfdb836..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_06.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_07.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_07.png deleted file mode 100644 index 4f30397..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_07.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_08.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_08.png deleted file mode 100644 index 0fe6345..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_08.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_09.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_09.png deleted file mode 100644 index 3eb2a9a..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_09.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_10.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_10.png deleted file mode 100644 index 3c081ca..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_10.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_11.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_11.png deleted file mode 100644 index 90f33b1..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_11.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_12.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_12.png deleted file mode 100644 index 5a4648e..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_12.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_13.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_13.png deleted file mode 100644 index b37c214..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_13.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_14.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_14.png deleted file mode 100644 index f18dbc5..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_14.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_15.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_15.png deleted file mode 100644 index 25a1043..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_15.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_16.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_16.png deleted file mode 100644 index 814e160..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_16.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_17.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_17.png deleted file mode 100644 index 4c7baa3..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_17.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_18.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_18.png deleted file mode 100644 index dfd678f..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_18.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_19.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_19.png deleted file mode 100644 index cd1d2d0..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_19.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_20.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_20.png deleted file mode 100644 index cba8e4f..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_20.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_21.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_21.png deleted file mode 100644 index be8d63d..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_21.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_22.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_22.png deleted file mode 100644 index 14f1356..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_22.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_23.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_23.png deleted file mode 100644 index 575fe01..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_23.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_24.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_24.png deleted file mode 100644 index 8c06703..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_24.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_25.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_25.png deleted file mode 100644 index 67305aa..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_25.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_26.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_26.png deleted file mode 100644 index bbb916d..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_26.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_27.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_27.png deleted file mode 100644 index 177bae7..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_27.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_28.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_28.png deleted file mode 100644 index 45f618d..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_28.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_29.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_29.png deleted file mode 100644 index f7230a5..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_29.png and /dev/null differ diff --git a/wearable/themes/images/default/Progress/tw_widget_popup_activity_30.png b/wearable/themes/images/default/Progress/tw_widget_popup_activity_30.png deleted file mode 100644 index 27c1ee6..0000000 Binary files a/wearable/themes/images/default/Progress/tw_widget_popup_activity_30.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_minus.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_minus.png deleted file mode 100644 index e828d33..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_minus.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_normal.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_normal.png deleted file mode 100644 index 411803c..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_pressed.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_pressed.png deleted file mode 100644 index 9f88f8d..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_left_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_normal.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_normal.png deleted file mode 100644 index 183733f..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_plus.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_plus.png deleted file mode 100644 index 8c40f29..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_plus.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_pressed.png b/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_pressed.png deleted file mode 100644 index 20d65c8..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_dialbtn_right_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_divider.png b/wearable/themes/images/default/TimePicker/tw_timepicker_divider.png deleted file mode 100644 index 30605ce..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_divider.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_left_softbtn.png b/wearable/themes/images/default/TimePicker/tw_timepicker_left_softbtn.png deleted file mode 100644 index 063b2a8..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_left_softbtn.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_focused.png b/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_focused.png deleted file mode 100644 index b26e87c..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_focused.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_normal.png b/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_normal.png deleted file mode 100644 index d42e458..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_num_bg_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot.png b/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot.png deleted file mode 100644 index fc7ab12..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot_01.png b/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot_01.png deleted file mode 100644 index c9a2d8b..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_num_dot_01.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_right_softbtn.png b/wearable/themes/images/default/TimePicker/tw_timepicker_right_softbtn.png deleted file mode 100644 index b0c7f35..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_right_softbtn.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_time_bg.png b/wearable/themes/images/default/TimePicker/tw_timepicker_time_bg.png deleted file mode 100644 index f5bf671..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_time_bg.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_01.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_01.png deleted file mode 100644 index 8305b9e..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_01.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_02.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_02.png deleted file mode 100644 index b50f03d..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_02.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_03.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_03.png deleted file mode 100644 index e2ec360..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_03.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_04.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_04.png deleted file mode 100644 index e3f31fb..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_04.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_05.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_05.png deleted file mode 100644 index 0f12f87..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_05.png and /dev/null differ diff --git a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_06.png b/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_06.png deleted file mode 100644 index bdcdf98..0000000 Binary files a/wearable/themes/images/default/TimePicker/tw_timepicker_wheel_06.png and /dev/null differ diff --git a/wearable/themes/images/default/VI/Sound_edit02.mp4 b/wearable/themes/images/default/VI/Sound_edit02.mp4 deleted file mode 100644 index c65bbf3..0000000 Binary files a/wearable/themes/images/default/VI/Sound_edit02.mp4 and /dev/null differ diff --git a/wearable/themes/images/default/VI/Winset_Popup_Activity_0724(720x1280).mp4 b/wearable/themes/images/default/VI/Winset_Popup_Activity_0724(720x1280).mp4 deleted file mode 100644 index 4e95d06..0000000 Binary files a/wearable/themes/images/default/VI/Winset_Popup_Activity_0724(720x1280).mp4 and /dev/null differ diff --git a/wearable/themes/images/default/VI/Winset_Popup_Activity_0724.mp4 b/wearable/themes/images/default/VI/Winset_Popup_Activity_0724.mp4 deleted file mode 100644 index dbf904b..0000000 Binary files a/wearable/themes/images/default/VI/Winset_Popup_Activity_0724.mp4 and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_bg.png b/wearable/themes/images/default/slider/tw_button_controller_bg.png deleted file mode 100644 index 35f6a15..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_bg.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_bg_100.png b/wearable/themes/images/default/slider/tw_button_controller_bg_100.png deleted file mode 100644 index fc3adab..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_bg_100.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_bg_press.png b/wearable/themes/images/default/slider/tw_button_controller_bg_press.png deleted file mode 100644 index 171e0b8..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_bg_press.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_icon_mute.png b/wearable/themes/images/default/slider/tw_button_controller_icon_mute.png deleted file mode 100644 index 2355cc4..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_icon_mute.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_icon_pause.png b/wearable/themes/images/default/slider/tw_button_controller_icon_pause.png deleted file mode 100755 index d7be4a0..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_icon_pause.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_button_controller_icon_play.png b/wearable/themes/images/default/slider/tw_button_controller_icon_play.png deleted file mode 100755 index 9b8e3e9..0000000 Binary files a/wearable/themes/images/default/slider/tw_button_controller_icon_play.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_ff_dim.png b/wearable/themes/images/default/slider/tw_controller_btn_ff_dim.png deleted file mode 100755 index 9b81ee6..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_ff_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_ff_normal.png b/wearable/themes/images/default/slider/tw_controller_btn_ff_normal.png deleted file mode 100755 index 2029d7c..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_ff_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_ff_press.png b/wearable/themes/images/default/slider/tw_controller_btn_ff_press.png deleted file mode 100755 index 8134da4..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_ff_press.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_minus_dim.png b/wearable/themes/images/default/slider/tw_controller_btn_minus_dim.png deleted file mode 100755 index 17a9ba1..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_minus_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_minus_normal.png b/wearable/themes/images/default/slider/tw_controller_btn_minus_normal.png deleted file mode 100755 index d7a0064..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_minus_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_minus_pressed.png b/wearable/themes/images/default/slider/tw_controller_btn_minus_pressed.png deleted file mode 100755 index f915470..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_minus_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_plus_dim.png b/wearable/themes/images/default/slider/tw_controller_btn_plus_dim.png deleted file mode 100755 index 0f73347..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_plus_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_plus_normal.png b/wearable/themes/images/default/slider/tw_controller_btn_plus_normal.png deleted file mode 100755 index e3823c3..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_plus_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_plus_pressed.png b/wearable/themes/images/default/slider/tw_controller_btn_plus_pressed.png deleted file mode 100755 index e0d7382..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_plus_pressed.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_rw_dim.png b/wearable/themes/images/default/slider/tw_controller_btn_rw_dim.png deleted file mode 100755 index dc0e09b..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_rw_dim.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_rw_normal.png b/wearable/themes/images/default/slider/tw_controller_btn_rw_normal.png deleted file mode 100755 index 09a959b..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_rw_normal.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_btn_rw_press.png b/wearable/themes/images/default/slider/tw_controller_btn_rw_press.png deleted file mode 100755 index d8c82dd..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_btn_rw_press.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_module_close.png b/wearable/themes/images/default/slider/tw_controller_module_close.png deleted file mode 100755 index 297c5fa..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_module_close.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_module_ff.png b/wearable/themes/images/default/slider/tw_controller_module_ff.png deleted file mode 100755 index 1338901..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_module_ff.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_module_minus.png b/wearable/themes/images/default/slider/tw_controller_module_minus.png deleted file mode 100755 index f45b6d7..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_module_minus.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_module_plus.png b/wearable/themes/images/default/slider/tw_controller_module_plus.png deleted file mode 100755 index 895cb92..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_module_plus.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_controller_module_rw.png b/wearable/themes/images/default/slider/tw_controller_module_rw.png deleted file mode 100755 index 209e1ec..0000000 Binary files a/wearable/themes/images/default/slider/tw_controller_module_rw.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_number_controller_icon_brightness.png b/wearable/themes/images/default/slider/tw_number_controller_icon_brightness.png deleted file mode 100755 index 2a1d356..0000000 Binary files a/wearable/themes/images/default/slider/tw_number_controller_icon_brightness.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_number_controller_icon_outdoor.png b/wearable/themes/images/default/slider/tw_number_controller_icon_outdoor.png deleted file mode 100755 index 33cde3f..0000000 Binary files a/wearable/themes/images/default/slider/tw_number_controller_icon_outdoor.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_mute.png b/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_mute.png deleted file mode 100755 index 1bc7889..0000000 Binary files a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_mute.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_sound.png b/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_sound.png deleted file mode 100755 index e2d4f42..0000000 Binary files a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_sound.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_vibrate.png b/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_vibrate.png deleted file mode 100755 index 44e1ff4..0000000 Binary files a/wearable/themes/images/default/slider/tw_number_controller_icon_ringtone_vibrate.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_popup_button_controller_icon_pause.png b/wearable/themes/images/default/slider/tw_popup_button_controller_icon_pause.png deleted file mode 100755 index 1452478..0000000 Binary files a/wearable/themes/images/default/slider/tw_popup_button_controller_icon_pause.png and /dev/null differ diff --git a/wearable/themes/images/default/slider/tw_popup_button_controller_icon_play.png b/wearable/themes/images/default/slider/tw_popup_button_controller_icon_play.png deleted file mode 100755 index 1c8ede4..0000000 Binary files a/wearable/themes/images/default/slider/tw_popup_button_controller_icon_play.png and /dev/null differ diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_left.png b/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_left.png deleted file mode 100644 index 03df769..0000000 Binary files a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_left.png and /dev/null differ diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_middle.png b/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_middle.png deleted file mode 100644 index fcedbc7..0000000 Binary files a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_middle.png and /dev/null differ diff --git a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_right.png b/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_right.png deleted file mode 100644 index 98546de..0000000 Binary files a/wearable/themes/images/default/temp/Copy_Paste/copy&paste_Magnifier_right.png and /dev/null differ diff --git a/wearable/themes/inc/default_inc.edc b/wearable/themes/inc/default_inc.edc deleted file mode 100755 index a007b17..0000000 --- a/wearable/themes/inc/default_inc.edc +++ /dev/null @@ -1,639 +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. - */ - - -//*** This file defines the width, height (not color!) for W widgets *** // - -// ************* Naming ************ // -// {WIDGET}_{PART}_{TYPE}_{STATE}_COLOR - - -// ***************************** Action bar ***********************************/ -#define ACTIONBAR_PADDING_SIZE 16 -#define ACTIONBAR_HEIGHT 52 -#define ACTIONBAR_TEXT_SIZE 30 -#define ACTIONBAR_ICON_SIZE 34 34 -#define ACTIONBAR_NEXT_BTN_SIZE 68 52 -#define ACTIONBAR_FADE_WIDTH 14 -// Logs -#define ACTIONBAR_LOGS_HEIGHT 87 -#define ACTIONBAR_LOGS_NEXT_BTN_SIZE 64 87 - -// ***************************** Sroller **************************************/ -#define SCROLLER_VBAR_MIN_SIZE 4 16 -#define SCROLLER_VBAR_MAX_SIZE 4 99999 -#define SCROLLER_HBAR_MIN_SIZE 16 4 -#define SCROLLER_HBAR_MAX_SIZE 99999 4 -#define SCROLLER_VBAR_PADDING_TOP_SIZE 2 -#define SCROLLER_VBAR_PADDING_BOTTOM_SIZE 2 -#define SCROLLER_VBAR_PADDING_LEFT_SIZE 2 -#define SCROLLER_VBAR_PADDING_RIGHT_SIZE 2 -#define SCROLLER_HBAR_PADDING_TOP_SIZE 2 -#define SCROLLER_HBAR_PADDING_BOTTOM_SIZE 2 -#define SCROLLER_HBAR_PADDING_LEFT_SIZE 2 -#define SCROLLER_HBAR_PADDING_RIGHT_SIZE 2 - -// ***************************** LIst *****************************************/ -#define LIST_PADDING_LEFT_SIZE 16 -#define LIST_PADDING_RIGHT_SIZE 16 -#define LIST_PADDING_DEFAULT_SIZE 16 -#define LIST_PADDING_R_ICON_RIGHT_SIZE 8 -#define LIST_PADDING_R_ICON_DEFAULT_SIZE 8 -#define LIST_GROUPINDEX_PADDING_TOP_SIZE 1 -#define LIST_GROUPINDEX_PADDING_BOTTOM_SIZE 1 -#define LIST_1LINE_HEIGHT 90 -#define LIST_1LINE_PADDING_TOP_SIZE 22 -#define LIST_1LINE_PADDING_BOTTOM_SIZE 23 -#define LIST_2LINE_PADDING_TOP_SIZE 8 -#define LIST_2LINE_PADDING_BOTTOM_SIZE 9 -#define LIST_TEXT_MAIN_SIZE 38 -#define LIST_TEXT_SUB_SIZE 24 -#define LIST_TEXT_SWEEP_SIZE 32 -#define LIST_DIVIDER_HEIGHT 50 -#define LIST_DIVIDER_PADDING_SIZE 8 -#define LIST_GROUPINDEX_HEIGHT 28 -#define LIST_GROUPINDEX_TEXT_SIZE 24 -#define LIST_HIDDEN_HEIGHT 76 -#define LIST_MULTILINE_HEIGHT 44 -// Email -#define LIST_EMAIL_NEW_TEXT_SIZE 20 -#define LIST_EMAIL_ADDRESS_TEXT_SIZE 24 -#define LIST_EMAIL_NUMBER_TEXT_SIZE 24 -#define LIST_EMAIL_GROUP_PADDING_TOP_SIZE 9 -#define LIST_EMAIL_GROUP_PADDING_BOTTOM_SIZE 9 -#define LIST_EMAIL_GROUP_PADDING_RIGHT_SIZE 7 -#define LIST_EMAIL_GROUP_HEIGHT 34 -#define LIST_EMAIL_GROUP_PADDING_SIZE 3 -// Weather -#define LIST_WEATHER_PADDING_LEFT_SIZE 12 -#define LIST_WEATHER_PADDING_RIGHT_SIZE 15 -#define LIST_WEATHER_TIME_HEIGHT 59 -#define LIST_WEATHER_TIME_TEXT_SIZE 20 -// Notification -#define LIST_NOTI_ICON_SIZE 52 52 -#define LIST_NOTI_NUMBER_ICON_HEIGHT 30 -#define LIST_NOTI_TEXT_SIZE 24 -// Svoice -#define LIST_SVOICE_TIME_TEXT_WIDTH 94 -// Logs -#define LIST_LOGS_ICON_SIZE 50 38 -#define LIST_LOGS1_ICON_SIZE 33 33 -#define LIST_LOGS_TEXT_MAIN_SIZE 34 // 38 NOT USED -#define LIST_LOGS_TEXT_SUB_SIZE 20 // 24 NOT USED -#define LIST_LOGS_TEXT_ACTIONBAR_MAIN_SIZE 34 // 38 NOT USED -#define LIST_LOGS_TEXT_ACTIONBAR_SUB_SIZE 22 // 24 NOT USED -#define LIST_LOGS_PADDING_TOP_SIZE 24 // 22 NOT USED -#define LIST_LOGS_PADDING_BOTTOM_SIZE 25 // 23 NOT USED -#define LIST_LOGS_PADDING_DEFAULT_SIZE 16 -#define LIST_LOGS1_PADDING_DEFAULT_SIZE 8 // 0 NOT USED -#define LIST_LOGS1_PADDING_TOP_SIZE 12 // 8 NOT USED -#define LIST_LOGS1_PADDING_BOTTOM_SIZE 6 // 9 NOT USED -#define LIST_LOGS1_TEXT_RIGHT_PADDING_SIZE 20 -#define LIST_LOGS_HEIGHT 38 // 45 NOT USED -#define LIST_LOGS_SUB_HEIGHT 24 // 28 NOT USED -#define LIST_LOGS1_SUB_MAX_WIDTH 118 // NOT USED -// Device option -#define LIST_DEVICE_OPTION_PADDING_LEFT_SIZE 25 // NOT USED -#define LIST_DEVICE_OPTION_PADDING_RIGHT_SIZE 25 // NOT USED -#define LIST_DEVICE_OPTION_PADDING_TOP_SIZE 26 // NOT USED -#define LIST_DEVICE_OPTION_PADDING_BOTTOM_SIZE 26 // NOT USED -#define LIST_DEVICE_OPTION_ICON_MIN_MAX_SIZE 50 50 -#define LIST_DEVICE_OPTION_PADDING_DEFAULT_SIZE 12 // NOT USED -#define LIST_DEVICE_OPTION_HEIGHT 102 -#define LIST_DEVICE_OPTION_TEXT_MAIN_SIZE 34 -#define LIST_DEVICE_OPTION_TEXT_SUB_SIZE 22 -#define LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE 154 102 -#define LIST_DEVICE_OPTION_ICON_DIVIDER_MIN_MAX_INC 1 64 -// Swipe -#define LIST_SWIPE_TEXT_SIZE 38 - - -// ***************************** Button ***************************************/ -#define BUTTON_TEXT_SIZE 31 -#define BUTTON_HEIGHT 76 -#define BUTTON_NEXTDEPTH_SIZE 50 50 -#define BUTTON_PLUS_SIZE 68 68 -#define BUTTON_BOTTOM_SIZE_LEFT 160 74 -#define BUTTON_BOTTOM_SIZE_RIGHT 159 74 -#define BUTTON_DELETE_SIZE 50 50 -#define BUTTON_PADDING_SIZE 1 0 -#define BUTTON_ICON_SIZE 60 60 -// Naviframe -#define BUTTON_NAVIFRAME_BG_BORDER_SIZE 15 15 15 15 -// Contoller -#define BUTTON_CONTROLLER_SIZE 66 76 -// Mini -#define BUTTON_MINI_ICON_SIZE 110 110 -#define BUTTON_MINI_ICON_ICON_SIZE 68 68 -#define BUTTON_MINI_ICON_TOP_LEFT_PADDING_SIZE 21 21 -#define BUTTON_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE 21 21 -// Divider -#define BUTTON_DIVIDER_BTN_SIZE 67 // ( 1 + 8 + 50 + 8 ) -#define BUTTON_DIVIDER_BTN_ICON_SIZE 50 -#define BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 9 // LEFT PADDING + DIVIDER LINE ( 8 + 1 ) -#define BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 8 -// Call -#define BUTTON_CALL_MENU_SIZE 72 72 -// Calendar -#define BUTTON_SCHEDULE_SIZE 52 52 -#define BUTTON_NAVIFRAME_SCHEDULE_SIZE 52 52 -// Device_option -#define BUTTON_DEVICE_OPTION_SIZE 154 0 -#define BUTTON_DEVICE_OPTION_TOP_PADDING_SIZE 8 -#define BUTTON_DEVICE_OPTION_ICON_SIZE 50 36 -#define BUTTON_DEVICE_OPTION_TEXT_PART_SIZE 134 58 -#define BUTTON_DEVICE_OPTION_LR_PADDING_SIZE 10 - -// ***************************** Check ****************************************/ -#define CHECK_SIZE 50 50 -#define CHECK_TOGGLE_SIZE 140 70 -#define CHECK_TOGGLE_THUMB_SIZE 86 70 -// popup -#define CHECK_TEXT_SIZE 34 -#define CHECK_PADDING_SIZE 10 0 -// Mini -#define CHECK_MINI_ICON_SIZE 110 110 -#define CHECK_MINI_ICON_ICON_SIZE 68 68 -#define CHECK_MINI_ICON_TOP_LEFT_PADDING_SIZE 21 21 -#define CHECK_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE 21 21 -// Email -#define CHECK_EMAIL_ICON_NEW_SIZE 32 32 - -// ***************************** Index ****************************************/ -// Scroll -#define INDEX_SCROLL_PADDING_SIZE 2 -#define INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE 24 -#define INDEX_SCROLL_HANDLE_ITEM_WIDTH 40 -#define INDEX_SCROLL_HANDLE_ITEM_HEIGHT 36 -#define INDEX_SCROLL_POPUP_TEXT_SIZE 70 -#define INDEX_SCROLL_2DEPTH_FOCUS_SIZE 34 -#define INDEX_SCROLL_DRAG_PART_SIZE 20 40 -#define INDEX_SCROLL_REF_RECT_SIZE 40 0 -#define INDEX_SCROLL_TEXT1_DEFAULT_SIZE 140 87 -#define INDEX_SCROLL_TEXT1_ACTIVE_SIZE 70 87 -#define INDEX_SCROLL_POPUP_TEXT_SIZE 70 -#define INDEX_SCROLL_POPUP_SIZE 140 87 -// Tab -#define INDEX_TAB_HEIGHT 6 -// Thumbnail -#define INDEX_THUMBNAIL_BG_SIZE 17 14 -#define INDEX_THUMBNAIL_IND_SIZE 14 14 -#define INDEX_THUMBNAIL_IMAGE_BORDER_SIZE 6 6 5 7 - -// ***************************** Gengrid **************************************/ -#define GENGRID_DEFAULT_PADDING_LT_SIZE 0 0 -#define GENGRID_DEFAULT_PADDING_RB_SIZE 0 0 -#define GENGRID_DEFAULT_PADDING_ITEM_BG_LT_SIZE 0 0 -#define GENGRID_DEFAULT_PADDING_ITEM_BG_RB_SIZE 0 0 -#define GENGRID_GALLERY_PADDING_LT_SIZE 1 1 -#define GENGRID_GALLERY_PADDING_RB_SIZE 1 1 -#define GENGRID_GALLERY_ICON_PADDING_LT_SIZE 8 8 -#define GENGRID_GALLERY_ICON_TOP_SIZE 38 38 -#define GENGRID_GALLERY_ICON_CENTER_SIZE 72 72 -#define GENGRID_GALLERY_ICON_PADDING_LT_SIZE 8 8 -#define GENGRID_IMAGE_VIEWER_PADDING_LT_SIZE 2 2 -#define GENGRID_IMAGE_VIEWER_PADDING_RB_SIZE 2 2 -#define GENGRID_IMAGE_VIEWER_SELECT_LINE_BORDER 4 4 4 4; - -// ***************************** Popup ****************************************/ -#define NOTIFY_SIZE 320 320 -#define POPUP_PADDING_LT_SIZE 0 0 -#define POPUP_PADDING_RB_SIZE 0 0 -#define POPUP_IMAGE_BORDER_SIZE 6 6 6 6 -#define POPUP_IMAGE_OFFSET_SIZE 6 -#define POPUP_TEXT_PADDING_LEFT_SIZE 22 -#define POPUP_TEXT_PADDING_RIGHT_SIZE 22 -#define POPUP_TITLE_HEIGHT 60 -#define POPUP_TITLE_TEXT_SIZE 30 -#define POPUP_BUTTON_HEIGHT 70 -#define POPUP_BUTTON_CENTER_PADDING_SIZE 1 -#define POPUP_BODY_TEXT_SIZE 34 -#define POPUP_BODY_TEXT_PADDING_TOP_SIZE (10-POPUP_IMAGE_OFFSET_SIZE) -#define POPUP_BODY_TEXT_PADDING_BOTTOM_SIZE (10-POPUP_IMAGE_OFFSET_SIZE) -#define POPUP_BODY_TEXT_PADDING_LEFT_SIZE (POPUP_TEXT_PADDING_LEFT_SIZE-POPUP_IMAGE_OFFSET_SIZE) -#define POPUP_BODY_TEXT_PADDING_RIGHT_SIZE (POPUP_TEXT_PADDING_RIGHT_SIZE-POPUP_IMAGE_OFFSET_SIZE) -// Popup -Toast -#define POPUP_TOAST_BG_WIDTH 320 -#define POPUP_TOAST_PADDING_BOTTOM_SIZE 0 -#define POPUP_TOAST_PADDING_LEFT_SIZE 22 -#define POPUP_TOAST_PADDING_RIGHT_SIZE 22 -#define POPUP_TOAST_PADDING_TOP_SIZE 16 -#define POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE 16 -#define POPUP_TOAST_TEXT_WIDTH 280 -#define POPUP_TOAST_TEXT_SIZE 34 -// Popup - 2 Finger -#define POPUP_2FINGER_BG_MIN_SIZE 320 320 -#define POPUP_2FINGER_INDI_MIN_MAX_SIZE 52 -#define POPUP_2FINGER_INDI_PADDING_SIZE 3 -#define POPUP_2FINGER_CONTENT_PADDING_WIDTH 15 -#define POPUP_2FINGER_CONTENT_PADDING_HEIGHT 16 - -// ***************************** Progressbar **********************************/ -#define PROGRESS_BG_BORDER_SIZE 6 6 2 2 -#define PROGRESS_BAR_IMAGE_BORDER_SIZE 6 6 2 2 -#define PROGRESSBAR_HEIGHT 6 -#define PROGRESSBAR_PENDING_SIZE 288 6 -#define PROGRESSBAR_POPUP_PENDING_SIZE 258 6 -#define PROGRESSBAR_ACTIVITY_IMAGE_SIZE 80 80 -#define PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE 28 28 - -// ***************************** Layout ***************************************/ -#define BUTTON_CONTROLLER_PADDING_LT_SIZE 8 8 -#define BUTTON_CONTROLLER_PADDING_RB_SIZE 8 8 -#define BUTTON_CONTROLLER_ICON_CENTER_SIZE 168 168 -#define BUTTON_CONTROLLER_ICON_SIZE 68 68 -#define POPUP_BUTTON_CONTROLLER_BG_SIZE 288 76 -#define POPUP_BUTTON_CONTROLLER_LR_PADDING_SIZE 1 76 -#define POPUP_BUTTON_CONTROLLER_CONTENT_BG_SIZE 87 76 -#define POPUP_BUTTON_CONTROLLER_ICON_SIZE 48 48 -// Layout - Body -#define BODY_ICON_SIZE 206 187 -#define BODY_NORMAL_PADDING_LEFT_SIZE 10 -#define BODY_NORMAL_PADDING_RIGHT_SIZE 10 -#define BODY_NORMAL_PADDING_TOP_SIZE 26 -#define BODY_NORMAL_PADDING_BOTTOM_SIZE 23 -#define BODY_NORMAL_PADDING_MIDDLE_SIZE 3 -#define BODY_NORMAL_TEXT_SIZE 34 -#define BODY_NORMAL_TEXT_SUB_SIZE 24 -#define BODY_NORMAL_1LINE_TEXT_HEIGHT 84 -#define BODY_NORMAL_2LINE_TEXT_HEIGHT 42 -#define BODY_NORMAL_2LINE_TEXT_SUB_HEIGHT 30 -#define BODY_THUMBNAIL_SIZE 240 240 -#define BODY_THUMBNAIL_LINE_SIZE 3 -// Layout - No Item -#define NOITEM_TEXT_SIZE 32 -// Layout - No Item - Schedule -#define NOSCHEDULE_ITEM_TEXT_SIZE 24 - -// ***************************** Slider ***************************************/ -#define SLIDER_IND_WIDTH 46 -#define SLIDER_IND_HEIGHT 46 -#define SLIDER_PADDING_LEFT 16 -#define SLIDER_PADDING_RIGHT 16 - -// ***************************** Radio ****************************************/ -// Date Time -#define RADIO_TIME_PICKER_AM_PM_TEXT_SIZE 34 -#define RADIO_TIME_PICKER_AM_PM_MIN_SIZE 102 102 -#define RADIO_TIME_PICKER_DAY_TEXT_SIZE 42 -#define RADIO_TIME_PICKER_DATE_TEXT_SIZE 40 - -// ***************************** Datetime *************************************/ -#define DATETIME_WIDGET_HEIGHT 74 -#define DATETIME_FIELD_LEFT_PADDING_SIZE 5 74 -#define DATETIME_FIELD_RIGHT_PADDING_SIZE 5 74 -#define DATETIME_FIELD_PICKER_PADDING_SIZE 40 74 -#define DATETIME_FIELD_MIN_SIZE 0 74 -#define DATETIME_SEPARATOR_MIN_SIZE 10 74 -#define DATETIME_WIDGET_PADDING_SIZE 36 74 -#define DATETIME_SEPARATOR_TEXT_FONT_SIZE 44 -#define DATETIME_PICKER_BG_PADDING_SIZE 12 0 -#define DATETIME_DEFAULT_BG_SIZE 320 230 -#define DATETIME_DATE_TOP_PADDING_HEIGHT 56 -#define DATETIME_TIME_TOP_PADDING_HEIGHT 56 -#define DATETIME_DEFAULT_BOTTOM_PADDING_HEIGHT 35 -#define DATETIME_DEFAULT_CONTENT_BOTTOM_PADDING_HEIGHT 29 -#define DATETIME_TIME_CONTENT_BOTTOM_AMPM_PADDING_HEIGHT 12 -#define DATETIME_DATE_CONTENT_FIELD_HEIGHT 52 -#define DATETIME_TIME_CONTENT_FIELD_HEIGHT 52 -#define DATETIME_DEFAULT_BUTTON_LEFT_PADDING_WIDTH 21 -#define DATETIME_DEFAULT_BUTTON_RIGHT_PADDING_WIDTH 21 -#define DATETIME_DEFAULT_BUTTON_FIELD_HEIGHT 72 -#define DATETIME_AMPM_BUTTON_FIELD_HEIGHT 102 -#define DATETIME_DATE_LEFT_PADDING_WIDTH 12 -#define DATETIME_DATE_MONTH_FIELD_WIDTH 102 -#define DATETIME_DATE_DATE_FIELD_WIDTH 68 -#define DATETIME_DATE_YEAR_FIELD_WIDTH 114 -#define DATETIME_DATE_FIELD_PADDING_WIDTH 6 -#define DATETIME_TIME_LEFT_PADDING_WIDTH 35 -#define DATETIME_TIME_AMPM_HIDE_LEFT_PADDING_WIDTH 80 -#define DATETIME_TIME_HOUR_FIELD_WIDTH 74 -#define DATETIME_TIME_MINUTE_FIELD_WIDTH 74 -#define DATETIME_TIME_AMPM_FIELD_WIDTH 84 -#define DATETIME_TIME_SEPARATOR_WIDTH 12 -#define DATETIME_TIME_SEPARATOR_PADDING_WIDTH 0 -#define DATETIME_TIME_FIELD_PADDING_WIDTH 6 - -// ***************************** Spiiner **************************************/ -#define SPINNER_HORIZONTAL_DEFAULT_BG_SIZE 288 76 -#define SPINNER_VERTICAL_DEFAULT_BG_SIZE 168 304 -#define SPINNER_ICON_LEFT_RIGHT_SIZE 66 76 -#define SPINNER_ICON_TOP_BOTTOM_SIZE 68 68 -#define SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE 168 168 -#define SPINNER_DRAGABLE_PART_MIN_SIZE 90 180 -#define SPINNER_MUSIC_CONTROLLER_TEXT_SIZE 70 -#define SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE 1 76 -#define SPINNER_CONTENT_BG_SIZE 154 76 -#define SPINNER_CENTER_IMAGE_SIZE 48 48 -#define SPINNER_TEXT_TOP_PADDING_HEIGHT 2 -#define SPINNER_TEXT_SIZE 40 -#define SPINNER_BOTTOM_PADDING_SIZE 154 14 - -// ***************************** Entry ****************************************/ -#define ENTRY_TEXT_SIZE 34 -#define MAGNIFIER_HEIGHT_FIXED 164 -#define MAGNIFIER_WIDTH_FIXED 325 -#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 51 79 -#define ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 4 - -// ***************************** Label ****************************************/ -#define LABEL_FONT_SIZE_INC 34 - -// PRESS -#define PRESS_TIMER_VAL 0.1 - -#define STYLE_TAG \ - tag: "br" "\n";\ - tag: "ps" "ps";\ - tag: "tab" "\t";\ - tag: "b" "+ font_weight=Bold"; - -#define STYLE_TAG_MATCH \ - tag: "match" "+ color="TEXT_MATCH_COLOR; - -#define STYLE_TAG_MATCH_FOCUS \ - tag: "match" ; - -styles { - // Index_Scroller Styles - style { name: "Index_scroll_bar_select"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color="INDEX_SCROLL_TEXT_SELECT_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_bar_unselect"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color="INDEX_SCROLL_TEXT_UNSELECT_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_1depth_popup"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=center color="INDEX_SCROLL_TEXT_SELECT1_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_1depth_popup_left_align"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=left color="INDEX_SCROLL_TEXT_SELECT1_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_bar_2depth_focus"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_2DEPTH_FOCUS_SIZE" color="INDEX_SCROLL_TEXT_SELECT1_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_bar_2depth_popup"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_POPUP_TEXT_SIZE" align=right color="INDEX_SCROLL_TEXT_SELECT_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "Index_scroll_bar_2depth_focus_bar"; - base: "font=Tizen:style=Regular font_size="INDEX_SCROLL_HANDLE_ITEM_TEXT_SIZE" align=center color="INDEX_SCROLL_TEXT_SELECT1_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - // Naviframe Style - style { name: "action_bar_title"; - base: "font=Tizen:style=Bold font_size="ACTIONBAR_TEXT_SIZE" color="ACTIONBAR_TEXT_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - // List Style - style { name: "list_text_groupindex_normal"; - base: "font=Tizen:style=Regular font_size="LIST_GROUPINDEX_TEXT_SIZE" color="LIST_TEXT_GROUPINDEX_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_groupindex_sub_normal"; - base: "font=Tizen:style=Regular font_size="LIST_GROUPINDEX_TEXT_SIZE" color="LIST_TEXT_GROUPINDEX_SUB_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_main_normal"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_NORMAL_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_main_dim"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_DIM_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_normal"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_NORMAL_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_dim"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_DIM_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_multiline_normal"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_MULTILINE_NORMAL_COLOR" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_multiline_dim"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_MULTILINE_DIM_COLOR" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_multiline_selected"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_MULTILINE_SELECTED_COLOR" text_class=tizen wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_multiline"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_NORMAL_COLOR" text_class=list_item wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_email_new_style"; - base: "font=Tizen:style=Bold font_size="LIST_EMAIL_NEW_TEXT_SIZE" align=center color="LIST_EMAIL_NEW_TEXT_COLOR" ellipsis=1.0 text_class=tizen"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_email_address_style"; - base: "font=Tizen:style=Regular font_size="LIST_EMAIL_ADDRESS_TEXT_SIZE" align=center color="LIST_EMAIL_ADDRESS_TEXT_COLOR" ellipsis=1.0 text_class=tizen align=left"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_email_number_style"; - base: "font=Tizen:style=Regular font_size="LIST_EMAIL_NUMBER_TEXT_SIZE" align=center color="LIST_EMAIL_NUMBER_TEXT_COLOR" ellipsis=1.0 text_class=tizen"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_weather_time_style"; - base: "font=Tizen:style=Regular font_size="LIST_WEATHER_TIME_TEXT_SIZE" align=center color="LIST_WEATHER_TIME_TEXT_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_noti_style"; - base: "font=Tizen:style=Bold font_size="LIST_NOTI_TEXT_SIZE" align=center color="LIST_NOTI_TEXT_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_sweep_style"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SWEEP_SIZE" align=center color="LIST_SWEEP_TEXT_COLOR" ellipsis=1.0 text_class=tizen align=center"; - STYLE_TAG - STYLE_TAG_MATCH - } - // shealth - style { name: "list_text_shealth_normal"; - base: "font=Tizen:style=Regular align=right font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_NORMAL_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_shealth_dim"; - base: "font=Tizen:style=Regular align=right font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_DIM_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_shealth_normal"; - base: "font=Tizen:style=Regular align=right font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_NORMAL_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_shealth_dim"; - base: "font=Tizen:style=Regular align=right font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_DIM_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - // logs - style { name: "list_logs_style"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_LOGS_TEXT_MAIN_NORMAL" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_logs2_style"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_LOGS_TEXT_MAIN_NORMAL" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_logs_sub_style"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_LOGS_TEXT_SUB_NORMAL" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_logs_action_bar_style"; - base: "font=Tizen:style=Bold font_size="LIST_TEXT_MAIN_SIZE" color="ACTIONBAR_TEXT_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_logs_action_bar_sub_style"; - base: "font=Tizen:style=Bold font_size="LIST_TEXT_SUB_SIZE" color="ACTIONBAR_TEXT_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - // device_option - style { name: "list_device_option_main_normal"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_NORMAL_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "button_popup_device_option_2_text_normal"; - base: "font=Tizen:style=Regular align=center font_size="LIST_DEVICE_OPTION_TEXT_SUB_SIZE" color="LIST_DEVICE_OPTION_TEXT_SUB_NORMAL_COLOR" text_class=tizen wrap=mixed ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "button_popup_device_option_2_text_dim"; - base: "font=Tizen:style=Regular align=center font_size="LIST_DEVICE_OPTION_TEXT_SUB_SIZE" align=center color="LIST_DEVICE_OPTION_TEXT_SUB_DIM_COLOR" text_class=tizen ellipsis=1.0 wrap=mixed"; - STYLE_TAG - STYLE_TAG_MATCH - } - // Nocontent styles - style { name: "nocontent_style"; - base: "font=Tizen:style=Regular font_size="NOITEM_TEXT_SIZE" align=center color="NOITEM_TEXT_COLOR" text_class=label wrap=mixed "; - STYLE_TAG - } - // Noschedule Nocontent - style { name: "nocontent_noschedule_style"; - base: "font=Tizen:style=Regular font_size="NOSCHEDULE_ITEM_TEXT_SIZE" align=center color="NOITEM_NOSCHDEULE_TEXT_COLOR" text_class=label wrap=mixed "; - STYLE_TAG - } - // Button styles - style { name: "button_general_text_normal"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color="BUTTON_TEXT_NORMAL_COLOR" ellipsis=1.0 wrap=mixed text_class=button"; - STYLE_TAG - } - style { name: "button_general_text_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE" align=center color="BUTTON_TEXT_DIM_COLOR" ellipsis=1.0 wrap=mixed text_class=button"; - STYLE_TAG - } - style { name: "check_text_normal"; - base: "font=Tizen:style=Regular font_size="CHECK_TEXT_SIZE" align=left color="CHECK_TEXT_NORMAL_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - } - style { name: "popup_title_style"; - base: "font=Tizen:style=Bold font_size="POPUP_TITLE_TEXT_SIZE" color="POPUP_TITLE_TEXT_COLOR" ellipsis=1.0 text_class=label"; - STYLE_TAG - } - style { name: "popup_body_default_font_style"; - base: "font=Tizen:style=Regular font_size="POPUP_BODY_TEXT_SIZE" color="POPUP_BODY_TEXT_COLOR" wrap=mixed text_class=label"; - STYLE_TAG - } - style { name: "popup_toast_style"; - base: "font=Tizen:style=Regular font_size="POPUP_TOAST_TEXT_SIZE" color="POPUP_TOAST_TEXT_COLOR" wrap=mixed text_class=label"; - STYLE_TAG - } - style { name: "body_normal_1line_style"; - base: "font=Tizen:style=Bold font_size="BODY_NORMAL_TEXT_SIZE" align=center color="BODY_NORMAL_TEXT_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - STYLE_TAG - } - style { name: "body_normal_2line_style"; - base: "font=Tizen:style=Regular font_size="BODY_NORMAL_TEXT_SUB_SIZE" align=center color="BODY_NORMAL_TEXT_SUB_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen"; - STYLE_TAG - } - style { name: "list_text_main_normal_schedules"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_NORMAL_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_normal_schedules"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_SCHEDULES_TEXT_SUB_NORMAL_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_main_dim_schedules"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_MAIN_SIZE" color="LIST_TEXT_MAIN_DIM_COLOR" text_class=list_item ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_dim_schedules"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_SCHEDULES_TEXT_SUB_DIM_COLOR" text_class=tizen ellipsis=1.0"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_svoice"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_NORMAL_COLOR" text_class=tizen ellipsis=1.0 align=right"; - STYLE_TAG - STYLE_TAG_MATCH - } - style { name: "list_text_sub_dim_svoice"; - base: "font=Tizen:style=Regular font_size="LIST_TEXT_SUB_SIZE" color="LIST_TEXT_SUB_DIM_COLOR" text_class=tizen ellipsis=1.0 align=right"; - STYLE_TAG - STYLE_TAG_MATCH - } -} diff --git a/wearable/themes/inc/theme_default_inc.edc b/wearable/themes/inc/theme_default_inc.edc deleted file mode 100755 index 3dc0e35..0000000 --- a/wearable/themes/inc/theme_default_inc.edc +++ /dev/null @@ -1,233 +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. - */ - - -//*** This file defines the color codes for default theme *** // - -// ****************************** Naming ************************************* / -// {WIDGET}_{PART}_{TYPE}_{STATE}_COLOR -// eg. LIST_TEXT_MAIN_NORMAL_COLOR - -#define TEXT_MATCH_COLOR "#FF9000FF" - -// ***************************** Background ********************************** / -#define BG_COLOR 0 0 0 255 - -// ***************************** Action bar ********************************** / -#define ACTIONBAR_TEXT_COLOR "#FFFFFFFF" -#define ACTIONBAR_BG_COLOR 75 66 55 255 -#define ACTIONBAR_BOTTOM_LINE_COLOR 107 86 61 255 -#define ACTIONBAR_MORE_DISABLED_COLOR 255 255 255 51 - -// ***************************** Scroller ************************************ / -#define SCROLLER_BAR_COLOR 102 102 102 255 - -// ***************************** List *****************************************/ -#define LIST_BG_NORMAL_COLOR 0 0 0 255 -#define LIST_BG_PRESSED_COLOR 88 73 58 255 -#define LIST_BG_DIM_COLOR 38 38 38 255 -#define LIST_DIVIDER_COLOR 76 76 76 255 -#define LIST_SWEEP_DIVIDER_COLOR 38 38 38 255 -#define LIST_LINE_COLOR 64 64 64 255 -#define LIST_TEXT_GROUPINDEX_COLOR "#FF9000FF" -#define LIST_TEXT_GROUPINDEX_SUB_COLOR "#FF9000FF" -#define LIST_TEXT_MAIN_NORMAL_COLOR "#FFFFFFFF" -#define LIST_TEXT_MAIN_DIM_COLOR "#333333FF" -#define LIST_TEXT_SUB_NORMAL_COLOR "#BDA792FF" -#define LIST_TEXT_SUB_DIM_COLOR "#333333FF" -#define LIST_TEXT_SUB_MULTILINE_NORMAL_COLOR "#BDA792FF" -#define LIST_TEXT_SUB_MULTILINE_DIM_COLOR "#333333FF" -#define LIST_TEXT_SUB_MULTILINE_SELECTED_COLOR "#BDA792FF" -// Groupindex -#define LIST_GROUPINDEX_BG_NORMAL_COLOR 39 35 33 255 -#define LIST_GROUPINDEX_BG_PRESSED_COLOR 88 74 58 255 -// Email -#define LIST_EMAIL_NEW_TEXT_COLOR "#FFFFFFFF" -#define LIST_EMAIL_ADDRESS_TEXT_COLOR "#FF9000FF" -#define LIST_EMAIL_NUMBER_TEXT_COLOR "#FF9000FF" -// Weahter -#define LIST_WEATHER_TIME_TEXT_COLOR "#FFFFFFFF" -// Notifications -#define LIST_NOTI_TEXT_COLOR "#FFFFFFFF" -// Swipe -#define LIST_SWEEP_BG_NORMAL_COLOR 53 48 44 255 -#define LIST_SWEEP_TEXT_COLOR "#FFFFFF7F" -// Schedules -#define LIST_SCHEDULES_TEXT_SUB_NORMAL_COLOR "#FFFFFF3F" -#define LIST_SCHEDULES_TEXT_SUB_DIM_COLOR "#3333333F" -#define LIST_SCHEDULES_LINE_COLOR 96 96 96 255 -#define LIST_SCHEDULES_BG_PRESSED_COLOR 88 76 48 255 -// logs -#define LIST_LOGS_TEXT_MAIN_NORMAL "#FFFFFFFF" -#define LIST_LOGS_TEXT_SUB_NORMAL "#FFFFFF7F" -// Device_option -#define LIST_DEVICE_OPTION_TEXT_MAIN_NORMAL_COLOR "#FFFFFFFF" -#define LIST_DEVICE_OPTION_TEXT_SUB_NORMAL_COLOR "#FFFFFFFF" -#define LIST_DEVICE_OPTION_TEXT_SUB_DIM_COLOR "#444444FF" -#define LIST_DEVICE_OPTION_LINE_COLOR 34 34 34 255 -#define LIST_DEVICE_OPTION_ICON_DIVIDER_COLOR 34 34 34 255 -// Swipe -#define LIST_SWIPE_TEXT_COLOR 255 255 255 255 - -// ***************************** Button ***************************************/ -#define BUTTON_TEXT_NORMAL_COLOR "#FFFFFFFF" -#define BUTTON_TEXT_DIM_COLOR "#FFFFFF33" -#define BUTTON_SWALLOW_DIM_COLOR 255 255 255 51 -#define BUTTON_BOTTOM_PRESSED_COLOR 255 255 255 255 -#define BUTTON_BOTTOM_DIM_COLOR 255 255 255 51 -#define BUTTON_DELETE_PRESSED_COLOR 255 255 255 255 -#define BUTTON_DELETE_DIM_COLOR 255 255 255 127 -#define BUTTON_DIVIDER_BTN_ICON_DIM_COLOR 255 255 255 127 -#define BUTTON_ICON_CALL_MENU_NORMAL_COLOR 255 255 255 255 -#define BUTTON_ICON_CALL_MENU_PRESSED_COLOR 255 255 255 255 -#define BUTTON_ICON_CALL_MENU_DIM_COLOR 255 255 255 255 -// Controller -#define BUTTON_CONTROLLER_NORMAL_COLOR 51 51 51 255 -#define BUTTON_CONTROLLER_PRESS_COLOR 99 93 89 255 -#define BUTTON_CONTROLLER_DISABLE_COLOR 51 51 51 255 -#define BUTTON_CONTROLLER_CLIP_NORMAL_COLOR 255 255 255 255 -#define BUTTON_CONTROLLER_CLIP_PRESS_COLOR 255 255 255 255 -#define BUTTON_CONTROLLER_CLIP_DISABLE_COLOR 255 255 255 51 -// Device Option -#define BUTTON_DEVICE_OPTION_SWALLOW_DIM_COLOR 68 68 68 255 -#define BUTTON_DEFAULT_NORMAL_BG_COLOR 75 66 55 255 -#define BUTTON_DEFAULT_PRESS_BG_COLOR 99 93 89 255 -#define BUTTON_DEFAULT_DISABLE_BG_COLOR 29 26 24 255 -#define BUTTON_RED_NORMAL_BG_COLOR 206 35 2 255 -#define BUTTON_RED_PRESS_BG_COLOR 221 101 78 255 -#define BUTTON_RED_DISABLE_BG_COLOR 78 25 16 255 -#define BUTTON_ORANGE_NORMAL_BG_COLOR 237 134 0 255 -#define BUTTON_ORANGE_PRESS_BG_COLOR 242 171 77 255 -#define BUTTON_ORANGE_DISABLE_BG_COLOR 70 40 5 255 -#define BUTTON_GREEN_NORMAL_BG_COLOR 98 164 17 255 -#define BUTTON_GREEN_PRESS_BG_COLOR 145 191 89 255 -#define BUTTON_GREEN_DISABLE_BG_COLOR 38 53 30 255 -#define BUTTON_POPUP_NORMAL_BG_COLOR 75 66 55 255 -#define BUTTON_POPUP_PRESS_BG_COLOR 99 93 89 255 -#define BUTTON_POPUP_DISABLE_BG_COLOR 29 26 24 255 -#define BUTTON_NEXTDEPTH_PRESS_BG_COLOR 255 144 0 255 -#define BUTTON_NEXTDEPTH_DISABLE_BG_COLOR 51 51 51 255 -// Calendar -#define BUTTON_SCHEDULE_NORMAL_COLOR 93 169 1 255 -#define BUTTON_SCHEDULE_PRESS_COLOR 145 191 94 255 - -// ***************************** Check ****************************************/ -#define CHECK_TEXT_NORMAL_COLOR "#FFFFFFFF" - -// ***************************** Index ****************************************/ -// Scroll -#define INDEX_SCROLL_BG_COLOR_INC 34 34 34 255 -#define INDEX_SCROLL_TEXT_SELECT_COLOR "#FFFFFFFF" -#define INDEX_SCROLL_TEXT_UNSELECT_COLOR "#595959FF" -#define INDEX_SCROLL_TEXT_SELECT1_COLOR "#FF9000FF" -#define INDEX_SCROLL_PADDING_COLOR 34 34 34 255 -#define INDEX_SCROLL_HANDLE_BG_NORMAL_COLOR 34 34 34 255 -#define INDEX_SCROLL_HANDLE_BG_PRESSED_COLOR 255 144 0 255 -#define INDEX_SCROLL_HANDLE_TEXT_NORMAL_COLOR 89 89 89 255 -#define INDEX_SCROLL_HANDLE_TEXT_PRESSED_COLOR 255 144 0 255 -#define INDEX_SCROLL_HANDLE_2DEPTH_BG_NORMAL_COLOR 44 44 44 255 -#define INDEX_SCROLL_POPUP_TEXT_COLOR 255 144 0 255 -#define INDEX_SCROLL_POPUP_BG_COLOR 88 73 58 255 -// Tab -#define INDEX_TAB_COLR 53 48 44 255 -#define INDEX_TAB_FOCUS_COLR 249 145 7 255 -// Thumbnail -#define INDEX_THUMBNAIL_COLOR 26 26 26 255 -#define INDEX_THUMBNAIL_FOCUS_COLOR 255 255 255 255 -#define INDEX_THUMBNAIL_LINE_FOCUS_COLOR 255 144 0 255 -#define INDEX_THUMBNAIL_LINE_UNFOCUS_COLOR 255 144 0 55 - -// ***************************** GenGrid **************************************/ -#define GENGRID_BG_COLOR 0 0 0 0 - -// ***************************** Popup ****************************************/ -#define POPUP_TITLE_TEXT_COLOR "#FF9000FF" -#define POPUP_BODY_TEXT_COLOR "#F5F5F5FF" -#define POPUP_TOAST_TEXT_COLOR "#F5F5F5FF" -#define POPUP_TITLE_LINE_COLOR 67 67 67 255 - -// ***************************** Progressbar **********************************/ - -// ***************************** Layout ***************************************/ -// No Items -#define NOITEM_TEXT_COLOR "#FFFFFF" -// No Schdeule -#define NOITEM_NOSCHDEULE_TEXT_COLOR "#FFFFFF7F" -// Body -#define BODY_NORMAL_TEXT_COLOR "#FFFFFFFF" -#define BODY_NORMAL_TEXT_SUB_COLOR "#FF9000FF" -#define BODY_THUMBNAIL_BG_COLOR 26 26 26 255 -// Popup button controllers -#define POPUP_BUTTON_CONTROLLER_CONTENT_BG_COLOR 51 51 51 255 - -// ***************************** Slider ***************************************/ - -// ***************************** Radio ****************************************/ -#define RADIO_DATETIME_TEXT_NORMAL_COLOR 255 255 255 255 -#define RADIO_DATETIME_TEXT_FOCUSED_COLOR 0 0 0 255 -#define RADIO_DATETIME_TEXT_DISABLED_COLOR 64 64 64 255 -#define RADIO_DATETIME_AM_PM_TEXT_NORMAL_COLOR "#FFFFFF" -#define RADIO_DATETIME_AM_PM_TEXT_SELECTED_COLOR "#FF9000" - -// ***************************** Datetime *************************************/ -#define DATETIME_SEPARATOR_TEXT_COLOR 250 250 250 255 -#define DATETIME_TEXT_SELECTED_COLOR 255 255 255 255 - -// ***************************** Spinner **************************************/ -#define SPINNER_EVENT_RECT_COLOR 0 0 0 0 -#define SPINNER_DISABLED_COLOR 0 0 0 35 -#define SPINNER_MUSIC_CONTROLLER_TEXT_COLOR 255 255 255 255 -#define SPINNER_MINUS_PLUS_NORMAL_COLOR 51 51 51 255 -#define SPINNER_MINUS_PLUS_PRESS_COLOR 99 93 89 255 -#define SPINNER_MINUS_PLUS_DIM_COLOR 51 51 51 255 -#define SPINNER_MINUS_PLUS_IMAGE_NORMAL_COLOR 255 255 255 255 -#define SPINNER_MINUS_PLUS_IMAGE_PRESS_COLOR 255 255 255 255 -#define SPINNER_MINUS_PLUS_IMAGE_DISABLE_COLOR 255 255 255 51 -#define SPINNER_CONTENT_BG_COLOR 51 51 51 255 -#define SPINNER_CENTER_IMAGE_NORMAL_COLOR 255 144 0 255 -#define SPINNER_CENTER_IMAGE_FULL_COLOR 255 51 35 255 -#define SPINNER_CENTER_IMAGE_MUTE_COLOR 255 144 0 255 -#define SPINNER_CENTER_IMAGE_VIBRATE_COLOR 255 144 0 255 -#define SPINNER_TEXT_NORMAL_COLOR 255 144 0 255 -#define SPINNER_TEXT_FULL_COLOR 255 51 35 255 - -// ***************************** Entry ****************************************/ -#define ENTRY_TEXT_COLOR "#FFFFFF" -#define ENTRY_DISABLED_TEXT_COLOR "#969696" -#define ENTRY_GUIDE_TEXT_COLOR "#6C6E78" -#define ENTRY_CURSOR_COLOR 255 255 255 255 -#define ENTRY_PREEDIT_SUB1_COLOR "#2EA8E1" -#define ENTRY_PREEDIT_SUB2_COLOR "#9962C3" -#define ENTRY_PREEDIT_SUB3_COLOR "#76DE37" -#define ENTRY_PREEDIT_SUB4_COLOR "#999999" -#define ENTRY_PREEDIT_UNDERLINE_COLOR "#FFFFFF" -#define ENTRY_PREEDIT_TEXT_COLOR "#000000" -#define ENTRY_PREEDIT_BACKGROUND_COLOR "#FFFFFF" -#define ENTRY_SELECTION_BG_COLOR 19 106 144 255 -#define ENTRY_SELECTION_EDGE_COLOR 59 115 182 255 - -// ***************************** Label ****************************************/ -#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#FFFFFF" diff --git a/wearable/themes/sounds/B_Roller.wav b/wearable/themes/sounds/B_Roller.wav deleted file mode 100755 index b37b48c..0000000 Binary files a/wearable/themes/sounds/B_Roller.wav and /dev/null differ diff --git a/wearable/themes/sounds/B_Touch.ogg b/wearable/themes/sounds/B_Touch.ogg deleted file mode 100644 index b4ea1cb..0000000 Binary files a/wearable/themes/sounds/B_Touch.ogg and /dev/null differ diff --git a/wearable/themes/tizen.edc b/wearable/themes/tizen.edc deleted file mode 100644 index 741adc7..0000000 --- a/wearable/themes/tizen.edc +++ /dev/null @@ -1,93 +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. - */ - - -// 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. - -// theme configuration file for each theme (tizen, tizen-black, ...) - -// Color definitions -#include TIZEN_TMP_INC -// Default definitions -#include "./inc/default_inc.edc" - -externals { - external: "elm"; -} - -collections { - sounds { - sample { - name: "touch_sound" RAW; - source: "B_Touch.ogg"; - } - } - sounds { - sample { - name: "roller_sound" RAW; - source: "B_Roller.wav"; - } - } - sounds { - sample { - name: "sweep_sound" RAW; - source: "Slider_sweep.wav"; - } - } - sounds { - sample { - name: "reorder_sound" RAW; - source: "List_reorder.wav"; - } - } - #include "widgets/bg.edc" - #include "widgets/button.edc" - #include "widgets/check.edc" - #include "widgets/datetime.edc" - #include "widgets/genlist.edc" - #include "widgets/genlist_decorate.edc" - #include "widgets/gengrid.edc" - #include "widgets/index.edc" - #include "widgets/layout.edc" - #include "widgets/naviframe.edc" - #include "widgets/popup.edc" - #include "widgets/progressbar.edc" - #include "widgets/radio.edc" - #include "widgets/scroller.edc" - #include "widgets/slider.edc" - #include "widgets/entry.edc" - #include "widgets/label.edc" - #include "widgets/spinner.edc" - -// ***************************** Applications *************************************** // - #include "apps/elm_demo_tizen/elm_demo_tizen.edc" -} diff --git a/wearable/themes/widgets/bg.edc b/wearable/themes/widgets/bg.edc deleted file mode 100644 index 1e69a1b..0000000 --- a/wearable/themes/widgets/bg.edc +++ /dev/null @@ -1,52 +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. - */ - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/bg/base/default"; - parts { - part { name: "base"; - type: RECT; - description { state: "default" 0.0; - color: BG_COLOR; - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } - } diff --git a/wearable/themes/widgets/button.edc b/wearable/themes/widgets/button.edc deleted file mode 100644 index db35bb0..0000000 --- a/wearable/themes/widgets/button.edc +++ /dev/null @@ -1,2685 +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. - */ - - - group { name: "elm/button/base/transparent"; - script { - public mouse_down = 0; - public multi_down = 0; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - min: 0 BUTTON_HEIGHT; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - text { - min: 0 1; - style: "button_general_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_dim"; - } - } - part { name: "elm.swallow.content"; - clip_to: "elm.swallow.content.clip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_SWALLOW_DIM_COLOR; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "bg"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - //set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "bg"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - //set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "bg"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } - } - - group { name: "elm/button/base/default"; - script { - public mouse_down = 0; - public multi_down = 0; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 BUTTON_HEIGHT; - color: BUTTON_DEFAULT_NORMAL_BG_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_DEFAULT_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_DEFAULT_DISABLE_BG_COLOR; - } - } - part { name: "padding_left_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: BUTTON_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "icon_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - min: 0 0; - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - fixed: 1 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "elm.swallow.content.clip"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 1; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - align: 1.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "elm.text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.text"; - to_y: "padding_right_bottom"; - } - } - description { state: "icononly" 0.0; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "icon_rect"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - max: 1 0; - style: "button_general_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_dim"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_SWALLOW_DIM_COLOR; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "bg"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "bg"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "bg"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - } - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"icon_rect", "default", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } - } - -group { name: "elm/button/base/green"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: BUTTON_GREEN_NORMAL_BG_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_GREEN_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_GREEN_DISABLE_BG_COLOR; - } - } - } -} - -group { name: "elm/button/base/orange"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: BUTTON_ORANGE_NORMAL_BG_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_ORANGE_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_ORANGE_DISABLE_BG_COLOR; - } - } - } -} - -group { name: "elm/button/base/red"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: BUTTON_RED_NORMAL_BG_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_RED_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_RED_DISABLE_BG_COLOR; - } - } - } -} - - group { name: "elm/button/base/popup"; - script { - public mouse_down = 0; - public multi_down = 0; - } - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 (POPUP_BUTTON_HEIGHT+POPUP_IMAGE_OFFSET_SIZE); - max: -1 (POPUP_BUTTON_HEIGHT+POPUP_IMAGE_OFFSET_SIZE); - color: 0 0 0 0; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 0.0; - rel1.to: "base"; - rel2.to: "base"; - min: 0 POPUP_BUTTON_HEIGHT; - max: -1 POPUP_BUTTON_HEIGHT; - color: BUTTON_POPUP_NORMAL_BG_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_POPUP_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_POPUP_DISABLE_BG_COLOR; - } - } - part { name: "padding_left_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "bg"; - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - min: BUTTON_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - min: BUTTON_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "icon_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - min: 0 0; - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - fixed: 1 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "elm.swallow.content.clip"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 1; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - align: 1.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "elm.text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.text"; - to_y: "padding_right_bottom"; - } - } - description { state: "icononly" 0.0; - min: BUTTON_ICON_SIZE; - max: BUTTON_ICON_SIZE; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "icon_rect"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - max: 1 0; - style: "button_general_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_dim"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_SWALLOW_DIM_COLOR; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "base"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "base"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "base"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - } - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"icon_rect", "default", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } - } - - group { name: "elm/button/base/naviframe/title_icon"; - script { - public mouse_down = 0; - public multi_down = 0; - } - images { - image: "tw_action_item_background_disabled_holo_dark.png" COMP; - image: "tw_action_item_background_pressed_holo_dark.png" COMP; - } - parts { - part { name: "button_bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: ACTIONBAR_NEXT_BTN_SIZE; - max: ACTIONBAR_NEXT_BTN_SIZE; - visible: 0; - image { - normal: "tw_action_item_background_pressed_holo_dark.png"; - border: BUTTON_NAVIFRAME_BG_BORDER_SIZE; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image{ - normal: "tw_action_item_background_disabled_holo_dark.png"; - border: BUTTON_NAVIFRAME_BG_BORDER_SIZE; - border_scale: 1; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon.clipper"; - description { state: "default" 0.0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.icon.clipper"; - type: RECT; - description { state: "default" 0.0; } - description { state: "clicked" 0.0; } - description { state: "disabled" 0.0; - color: ACTIONBAR_MORE_DISABLED_COLOR; - } - } - part { name: "over2"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over3"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_click1"); - } - } - } - program { name: "button_click1"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - script { - set_state(PART:"elm.icon.clipper", "clicked", 0.0); - set_state(PART:"button_bg", "pressed", 0.0); - } - } - program { name: "button_double_click"; - signal: "mouse,down,1,double"; - source: "over2"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_click_anim"); - } - } - } - program { name: "button_unpress"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_bg"; - } - program { name: "button_mouseout_clicked"; - signal: "mouse,up,1"; - source: "over3"; - script { - if (get_int(mouse_down) == 1) - { - set_int(mouse_down, 0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - run_program(PROGRAM:"button_unpress"); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over2"; - script { - if (get_int(multi_down) == 0) { - run_program(PROGRAM:"play_sound"); - run_program(PROGRAM:"button_unclick3"); - } - } - } - program { name: "play_sound"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "button_unclick3"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "elm.icon.clipper"; - target: "button_bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "elm.icon.clipper"; - target: "button_bg"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } - } - - group { name: "elm/button/base/naviframe/title_schedules_icon"; - inherit: "elm/button/base/naviframe/title_icon"; - parts { - part { name: "button_bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_NAVIFRAME_SCHEDULE_SIZE; - max: BUTTON_NAVIFRAME_SCHEDULE_SIZE; - visible: 0; - image { - normal: "tw_action_item_background_pressed_holo_dark.png"; - border: BUTTON_NAVIFRAME_BG_BORDER_SIZE; - border_scale: 1; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image{ - normal: "tw_action_item_background_disabled_holo_dark.png"; - border: BUTTON_NAVIFRAME_BG_BORDER_SIZE; - border_scale: 1; - } - } - } - } - } - -group { name: "elm/button/base/nextdepth"; - script { - public mouse_down = 0; - public multi_down = 0; - } - images { - image: "tw_btn_next_depth_holo_dark.png" COMP; - } - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_NEXTDEPTH_SIZE; - max: BUTTON_NEXTDEPTH_SIZE; - fixed: 1 1; - image.normal: "tw_btn_next_depth_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_NEXTDEPTH_PRESS_BG_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_NEXTDEPTH_DISABLE_BG_COLOR; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "bg"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "bg"; - script { - new st[31]; - new Float:vl; - if (get_int(mouse_down) == 1) - { - set_int(mouse_down, 0); - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "bg"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} - -group { name: "elm/button/base/plus"; - script { - public mouse_down = 0; - public multi_down = 0; - } - images { - image: "tw_controller_btn_plus_normal.png" COMP; - image: "tw_controller_btn_plus_pressed.png" COMP; - image: "tw_controller_btn_plus_dim.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_PLUS_SIZE; - max: BUTTON_PLUS_SIZE; - fixed: 1 1; - align: 1.0 0.5; - image.normal: "tw_controller_btn_plus_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_plus_pressed.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_plus_dim.png"; - } - } - part { name: "event"; - type: RECT; - scale: 1; - repeat_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(mouse_down) == 1) - { - set_int(mouse_down, 0); - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "event"; - target: "bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event"; - target: "bg"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} - -group { name: "elm/button/base/minus"; - inherit: "elm/button/base/plus"; - images { - image: "tw_controller_btn_minus_normal.png" COMP; - image: "tw_controller_btn_minus_pressed.png" COMP; - image: "tw_controller_btn_minus_dim.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_PLUS_SIZE; - max: BUTTON_PLUS_SIZE; - fixed: 1 1; - align: 0.0 0.5; - image.normal: "tw_controller_btn_minus_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_minus_pressed.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_minus_dim.png"; - } - } - } -} - -group { name: "elm/button/base/controller_plus"; - script { - public mouse_down = 0; - public multi_down = 0; - } - images { - image: "tw_timepicker_dialbtn_right_plus.png" COMP; - image: "tw_timepicker_dialbtn_right_normal.png" COMP; - image: "tw_timepicker_dialbtn_right_pressed.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image.normal: "tw_timepicker_dialbtn_right_normal.png"; - } - description { state: "pressed" 0.0; - image.normal: "tw_timepicker_dialbtn_right_pressed.png"; - } - } - part { name: "icon_image"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_timepicker_dialbtn_right_plus.png"; - } - } - part { name: "event"; - type: RECT; - scale: 1; - repeat_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(mouse_down) == 1) - { - set_int(mouse_down, 0); - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "event"; - target: "bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event"; - target: "bg"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} - -group { name: "elm/button/base/controller_minus"; - inherit: "elm/button/base/controller_plus"; - images { - image: "tw_timepicker_dialbtn_left_minus.png" COMP; - image: "tw_timepicker_dialbtn_left_normal.png" COMP; - image: "tw_timepicker_dialbtn_left_pressed.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image.normal: "tw_timepicker_dialbtn_left_normal.png"; - } - description { state: "pressed" 0.0; - image.normal: "tw_timepicker_dialbtn_left_pressed.png"; - } - } - part { name: "icon_image"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_timepicker_dialbtn_left_minus.png"; - } - } - } -} - -group { name: "elm/button/base/fast_forward"; - inherit: "elm/button/base/plus"; - images { - image: "tw_controller_btn_ff_normal.png" COMP; - image: "tw_controller_btn_ff_press.png" COMP; - image: "tw_controller_btn_ff_dim.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image.normal: "tw_controller_btn_ff_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_ff_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_ff_dim.png"; - } - } - } -} - -group { name: "elm/button/base/rewind"; - inherit: "elm/button/base/fast_forward"; - images { - image: "tw_controller_btn_rw_normal.png" COMP; - image: "tw_controller_btn_rw_press.png" COMP; - image: "tw_controller_btn_rw_dim.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image.normal: "tw_controller_btn_rw_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_rw_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_rw_dim.png"; - } - } - } -} - -group { name: "elm/button/base/bottom_left"; - inherit: "elm/button/base/plus"; - images { - image: "tw_timepicker_left_softbtn.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_BOTTOM_SIZE_LEFT; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "controller"; - description { state: "default" 0.0; - image.normal: "tw_timepicker_left_softbtn.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_BOTTOM_PRESSED_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_BOTTOM_DIM_COLOR; - } - } - } -} - -group { name: "elm/button/base/bottom_right"; - inherit: "elm/button/base/bottom_left"; - images { - image: "tw_timepicker_right_softbtn.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_BOTTOM_SIZE_RIGHT; - visible: 0; - } - } - part { name: "controller"; - description { state: "default" 0.0; - image.normal: "tw_timepicker_right_softbtn.png"; - } - } - } -} - -group { name: "elm/button/base/list_divider_btn"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: LIST_BG_PRESSED_COLOR; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 0; - max: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE -1; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "bg"; - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 0; - max: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE -1; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "elm.swallow.content.clip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DIVIDER_BTN_ICON_SIZE 0; - max: BUTTON_DIVIDER_BTN_ICON_SIZE -1; - fixed: 1 1; - align: 0.5 0.5; - visible: 1; - rel1 { - to: "left_padding"; - relative: 1.0 0.0; - } - rel2 { - to: "right_padding"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0;} - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_DIVIDER_BTN_ICON_DIM_COLOR; - } - } - part { name: "event"; - type: RECT; - scale: 1; - repeat_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "event"; - target: "bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event"; - target: "bg"; - } - } -} - -group { name: "elm/button/base/calendar_next"; - script { - public mouse_down = 0; - public multi_down = 0; - } - images { - image: "b2_widget_contact_right_arrow.png" COMP; - } - - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_SCHEDULE_SIZE; - max: BUTTON_SCHEDULE_SIZE; - fixed: 1 1; - align: 1.0 0.5; - color: BUTTON_SCHEDULE_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_SCHEDULE_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "controller"; - description { state: "default" 0.0; - image.normal: "b2_widget_contact_right_arrow.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_CLIP_DISABLE_COLOR; - } - } - part { name: "event"; - type: RECT; - scale: 1; - repeat_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(mouse_down) == 1) - { - set_int(mouse_down, 0); - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "event"; - target: "bg"; - target: "controller"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event"; - target: "bg"; - target: "controller"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} - -group { name: "elm/button/base/calendar_prev"; - inherit: "elm/button/base/calendar_next"; - images { - image: "b2_widget_contact_left_arrow.png" COMP; - } - parts { - part { name: "controller"; - description { state: "default" 0.0; - image.normal: "b2_widget_contact_left_arrow.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_CLIP_DISABLE_COLOR; - } - } - } -} - -group { name: "elm/button/base/popup_controller_ff"; - images { - image: "tw_controller_module_ff.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: BUTTON_CONTROLLER_NORMAL_COLOR; - min: BUTTON_CONTROLLER_SIZE; - max: BUTTON_CONTROLLER_SIZE; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_DISABLE_COLOR; - } - } - part { name: "image"; - type: IMAGE; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_SIZE; - max: BUTTON_CONTROLLER_SIZE; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_controller_module_ff.png"; - } - } - part { name: "clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: BUTTON_CONTROLLER_CLIP_NORMAL_COLOR; - rel1.to: "image"; - rel2.to: "image"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_CLIP_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_CONTROLLER_CLIP_DISABLE_COLOR; - } - } - part { name: "event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - set_state(PART:"clip", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program{ name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"clip", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - get_state(PART:"event", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - target: "clip"; - target: "event"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "clip"; - target: "event"; - } - } -} - -group { name: "elm/button/base/popup_controller_rw"; - inherit: "elm/button/base/popup_controller_ff"; - images { - image: "tw_controller_module_rw.png" COMP; - } - parts { - part { name: "image"; - type: IMAGE; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - image.normal: "tw_controller_module_rw.png"; - } - } - } -} - -group { name: "elm/button/base/popup_controller_close"; - inherit: "elm/button/base/popup_controller_ff"; - images { - image: "tw_controller_module_close.png" COMP; - } - parts { - part { name: "image"; - type: IMAGE; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - image.normal: "tw_controller_module_close.png"; - } - } - } -} - -#define BUTTON_MINI_ICON( PARAM, PRESS_IMAGE, IMAGE0 ) \ -group { name: "elm/button/base/mini_icon/"PARAM; \ - script { \ - public mouse_down = 0; \ - public multi_down = 0; \ - } \ - images { \ - image: PRESS_IMAGE COMP; \ - image: IMAGE0 COMP; \ - } \ - parts { \ - part { name: "bg"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_SIZE; \ - max: BUTTON_MINI_ICON_SIZE; \ - image.normal: PRESS_IMAGE; \ - visible: 0; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default"; \ - } \ - } \ - part { name: "top_left_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - max: BUTTON_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - fixed: 1 1; \ - rel2.relative: 0.0 0.0; \ - align: 0.0 0.0; \ - } \ - } \ - part { name: "bottom_right_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - max: BUTTON_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - fixed: 1 1; \ - rel1.relative: 1.0 1.0; \ - align: 1.0 1.0; \ - } \ - } \ - part { name: "state_images"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_ICON_SIZE; \ - max: BUTTON_MINI_ICON_ICON_SIZE; \ - fixed: 1 1; \ - rel1.to: "top_left_padding"; \ - rel2.to: "bottom_right_padding"; \ - image.normal: IMAGE0; \ - } \ - } \ - part { name: "event"; \ - type: RECT; \ - scale: 1; \ - mouse_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "pressed"; \ - signal: "mouse,down,1*"; \ - source: "event"; \ - script { \ - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ - { \ - set_int(mouse_down, 1); \ - run_program(PROGRAM:"button_press1"); \ - } \ - } \ - } \ - program { name: "button_press1"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - set_state(PART:"bg", "pressed", 0.0); \ - emit("elm,action,press", ""); \ - } \ - } \ - } \ - program { name: "unpressed"; \ - signal: "mouse,up,1"; \ - source: "event"; \ - script { \ - new st[31]; \ - new Float:vl; \ - if (get_int(mouse_down) == 1) { \ - set_int(mouse_down, 0); \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - set_state(PART:"bg", "default", 0.0); \ - emit("elm,action,unpress", ""); \ - } \ - } \ - } \ - } \ - program { name: "clicked"; \ - signal: "mouse,clicked,1"; \ - source: "event"; \ - script { \ - new st[31]; \ - new Float:vl; \ - if (get_int(multi_down) == 0) { \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - play_sample("touch_sound", 1.0); \ - emit("elm,action,click", ""); \ - } \ - } \ - } \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "event"; \ - target: "bg"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "event"; \ - target: "bg"; \ - } \ - program { name: "multi_down"; \ - signal: "elm,action,multi,down"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 1); \ - } \ - } \ - program { name: "multi_up"; \ - signal: "elm,action,multi,up"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 0); \ - } \ - } \ - } \ -} - -#define BUTTON_MINI_ICON_TRIPLE_STATE( PARAM, PRESS_IMAGE, IMAGE0, IMAGE1, IMAGE2 ) \ -group { name: "elm/button/base/mini_icon/triple_state/"PARAM; \ - images { \ - image: PRESS_IMAGE COMP; \ - image: IMAGE0 COMP; \ - image: IMAGE1 COMP; \ - image: IMAGE2 COMP; \ - } \ - script { \ - public current_state = 0; \ - public mouse_down = 0; \ - public multi_down = 0; \ - } \ - parts { \ - part { name: "bg"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_SIZE; \ - max: BUTTON_MINI_ICON_SIZE; \ - image.normal: PRESS_IMAGE; \ - visible: 0; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default"; \ - } \ - } \ - part { name: "top_left_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - max: BUTTON_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - fixed: 1 1; \ - rel2.relative: 0.0 0.0; \ - align: 0.0 0.0; \ - } \ - } \ - part { name: "bottom_right_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - max: BUTTON_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - fixed: 1 1; \ - rel1.relative: 1.0 1.0; \ - align: 1.0 1.0; \ - } \ - } \ - part { name: "state_images"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_MINI_ICON_ICON_SIZE; \ - max: BUTTON_MINI_ICON_ICON_SIZE; \ - fixed: 1 1; \ - rel1.to: "top_left_padding"; \ - rel2.to: "bottom_right_padding"; \ - image.normal: IMAGE0; \ - } \ - description { state: "state1" 0.0; \ - inherit: "default" 0.0; \ - image.normal: IMAGE1; \ - } \ - description { state: "state2" 0.0; \ - inherit: "default" 0.0; \ - image.normal: IMAGE2; \ - } \ - } \ - part { name: "event"; \ - type: RECT; \ - scale: 1; \ - mouse_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "pressed"; \ - signal: "mouse,down,1*"; \ - source: "event"; \ - script { \ - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ - { \ - set_int(mouse_down, 1); \ - run_program(PROGRAM:"button_press1"); \ - } \ - } \ - } \ - program { name: "button_press1"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - set_state(PART:"bg", "pressed", 0.0); \ - emit("elm,action,press", ""); \ - } \ - } \ - } \ - program { name: "unpressed"; \ - signal: "mouse,up,1"; \ - source: "event"; \ - script { \ - new st[31]; \ - new Float:vl; \ - if (get_int(mouse_down) == 1) { \ - set_int(mouse_down, 0); \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - set_state(PART:"bg", "default", 0.0); \ - emit("elm,action,unpress", ""); \ - } \ - } \ - } \ - } \ - program { name: "clicked"; \ - signal: "mouse,clicked,1"; \ - source: "event"; \ - script { \ - new st[31]; \ - new Float:vl; \ - new s; \ - if (get_int(multi_down) == 0) { \ - s = get_int(current_state); \ - get_state(PART:"event", st, 30, vl); \ - if (strcmp(st, "disabled")) { \ - s = s + 1; \ - if (s > 2) \ - s = 0; \ - set_int(current_state, s); \ - if (s == 0) \ - set_state(PART:"state_images", "default", 0.0); \ - else if (s == 1) \ - set_state(PART:"state_images", "state1", 0.0); \ - else \ - set_state(PART:"state_images", "state2", 0.0); \ - play_sample("touch_sound", 1.0); \ - emit("elm,action,click", ""); \ - } \ - } \ - } \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "event"; \ - target: "bg"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "event"; \ - target: "bg"; \ - } \ - program { name: "set_state0" ; \ - signal: "set,state,0"; \ - source: "*"; \ - script { \ - set_state(PART:"state_images", "default", 0.0); \ - set_int(current_state, 0); \ - } \ - } \ - program { name: "set_state1" ; \ - signal: "set,state,1"; \ - source: "*"; \ - script { \ - set_state(PART:"state_images", "state1", 0.0); \ - set_int(current_state, 1); \ - } \ - } \ - program { name: "set_state2" ; \ - signal: "set,state,2"; \ - source: "*"; \ - script { \ - set_state(PART:"state_images", "state2", 0.0); \ - set_int(current_state, 2); \ - } \ - } \ - program { name: "multi_down"; \ - signal: "elm,action,multi,down"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 1); \ - } \ - } \ - program { name: "multi_up"; \ - signal: "elm,action,multi,up"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 0); \ - } \ - } \ - } \ -} - -BUTTON_MINI_ICON(info, - "b_music_mini_press.png", "b_music_mini_icon_info.png"); - -BUTTON_MINI_ICON_TRIPLE_STATE(bluetooth, - "b_music_mini_press.png", "b_music_mini_icon_Bluetooth_on.png", - "b_music_mini_icon_Bluetooth_off.png", "b_music_mini_icon_speak.png"); -BUTTON_MINI_ICON_TRIPLE_STATE(repeat, - "b_music_mini_press.png", "b_music_mini_icon_repeat_all.png", - "b_music_mini_icon_repeat_one.png", "b_music_mini_icon_repeat_off.png"); - - -#define BUTTON_ICON_CALL_MENU( PARAM, NORMAL_IMAGE, PRESS_IMAGE, DIM_IMAGE ) \ -group { name: "elm/button/base/call/"PARAM; \ - inherit: "elm/button/base/default"; \ - images { \ - image: NORMAL_IMAGE COMP; \ - image: PRESS_IMAGE COMP; \ - image: DIM_IMAGE COMP; \ - } \ - parts { \ - part { name: "bg"; \ - type: IMAGE; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: BUTTON_CALL_MENU_SIZE; \ - color: BUTTON_ICON_CALL_MENU_NORMAL_COLOR; \ - image.normal: NORMAL_IMAGE; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - color: BUTTON_ICON_CALL_MENU_PRESSED_COLOR; \ - image.normal: PRESS_IMAGE; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: BUTTON_ICON_CALL_MENU_DIM_COLOR; \ - image.normal: DIM_IMAGE; \ - } \ - } \ - } \ -} - -BUTTON_ICON_CALL_MENU(volume_mute, - "b_call_volume_mute_normal.png", "b_call_volume_mute_pressed.png", - "b_call_volume_mute_dim.png"); -BUTTON_ICON_CALL_MENU(volume_mute_ongoing, - "b_call_volume_mute_ongoing_normal.png", "b_call_volume_mute_ongoing_pressed.png", - "b_call_volume_mute_ongoing_dim.png"); -BUTTON_ICON_CALL_MENU(volume_swap, - "b_call_volume_swap_normal.png", "b_call_volume_swap_pressed.png", - "b_call_volume_swap_dim.png"); -BUTTON_ICON_CALL_MENU(volume_tophone, - "b_call_volume_tophone_normal.png", "b_call_volume_tophone_pressed.png", - "b_call_volume_tophone_dim.png"); -BUTTON_ICON_CALL_MENU(volume_transferto, - "b_call_volume_transferto_normal.png", "b_call_volume_transferto_pressed.png", - "b_call_volume_transferto_dim.png"); -BUTTON_ICON_CALL_MENU(volume_towatch, - "b_call_volume_towatch_normal.png", "b_call_volume_towatch_pressed.png", - "b_call_volume_towatch_dim.png"); -BUTTON_ICON_CALL_MENU(headset, - "b_call_headset_normal.png", "b_call_headset_pressed.png", - "b_call_headset_dim.png"); -BUTTON_ICON_CALL_MENU(keypad, - "b_call_keypad_normal.png", "b_call_keypad_pressed.png", - "b_call_keypad_dim.png"); -BUTTON_ICON_CALL_MENU(volume_unhold, - "b_call_volume_unhold_normal.png", "b_call_volume_unhold_pressed.png", - "b_call_volume_unhold_dim.png"); -BUTTON_ICON_CALL_MENU(volume_hold, - "b_call_volume_hold_normal.png", "b_call_volume_hold_pressed.png", - "b_call_volume_hold_dim.png"); - -//device option -group { name: "elm/button/base/device_option"; - script { - public mouse_down = 0; - public multi_down = 0; - public move = 0; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DEVICE_OPTION_SIZE; - color: 0 0 0 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: LIST_BG_PRESSED_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: LIST_BG_DIM_COLOR; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0; - min: 0 BUTTON_DEVICE_OPTION_TOP_PADDING_SIZE; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1; - min: 0 0; - rel1 { - relative: 0.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - clip_to: "elm.swallow.content.clip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: BUTTON_DEVICE_OPTION_ICON_SIZE; - max: BUTTON_DEVICE_OPTION_ICON_SIZE; - rel1 { - to_y: "top_padding"; - relative: 0.0 1.0; - } - rel2 { - to_y: "top_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "text_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0 0.5; - min: BUTTON_DEVICE_OPTION_LR_PADDING_SIZE 0; - max: BUTTON_DEVICE_OPTION_LR_PADDING_SIZE -1; - rel2 { - relative: 0.0 1.0; - } - } - } - part { name: "text_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1 0.5; - min: BUTTON_DEVICE_OPTION_LR_PADDING_SIZE 0; - max: BUTTON_DEVICE_OPTION_LR_PADDING_SIZE -1; - rel1 { - relative: 1.0 0.0; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_DEVICE_OPTION_TEXT_PART_SIZE; - fixed: 1 1; - rel1 { - to_x: "text_left_padding"; - to_y: "elm.swallow.content"; - relative: 1.0 1.0; - } - rel2 { - to_x: "text_right_padding"; - to_y: "bottom_padding"; - relative: 0.0 0.0; - } - text { - min: 0 1; - align: 0.5 0.5; - style: "button_popup_device_option_2_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_popup_device_option_2_text_dim"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: BUTTON_DEVICE_OPTION_SWALLOW_DIM_COLOR; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "bg"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "bg"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "button_move"; - signal: "mouse,move"; - source: "bg"; - script { - if (get_int(mouse_down) == 1) { - set_int(move, get_int(move)+1); - if (get_int(move) > 15) { - set_int(move, 0); - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "bg"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - play_sample("touch_sound", 1.0); - emit("elm,action,click", ""); - } - } - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.swallow.content.clip"; - target: "elm.text"; - target: "bg"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content.clip"; - target: "elm.text"; - target: "bg"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} diff --git a/wearable/themes/widgets/check.edc b/wearable/themes/widgets/check.edc deleted file mode 100644 index e814c47..0000000 --- a/wearable/themes/widgets/check.edc +++ /dev/null @@ -1,1274 +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. - */ -group { name: "elm/check/base/default"; - images { - image: "tw_btn_checkbox_normal_holo_dark.png" COMP; - image: "tw_btn_checkbox_pressed_holo_dark.png" COMP; - image: "tw_btn_checkbox_disabled_holo_dark.png" COMP; - image: "tw_btn_check_on_disabled_holo_dark.png" COMP; - image: "tw_btn_check_on_holo_dark.png" COMP; - image: "tw_btn_check_on_pressed_holo_dark.png" COMP; - } - script { - public check_state; - public check_disabled; - public check_visible; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: CHECK_SIZE; - max: CHECK_SIZE; - fixed: 1 1; - image.normal: "tw_btn_checkbox_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_disabled_holo_dark.png"; - } - } - part { name: "check"; - clip_to: "sequence_clip"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_btn_check_on_holo_dark.png"; - visible: 0; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_check_on_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_check_on_disabled_holo_dark.png"; - } - } - part { name: "sequence_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - color: 255 255 255 255; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - } - } - part { name: "event"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "show"; - signal: "show"; - script { - set_int(check_visible, 1); - } - } - program { name: "hide"; - signal: "hide"; - script { - set_int(check_visible, 0); - } - } - program { name: "click"; - signal: "mouse,clicked,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - emit("elm,action,check,toggle", ""); - play_sample("touch_sound", 1.0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "on", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "pressed", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "pressed", 0.0); - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"check", "disabled", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - else if (get_int(check_visible) == 1) - { - set_state(PART:"bg", "default", 0.0); - run_program(PROGRAM:"check_show_effect"); - run_program(PROGRAM:"check_draw_effect"); - } - else if (get_int(check_visible) == 0) - { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"check", "on", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - set_int(check_state, 1); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - set_state(PART:"bg", "disabled", 0.0); - else - set_state(PART:"bg", "default", 0.0); - set_state(PART:"check", "default", 0.0); - set_state(PART:"sequence_clip", "default", 0.0); - set_int(check_state, 0); - } - } - program { name: "check_show_effect"; - action: STATE_SET "on" 0.0; - transition: LINEAR 0.233; - target: "check"; - } - program { name: "check_draw_effect"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.267; - target: "sequence_clip"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"check", "disabled", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "disabled", 0.0); - set_int(check_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"check", "on", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_int(check_disabled, 0); - } - } - } -} - -group { name: "elm/check/base/radio"; - script { - public check_state; - public check_disabled; - } - images { - image: "tw_btn_radio_normal_holo_dark.png" COMP; - image: "tw_btn_radio_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_disabled_holo_dark.png" COMP; - image: "tw_btn_radio_on_normal_holo_dark.png" COMP; - image: "tw_btn_radio_on_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_on_disable_holo_dark.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - image.normal: "tw_btn_radio_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_disabled_holo_dark.png"; - } - } - part { name: "radio"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - visible: 0; - image.normal: "tw_btn_radio_on_normal_holo_dark.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_disable_holo_dark.png"; - } - } - part { name: "event"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - emit("elm,action,check,toggle", ""); - play_sample("touch_sound", 1.0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - set_state(PART:"bg", "default", 0.0); - if (get_int(check_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - if (get_int(check_state) == 1) - set_state(PART:"radio", "pressed", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "pressed", 0.0); - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"radio", "disabled", 0.0); - } - else - { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "on", 0.0); - } - set_int(check_state, 1); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - set_state(PART:"bg", "disabled", 0.0); - else - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "default", 0.0); - set_int(check_state, 0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"radio", "disabled", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "disabled", 0.0); - set_int(check_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_int(check_disabled, 0); - } - } - } -} - -// List Check Style - -group { name: "elm/check/base/list"; - images { - image: "tw_btn_checkbox_normal_holo_dark.png" COMP; - image: "tw_btn_checkbox_pressed_holo_dark.png" COMP; - image: "tw_btn_checkbox_disabled_holo_dark.png" COMP; - image: "tw_btn_check_on_disabled_holo_dark.png" COMP; - image: "tw_btn_check_on_holo_dark.png" COMP; - image: "tw_btn_check_on_pressed_holo_dark.png" COMP; - } - script { - public check_state; - public check_disabled; - public check_visible; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: CHECK_SIZE; - max: CHECK_SIZE; - fixed: 1 1; - image.normal: "tw_btn_checkbox_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_disabled_holo_dark.png"; - } - } - part { name: "check"; - clip_to: "sequence_clip"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_btn_check_on_holo_dark.png"; - visible: 0; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_check_on_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_check_on_disabled_holo_dark.png"; - } - } - part { name: "sequence_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - color: 255 255 255 255; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - } - } - part { name: "event"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "show"; - signal: "show"; - script { - set_int(check_visible, 1); - } - } - program { name: "hide"; - signal: "hide"; - script { - set_int(check_visible, 0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "on", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(check_disabled) == 1) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "pressed", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "pressed", 0.0); - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"check", "disabled", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - else if (get_int(check_visible) == 1) - { - set_state(PART:"bg", "default", 0.0); - run_program(PROGRAM:"check_show_effect"); - run_program(PROGRAM:"check_draw_effect"); - } - else if (get_int(check_visible) == 0) - { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"check", "on", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - set_int(check_state, 1); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - if (get_int(check_disabled) == 1) - set_state(PART:"bg", "disabled", 0.0); - else - set_state(PART:"bg", "default", 0.0); - set_state(PART:"check", "default", 0.0); - set_state(PART:"sequence_clip", "default", 0.0); - set_int(check_state, 0); - } - } - program { name: "check_show_effect"; - action: STATE_SET "on" 0.0; - transition: LINEAR 0.233; - target: "check"; - } - program { name: "check_draw_effect"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.267; - target: "sequence_clip"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"check", "disabled", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "disabled", 0.0); - set_int(check_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(check_state) == 1) - set_state(PART:"check", "on", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_int(check_disabled, 0); - } - } - } -} - - -group { name: "elm/check/base/list_divider"; - inherit: "elm/check/base/default"; - parts{ - part { name: "elm.padding.left"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - min: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE 0; - max: BUTTON_DIVIDER_BTN_PADDING_LEFT_SIZE -1; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.padding.right"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - min: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE 0; - max: BUTTON_DIVIDER_BTN_PADDING_RIGHT_SIZE -1; - rel1.relative: 1.0 0.0; - } - } - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: CHECK_SIZE; - max: CHECK_SIZE; - fixed: 1 1; - image.normal: "tw_btn_checkbox_normal_holo_dark.png"; - rel1.to: "elm.padding.left"; - rel1.relative: 1.0 0.0; - rel2.to: "elm.padding.right"; - rel2.relative: 0.0 1.0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_checkbox_disabled_holo_dark.png"; - } - } - } -} - -group { name: "elm/check/base/on&off"; - images { - image: "tw_btn_toggle_bg_disabled_holo_dark.png" COMP; - image: "tw_btn_toggle_bg_normal_holo_dark.png" COMP; - image: "tw_btn_toggle_bg_pressed_holo_dark.png" COMP; - image: "tw_btn_toggle_on_disabled_holo_dark.png" COMP; - image: "tw_btn_toggle_on_normal_holo_dark.png" COMP; - image: "tw_btn_toggle_on_pressed_holo_dark.png" COMP; - image: "tw_btn_toggle_off_disabled_holo_dark.png" COMP; - image: "tw_btn_toggle_off_normal_holo_dark.png" COMP; - image: "tw_btn_toggle_off_pressed_holo_dark.png" COMP; - } - script { - public is_rtl = 0; - public is_drag = 0; - public was_drag = 0; - public check_on = 0; - public check_disabled = 0; - } - parts { - part { name: "bg"; - type: SPACER; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: CHECK_TOGGLE_SIZE; - max: CHECK_TOGGLE_SIZE; - fixed: 1 1; - } - } - part { name: "bg_image"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: CHECK_TOGGLE_SIZE; - max: CHECK_TOGGLE_SIZE; - fixed: 1 1; - image.normal: "tw_btn_toggle_bg_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_bg_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_bg_disabled_holo_dark.png"; - } - } - part { name: "drag_container"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - color: 255 255 255 255; - } - } - part { name: "button"; - scale: 1; - clip_to: "clipper"; - mouse_events: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "drag_container"; - } - description { state: "default" 0.0; - min: CHECK_TOGGLE_THUMB_SIZE; - max: CHECK_TOGGLE_THUMB_SIZE; - rel1.to: "bg"; - rel2.to: "bg"; - align: 0.0 0.5; - fixed: 1 1; - image.normal: "tw_btn_toggle_off_normal_holo_dark.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_on_normal_holo_dark.png"; - } - description { state: "on_pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_on_pressed_holo_dark.png"; - } - description { state: "on_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_on_disabled_holo_dark.png"; - } - description { state: "off_pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_off_pressed_holo_dark.png"; - } - description { state: "off_disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_toggle_off_disabled_holo_dark.png"; - } - } - part { name: "button_events"; - type: RECT; - dragable { - events: "button"; - } - description { state: "default" 0.0; - rel1.to_x: "bg"; - rel2.to_x: "bg"; - color: 0 0 0 0; - } - } - part { name: "onrect"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: -1.0 0.0; - to: "button"; - } - rel2 { - relative: 0.0 1.0; - to: "button"; - } - align: 1.0 0.5; - color: 0 0 0 0; - } - } - part { name: "offrect"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to: "button"; - } - rel2 { - relative: 2.0 1.0; - to: "button"; - } - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "disclip"; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1 { - to_x: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "bg"; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "disclip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - signal: "mouse,clicked,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - if (!get_int(was_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 0.0, 0.0); - else - set_drag(PART:"button", 1.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) { - if (get_int(check_on)) { - emit("elm,action,check,off", ""); - emit("elm,action,touch,sound", ""); - } - } - else { - if (!get_int(check_on)) { - emit("elm,action,check,on", ""); - emit("elm,action,touch,sound", ""); - } - } - } - } - } - program { name: "press"; - signal: "mouse,down,1"; - source: "button"; - script { - if (get_int(check_on)) - set_state(PART:"button", "on_pressed", 0.0); - else - set_state(PART:"button", "off_pressed", 0.0); - set_state(PART:"bg_image", "pressed", 0.0); - } - } - program { name: "unpress"; - signal: "mouse,up,1"; - source: "button"; - script { - if (get_int(check_on)) - set_state(PART:"button", "on", 0.0); - else - set_state(PART:"button", "default", 0.0); - set_state(PART:"bg_image", "default", 0.0); - } - } - program { name: "touch_sound"; - signal: "elm,action,touch,sound"; - source: ""; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { - signal: "drag"; - source: "button"; - script { - if (get_int(check_disabled) == 1) return; - if (!get_int(is_drag)) emit("elm,action,check,drag,start", ""); - set_int(is_drag, 1); - } - } - program { - signal: "mouse,down,1"; - source: "button"; - script { - set_int(was_drag, 0); - set_int(is_drag, 0); - } - } - program { name: "drag_end"; - signal: "mouse,up,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - if (get_int(is_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 1.0, 0.0); - else - set_drag(PART:"button", 0.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) { - if (!get_int(check_on)) { - emit("elm,action,check,on", ""); - emit("elm,action,touch,sound", ""); - } - } - else { - if (get_int(check_on)) { - emit("elm,action,check,off", ""); - emit("elm,action,touch,sound", ""); - } - } - set_int(was_drag, get_int(is_drag)); - set_int(is_drag, 0); - emit("elm,action,check,drag,stop", ""); - } - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 100.0; - } - else { - drag = 0.0; - } - set_drag(PART:"button", drag, 0.0); - if (get_int(check_disabled) == 0) - set_state(PART:"bg_image", "default", 0.0); - set_state(PART:"button", "on", 0.0); - set_int(check_on, 1); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 0.0; - } - else { - drag = 100.0; - } - set_drag(PART:"button", drag, 0.0); - if (get_int(check_disabled) == 0) - set_state(PART:"bg_image", "default", 0.0); - set_state(PART:"button", "default", 0.0); - set_int(check_on, 0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(check_on) == 1) - set_state(PART:"button", "on_disabled", 0.0); - else - set_state(PART:"button", "off_disabled", 0.0); - set_state(PART:"bg_image", "disabled", 0.0); - set_state(PART:"onrect", "disabled", 0.0); - set_state(PART:"offrect", "disabled", 0.0); - set_state(PART:"disabler", "disabled", 0.0); - set_int(check_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(check_on) == 1) - set_state(PART:"button", "on", 0.0); - else - set_state(PART:"button", "default", 0.0); - set_state(PART:"bg_image", "default", 0.0); - set_state(PART:"onrect", "default", 0.0); - set_state(PART:"offrect", "default", 0.0); - set_state(PART:"disabler", "default", 0.0); - set_int(check_disabled, 0); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(is_rtl, 1); - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(is_rtl, 0); - } - } - } -} - -#define CHECK_MINI_ICON( PARAM, PRESS_IMAGE, IMAGE_ON, IMAGE_OFF ) \ -group { name: "elm/check/base/mini_icon/"PARAM; \ - images { \ - image: PRESS_IMAGE COMP; \ - image: IMAGE_ON COMP; \ - image: IMAGE_OFF COMP; \ - } \ - script { \ - public check_state; \ - public check_disabled; \ - } \ - parts { \ - part { name: "bg"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_MINI_ICON_SIZE; \ - max: CHECK_MINI_ICON_SIZE; \ - image.normal: PRESS_IMAGE; \ - visible: 0; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default"; \ - visible: 0; \ - } \ - } \ - part { name: "top_left_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - max: CHECK_MINI_ICON_TOP_LEFT_PADDING_SIZE; \ - fixed: 1 1; \ - rel2.relative: 0.0 0.0; \ - align: 0.0 0.0; \ - } \ - } \ - part { name: "bottom_right_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - max: CHECK_MINI_ICON_BOTTOM_RIGHT_PADDING_SIZE; \ - fixed: 1 1; \ - rel1.relative: 1.0 1.0; \ - align: 1.0 1.0; \ - } \ - } \ - part { name: "state_icon"; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: CHECK_MINI_ICON_ICON_SIZE; \ - max: CHECK_MINI_ICON_ICON_SIZE; \ - fixed: 1 1; \ - rel1.to: "top_left_padding"; \ - rel2.to: "bottom_right_padding"; \ - image.normal: IMAGE_OFF; \ - } \ - description { state: "on" 0.0; \ - inherit: "default" 0.0; \ - image.normal: IMAGE_ON; \ - } \ - } \ - part { name: "event"; \ - type: RECT; \ - scale: 1; \ - mouse_events: 1; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - } \ - programs { \ - program { name: "click"; \ - signal: "mouse,clicked,1"; \ - source: "event"; \ - script { \ - if (get_int(check_disabled) == 1) return; \ - emit("elm,action,check,toggle", ""); \ - play_sample("touch_sound", 1.0); \ - } \ - } \ - program { name: "unpressed"; \ - signal: "mouse,up,1"; \ - source: "event"; \ - script { \ - if (get_int(check_disabled) == 1) return; \ - set_state(PART:"bg", "default", 0.0); \ - } \ - } \ - program { name: "pressed"; \ - signal: "mouse,down,1"; \ - source: "event"; \ - script { \ - if (get_int(check_disabled) == 1) return; \ - set_state(PART:"bg", "pressed", 0.0); \ - } \ - } \ - program { name: "check_on"; \ - signal: "elm,state,check,on"; \ - source: "elm"; \ - script { \ - set_state(PART:"state_icon", "on", 0.0); \ - set_int(check_state, 1); \ - } \ - } \ - program { name: "check_off"; \ - signal: "elm,state,check,off"; \ - source: "elm"; \ - script { \ - set_state(PART:"state_icon", "default", 0.0); \ - set_int(check_state, 0); \ - } \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - script { \ - set_state(PART:"bg", "disabled", 0.0); \ - set_int(check_disabled, 1); \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - script { \ - set_state(PART:"bg", "default", 0.0); \ - set_int(check_disabled, 0); \ - } \ - } \ - } \ -} - -CHECK_MINI_ICON(favorite, "b_music_mini_press.png", - "b_music_mini_icon_favorite_on.png", "b_music_mini_icon_favorite_off.png"); -CHECK_MINI_ICON(shuffle, "b_music_mini_press.png", - "b_music_mini_icon_shuffle_on.png", "b_music_mini_icon_shuffle_off.png"); - - -group { name: "elm/check/base/bookmark"; - inherit: "elm/check/base/radio"; - images { - image: "b_email_bookmark_icon_on.png" COMP; - image: "b_email_bookmark_icon_off.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: CHECK_EMAIL_ICON_NEW_SIZE; - max: CHECK_EMAIL_ICON_NEW_SIZE; - fixed: 1 1; - image.normal: "b_email_bookmark_icon_off.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - image.normal: "b_email_bookmark_icon_on.png"; - } - description { state: "pressed_on" 0.0; - inherit: "on" 0.0; - } - description { state: "pressed_off" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_on" 0.0; - inherit: "on" 0.0; - } - description { state: "disabled_off" 0.0; - inherit: "default" 0.0; - } - } - } -} - -group { name: "elm/check/base/popup"; -inherit: "elm/check/base/default"; - parts { - part { name: "padding_before_text"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - min: 0 0; - fixed: 1 1; - rel1 { - to_x: "check"; - relative: 1.0 0.0; - } - rel2 { - to_x: "check"; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: CHECK_PADDING_SIZE; - max: CHECK_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "padding_before_text"; - } - rel2 { - relative: 1.0 1.0; - } - align: 0.0 0.5; - rel2.offset: -7 0; - text { - style: "check_text_normal"; - align: 0.0 0.5; - min: 0 1; - } - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "padding_before_text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "padding_before_text"; - } - } -} diff --git a/wearable/themes/widgets/datetime.edc b/wearable/themes/widgets/datetime.edc deleted file mode 100755 index 9b9400b..0000000 --- a/wearable/themes/widgets/datetime.edc +++ /dev/null @@ -1,2253 +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. - */ - -/////////////////////////////////////////////////////////////////////////////// -// datetime -/////////////////////////////////////////////////////////////////////////////// - -#define DATETIME_PADDING(_pos, prev_part) \ - part {\ - name: "picker.padding"#_pos; \ - type: RECT; \ - scale: 1;\ - clip_to: "clipper";\ - description { state: "default" 0.0; \ - color: 0 0 0 0;\ - min: 0 0;\ - max: 0 -1;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: prev_part;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: prev_part;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_FIELD_PICKER_PADDING_SIZE;\ - }\ - }\ - part {\ - name: "left.padding"#_pos; \ - type: RECT; \ - scale: 1;\ - clip_to: "clipper";\ - mouse_events: 0;\ - description { state: "default" 0.0; \ - color: 0 0 0 0;\ - min: 0 0;\ - max: 0 -1;\ - visible: 0;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "picker.padding"#_pos;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "picker.padding"#_pos;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_FIELD_LEFT_PADDING_SIZE;\ - }\ - }\ - part {\ - name: "right.padding"#_pos; \ - type: RECT;\ - scale: 1;\ - clip_to: "clipper";\ - mouse_events: 0;\ - description {\ - state: "default" 0.0;\ - color: 0 0 0 0;\ - visible: 0;\ - min: 0 0;\ - max: 0 -1;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "field"#_pos;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "field"#_pos;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_FIELD_RIGHT_PADDING_SIZE;\ - }\ - }\ - programs{\ - program {\ - name: "field_"#_pos"enabled";\ - signal: "field"#_pos",enable";\ - source: "elm";\ - action: STATE_SET "enable" 0.0;\ - target: "left.padding"#_pos;\ - target: "right.padding"#_pos;\ - target: "field"#_pos;\ - }\ - program {\ - name: "field_"#_pos"disabled";\ - signal: "field"#_pos",disable";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "left.padding"#_pos;\ - target: "right.padding"#_pos;\ - target: "field"#_pos;\ - }\ - } - -#define DATETIME_FIELD(_pos) \ - part {\ - name: "field"#_pos; \ - type: SWALLOW; \ - scale: 1;\ - clip_to: "clipper";\ - repeat_events: 1;\ - description { state: "default" 0.0; \ - visible: 0;\ - min: 0 0;\ - max: 0 -1;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "left.padding"#_pos;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "left.padding"#_pos;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - min: DATETIME_FIELD_MIN_SIZE;\ - }\ - }\ - part {\ - name: "separator"#_pos; \ - type: TEXT;\ - scale: 1;\ - clip_to: "clipper";\ - mouse_events: 0;\ - description {\ - state: "default" 0.0;\ - visible: 0;\ - min: 0 0;\ - max: 0 -1;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "right.padding"#_pos;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "right.padding"#_pos;\ - }\ - color: DATETIME_SEPARATOR_TEXT_COLOR;\ - text {\ - font: "Tizen:style=Regular";\ - size: DATETIME_SEPARATOR_TEXT_FONT_SIZE;\ - min: 1 0; \ - text_class: "tizen";\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - min: DATETIME_SEPARATOR_MIN_SIZE;\ - }\ - description { state: "pressed" 0.0;\ - inherit: "enable" 0.0;\ - color: DATETIME_TEXT_SELECTED_COLOR;\ - text {\ - size: DATETIME_SEPARATOR_TEXT_FONT_SIZE;\ - min: 1 0; \ - text_class: "tizen";\ - }\ - }\ - }\ - programs{\ - program {\ - name: "separator"#_pos",enabled";\ - signal: "field"#_pos",separator,enable";\ - source: "elm";\ - action: STATE_SET "enable" 0.0;\ - target: "separator"#_pos;\ - }\ - program {\ - name: "separator"#_pos",disabled";\ - signal: "field"#_pos",separator,disable";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "separator"#_pos;\ - }\ - program {\ - name: "separator"#_pos",pressed";\ - signal: "elm,action,press";\ - source: "separator"#_pos;\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"separator"#_pos, st, 30, vl);\ - if (!strcmp(st, "enable")) {\ - set_state(PART:"separator"#_pos, "pressed", 0.0);\ - }\ - }\ - }\ - program {\ - name: "separator"#_pos",unpressed";\ - signal: "elm,action,unpress";\ - source: "separator"#_pos;\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"separator"#_pos, st, 30, vl);\ - if (!strcmp(st, "pressed")) {\ - set_state(PART:"separator"#_pos, "enable", 0.0);\ - }\ - }\ - }\ - } - -#define DATETIME_PICKER_PADDING_PROGRAMS \ - program {\ - name: "datepicker_starting_field2_padding";\ - signal: "datepicker,starting,field2";\ - source: "elm";\ - script {\ - set_state(PART:"picker.padding2", "enable", 0.0);\ - set_state(PART:"picker.padding3", "default", 0.0);\ - }\ - }\ - program {\ - name: "datepicker_starting_field3_padding";\ - signal: "datepicker,starting,field3";\ - source: "elm";\ - script {\ - set_state(PART:"picker.padding3", "enable", 0.0);\ - set_state(PART:"picker.padding2", "default", 0.0);\ - }\ - }\ - program {\ - name: "timepicker_starting_field3_padding";\ - signal: "timepicker,starting,field3";\ - source: "elm";\ - script {\ - set_state(PART:"picker.padding2", "default", 0.0);\ - set_state(PART:"picker.padding3", "enable", 0.0);\ - }\ - }\ - program {\ - name: "timepicker_starting_field0_padding";\ - signal: "timepicker,starting,field0";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "picker.padding0";\ - }\ - program {\ - name: "datepicker_starting_field1_padding";\ - signal: "datepicker,starting,field1";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "picker.padding0";\ - target: "picker.padding2";\ - target: "picker.padding3";\ - }\ - program {\ - name: "datepicker_starting_field4_padding";\ - signal: "datepicker,starting,field4";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "picker.padding0";\ - target: "picker.padding2";\ - target: "picker.padding3";\ - } - - -#define DATETIME_DATEPICKER_BG \ - part {\ - name: "date.picker.left.pad"; \ - type: RECT;\ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - align: 1.0 0.5; \ - fixed: 1 0;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding0";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding0";\ - }\ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding3";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding3";\ - }\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding2";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding2";\ - }\ - }\ - }\ - part {\ - name: "date.picker.right.pad"; \ - type: RECT;\ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - align: 0.0 0.5; \ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "separator2";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "separator2";\ - }\ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "separator5";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "separator5";\ - }\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "separator4";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "separator4";\ - }\ - }\ - }\ - part {\ - name: "date.picker.bg"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - fixed: 1 0;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "date.picker.left.pad";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "date.picker.right.pad";\ - }\ - color: 0 0 0 0; \ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "datefirst_press" 0.0;\ - inherit: "datefirst" 0.0;\ - }\ - description { state: "timefirst_press" 0.0;\ - inherit: "timefirst" 0.0;\ - }\ - description { state: "timefirst24hr_press" 0.0;\ - inherit: "timefirst24hr" 0.0;\ - }\ - }\ - part {\ - name: "datepicker.focus";\ - scale: 1;\ - type: RECT; \ - description {\ - state: "default" 0.0;\ - visible: 0;\ - rel1.to : "date.picker.bg";\ - rel2.to : "date.picker.bg";\ - color: 0 0 0 0; \ - }\ - description { state: "focus" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - }\ - programs{\ - program {\ - name: "datepicker_starting_field0";\ - signal: "datepicker,starting,field0";\ - source: "elm";\ - action: STATE_SET "datefirst" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_starting_field3";\ - signal: "datepicker,starting,field3";\ - source: "elm";\ - action: STATE_SET "timefirst" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_starting_field2";\ - signal: "datepicker,starting,field2";\ - source: "elm";\ - action: STATE_SET "timefirst24hr" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_starting_field1";\ - signal: "datepicker,starting,field1";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_starting_field4";\ - signal: "datepicker,starting,field4";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_starting_field5";\ - signal: "datepicker,starting,field5";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_mouse_down";\ - signal: "mouse,down,1";\ - source: "date.picker.bg";\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"date.picker.bg", st, 30, vl);\ - if (!strcmp(st, "datefirst")) {\ - set_state(PART:"date.picker.bg", "datefirst_press", 0.0);\ - emit("elm,action,press", "separator0");\ - emit("elm,action,press", "separator1");\ - emit("elm,action,press", "separator2");\ - }\ - else if (!strcmp(st, "timefirst")) {\ - set_state(PART:"date.picker.bg", "timefirst_press", 0.0);\ - emit("elm,action,press", "separator3");\ - emit("elm,action,press", "separator4");\ - emit("elm,action,press", "separator5");\ - }\ - else if (!strcmp(st, "timefirst24hr")) {\ - set_state(PART:"date.picker.bg", "timefirst24hr_press", 0.0);\ - emit("elm,action,press", "separator2");\ - emit("elm,action,press", "separator3");\ - emit("elm,action,press", "separator4");\ - }\ - }\ - after: datepicker_press_signal;\ - }\ - program {\ - name: "datepicker_mouse_up";\ - signal: "mouse,up,1";\ - source: "date.picker.bg";\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"date.picker.bg", st, 30, vl);\ - if (!strcmp(st, "datefirst_press")) {\ - set_state(PART:"date.picker.bg", "datefirst", 0.0);\ - emit("elm,action,unpress", "separator0");\ - emit("elm,action,unpress", "separator1");\ - emit("elm,action,unpress", "separator2");\ - }\ - else if (!strcmp(st, "timefirst_press")) {\ - set_state(PART:"date.picker.bg", "timefirst", 0.0);\ - emit("elm,action,unpress", "separator3");\ - emit("elm,action,unpress", "separator4");\ - emit("elm,action,unpress", "separator5");\ - }\ - else if (!strcmp(st, "timefirst24hr_press")) {\ - set_state(PART:"date.picker.bg", "timefirst24hr", 0.0);\ - emit("elm,action,unpress", "separator2");\ - emit("elm,action,unpress", "separator3");\ - emit("elm,action,unpress", "separator4");\ - }\ - }\ - after: datepicker_unpress_signal;\ - }\ - program { name: "datepicker_press_signal";\ - action: SIGNAL_EMIT "elm,action,press" "date.picker.bg";\ - }\ - program { name: "datepicker_unpress_signal";\ - action: SIGNAL_EMIT "elm,action,unpress" "date.picker.bg";\ - }\ - program {\ - name: "datepicker_bg_hide";\ - signal: "datetime,datepicker,bg,hide";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "date.picker.bg";\ - target: "date.picker.left.pad";\ - target: "date.picker.right.pad";\ - }\ - program {\ - name: "datepicker_focus";\ - signal: "elm,action,focus_highlight,show";\ - source: "elm";\ - action: STATE_SET "focus" 0.0;\ - target: "datepicker.focus";\ - }\ - program {\ - name: "datepicker_unfocus";\ - signal: "elm,action,focus_highlight,hide";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "datepicker.focus";\ - }\ - program { name: "datepicker_touch_snd";\ - signal: "mouse,clicked,1";\ - source: "date.picker.bg";\ - action: PLAY_SAMPLE "touch_sound" 1.0;\ - after: datepicker_show_signal;\ - }\ - program { name: "datepicker_show_signal";\ - action: SIGNAL_EMIT "datepicker,show" "";\ - }\ - } - -#define DATETIME_TIMEPICKER_BG \ - part {\ - name: "time.picker.left.pad"; \ - type: RECT;\ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - align: 1.0 0.5; \ - fixed: 1 0;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding3";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding3";\ - }\ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding0";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding0";\ - }\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "left.padding0";\ - }\ - rel2 {\ - relative: 0.0 1.0;\ - to: "left.padding0";\ - }\ - }\ - }\ - part {\ - name: "time.picker.right.pad"; \ - type: RECT;\ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - align: 0.0 0.5; \ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "right.padding5";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "right.padding5";\ - }\ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "right.padding2";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "right.padding2";\ - }\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - min: DATETIME_PICKER_BG_PADDING_SIZE;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "right.padding1";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "right.padding1";\ - }\ - }\ - }\ - part {\ - name: "time.picker.bg"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - min: 0 0;\ - visible: 0;\ - fixed: 1 0;\ - rel1 {\ - relative: 0.0 0.0;\ - to: "time.picker.left.pad";\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "time.picker.right.pad";\ - }\ - color: 0 0 0 0; \ - }\ - description { state: "datefirst" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "timefirst" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "timefirst24hr" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - description { state: "datefirst_press" 0.0;\ - inherit: "datefirst" 0.0;\ - }\ - description { state: "timefirst_press" 0.0;\ - inherit: "timefirst" 0.0;\ - }\ - description { state: "timefirst24hr_press" 0.0;\ - inherit: "timefirst24hr" 0.0;\ - }\ - }\ - part {\ - name: "timepicker.focus";\ - type: RECT; \ - scale: 1;\ - description {\ - state: "default" 0.0;\ - visible: 0;\ - rel1.to : "time.picker.bg";\ - rel2.to : "time.picker.bg";\ - color: 0 0 0 0; \ - }\ - description { state: "focus" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - }\ - programs{\ - program {\ - name: "timepicker_starting_field3";\ - signal: "timepicker,starting,field3";\ - source: "elm";\ - in: 0.001 0.0;\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"field3", st, 30, vl);\ - if (!strcmp(st, "enable")) {\ - set_state(PART:"time.picker.bg", "datefirst", 0.0);\ - set_state(PART:"time.picker.left.pad", "datefirst", 0.0);\ - set_state(PART:"time.picker.right.pad", "datefirst", 0.0);\ - }\ - }\ - }\ - program {\ - name: "timepicker_starting_field0";\ - signal: "timepicker,starting,field0";\ - source: "elm";\ - in: 0.001 0.0;\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"date.picker.bg", st, 30, vl);\ - if (!strcmp(st, "timefirst24hr")) {\ - set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\ - set_state(PART:"time.picker.left.pad", "timefirst24hr", 0.0);\ - set_state(PART:"time.picker.right.pad", "timefirst24hr", 0.0);\ - }\ - else {\ - set_state(PART:"time.picker.bg", "timefirst", 0.0);\ - set_state(PART:"time.picker.left.pad", "timefirst", 0.0);\ - set_state(PART:"time.picker.right.pad", "timefirst", 0.0);\ - }\ - }\ - }\ - program {\ - name: "timepicker_starting_field1";\ - signal: "timepicker,starting,field1";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "time.picker.bg";\ - target: "time.picker.left.pad";\ - target: "time.picker.right.pad";\ - }\ - program {\ - name: "timepicker_starting_field2";\ - signal: "timepicker,starting,field2";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "time.picker.bg";\ - target: "time.picker.left.pad";\ - target: "time.picker.right.pad";\ - }\ - program {\ - name: "timepicker_starting_field4";\ - signal: "timepicker,starting,field4";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "time.picker.bg";\ - target: "time.picker.left.pad";\ - target: "time.picker.right.pad";\ - }\ - program {\ - name: "timepicker_starting_field5";\ - signal: "timepicker,starting,field5";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "time.picker.bg";\ - target: "time.picker.left.pad";\ - target: "time.picker.right.pad";\ - }\ - program {\ - name: "timepicker_mouse_down";\ - signal: "mouse,down,1";\ - source: "time.picker.bg";\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"time.picker.bg", st, 30, vl);\ - if (!strcmp(st, "datefirst")) {\ - set_state(PART:"time.picker.bg", "datefirst_press", 0.0);\ - emit("elm,action,press", "separator3");\ - emit("elm,action,press", "separator4");\ - emit("elm,action,press", "separator5");\ - }\ - else if (!strcmp(st, "timefirst")) {\ - set_state(PART:"time.picker.bg", "timefirst_press", 0.0);\ - emit("elm,action,press", "separator0");\ - emit("elm,action,press", "separator1");\ - emit("elm,action,press", "separator2");\ - }\ - else if (!strcmp(st, "timefirst24hr")) {\ - set_state(PART:"time.picker.bg", "timefirst24hr_press", 0.0);\ - emit("elm,action,press", "separator0");\ - emit("elm,action,press", "separator1");\ - }\ - }\ - after: timepicker_press_signal;\ - }\ - program {\ - name: "timepicker_mouse_up";\ - signal: "mouse,up,1";\ - source: "time.picker.bg";\ - script {\ - new st[31];\ - new Float:vl;\ - get_state(PART:"time.picker.bg", st, 30, vl);\ - if (!strcmp(st, "datefirst_press")) {\ - set_state(PART:"time.picker.bg", "datefirst", 0.0);\ - emit("elm,action,unpress", "separator3");\ - emit("elm,action,unpress", "separator4");\ - emit("elm,action,unpress", "separator5");\ - }\ - else if (!strcmp(st, "timefirst_press")) {\ - set_state(PART:"time.picker.bg", "timefirst", 0.0);\ - emit("elm,action,unpress", "separator0");\ - emit("elm,action,unpress", "separator1");\ - emit("elm,action,unpress", "separator2");\ - }\ - else if (!strcmp(st, "timefirst24hr_press")) {\ - set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\ - emit("elm,action,unpress", "separator0");\ - emit("elm,action,unpress", "separator1");\ - }\ - }\ - after: timepicker_unpress_signal;\ - }\ - program { name: "timepicker_press_signal";\ - action: SIGNAL_EMIT "elm,action,press" "time.picker.bg";\ - }\ - program { name: "timepicker_unpress_signal";\ - action: SIGNAL_EMIT "elm,action,unpress" "time.picker.bg";\ - }\ - program {\ - name: "timepicker_bg_hide";\ - signal: "datetime,timepicker,bg,hide";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "time.picker.bg";\ - target: "time.picker.left.pad";\ - target: "time.picker.right.pad";\ - }\ - program {\ - name: "timepicker_focus";\ - signal: "elm,action,focus_highlight,show";\ - source: "elm";\ - action: STATE_SET "focus" 0.0;\ - target: "timepicker.focus";\ - }\ - program {\ - name: "timepicker_unfocus";\ - signal: "elm,action,focus_highlight,hide";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "timepicker.focus";\ - }\ - program { name: "timepicker_touch_snd";\ - signal: "mouse,clicked,1";\ - source: "time.picker.bg";\ - action: PLAY_SAMPLE "touch_sound" 1.0;\ - after: timepicker_show_signal;\ - }\ - program { name: "timepicker_show_signal";\ - action: SIGNAL_EMIT "timepicker,show" "";\ - }\ - } - -group { name: "elm/datetime/base/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 0 DATETIME_WIDGET_HEIGHT; - max: -1 DATETIME_WIDGET_HEIGHT; - } - } - part { - name: "left.padding"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: DATETIME_WIDGET_PADDING_SIZE; - align: 0.0 0.5; - fixed: 1 0; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - } - } - part { - name: "right.padding"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: DATETIME_WIDGET_PADDING_SIZE; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to: "bg"; - } - rel2.to: "bg"; - } - } - part { name: "button.field.wheel"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - } - } - part { name: "button.field.ampm"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - } - } - - DATETIME_PADDING(0, "left.padding") - DATETIME_PADDING(1, "separator0") - DATETIME_PADDING(2, "separator1") - DATETIME_PADDING(3, "separator2") - DATETIME_PADDING(4, "separator3") - DATETIME_PADDING(5, "separator4") - - DATETIME_DATEPICKER_BG - DATETIME_TIMEPICKER_BG - - DATETIME_FIELD(0) - DATETIME_FIELD(1) - DATETIME_FIELD(2) - DATETIME_FIELD(3) - DATETIME_FIELD(4) - DATETIME_FIELD(5) - - part { - name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 102; - } - } - part { - name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.date.picker"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "date.picker.bg"; - rel2.to: "date.picker.bg"; - color: 0 0 0 0; - } - } - part { name: "access.time.picker"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "time.picker.bg"; - rel2.to: "time.picker.bg"; - color: 0 0 0 0; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "disble_datetime"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "disabler"; - target: "clipper"; - } - program { - name: "enable_datetime"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - DATETIME_PICKER_PADDING_PROGRAMS - } -} - -group { name: "elm/datetime/base/datepicker_layout"; - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_DEFAULT_BG_SIZE; - } - } - part { name: "top.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DATE_TOP_PADDING_HEIGHT; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 1.0 0.0; - to: "bg"; - } - align: 0.5 0.0; - } - } - part { name: "content.field"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DATE_CONTENT_FIELD_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - align: 0.5 0.0; - } - } - part { name: "left.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_LEFT_PADDING_WIDTH 0; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - } - } - part { name: "field0.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "month" 0.0; - inherit: "default"; - min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; - } - description { state: "date" 0.0; - inherit: "default"; - min: DATETIME_DATE_DATE_FIELD_WIDTH 0; - } - } - part { name: "field0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.to: "field0.padding"; - rel2.to: "field0.padding"; - } - } - part { name: "field.padding0"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "field0.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field0.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - } - part { name: "field1.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "field.padding0"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field.padding0"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "year" 0.0; - inherit: "default"; - min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; - } - description { state: "date" 0.0; - inherit: "default"; - min: DATETIME_DATE_DATE_FIELD_WIDTH 0; - } - } - part { name: "field1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.to: "field1.padding"; - rel2.to: "field1.padding"; - } - } - part { name: "field.padding1"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_FIELD_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "field1.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field1.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - } - part { name: "field2.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DATE_DATE_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "field.padding1"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field.padding1"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "year" 0.0; - inherit: "default"; - min: DATETIME_DATE_YEAR_FIELD_WIDTH 0; - } - description { state: "month" 0.0; - inherit: "default"; - min: DATETIME_DATE_MONTH_FIELD_WIDTH 0; - } - } - part { name: "field2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.to: "field2.padding"; - rel2.to: "field2.padding"; - } - } - part { name: "field3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "field4"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "field5"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "content.bottom.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_CONTENT_BOTTOM_PADDING_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - align: 0.5 0.0; - } - } - part { name: "button.field.left.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DEFAULT_BUTTON_LEFT_PADDING_WIDTH 0; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - } - } - part { name: "button.field.right.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DEFAULT_BUTTON_RIGHT_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - align: 1.0 0.5; - } - } - part { name: "button.field.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_BUTTON_FIELD_HEIGHT; - rel1 { - relative: 1.0 1.0; - to_x: "button.field.left.padding"; - to_y: "content.bottom.padding"; - } - rel2 { - relative: 0.0 1.0; - to_x: "button.field.right.padding"; - to_y: "content.bottom.padding"; - } - align: 0.5 0.0; - } - } - part { name: "button.field.wheel"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - rel1.to: "button.field.padding"; - rel2.to: "button.field.padding"; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "button.field.ampm"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - rel1.to: "button.field.padding"; - rel2.to: "button.field.padding"; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bottom.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_BOTTOM_PADDING_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "button.field.padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "button.field.padding"; - } - align: 0.5 0.0; - } - } - } - programs { - program { name: "field0.year"; - signal: "elm,state,field0,year"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "field0.padding"; - } - program { name: "field0.month"; - signal: "elm,state,field0,month"; - source: "*"; - action: STATE_SET "month" 0.0; - target: "field0.padding"; - } - program { name: "field0.date"; - signal: "elm,state,field0,date"; - source: "*"; - action: STATE_SET "date" 0.0; - target: "field0.padding"; - } - program { name: "field1.year"; - signal: "elm,state,field1,year"; - source: "*"; - action: STATE_SET "year" 0.0; - target: "field1.padding"; - } - program { name: "field1.month"; - signal: "elm,state,field1,month"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "field1.padding"; - } - program { name: "field1.date"; - signal: "elm,state,field1,date"; - source: "*"; - action: STATE_SET "date" 0.0; - target: "field1.padding"; - } - program { name: "field2.year"; - signal: "elm,state,field2,year"; - source: "*"; - action: STATE_SET "year" 0.0; - target: "field2.padding"; - } - program { name: "field2.month"; - signal: "elm,state,field2,month"; - source: "*"; - action: STATE_SET "month" 0.0; - target: "field2.padding"; - } - program { name: "field2.date"; - signal: "elm,state,field2,date"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "field2.padding"; - } - program { name: "show.ampm_button"; - signal: "elm,action,show,ampm_button"; - source: "*"; - action: STATE_SET "show" 0.0; - target: "button.field.ampm"; - after: "hide.wheel"; - } - program { name: "hide.ampm_button"; - signal: "elm,action,hide,ampm_button"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "button.field.ampm"; - after: "show.wheel"; - } - program { name: "show.wheel"; - action: STATE_SET "default" 0.0; - target: "button.field.wheel"; - } - program { name: "hide.wheel"; - action: STATE_SET "hide" 0.0; - target: "button.field.wheel"; - } - } -} - -group { name: "elm/datetime/base/timepicker_layout"; - images { - image: "tw_timepicker_num_dot.png" COMP; - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: DATETIME_DEFAULT_BG_SIZE; - } - } - part { name: "top.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_TIME_TOP_PADDING_HEIGHT; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 1.0 0.0; - to: "bg"; - } - align: 0.5 0.0; - } - } - part { name: "content.field"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_TIME_CONTENT_FIELD_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "top.padding"; - } - align: 0.5 0.0; - } - } - part { name: "left.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_LEFT_PADDING_WIDTH 0; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_AMPM_HIDE_LEFT_PADDING_WIDTH 0; - } - } - part { name: "field3.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "minute" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; - } - description { state: "ampm" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "field3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.to: "field3.padding"; - rel2.to: "field3.padding"; - visible: 1; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "separator.1.padding.left"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_SEPARATOR_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "field3.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field3.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "separator.1"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_SEPARATOR_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.1.padding.left"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.1.padding.left"; - to_y: "content.field"; - } - image.normal: "tw_timepicker_num_dot.png"; - align: 0.0 0.5; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - min: 0 0; - max: 0 0; - } - } - part { name: "separator.1.padding.right"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_SEPARATOR_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.1"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.1"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_FIELD_PADDING_WIDTH 0; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "field4.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.1.padding.right"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.1.padding.right"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "hour" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; - } - } - part { name: "field4"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.to: "field4.padding"; - rel2.to: "field4.padding"; - visible: 1; - } - } - part { name: "separator.2.padding.left"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: 0 0; - rel1 { - relative: 1.0 0.0; - to_x: "field4.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "field4.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_SEPARATOR_PADDING_WIDTH 0; - } - } - part { name: "separator.2"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.2.padding.left"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.2.padding.left"; - to_y: "content.field"; - } - image.normal: "tw_timepicker_num_dot.png"; - align: 0.0 0.5; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_SEPARATOR_WIDTH 0; - visible: 1; - } - } - part { name: "separator.2.padding.right"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_FIELD_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.2"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.2"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_SEPARATOR_PADDING_WIDTH 0; - } - } - part { name: "field5.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_TIME_AMPM_FIELD_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to_x: "separator.2.padding.right"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "separator.2.padding.right"; - to_y: "content.field"; - } - align: 0.0 0.5; - } - description { state: "hour" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_HOUR_FIELD_WIDTH 0; - } - description { state: "minute" 0.0; - inherit: "default" 0.0; - min: DATETIME_TIME_MINUTE_FIELD_WIDTH 0; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 0; - } - } - part { name: "field5"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "field5.padding"; - rel2.to: "field5.padding"; - visible: 1; - } - description { state: "ampm_hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "field0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "field1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "field2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "left.padding"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "left.padding"; - to_y: "content.field"; - } - align: 0.0 0.5; - visible: 0; - } - } - part { name: "content.bottom.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_CONTENT_BOTTOM_PADDING_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - align: 0.5 0.0; - } - } - part { name: "content.bottom.ampm.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_TIME_CONTENT_BOTTOM_AMPM_PADDING_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "content.field"; - } - align: 0.5 0.0; - } - } - part { name: "button.field.left.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DEFAULT_BUTTON_LEFT_PADDING_WIDTH 0; - rel1 { - relative: 0.0 0.0; - to: "bg"; - } - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - } - } - part { name: "button.field.right.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: DATETIME_DEFAULT_BUTTON_RIGHT_PADDING_WIDTH 0; - rel1 { - relative: 1.0 0.0; - to: "bg"; - } - rel2 { - relative: 1.0 1.0; - to: "bg"; - } - align: 1.0 0.5; - } - } - part { name: "button.field.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_BUTTON_FIELD_HEIGHT; - rel1 { - relative: 1.0 1.0; - to_x: "button.field.left.padding"; - to_y: "content.bottom.padding"; - } - rel2 { - relative: 0.0 1.0; - to_x: "button.field.right.padding"; - to_y: "content.bottom.padding"; - } - align: 0.5 0.0; - } - } - part { name: "button.field.ampm.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_AMPM_BUTTON_FIELD_HEIGHT; - rel1 { - relative: 1.0 1.0; - to_x: "button.field.left.padding"; - to_y: "content.bottom.ampm.padding"; - } - rel2 { - relative: 0.0 1.0; - to_x: "button.field.right.padding"; - to_y: "content.bottom.ampm.padding"; - } - align: 0.5 0.0; - } - } - part { name: "button.field.wheel"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - rel1.to: "button.field.padding"; - rel2.to: "button.field.padding"; - visible: 1; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "button.field.ampm"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - rel1.to: "button.field.padding"; - rel2.to: "button.field.padding"; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bottom.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - min: 0 DATETIME_DEFAULT_BOTTOM_PADDING_HEIGHT; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "button.field.padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "bg"; - to_y: "button.field.padding"; - } - align: 0.5 0.0; - } - } - } - programs { - program { name: "field3.hour"; - signal: "elm,state,field3,hour"; - source: "*"; - script { - set_state(PART:"field3.padding", "default", 0.0); - set_state(PART:"field3", "default", 0.0); - set_state(PART:"separator.1.padding.right", "default", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - } - program { name: "field3.minute"; - signal: "elm,state,field3,minute"; - source: "*"; - action: STATE_SET "minute" 0.0; - script { - set_state(PART:"field3.padding", "minute", 0.0); - set_state(PART:"field3", "default", 0.0); - set_state(PART:"separator.1.padding.right", "default", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - } - program { name: "field3.ampm"; - signal: "elm,state,field3,ampm"; - source: "*"; - action: STATE_SET "ampm" 0.0; - script { - set_state(PART:"field3.padding", "ampm", 0.0); - set_state(PART:"field3", "default", 0.0); - set_state(PART:"separator.1.padding.right", "hide", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - } - program { name: "field4.hour"; - signal: "elm,state,field4,hour"; - source: "*"; - action: STATE_SET "hour" 0.0; - target: "field4.padding"; - } - program { name: "field4.minute"; - signal: "elm,state,field4,minute"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "field4.padding"; - } - program { name: "field5.hour"; - signal: "elm,state,field5,hour"; - source: "*"; - script { - set_state(PART:"field5.padding", "hour", 0.0); - set_state(PART:"field5", "default", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - after: "show.separator.2"; - } - program { name: "field5.minute"; - signal: "elm,state,field5,minute"; - source: "*"; - script { - set_state(PART:"field5.padding", "minute", 0.0); - set_state(PART:"field5", "default", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - after: "show.separator.2"; - } - program { name: "field5.ampm"; - signal: "elm,state,field5,ampm"; - source: "*"; - script { - set_state(PART:"field5.padding", "default", 0.0); - set_state(PART:"field5", "default", 0.0); - set_state(PART:"left.padding", "default", 0.0); - } - after: "show.separator.1"; - } - program { name: "show.separator.1"; - signal: "elm,state,show,separator.1"; - source: "*"; - script { - set_state(PART:"separator.1.padding.left", "default", 0.0); - set_state(PART:"separator.1", "default", 0.0); - set_state(PART:"separator.1.padding.right", "default", 0.0); - set_state(PART:"separator.2.padding.left", "default", 0.0); - set_state(PART:"separator.2", "default", 0.0); - set_state(PART:"separator.2.padding.right", "default", 0.0); - } - } - program { name: "show.separator.2"; - signal: "elm,state,show,separator.2"; - source: "*"; - script { - set_state(PART:"separator.1.padding.left", "hide", 0.0); - set_state(PART:"separator.1", "hide", 0.0); - set_state(PART:"separator.1.padding.right", "hide", 0.0); - set_state(PART:"separator.2.padding.left", "show", 0.0); - set_state(PART:"separator.2", "show", 0.0); - set_state(PART:"separator.2.padding.right", "show", 0.0); - } - } - program { name: "field3.ampm.hide"; - signal: "elm,state,field3,ampm,hide"; - source: "*"; - action: STATE_SET "ampm_hide" 0.0; - target: "field3"; - target: "field3.padding"; - target: "separator.1.padding.right"; - target: "left.padding"; - } - program { name: "field5.ampm.hide"; - signal: "elm,state,field5,ampm,hide"; - source: "*"; - action: STATE_SET "ampm_hide" 0.0; - target: "field5"; - target: "field5.padding"; - target: "left.padding"; - } - program { name: "show.ampm_button"; - signal: "elm,action,show,ampm_button"; - source: "*"; - action: STATE_SET "show" 0.0; - target: "button.field.ampm"; - after: "hide.wheel"; - } - program { name: "hide.ampm_button"; - signal: "elm,action,hide,ampm_button"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "button.field.ampm"; - after: "show.wheel"; - } - program { name: "show.wheel"; - action: STATE_SET "default" 0.0; - target: "button.field.wheel"; - } - program { name: "hide.wheel"; - action: STATE_SET "hide" 0.0; - target: "button.field.wheel"; - } - } -} diff --git a/wearable/themes/widgets/entry.edc b/wearable/themes/widgets/entry.edc deleted file mode 100644 index da0cb08..0000000 --- a/wearable/themes/widgets/entry.edc +++ /dev/null @@ -1,3223 +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. - */ - -// FIXME: There is no UI images for entry !!! -// All images from redwood dark theme - -#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" -#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" -#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" -#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" -#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" - -group { name: "elm/entry/base/default"; - alias: "elm/entry/base-mixedwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_DISABLED_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_GUIDE_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-charwrap/default"; - alias: "elm/entry/base/char_wrap"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_TEXT_COLOR" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_DISABLED_TEXT_COLOR" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_GUIDE_TEXT_COLOR" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-nowrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_TEXT_COLOR" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_DISABLED_TEXT_COLOR" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR" color="ENTRY_PREEDIT_TEXT_COLOR" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR; - } - style { name: "entry_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_GUIDE_TEXT_COLOR" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} - -group { name: "elm/entry/base-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} - - group { name: "elm/entry/base-noedit-charwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-noedit-mixedwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-nowrap-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-password/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - - group { name: "elm/entry/cursor/default"; - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - color: 0 0 0 0; - } - } - - part { name: "glow"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - min: 3 0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 0 -2; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -2; - } - color: ENTRY_CURSOR_COLOR; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "show"; - action: STATE_SET "hidden" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show4"; - } - program { name: "show4"; - action: STATE_SET "default" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "show4"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "stop_glow"; - } - program { name: "stop_glow"; - action: ACTION_STOP; - target: "show"; - target: "show4"; - } - program { name: "show_cursor"; - signal: "elm,action,show,cursor"; - source: "elm"; - action: ACTION_STOP; - target: "show"; - target: "show4"; - after: "show_cursor1"; - } - program { name: "show_cursor1"; - action: STATE_SET "default" 0.0; - target: "glow"; - after: "show"; - } - } - } - - - group { name: "elm/entry/selection/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_BG_COLOR; - } - } - } - } - - group { name: "elm/entry/selection/block_handle_left"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_left.png" COMP; - image: "copy&paste_Handler_left_01.png" COMP; - image: "copy&paste_Handler_left_reverse.png" COMP; - image: "copy&paste_Handler_left_01_reverse.png" COMP; - } - parts { - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_left_01.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - image { - normal: "copy&paste_Handler_left.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 0; - image { - normal: "copy&paste_Handler_left_01_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_left_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - } - } - - group { name: "elm/entry/selection/block_handle_right"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_right.png" COMP; - image: "copy&paste_Handler_right_01.png" COMP; - image: "copy&paste_Handler_right_reverse.png" COMP; - image: "copy&paste_Handler_right_01_reverse.png" COMP; - } - parts { - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_right.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_right_01.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 0; - image { - normal: "copy&paste_Handler_right_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - image { - normal: "copy&paste_Handler_right_01_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - } - } - - group { name: "elm/entry/cursor_handle/default"; - images { - image: "copy&paste_Handler_center.png" COMP; - image: "copy&paste_Handler_center_reverse.png" COMP; - } - parts { - part { name: "handle"; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - max: 59 86; - min: 59 86; - align: 0 0; - visible: 0; - align: 0.5 0; - image { - normal: "copy&paste_Handler_center.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0.5 1.0; - image { - normal: "copy&paste_Handler_center_reverse.png"; - border: 0 0 0 0; - } - } - } - } - script { - public on_top; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - new on_top_val = get_int(on_top); - if (on_top_val) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "show", 0.0); - } - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "show"; - signal: "edje,cursor,handle,show"; - source: "edje"; - script { - set_int(on_top, 0); - set_state(PART:"handle", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,cursor,handle,hide"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "edje,cursor,handle,top"; - source: "edje"; - script { - set_int(on_top, 1); - set_state(PART:"handle", "top", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_left"; - parts { - part { name: "align"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - align: 0 0; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - rel2 { relative: 0 1; to_x: "align"; } - align: 0 0; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_right"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/anchor/default"; - parts { - part { name: "bg"; - type: SPACER; - description { state: "default" 0.0; - } - } - } - } - - group { name: "elm/entry/preedit/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 128 128 255; - } - } - } - } - -#define MAGNIFIER_SCALE 1.5 - - group { name: "elm/entry/magnifier/fixed-size"; - data.item: "height" MAGNIFIER_HEIGHT_FIXED; - data.item: "scale" MAGNIFIER_SCALE; - data.item: "arrow" 30; - images { - image: "copy&paste_Magnifier_left.png" COMP; - image: "copy&paste_Magnifier_middle.png" COMP; - image: "copy&paste_Magnifier_right.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED; - align: 0.5 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_left"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 1.0 0.0; - rel2 { relative: 0.5 1.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_right"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 0.0 0.0; - rel1 { relative: 0.5 0.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_left"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 0.0 1.0; to: "bg_middle_left"; } - image { - normal: "copy&paste_Magnifier_left.png"; - border: 21 1 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_middle"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg_middle_left"; } - rel2 { relative: 1.0 1.0; to: "bg_middle_right"; } - image { - normal: "copy&paste_Magnifier_middle.png"; - border: 1 38 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_right"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - rel1 { relative: 1.0 0.0; to: "bg_middle_right"; } - rel2.to: "bg"; - image { - normal: "copy&paste_Magnifier_right.png"; - border: 1 21 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "swallow"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "bg"; - offset: 21-5 22-8; //need to update when image with rounded corners releases - } - rel2 { - to: "bg"; - offset: -21+5 -44+10; - } - } - } - } - } - - group { name: "elm/entry/matchlist/default"; - data.item: "max_height" "230"; - parts { - part { name: "base"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 20; - } - rel2 { - relative: 1.0 1.0; - offset: 0 20; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - } - } - } - } - -group { name: "elm/entry/base/font_color_black"; - alias: "elm/entry/base-mixedwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/default"; - alias: "elm/entry/base/font_color_black/lighting"; - alias: "elm/entry/base/font_color_black/multiline"; - alias: "elm/entry/base/font_color_black/multiline/default"; - alias: "elm/entry/base/font_color_black/multiline/lighting"; - alias: "elm/entry/base/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} - -group { name: "elm/entry/base-charwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/char_wrap"; - alias: "elm/entry/base/font_color_black/default/char_wrap"; - alias: "elm/entry/base/font_color_black/lighting/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; - alias: "elm/entry/base-charwrap/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_char_wrap_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/font_color_black"; - alias: "elm/entry/base-single/font_color_black/default"; - alias: "elm/entry/base-single/font_color_black/lighting"; - alias: "elm/entry/base-single/font_color_black/singleline"; - alias: "elm/entry/base-single/font_color_black/singleline/default"; - alias: "elm/entry/base-single/font_color_black/singleline/lighting"; - alias: "elm/entry/base-single/editfield/font_color_black"; - alias: "elm/entry/base-single/editfield/searchbar/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} -group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; - inherit: "elm/entry/base-single/font_color_black"; - styles { - style { name: "tizen_text_class_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font_style=Oblique"; - tag: "b" "+ font_weight=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "tizen_text_class_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_style"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_disabled_style"; - } - } - } - } -} -group { name: "elm/entry/base-password/font_color_black"; - alias: "elm/entry/base-password/editfield/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - //source10: ""; // start edge selection - //source11: ""; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "off"; - } - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - parts { - part { name: "focus_bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "clipper"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "contentclipper"; - type: RECT; - scale: 1; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "icon_padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clear_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.clear"; - relative: 0.0 0.0; - } - } - } - part { name: "elm.swallow.clear"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - clip_to: "contentclipper"; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - to_y: "elm.swallow.content"; - to_x: "clear_padding"; - } - rel2 { - relative: 0.0 0.0; - to_y: "sb_hbar"; - to_x: "clear_padding"; - } - } - } - part { name: "elm.dragable.vbar"; - type: RECT; - scale: 1; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - type: RECT; - scale: 1; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - program { name: "icon_show"; - signal: "elm,action,show,icon"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "icon_hide"; - signal: "elm,action,hide,icon"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "clear_show"; - signal: "elm,state,clear,visible"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "clear_hide"; - signal: "elm,state,clear,hidden"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "end_show"; - signal: "elm,action,show,end"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,action,hide,end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - v = get_int(sbvis_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - v = get_int(sbvis_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } diff --git a/wearable/themes/widgets/gengrid.edc b/wearable/themes/widgets/gengrid.edc deleted file mode 100644 index b787dd5..0000000 --- a/wearable/themes/widgets/gengrid.edc +++ /dev/null @@ -1,536 +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. - */ - -/******************* Gengrid Macro ********************/ - -// VARIABLES - - #define GENGRID_CHECK_IMAGE \ - image: "tw_btn_checkbox_normal_holo_dark.png" COMP; \ - image: "tw_btn_checkbox_pressed_holo_dark.png" COMP; \ - image: "tw_btn_checkbox_disabled_holo_dark.png" COMP; \ - image: "tw_btn_check_on_disabled_holo_dark.png" COMP; \ - image: "tw_btn_check_on_holo_dark.png" COMP; \ - image: "tw_btn_check_on_pressed_holo_dark.png" COMP; - - #define GENGRID_CHECK_SCRIPT \ - public check_mode = 0; \ - public check_state = 0; \ - public check_disabled = 0; - - -// PARTS - - #define GENGRID_PART_CHECK(PART) \ - part { name: "check_bg_clip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "visible" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "check_bg"; \ - type: IMAGE; \ - mouse_events: 0; \ - scale: 1; \ - clip_to: "check_bg_clip"; \ - description { state: "default" 0.0; \ - min: CHECK_SIZE; \ - max: CHECK_SIZE; \ - align: 1.0 0.0; \ - fixed: 1 1; \ - rel1 { \ - relative: 1.0 0.0; \ - to: PART; \ - } \ - rel2 { \ - relative: 1.0 0.0; \ - to: PART; \ - } \ - image.normal: "tw_btn_checkbox_normal_holo_dark.png"; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "tw_btn_checkbox_pressed_holo_dark.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "tw_btn_checkbox_disabled_holo_dark.png"; \ - } \ - } \ - part { name: "check"; \ - scale: 1; \ - mouse_events: 0; \ - clip_to: "sequence_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "check_bg"; \ - rel2.to: "check_bg"; \ - image.normal: "tw_btn_check_on_holo_dark.png"; \ - visible: 0; \ - } \ - description { state: "on" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "on" 0.0; \ - image.normal: "tw_btn_check_on_pressed_holo_dark.png"; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "on" 0.0; \ - image.normal: "tw_btn_check_on_disabled_holo_dark.png"; \ - } \ - } \ - part { name: "sequence_clip"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1.to: "check_bg"; \ - rel2 { \ - relative: 0.0 1.0; \ - to: "bg"; \ - } \ - color: 255 255 255 255; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - rel2 { \ - relative: 1.0 1.0; \ - to: "check_bg"; \ - } \ - } \ - } - -// PROGRAMS - - #define GENGRID_PROGRAM_DEFAULT( TARGET ) \ - program { name: "default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - - #define GENGRID_PROGRAM_CHECK \ - program { name: "check_show"; \ - signal: "check,state,show"; \ - source: ""; \ - script { \ - set_int(check_mode, 1); \ - set_state(PART:"check_bg_clip", "visible", 0.0); \ - } \ - } \ - program { name: "check_hide"; \ - signal: "check,state,hide"; \ - source: ""; \ - script { \ - set_int(check_mode, 0); \ - set_state(PART:"check_bg_clip", "default", 0.0); \ - } \ - } \ - program { name: "check_on"; \ - signal: "check,state,on"; \ - source: ""; \ - script { \ - if (!get_int(check_mode)) return; \ - if (get_int(check_disabled) == 1) \ - { \ - set_state(PART:"check_bg", "disabled", 0.0); \ - set_state(PART:"check", "disabled", 0.0); \ - set_state(PART:"sequence_clip", "visible", 0.0); \ - } \ - else \ - { \ - set_state(PART:"check_bg", "on", 0.0); \ - run_program(PROGRAM:"check_show_effect"); \ - run_program(PROGRAM:"check_draw_effect"); \ - } \ - set_int(check_state, 1); \ - } \ - } \ - program { name: "check_off"; \ - signal: "check,state,off"; \ - source: ""; \ - script { \ - if (!get_int(check_mode)) return; \ - if (get_int(check_disabled) == 1) \ - set_state(PART:"check_bg", "disabled", 0.0); \ - else \ - set_state(PART:"check_bg", "default", 0.0); \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"sequence_clip", "default", 0.0); \ - set_int(check_state, 0); \ - } \ - } \ - program { name: "check_show_effect"; \ - action: STATE_SET "on" 0.0; \ - transition: LINEAR 0.233; \ - target: "check"; \ - } \ - program { name: "check_draw_effect"; \ - action: STATE_SET "visible" 0.0; \ - transition: LINEAR 0.267; \ - target: "sequence_clip"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - script { \ - if (!get_int(check_mode)) return; \ - if (get_int(check_state) == 1) \ - set_state(PART:"check", "disabled", 0.0); \ - else \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"bg", "disabled", 0.0); \ - set_int(check_disabled, 1); \ - } \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - script { \ - if (!get_int(check_mode)) return; \ - if (get_int(check_state) == 1) \ - set_state(PART:"check", "disabled", 0.0); \ - else \ - set_state(PART:"check", "default", 0.0); \ - set_state(PART:"bg", "default", 0.0); \ - set_int(check_disabled, 0); \ - } \ - } - - - group { name: "elm/gengrid/item/default/default"; - alias: "elm/gengrid/item/default_grid/default"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - color: GENGRID_BG_COLOR; - } - } - part { name: "left_top_padding"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_PADDING_LT_SIZE; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2 { - relative: 0.0 0.0; - to: "bg"; - } - } - } - part { name: "right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_PADDING_RB_SIZE; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - } - } - part { name: "item_bg"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - color: GENGRID_BG_COLOR; - rel1 { - relative: 1.0 1.0; - to: "left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "right_bottom_padding"; - } - } - } - part { name: "item_bg_left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_PADDING_ITEM_BG_LT_SIZE; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "item_bg"; - rel2 { - relative: 0.0 0.0; - to: "item_bg"; - } - } - } - part { name: "item_bg_right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: GENGRID_DEFAULT_PADDING_ITEM_BG_RB_SIZE; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "item_bg"; - } - rel2.to: "item_bg"; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to: "item_bg_left_top_padding"; - } - rel2 { - relative: 0.0 0.0; - to: "item_bg_right_bottom_padding"; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - } - programs { - program { name: "selected"; - signal: "elm,state,selected"; - source: "elm"; - } - program { name: "unselected"; - signal: "elm,state,unselected"; - source: "elm"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.swallow.icon"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - play_sample("touch_sound", 1.0); - } - } - } - } - - group { name: "elm/gengrid/item/gallery/default"; - inherit: "elm/gengrid/item/default/default"; - data.item: "contents" "elm.swallow.icon elm.swallow.end elm.swallow.center elm.swallow.top"; - images { - GENGRID_CHECK_IMAGE - } - script { - GENGRID_CHECK_SCRIPT - } - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_PADDING_LT_SIZE; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_GALLERY_PADDING_RB_SIZE; - } - } - part { name: "icon_left_top_padding"; - type: SPACER; - description { state: "default" 0.0; - min: GENGRID_GALLERY_ICON_PADDING_LT_SIZE; - max: GENGRID_GALLERY_ICON_PADDING_LT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "elm.swallow.top"; - type: SWALLOW; - description { state: "default" 0.0; - min: GENGRID_GALLERY_ICON_TOP_SIZE; - max: GENGRID_GALLERY_ICON_TOP_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel1.relative: 1.0 1.0; - rel1.to: "icon_left_top_padding"; - rel2.to: "icon_left_top_padding"; - } - } - part { name: "elm.swallow.center"; - type: SWALLOW; - description { state: "default" 0.0; - min: GENGRID_GALLERY_ICON_CENTER_SIZE; - max: GENGRID_GALLERY_ICON_CENTER_SIZE; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - GENGRID_PART_CHECK(elm.swallow.icon) - } - programs { - program { name: "selected"; - signal: "elm,state,selected"; - source: "elm"; - script { - if (!get_int(check_mode)) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "pressed", 0.0) - else - set_state(PART:"check", "default", 0.0) - set_state(PART:"check_bg", "pressed", 0.0); - } - } - program { name: "unselected"; - signal: "elm,state,unselected"; - source: "elm"; - script { - if (!get_int(check_mode)) return; - if (get_int(check_state) == 1) - set_state(PART:"check", "on", 0.0); - else - set_state(PART:"check", "default", 0.0); - set_state(PART:"check_bg", "default", 0.0); - } - } - GENGRID_PROGRAM_DEFAULT( - target: "check_bg_clip"; - target: "check_bg"; - target: "check"; - ) - GENGRID_PROGRAM_CHECK - } - } - - group { name: "elm/gengrid/item/image_viewer/default"; - inherit: "elm/gengrid/item/gallery/default"; - data.item: "contents" "elm.swallow.icon elm.swallow.end elm.swallow.center elm.swallow.top"; - images { - image: "b_image_viewer_select.png" COMP; - } - parts { - part { name: "left_top_padding"; - description { state: "default" 0.0; - min: GENGRID_IMAGE_VIEWER_PADDING_LT_SIZE; - } - } - part { name: "right_bottom_padding"; - description { state: "default" 0.0; - min: GENGRID_IMAGE_VIEWER_PADDING_RB_SIZE; - } - } - part { name: "select_line"; - type: IMAGE; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - image { - normal: "b_image_viewer_select.png"; - border_scale: 1; - border: GENGRID_IMAGE_VIEWER_SELECT_LINE_BORDER; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - GENGRID_PROGRAM_DEFAULT( - target: "check_bg_clip"; - target: "check_bg"; - target: "check"; - target: "select_line"; - ) - program { name: "select_visible"; - signal: "elm,select,visible"; - source: ""; - action: STATE_SET "enabled" 0.0; - target: "select_line"; - } - program { name: "select_default"; - signal: "elm,select,default"; - source: ""; - action: STATE_SET "default" 0.0; - target: "select_line"; - } - program { name: "check_on"; - signal: "check,state,on"; - source: ""; - script { - if (!get_int(check_mode)) return; - if (get_int(check_disabled) == 1) - { - set_state(PART:"check_bg", "disabled_on", 0.0); - set_state(PART:"check", "disable", 0.0); - set_state(PART:"sequence_clip", "visible", 0.0); - } - else - { - set_state(PART:"check_bg", "on", 0.0); - run_program(PROGRAM:"check_show_effect"); - run_program(PROGRAM:"check_draw_effect"); - } - set_int(check_state, 1); - set_state(PART:"select_line", "visible", 0.0); - } - } - program { name: "check_off"; - signal: "check,state,off"; - source: ""; - script { - if (!get_int(check_mode)) return; - if (get_int(check_disabled) == 1) - set_state(PART:"check_bg", "disabled_off", 0.0); - else - set_state(PART:"check_bg", "default", 0.0); - set_state(PART:"sequence_clip", "default", 0.0); - set_state(PART:"check", "default", 0.0); - set_int(check_state, 0); - set_state(PART:"select_line", "default", 0.0); - } - } - } - } - diff --git a/wearable/themes/widgets/genlist.edc b/wearable/themes/widgets/genlist.edc deleted file mode 100644 index 116e168..0000000 --- a/wearable/themes/widgets/genlist.edc +++ /dev/null @@ -1,1555 +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. - */ - -/* - * vim:ts=3 -*/ -#include "genlist_macro.edc" - -group { name: "elm/genlist/item/default/default"; - alias: "elm/list/item/default"; - alias: "elm/list/item_odd/default"; - alias: "elm/list/item_compress/default"; - alias: "elm/list/item_compress_odd/default"; - - PROLOG_LIST - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(SWALLOW, "elm.swallow.icon", - DESC_L("elm.padding.left",) - ) - PART(TEXT, "elm.text", - DESC_LRTB("elm.swallow.icon", "elm.swallow.end", "elm.padding.top", "elm.padding.bottom", - min: 0 0; - text { - min: 0 1; - font: "Tizen:style=Regular"; - size: LIST_TEXT_MAIN_SIZE; - text_class: "list_item"; - align: 0 0.5; - } - color: 255 255 255 255; - ) - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 51 51 51 255; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - } - ) - PART(SWALLOW, "elm.swallow.end", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom",) - ) - } - PROGRAMS_LIST( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; ) -} - -group { name: "elm/genlist/item/groupindex/default"; - PROLOG_LIST - data.item: "texts" "elm.text elm.text.1"; - data.item: "contents" "elm.icon"; - - parts { - PART(RECT, "bg", - description { state: "default" 0.0; - color: LIST_GROUPINDEX_BG_NORMAL_COLOR; - } - ) - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_GROUPINDEX_PADDING_TOP_SIZE, LIST_GROUPINDEX_PADDING_BOTTOM_SIZE - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.text.padding", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_GROUPINDEX_HEIGHT; - PARAM_TEXT("list_text_groupindex_normal",) - ) - ) - PART(SPACER, "elm.text.padding", - DESC_R("elm.text.1", min: 5 0; max: 5 -1; ) - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_RTB("elm.icon.padding", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_GROUPINDEX_HEIGHT; - align: 1.0 0.5; - rel1 { - to: "bg"; - relative: 0.5 0; - } - PARAM_TEXT("list_text_groupindex_sub_normal", max: 1 0;) - ) - ) - PART(SPACER, "elm.icon.padding", - DESC_R("elm.icon", min: 2 0; max: 2 -1;) - ) - PART(SWALLOW, "elm.icon", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_GROUPINDEX_HEIGHT; - ) - ) - } -} - -group { name: "elm/genlist/item/1text/default"; - PROLOG_LIST - - data.item: "texts" "elm.text"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - } - PROGRAMS_LIST( target: "elm.text"; ) -} - -group { name: "elm/genlist/item/1text/swipe/default"; - inherit: "elm/genlist/item/1text/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/1text/swipe_left/default"; - inherit: "elm/genlist/item/1text/swipe/default"; - - data.item: "texts" "elm.text elm.text.swipe.left"; - data.item: "contents" "elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/1text/swipe_right/default"; - inherit: "elm/genlist/item/1text/swipe/default"; - - data.item: "texts" "elm.text elm.text.swipe.right"; - data.item: "contents" "elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/2text/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti"; - data.item: "contents" "elm.swallow.colorbar elm.icon.noti"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.icon.noti", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SWALLOW, "elm.icon.noti", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - ) - ) - PART(TEXTBLOCK, "elm.text.noti", - mouse_events: 0; - DESC_TO("elm.icon.noti", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - PARAM_TEXT("list_noti_style", min: 1 1;) - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.text.noti"; target: "elm.icon.noti";) -} - -group { name: "elm/genlist/item/2text/swipe/default"; - inherit: "elm/genlist/item/2text/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/2text/swipe_left/default"; - inherit: "elm/genlist/item/2text/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.left"; - data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/2text/swipe_right/default"; - inherit: "elm/genlist/item/2text/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.swipe.right"; - data.item: "contents" "elm.swallow.colorbar elm.icon.noti elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/2text.1/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.swallow.colorbar"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.2", - DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.right","elm.text.2", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; ) -} - -group { name: "elm/genlist/item/2text.1/swipe/default"; - inherit: "elm/genlist/item/2text.1/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon.swipe.left elm.icon.swipe.right elm.swallow.colorbar"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/2text.1/swipe_left/default"; - inherit: "elm/genlist/item/2text.1/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left"; - data.item: "contents" "elm.icon.swipe.left elm.swallow.colorbar"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/2text.1/swipe_right/default"; - inherit: "elm/genlist/item/2text.1/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.right"; - data.item: "contents" "elm.icon.swipe.right elm.swallow.colorbar"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/1icon/default"; - PROLOG_LIST - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - 2, 2 // FIXME: arbitrary value to prevent overlap with bottom lines - ) - PART_LIST_BOTTOMLINE - PART(SWALLOW, "elm.icon", - DESC_LRTB( - "elm.padding.left", "elm.padding.right", - "elm.padding.top", "elm.padding.bottom", - min: 0 ( LIST_1LINE_HEIGHT - (2 + 2)); - ) - ) - } - PROGRAMS_LIST( target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/1icon/with_no_line/default"; - inherit: "elm/genlist/item/1icon/default"; - - parts { - PART_LIST_BOTTOMLINE_OFF - } -} - -group { name: "elm/genlist/item/1icon/no_padding/default"; - inherit: "elm/genlist/item/1icon/default"; - - parts { - PART_LIST_PADDINGS(0, 0, 0, 0) - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 LIST_1LINE_HEIGHT; - } - } - } -} - -group { name: "elm/genlist/item/1icon/no_padding_line/default"; - inherit: "elm/genlist/item/1icon/default"; - - parts { - PART_LIST_PADDINGS(0, 0, 0, 0) - PART_LIST_BOTTOMLINE_OFF - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 LIST_1LINE_HEIGHT; - } - } - } -} - -group { name: "elm/genlist/item/1icon/no_line_transparent/default"; - inherit: "elm/genlist/item/1icon/default"; - - parts { - part { name: "bg"; - clip_to: "bg_clip"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - PART_LIST_PADDINGS(0, 0, 8, 8) - PART_LIST_BOTTOMLINE_OFF - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 LIST_1LINE_HEIGHT; - } - } - } -} - -group { name: "elm/genlist/item/1text.1icon/default"; - PROLOG_LIST - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(SWALLOW, "elm.icon", - DESC_L("elm.padding.left", - fixed: 1 1; - ) - ) - PART(SPACER, "elm.padding.icon.right", - DESC_L("elm.icon", min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - } - PROGRAMS_LIST( target: "elm.text"; target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/1text.1icon.1/default"; - PROLOG_LIST - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.icon.left", - DESC_R("elm.icon", min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; ) - ) - PART(SWALLOW, "elm.icon", DESC_R("elm.padding.right", ) ) - } - PROGRAMS_LIST( target: "elm.text"; target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/1text.1icon.divider/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.divider.left", - DESC_R("elm.divider", - min: LIST_DIVIDER_PADDING_SIZE 0; max: LIST_DIVIDER_PADDING_SIZE -1; - ) - ) - PART(SWALLOW, "elm.icon", - DESC_FROM_R( - min: BUTTON_DIVIDER_BTN_SIZE 0; - max: BUTTON_DIVIDER_BTN_SIZE -1; - rel1.to: "bg"; - rel2.to: "bg"; - ) - ) - PART(RECT, "elm.divider", - DESC_R("elm.icon", - align: 0 0.5; - min: 1 LIST_DIVIDER_HEIGHT; - max: 1 LIST_DIVIDER_HEIGHT; - color: LIST_DIVIDER_COLOR; - ) - ) - - } - PROGRAMS_LIST( target: "elm.text.1"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/1text.1icon.divider/sweep/default"; - inherit: "elm/genlist/item/1text.1icon.divider/default"; - data.item: "texts" "elm.text.1 elm.text.sweep"; - data.item: "contents" "elm.icon elm.icon.sweep"; - SCRIPTS_LIST_SWEEP - parts { - PARTS_LIST_SWEEP - } - programs { - PROGRAMS_LIST_SWEEP - } -} - -group { name: "elm/genlist/item/2text.1icon/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - - PART(SWALLOW, "elm.icon", - DESC_L("elm.padding.left",) - ) - PART(SPACER, "elm.padding.icon.right", - DESC_L("elm.icon", min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB( "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/2text.1icon/swipe/default"; - inherit: "elm/genlist/item/2text.1icon/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/2text.1icon/swipe_left/default"; - inherit: "elm/genlist/item/2text.1icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.left"; - data.item: "contents" "elm.icon elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/2text.1icon/swipe_right/default"; - inherit: "elm/genlist/item/2text.1icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.swipe.right"; - data.item: "contents" "elm.icon elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/2text.1icon.1/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.icon.left", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(SPACER, "elm.padding.icon.left", - DESC_R("elm.icon", - min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; - ) - ) - PART(SWALLOW, "elm.icon", DESC_R("elm.padding.right", ) ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/2text.1icon.divider/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(SPACER, "elm.padding.divider.left", - DESC_R("elm.divider", - min: LIST_DIVIDER_PADDING_SIZE 0; max: LIST_DIVIDER_PADDING_SIZE -1; - ) - ) - PART(SWALLOW, "elm.icon", - DESC_FROM_R( - min: BUTTON_DIVIDER_BTN_SIZE 0; - max: BUTTON_DIVIDER_BTN_SIZE -1; - rel1.to: "bg"; - rel2.to: "bg"; - ) - ) - PART(RECT, "elm.divider", - DESC_R("elm.icon", - align: 0 0.5; - min: 1 LIST_DIVIDER_HEIGHT; - max: 1 LIST_DIVIDER_HEIGHT; - color: LIST_DIVIDER_COLOR; - ) - ) - - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/multiline/2text/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - - PART(TEXTBLOCK, "elm.text.1", - DESC_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.text1.bottom", - DESC_T("elm.text.1", - min: 0 4; max: -1 4; - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.text1.bottom", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_multiline_normal",) - ) - DESCRIPIONS_TEXT("list_text_sub_multiline_dim", "list_text_sub_multiline_selected") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; ) -} - -group { name: "elm/genlist/item/multiline/1text/default"; - alias: "elm/layout/multiline/1text/default"; - PROLOG_LIST - data.item: "texts" "elm.text"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_PADDING_DEFAULT_SIZE, LIST_PADDING_DEFAULT_SIZE - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_MULTILINE_HEIGHT; - PARAM_TEXT("list_text_multiline",) - ) - ) - } - PROGRAM_LIST_DEFAULT( target: "elm.text"; ) -} - -group { name: "elm/genlist/item/email/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.icon", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SWALLOW, "elm.icon", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.2", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - ) - ) - PART(TEXTBLOCK, "elm.text.noti", - mouse_events: 0; - DESC_TO("elm.icon", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - PARAM_TEXT("list_noti_style", min: 1 1;) - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.text.noti"; target: "elm.icon";) - - -} - -group { name: "elm/genlist/item/email/sweep/default"; - inherit: "elm/genlist/item/email/default"; - data.item: "texts" "elm.text.1 elm.text.2 elm.text.noti elm.text.sweep"; - data.item: "contents" "elm.swallow.colorbar elm.icon elm.icon.sweep"; - SCRIPTS_LIST_SWEEP - parts { - PARTS_LIST_SWEEP - } - programs { - PROGRAMS_LIST_SWEEP - } -} - -group { name: "elm/genlist/item/email/group/default"; - PROLOG_LIST - - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - PART(RECT, "bg_clip", - mouse_events: 0; - description { state: "default" 0.0; } - description { state: "decorate" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - description { state: "decorate_reorder" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - ) - PART(RECT, "bg", - clip_to: "bg_clip"; - description { state: "default" 0.0; - color: LIST_GROUPINDEX_BG_NORMAL_COLOR; - } - description { state: "selected" 0.0; - color: LIST_GROUPINDEX_BG_PRESSED_COLOR; - } - ) - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_EMAIL_GROUP_PADDING_RIGHT_SIZE, - LIST_EMAIL_GROUP_PADDING_TOP_SIZE, LIST_EMAIL_GROUP_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.text.2.left", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_EMAIL_GROUP_HEIGHT; - PARAM_TEXT("list_email_address_style",) - ) - ) - PART(SPACER, "elm.text.2.left", - DESC_RTB("elm.text.2", "elm.padding.top", "elm.padding.bottom", - min: LIST_EMAIL_GROUP_PADDING_SIZE 0; - max: LIST_EMAIL_GROUP_PADDING_SIZE -1; - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_EMAIL_GROUP_HEIGHT; - PARAM_TEXT("list_email_number_style", min: 1 1; ) - ) - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2";) -} - -// FIXME: weahter list GUI is not defined yet. -group { name: "elm/genlist/item/weather/default"; - PROLOG_LIST - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_WEATHER_PADDING_LEFT_SIZE, LIST_WEATHER_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.text.2", - min: 74 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LB("elm.padding.left", "elm.padding.bottom", - min: 74 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(SPACER, "elm.padding.icon.left", - DESC_L("elm.text.2", - min: 4 0; - max: 4 -1;) - ) - PART(SWALLOW, "elm.icon", - DESC_L("elm.padding.icon.left", - min: 78 82; - max: 78 82;) - ) - PART(TEXTBLOCK, "elm.text.3", - DESC_LR( "elm.icon", "elm.padding.right", - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.text.3"; target: "elm.icon";) -} - -group { name: "elm/genlist/item/weather/time/default"; - PROLOG_LIST - - data.item: "texts" "elm.text"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - 0, 0 - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 0 LIST_WEATHER_TIME_HEIGHT; - PARAM_TEXT("list_weather_time_style",) - ) - ) - } - PROGRAMS_LIST( target: "elm.text"; ) -} - -group { name: "elm/genlist/item/noti/default"; - PROLOG_LIST - data.item: "texts" "elm.text elm.text.noti"; - data.item: "contents" "elm.icon elm.icon.noti"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(SWALLOW, "elm.icon", - DESC_L("elm.padding.left", - fixed: 1 1; - align: 0.0 0.5; - min: LIST_NOTI_ICON_SIZE; - max: LIST_NOTI_ICON_SIZE; - ) - ) - PART(SPACER, "elm.padding.icon.right", - DESC_L("elm.icon", - min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.icon.right", "elm.padding.icon.noti.left", "elm.padding.top", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.icon.noti.left", - DESC_R("elm.icon.noti", - min: LIST_PADDING_DEFAULT_SIZE 0; max: LIST_PADDING_DEFAULT_SIZE -1; ) - ) - PART(SWALLOW, "elm.icon.noti", - DESC_R("elm.padding.right", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - ) - ) - PART(TEXTBLOCK, "elm.text.noti", - mouse_events: 0; - DESC_TO("elm.icon.noti", - min: 0 LIST_NOTI_NUMBER_ICON_HEIGHT; - PARAM_TEXT("list_noti_style", min: 1 1;) - ) - ) - } - PROGRAMS_LIST( target: "elm.text"; target: "elm.text.noti"; - target: "elm.icon"; target: "elm.icon.noti"; ) -} - -group { name: "elm/genlist/item/noti/sweep/default"; - inherit: "elm/genlist/item/noti/default"; - data.item: "texts" "elm.text elm.text.noti elm.text.sweep"; - data.item: "contents" "elm.icon elm.icon.noti elm.icon.sweep"; - SCRIPTS_LIST_SWEEP - parts { - PARTS_LIST_SWEEP - } - programs { - PROGRAMS_LIST_SWEEP - } -} - -group { name: "elm/genlist/item/hidden/default"; - inherit: "elm/genlist/item/1icon/no_padding/default"; - - parts { - PART_LIST_PADDINGS(0, 0, 0, 0) - part { name: "elm.icon"; - description { state: "default" 0.0; - min: 0 LIST_HIDDEN_HEIGHT; - } - } - } -} - -group { name: "elm/genlist/item/svoice/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - data.item: "contents" "elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.icon.left", - DESC_R("elm.icon", - min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; - ) - ) - PART(SWALLOW, "elm.icon", - DESC_RT("elm.padding.right", "elm.padding.top", - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.text.3", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(TEXTBLOCK, "elm.text.3", - DESC_RB("elm.padding.right", "elm.padding.bottom", - min: LIST_SVOICE_TIME_TEXT_WIDTH 0; - PARAM_TEXT("list_text_sub_svoice",) - ) DESCRIPIONS_TEXT("list_text_sub_dim_svoice", "list_text_sub_svoice") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/shealth/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE - 1, LIST_2LINE_PADDING_BOTTOM_SIZE - 1 - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.text.3", "elm.padding.right", "elm.padding.top", "elm.text.2", - PARAM_TEXT("list_text_shealth_normal",) - ) DESCRIPIONS_TEXT("list_text_shealth_dim", "list_text_shealth_normal") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - PARAM_TEXT("list_text_sub_shealth_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_shealth_dim", "list_text_sub_shealth_normal") - ) - PART(TEXTBLOCK, "elm.text.3", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.2", - align: 0.0 0.5; - PARAM_TEXT("list_text_main_normal", max: 1 0;) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; ) -} - -group { name: "elm/genlist/item/shealth.2text.1icon/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.swallow.colorbar elm.icon"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.2", - DESC_LRT("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", - min: 0 0; - PARAM_TEXT("list_text_sub_normal",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_normal") - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.icon.left","elm.text.2", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_main_normal",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_normal") - ) - PART(SPACER, "elm.padding.icon.left", - DESC_R("elm.icon", - min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; - ) - ) - PART(SWALLOW, "elm.icon", DESC_R("elm.padding.right", ) ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.icon"; ) -} - -group { name: "elm/genlist/item/schedules/past/default"; - inherit: "elm/genlist/item/2text/default"; - - parts { - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.icon.noti", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_dim",) - ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_dim") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_dim",) - ) DESCRIPIONS_TEXT("list_text_sub_dim", "list_text_sub_dim") - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; - target: "elm.text.noti"; target: "elm.icon.noti";) -} - -group { name: "elm/genlist/item/schedules_widget/default"; - inherit: "elm/genlist/item/2text/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.swallow.colorbar"; - parts { - PART(RECT, "bg", - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: LIST_SCHEDULES_BG_PRESSED_COLOR; - } - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.icon.noti", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_normal_schedules",) - ) DESCRIPIONS_TEXT("list_text_main_dim_schedules", "list_text_main_normal_schedules") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_normal_schedules",) - ) DESCRIPIONS_TEXT("list_text_sub_dim_schedules", "list_text_sub_normal_schedules") - ) - PART(RECT, "bottom_line", - description { state: "default" 0.0; - color: LIST_SCHEDULES_LINE_COLOR; - } - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; ) -} - -group { name: "elm/genlist/item/schedules_widget/past/default"; - inherit: "elm/genlist/item/schedules_widget/default"; - parts { - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.icon.noti", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_text_main_dim_schedules",) - ) DESCRIPIONS_TEXT("list_text_main_dim_schedules", "list_text_main_dim_schedules") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_text_sub_dim_schedules",) - ) DESCRIPIONS_TEXT("list_text_sub_dim_schedules", "list_text_sub_dim_schedules") - ) - } -} - -//logs -group { name: "elm/genlist/item/logs/default"; - PROLOG_LIST - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_1LINE_PADDING_TOP_SIZE, LIST_1LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(SPACER, "elm.padding.center", - description { state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - min: 0 0; - max: -1 0; - } - ) - PART(SWALLOW, "elm.icon.1", - DESC_LB("elm.padding.left", "elm.padding.center", - fixed: 1 1; - min: LIST_LOGS_ICON_SIZE; - max: LIST_LOGS_ICON_SIZE; - ) - ) - PART(SWALLOW, "elm.icon.2", - DESC_LT("elm.padding.left", "elm.padding.center", - fixed: 1 1; - min: LIST_LOGS_ICON_SIZE; - max: LIST_LOGS_ICON_SIZE; - ) - ) - PART(SPACER, "elm.padding.icon.right", - DESC_L("elm.icon.1", min: LIST_LOGS_PADDING_DEFAULT_SIZE 0; max: LIST_LOGS_PADDING_DEFAULT_SIZE -1; ) - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_logs_style",) - ) - ) - } - PROGRAMS_LIST( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2";) -} - -group { name: "elm/genlist/item/logs/swipe/default"; - inherit: "elm/genlist/item/logs/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/logs/swipe_left/default"; - inherit: "elm/genlist/item/logs/swipe/default"; - - data.item: "texts" "elm.text elm.text.swipe.left"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/logs/swipe_right/default"; - inherit: "elm/genlist/item/logs/swipe/default"; - - data.item: "texts" "elm.text elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/logs.2text.2icon/default"; - PROLOG_LIST - data.item: "texts" "elm.text.1 elm.text.3"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_PADDING_LEFT_SIZE, LIST_PADDING_RIGHT_SIZE, - LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE - ) - PART_LIST_BOTTOMLINE - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.text.3", - min: 0 0; - PARAM_TEXT("list_logs_style",) - ) - ) - PART(SWALLOW, "elm.icon.1", - DESC_LT("elm.padding.left", "elm.text.1", - fixed: 1 1; - min: LIST_LOGS1_ICON_SIZE; - max: LIST_LOGS1_ICON_SIZE; - ) - ) - PART(SWALLOW, "elm.icon.2", - DESC_LT("elm.icon.1", "elm.text.1", - fixed: 1 1; - min: LIST_LOGS1_ICON_SIZE; - max: LIST_LOGS1_ICON_SIZE; - ) - ) - PART(TEXTBLOCK, "elm.text.3", - DESC_RB("elm.padding.right", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_logs_sub_style", min: 1 1;) - ) - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.3"; target: "elm.icon.1"; target: "elm.icon.2";) -} - -group { name: "elm/genlist/item/logs.2text.2icon/swipe/default"; - inherit: "elm/genlist/item/logs.2text.2icon/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text.1 elm.text.3 elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/logs.2text.2icon/swipe_left/default"; - inherit: "elm/genlist/item/logs.2text.2icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.3 elm.text.swipe.left"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_LEFT - } - PROGRAMS_LIST_SWIPE_LEFT -} - -group { name: "elm/genlist/item/logs.2text.2icon/swipe_right/default"; - inherit: "elm/genlist/item/logs.2text.2icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.3 elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/logs.3text.2icon/default"; - inherit: "elm/genlist/item/logs.2text.2icon/default"; - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; - - parts { - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.text2.right", "elm.padding.top", "elm.text.3", - min: 0 0; - PARAM_TEXT("list_logs_style",) - ) - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_RTB("elm.padding.right", "elm.padding.top", "elm.text.3", - min: 0 0; - PARAM_TEXT("list_logs2_style", min: 1 1;) - ) - ) - PART(SPACER, "elm.padding.text2.right", - DESC_R("elm.text.2", min: LIST_LOGS1_TEXT_RIGHT_PADDING_SIZE 0; max: LIST_LOGS1_TEXT_RIGHT_PADDING_SIZE -1;) - ) - } - PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.icon.1"; target: "elm.icon.2";) -} - -group { name: "elm/genlist/item/logs.3text.2icon/swipe/default"; - inherit: "elm/genlist/item/logs.3text.2icon/default"; - SCRIPTS_LIST_SWIPE - IMAGES_LIST_SWIPE - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.swipe.left elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE - } - PROGRAMS_LIST_SWIPE -} - -group { name: "elm/genlist/item/logs.3text.2icon/swipe_left/default"; - inherit: "elm/genlist/item/logs.3text.2icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.swipe.left"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.left"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/logs.3text.2icon/swipe_right/default"; - inherit: "elm/genlist/item/logs.3text.2icon/swipe/default"; - - data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.swipe.right"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.swipe.right"; - - parts { - PARTS_LIST_SWIPE_RIGHT - } - PROGRAMS_LIST_SWIPE_RIGHT -} - -group { name: "elm/genlist/item/logs.1text.1icon.divider/default"; - inherit: "elm/genlist/item/1text.1icon.divider/default"; - - parts { - PART(RECT, "bg", - clip_to: "bg_clip"; - description { state: "default" 0.0; - color: ACTIONBAR_BG_COLOR; - } - ) - PART(RECT, "elm.divider", - DESC_R("elm.icon", - align: 0 0.5; - min: 1 LIST_DIVIDER_HEIGHT; - max: 1 LIST_DIVIDER_HEIGHT; - color: LIST_SWEEP_DIVIDER_COLOR; - ) - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_logs_action_bar_style",) - ) DESCRIPIONS_TEXT("list_logs_action_bar_style", "list_logs_action_bar_style") - ) - } -} - -group { name: "elm/genlist/item/logs.2text.1icon.divider/default"; - inherit: "elm/genlist/item/2text.1icon.divider/default"; - - parts { - PART(RECT, "bg", - clip_to: "bg_clip"; - description { state: "default" 0.0; - color: ACTIONBAR_BG_COLOR; - } - ) - PART(RECT, "elm.divider", - DESC_R("elm.icon", - align: 0 0.5; - min: 1 LIST_DIVIDER_HEIGHT; - max: 1 LIST_DIVIDER_HEIGHT; - color: LIST_SWEEP_DIVIDER_COLOR; - ) - ) - PART(TEXTBLOCK, "elm.text.1", - DESC_LRTB("elm.padding.left", "elm.padding.divider.left", "elm.padding.top", "elm.text.2", - min: 0 0; - PARAM_TEXT("list_logs_action_bar_style",) - ) DESCRIPIONS_TEXT("list_logs_action_bar_style", "list_logs_action_bar_style") - ) - PART(TEXTBLOCK, "elm.text.2", - DESC_LRB("elm.padding.left", "elm.padding.divider.left", "elm.padding.bottom", - min: 0 0; - PARAM_TEXT("list_logs_action_bar_sub_style",) - ) DESCRIPIONS_TEXT("list_logs_action_bar_sub_style", "list_logs_action_bar_sub_style") - ) - } -} - -group { name: "elm/genlist/item/logs.1text/default"; - inherit: "elm/genlist/item/1text/default"; - - parts { - PART(RECT, "bg", - clip_to: "bg_clip"; - description { state: "default" 0.0; - color: ACTIONBAR_BG_COLOR; - } - ) - PART(TEXTBLOCK, "elm.text", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - PARAM_TEXT("list_logs_action_bar_style",) - ) DESCRIPIONS_TEXT("list_logs_action_bar_style", "list_logs_action_bar_style") - ) - } -} - -// device_option -group { name: "elm/genlist/item/device_option.1text.1icon/default"; - inherit: "elm/genlist/item/1text.1icon/default"; - - parts { - PART(SWALLOW, "elm.icon", - DESC_L("elm.padding.left", - min: LIST_DEVICE_OPTION_ICON_MIN_MAX_SIZE; - max: LIST_DEVICE_OPTION_ICON_MIN_MAX_SIZE; - fixed: 1 1; - ) - ) - PART(SPACER, "elm.padding.icon.right", - DESC_L("elm.icon", min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0; max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1; ) - ) - PART(TEXTBLOCK, "elm.text", - DESC_LR("elm.padding.icon.right", "elm.padding.right", - min: 0 LIST_DEVICE_OPTION_HEIGHT; - PARAM_TEXT("list_device_option_main_normal",) - ) DESCRIPIONS_TEXT("list_device_option_main_normal", "list_device_obtion_main_normal") - ) - } -} - -group { name: "elm/genlist/item/device_option.2icon.divider/default"; - inherit: "elm/genlist/item/1icon/default"; - data.item: "contents" "elm.icon elm.icon.1"; - - parts { - PART(RECT, "bg", - description { state: "selected" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - ) - PART_LIST_PADDINGS( 0, 0, 0, 0) - PART(SWALLOW, "elm.icon", - DESC_RTB("elm.padding.divider.line", "elm.padding.top","elm.padding.bottom", - fixed: 1 0; - min: LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE; - max: LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE; - ) - ) - PART(SWALLOW, "elm.icon.1", - DESC_LTB("elm.padding.divider.line", "elm.padding.top","elm.padding.bottom", - fixed: 1 0; - min: LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE; - max: LIST_DEVICE_OPTION_ICON1_MIN_MAX_SIZE; - ) - ) - PART(RECT, "elm.padding.divider.line", - description { state: "default" 0.0; - min: LIST_DEVICE_OPTION_ICON_DIVIDER_MIN_MAX_INC; - max: LIST_DEVICE_OPTION_ICON_DIVIDER_MIN_MAX_INC; - fixed: 1 1; - color: LIST_LINE_COLOR; - } - ) - } - PROGRAMS_LIST(target: "elm.icon"; target: "elm.icon.1";) -} - -// Settings -group { name: "elm/genlist/item/settings.1text.1icon.1/default"; - inherit: "elm/genlist/item/1text.1icon.1/default"; - programs{ - program { name: "play_sound"; - signal: "elm,state,clicked"; - source: "elm"; - script { - } - } - } -} diff --git a/wearable/themes/widgets/genlist_macro.edc b/wearable/themes/widgets/genlist_macro.edc deleted file mode 100644 index fc6c4f7..0000000 --- a/wearable/themes/widgets/genlist_macro.edc +++ /dev/null @@ -1,1981 +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. - */ - -/* - * vim:ts=3 -*/ - -//****************************************************************************// -// ***************** EDJE description have 24 patterns **********************// - //**************************************************************************// -// ------------------ -// | --> HERE -// ------------------ - #define DESC_FROM_L( PARAM ) \ - description { state: "default" 0.0;\ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel2.relative: 0.0 1.0; \ - PARAM\ - } - -// ------------------ -// HERE <-- | -// ------------------ - #define DESC_FROM_R( PARAM ) \ - description { state: "default" 0.0;\ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - PARAM\ - } - -// ---------- -// | HERE | -// ---------- -// | | -// ---------- - #define DESC_FROM_T( PARAM ) \ - description { state: "default" 0.0;\ - fixed: 0 1; \ - align: 0.5 0.0; \ - rel2.relative: 1.0 0.0; \ - PARAM\ - } - -// ---------- -// | HERE | -// ---------- -// | | -// ---------- - #define DESC_FROM_B( PARAM ) \ - description { state: "default" 0.0;\ - fixed: 0 1; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - PARAM\ - } - -// ------------------ -// | PART == HERE | -// ------------------ - #define DESC_TO( PART, PARAM ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 0 0; \ - to: PART; \ - }\ - rel2 {\ - relative: 1 1;\ - to: PART; \ - }\ - PARAM\ - } - -// | TOP | -// --------------------- -// LEFT | HERE | RIGHT -// --------------------- -// | BOTTOM | -#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: RIGHT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// --------------------- -// LEFT |--> HERE -// --------------------- -#define DESC_L( LEFT, PARAM ) \ - description { state: "default" 0.0;\ - align: 0 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - }\ - rel2 { \ - relative: 1 1;\ - to_x: LEFT; \ - }\ - PARAM\ - } - -// --------------------- -// HERE <--| RIGHT -// --------------------- -#define DESC_R( RIGHT, PARAM ) \ - description { state: "default" 0.0;\ - align: 1 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 0 0; \ - to_x: RIGHT; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: RIGHT; \ - }\ - PARAM\ - } - -// -------------------------- -// LEFT |--> HERE <--| RIGHT -// -------------------------- -#define DESC_LR( LEFT, RIGHT, PARAM ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: RIGHT;\ - }\ - PARAM\ - } - -// | TOP | -// ----------------- -// | HERE <--| RIGHT -// ----------------- -// | BOTTOM | -#define DESC_RTB( RIGHT, TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 1 0.5;\ - rel1 { \ - relative: 0 1; \ - to_x: RIGHT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: RIGHT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// LEFT | HERE | RIGHT -// --------------------- -// | BOTTOM | -#define DESC_LRB( LEFT, RIGHT, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 0.5 1;\ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - to_y: BOTTOM; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: RIGHT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// | TOP | -// --------------------- -// LEFT | HERE | RIGHT -#define DESC_LRT( LEFT, RIGHT, TOP, PARAM ) \ - description { state: "default" 0.0;\ - align: 0.5 0;\ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: RIGHT;\ - to_y: TOP;\ - }\ - PARAM\ - } - -// | TOP | -// --------------------- -// LEFT | --> HERE | -#define DESC_LT( LEFT, TOP, PARAM ) \ - description { state: "default" 0.0;\ - align: 0 0;\ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 1 1;\ - to_x: LEFT;\ - to_y: TOP;\ - }\ - PARAM\ - } - -// LEFT | --> HERE | -// --------------------- -// | BOTTOM | -#define DESC_LB( LEFT, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 0 1;\ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - to_y: BOTTOM; \ - }\ - rel2 {\ - relative: 1 0;\ - to_x: LEFT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// | TOP | -// --------------------- -// LEFT |--> HERE | -// --------------------- -// | BOTTOM | -#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 0 0.5;\ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 1 0;\ - to_x: LEFT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// | TOP | -// --------------------- -// | HERE <--| RIGHT -#define DESC_RT( RIGHT, TOP, PARAM ) \ - description { state: "default" 0.0;\ - align: 1 0;\ - rel1 { \ - relative: 0 1; \ - to_x: RIGHT; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: RIGHT;\ - to_y: TOP;\ - }\ - PARAM\ - } - -// | HERE <-- | RIGHT -// --------------------- -// | BOTTOM | -#define DESC_RB( RIGHT, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 1 1;\ - rel1 { \ - relative: 0 0; \ - to_x: RIGHT; \ - to_y: BOTTOM; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: RIGHT;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// | TOP | -// ---------- -// | HERE | -// ---------- -// | BOTTOM | -#define DESC_TB( TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 0.5 0.5;\ - rel1 { \ - relative: 0 1; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 1 0;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -// | TOP | -// ---------- -// | HERE | -// ---------- -#define DESC_T( TOP, PARAM ) \ - description { state: "default" 0.0;\ - align: 0.5 0.0;\ - rel1 { \ - relative: 0 1; \ - to_y: TOP; \ - }\ - rel2 {\ - relative: 1 1;\ - to_y: TOP;\ - }\ - PARAM\ - } - -// ---------- -// | HERE | -// ---------- -// | BOTTOM | -#define DESC_B( BOTTOM, PARAM ) \ - description { state: "default" 0.0;\ - align: 0.5 1.0;\ - rel1 { \ - relative: 0 0; \ - to_y: BOTTOM; \ - }\ - rel2 {\ - relative: 1 0;\ - to_y: BOTTOM;\ - }\ - PARAM\ - } - -//****************************************************************************// -//******************************* Part Macros ********************************// -//****************************************************************************// -#define PART(TYPE, NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: TYPE; \ - DESCRIPION \ - } - -//****************************************************************************// -//**************************** Genlist Macros ********************************// -//****************************************************************************// - -#define PROLOG_LIST \ - data.item: "treesize" 0; \ - data.item: "flips" "elm.flip.icon elm.flip.content"; \ - -#define PART_LIST_BG \ - PART(RECT, "bg_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - PART(RECT, "bg", \ - clip_to: "bg_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: LIST_BG_PRESSED_COLOR; \ - } \ - ) - -#define PART_LIST_BOTTOMLINE \ - PART(RECT, "bottom_line_clip", \ - description { state: "default" 0.0; } \ - description { state: "hide" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "flipped" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - PART(RECT, "bottom_line", \ - mouse_events: 0; \ - clip_to: "bottom_line_clip"; \ - description { state: "default" 0.0; \ - min: 0 1; \ - max: -1 1; \ - fixed: 0 1; \ - align: 0.5 1; \ - color: LIST_LINE_COLOR; \ - rel1.offset: -1 -1; \ - } \ - ) - -#define PART_LIST_BOTTOMLINE_OFF \ - PART(RECT, "bottom_line_clip", \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "hide" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - PART(RECT, "bottom_line", \ - description { state: "default" 0.0; \ - visible: 0; \ - } \ - ) - -//**************************** Genlist PADDING *******************************// -#define DESC_LIST_PADDINGS \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 32 0; \ - max: 32 -1; \ - } - -#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ - PART(SWALLOW, "elm.swallow.pad", \ - mouse_events: 0; \ - DESC_FROM_L( ; ) \ - ) \ - PART(SWALLOW, "elm.swallow.colorbar", \ - mouse_events: 0; \ - DESC_L("elm.swallow.pad", ) \ - ) \ - PART(SPACER, "elm.padding.left", \ - DESC_L("elm.swallow.pad", \ - min: LEFT_SIZE 0; \ - max: LEFT_SIZE -1; \ - ) \ - ) \ - PART(SPACER, "elm.padding.right", \ - DESC_FROM_R( \ - min: RIGHT_SIZE 0; \ - max: RIGHT_SIZE -1; \ - ) \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - min: 32 0; \ - max: 32 -1; \ - } \ - ) \ - PART(SPACER, "elm.padding.top", \ - DESC_FROM_T( \ - min: 0 TOP_SIZE; \ - max: -1 TOP_SIZE; \ - ) \ - ) \ - PART(SPACER, "elm.padding.bottom", \ - DESC_FROM_B( \ - min: 0 BOTTOM_SIZE; \ - max: -1 BOTTOM_SIZE; \ - ) \ - ) - -//*************************** Genlist Programs ****************************// -#define PROGRAM_LIST_DEFAULT( TARGET ) \ - program { name: "default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - -#define PROGRAM_LIST_DISABLE( TARGET ) \ - program { name: "enabled"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - program { name: "disabled"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - TARGET \ - } - -#define PROGRAM_LIST_SELECT( TARGET ) \ - program { name: "selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - TARGET \ - } \ - program { name: "unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define PROGRAM_LIST_SOUND \ - program { name: "play_sound"; \ - signal: "elm,state,clicked"; \ - source: "elm"; \ - script { \ - play_sample("touch_sound", 1.0); \ - } \ - } - -#define PROGRAM_LIST_FOCUS \ - program { name: "focused"; \ - signal: "elm,state,focused"; \ - source: "elm"; \ - action: STATE_SET "focused" 0.0; \ - target: "focus_part"; \ - } \ - program { name: "unfocused"; \ - signal: "elm,state,unfocused"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "focus_part"; \ - } - -#define PROGRAM_LIST_FLIP \ - program { name: "flip_enabled"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.flip.content"; \ - target: "elm.flip.icon"; \ - } \ - program { name: "flip_disabled"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - transition: DECELERATE 0.5; \ - action: STATE_SET "default" 0.0; \ - target: "elm.flip.content"; \ - target: "elm.flip.icon"; \ - } \ - program { name: "flip_enabled_bg"; \ - signal: "elm,state,flip,enabled"; \ - source: "elm"; \ - action: STATE_SET "flipped" 0.0; \ - target: "elm.flip.bg"; \ - } \ - program { name: "flip_disabled_bg"; \ - signal: "elm,state,flip,disabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.flip.bg"; \ - } - -#define PROGRAM_LIST_DECORATE( TARGET ) \ - program { name: "decorate_enabled_effect_ef"; \ - signal: "elm,state,decorate,enabled,effect";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_effect_ef";\ - signal: "elm,state,decorate,disabled,effect";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } \ - program { name: "decorate_enabled_ef";\ - signal: "elm,state,decorate,enabled";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_ef";\ - signal: "elm,state,decorate,disabled";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } - -#define PROGRAM_LIST_DECORATE_FX( TARGET ) \ - program { name: "decorate_enabled_effect_ef"; \ - signal: "elm,state,decorate,enabled,effect";\ - source: "elm";\ - transition: DECELERATE 0.5;\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_effect_ef";\ - signal: "elm,state,decorate,disabled,effect";\ - source: "elm";\ - transition: ACCELERATE 0.5;\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } \ - program { name: "decorate_enabled_ef";\ - signal: "elm,state,decorate,enabled";\ - source: "elm";\ - action: STATE_SET "decorate" 0.0;\ - TARGET \ - }\ - program { name: "decorate_disabled_ef";\ - signal: "elm,state,decorate,disabled";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - TARGET \ - } - -#define PROGRAM_LIST_BOTTOMLINE \ - program { name : "hide_bottomline"; \ - signal: "elm,state,bottomline,hide"; \ - source: ""; \ - action: STATE_SET "hide" 0.0; \ - target: "bottom_line_clip"; \ - } \ - program { name : "show_bottomline"; \ - signal: "elm,state,bottomline,show"; \ - source: ""; \ - action: STATE_SET "default" 0.0; \ - target: "bottom_line_clip"; \ - } \ - - -#define PROGRAMS_LIST( TARGET ) \ - programs { \ - PROGRAM_LIST_DEFAULT( TARGET \ - target: "bg"; \ - target: "bg_clip"; \ - target: "bottom_line"; \ - target: "bottom_line_clip"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - PROGRAM_LIST_DISABLE( TARGET \ - target: "bg"; \ - ) \ - PROGRAM_LIST_SELECT( TARGET \ - target: "bg"; \ - ) \ - PROGRAM_LIST_SOUND \ - PROGRAM_LIST_DECORATE( \ - target: "bg"; \ - target: "bg_clip"; \ - target: "bottom_line"; \ - target: "bottom_line_clip"; \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - PROGRAM_LIST_BOTTOMLINE \ - } - -//******************************* Genlist TEXT ********************************// -#define PARAM_TEXT(STYLE, PARAM) \ - text { \ - min: 0 1; \ - style: STYLE; \ - PARAM \ - } - -#define DESCRIPIONS_TEXT(DISABLED, SELECTED) \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - text.style: DISABLED; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: SELECTED; \ - } - -//******************************* Genlist SWIPE ********************************// -#define SWIPE_TRANSIT SIN_FAC 0.667 0.8 - -#define SWIPE_THRESH_X 120 -#define SWIPE_THRESH_Y 30 - -#define SWIPE_OVERLAP_SIZE 216 -#define SWIPE_BORDER_SIZE 215 - -#define SWIPE_COLOR_OTHER 88 73 58 255 -#define SWIPE_COLOR_CALL 90 165 21 255; -#define SWIPE_COLOR_MESSAGE 234 163 23 255; - -// state: normal(0)->start,right( 1)->rollback,right ( 3), swipe,right ( 2)-> normal(0) -// ->start,left (-1)->rollback,right (-3), swipe,right (-2)-> -#define SCRIPTS_LIST_SWIPE \ - script { \ - public _state; \ - public x1, y1; \ - public cleanup() { \ - set_int(_state, 0); \ - set_int(x1, 0); \ - set_int(y1, 0); \ - set_drag(PART:"drag_part", 0, 0); \ - set_state(PART:"drag_part", "default", 0.0); \ - set_state(PART:"drag_part_left", "default", 0.0); \ - set_state(PART:"drag_part_right", "default", 0.0); \ - set_state(PART:"elm.text.swipe.left", "default", 0.0); \ - set_state(PART:"elm.text.swipe.right", "default", 0.0); \ - set_state(PART:"elm.icon.swipe.left", "default", 0.0); \ - set_state(PART:"elm.icon.swipe.right", "default", 0.0); \ - set_state(PART:"swipe_temp_disabler", "default", 0.0); \ - } \ - } - -#define IMAGES_LIST_SWIPE \ - image : "00_list_swipe_right.png" COMP; \ - image : "00_list_swipe_left.png" COMP; - -#define PARTS_LIST_SWIPE \ - part { name: "drag_part"; \ - type: RECT; \ - scale: 1; \ - repeat_events: 1; \ - dragable { \ - x: 1 1 0; \ - y: 0 0 0; \ - } \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ - rel2.offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - description { state: "disable" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - color: SWIPE_COLOR_OTHER; \ - } \ - description { state: "right_end" 0.0; \ - inherit: "start_right"; \ - rel1.relative: 1 0; \ - } \ - description { state: "right_rollback" 0.0; \ - inherit: "start_right" 0.0; \ - rel1.relative: -1 0; \ - color: 0 0 0 0; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - color: SWIPE_COLOR_OTHER; \ - } \ - description { state: "left_end" 0.0; \ - inherit: "start_left" 0.0; \ - rel2.relative: 0 1; \ - } \ - description { state: "left_rollback" 0.0; \ - inherit: "start_left" 0.0; \ - rel2.relative: 2 1; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "drag_part_left"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - relative: -999 0; \ - } \ - rel2 { \ - to_x: "drag_part"; \ - relative: 0 1; \ - offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - image { \ - normal: "00_list_swipe_left.png"; \ - border: 0 SWIPE_BORDER_SIZE 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_CALL; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_CALL; \ - } \ - } \ - part { name: "drag_part_right"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - to_x: "drag_part"; \ - relative: 1 0; \ - offset: -SWIPE_OVERLAP_SIZE 0; \ - } \ - rel2 { \ - relative: 999 1; \ - } \ - image { \ - normal: "00_list_swipe_right.png"; \ - border: SWIPE_BORDER_SIZE 0 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_MESSAGE; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_MESSAGE; \ - } \ - } \ - part { name: "swipe_temp_disabler"; \ - type: RECT; \ - scale:1; \ - repeat_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 0 0 0 0; \ - } \ - description { state: "enable" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - } \ - part { name: "elm.icon.swipe.left"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1 { \ - to_x: "elm.padding.left"; \ - relative: 1 0; \ - } \ - rel2 { \ - to_x: "elm.padding.right"; \ - relative: 1 1; \ - } \ - align: 0 0.5; \ - fixed: 1 1; \ - min: 64 90; \ - max: 64 90; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 250 250 250 255; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "right_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "left_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "elm.icon.swipe.right"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1 { \ - to_x: "elm.padding.right"; \ - relative: 0 0; \ - } \ - rel2 { \ - to_x: "elm.padding.right"; \ - relative: 0 1; \ - } \ - align: 1 0.5; \ - fixed: 1 1; \ - min: 64 90; \ - max: 64 90; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 250 250 250 255; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "right_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "left_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "elm.text.swipe.left"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1 { \ - relative: 1 0; \ - to_x: "elm.icon.swipe.left"; \ - } \ - visible: 0; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - visible: 1; \ - align: 0.5 0.5; \ - color: LIST_SWIPE_TEXT_COLOR; \ - text { \ - align: 0.5 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: LIST_SWIPE_TEXT_SIZE; \ - text_class: "list_item"; \ - } \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "elm.text.swipe.right"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel2 { \ - relative: 0 1; \ - to_x: "elm.icon.swipe.right"; \ - } \ - visible: 0; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - align: 0.5 0.5; \ - color: LIST_SWIPE_TEXT_COLOR; \ - text { \ - align: 0.5 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: LIST_SWIPE_TEXT_SIZE; \ - text_class: "list_item"; \ - text: "Call"; \ - } \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - } \ - } - -#define PARTS_LIST_SWIPE_RIGHT \ - part { name: "drag_part"; \ - type: RECT; \ - scale: 1; \ - repeat_events: 1; \ - dragable { \ - x: 1 1 0; \ - y: 0 0 0; \ - } \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ - rel2.offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - description { state: "disable" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - color: SWIPE_COLOR_OTHER; \ - } \ - description { state: "right_end" 0.0; \ - inherit: "start_right"; \ - rel1.relative: 1 0; \ - } \ - description { state: "right_rollback" 0.0; \ - inherit: "start_right" 0.0; \ - rel1.relative: -1 0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "drag_part_left"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - relative: -999 0; \ - } \ - rel2 { \ - to_x: "drag_part"; \ - relative: 0 1; \ - offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - image { \ - normal: "00_list_swipe_left.png"; \ - border: 0 SWIPE_BORDER_SIZE 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_CALL; \ - } \ - } \ - part { name: "drag_part_right"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - to_x: "drag_part"; \ - relative: 1 0; \ - offset: -SWIPE_OVERLAP_SIZE 0; \ - } \ - rel2 { \ - relative: 999 1; \ - } \ - image { \ - normal: "00_list_swipe_right.png"; \ - border: SWIPE_BORDER_SIZE 0 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_OTHER; \ - } \ - } \ - part { name: "swipe_temp_disabler"; \ - type: RECT; \ - scale:1; \ - repeat_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 0 0 0 0; \ - } \ - description { state: "enable" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - } \ - part { name: "elm.icon.swipe.right"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1 { \ - to_x: "elm.padding.right"; \ - relative: 0 0; \ - } \ - rel2 { \ - to_x: "elm.padding.right"; \ - relative: 0 1; \ - } \ - align: 1 0.5; \ - fixed: 1 1; \ - min: 64 90; \ - max: 64 90; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 250 250 250 255; \ - } \ - description { state: "right_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "elm.text.swipe.right"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel2 { \ - relative: 0 1; \ - to_x: "elm.icon.swipe.right"; \ - } \ - visible: 0; \ - } \ - description { state: "start_right" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - align: 0.5 0.5; \ - color: LIST_SWIPE_TEXT_COLOR; \ - text { \ - align: 0.5 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: LIST_SWIPE_TEXT_SIZE; \ - text_class: "list_item"; \ - text: "Call"; \ - } \ - } \ - } - -#define PARTS_LIST_SWIPE_LEFT \ - part { name: "drag_part"; \ - type: RECT; \ - scale: 1; \ - repeat_events: 1; \ - dragable { \ - x: 1 1 0; \ - y: 0 0 0; \ - } \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1.offset: -SWIPE_OVERLAP_SIZE 0; \ - rel2.offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - description { state: "disable" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - color: SWIPE_COLOR_OTHER; \ - } \ - description { state: "left_end" 0.0; \ - inherit: "start_left" 0.0; \ - rel2.relative: 0 1; \ - } \ - description { state: "left_rollback" 0.0; \ - inherit: "start_left" 0.0; \ - rel2.relative: 2 1; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "drag_part_left"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - relative: -999 0; \ - } \ - rel2 { \ - to_x: "drag_part"; \ - relative: 0 1; \ - offset: SWIPE_OVERLAP_SIZE 0; \ - } \ - image { \ - normal: "00_list_swipe_left.png"; \ - border: 0 SWIPE_BORDER_SIZE 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_OTHER; \ - } \ - } \ - part { name: "drag_part_right"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - to_x: "drag_part"; \ - relative: 1 0; \ - offset: -SWIPE_OVERLAP_SIZE 0; \ - } \ - rel2 { \ - relative: 999 1; \ - } \ - image { \ - normal: "00_list_swipe_right.png"; \ - border: SWIPE_BORDER_SIZE 0 53 53; \ - border_scale: 1; \ - } \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - color: SWIPE_COLOR_MESSAGE; \ - } \ - } \ - part { name: "swipe_temp_disabler"; \ - type: RECT; \ - scale:1; \ - repeat_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 0 0 0 0; \ - } \ - description { state: "enable" 0.0; \ - inherit: "default"; \ - visible: 1; \ - } \ - } \ - part { name: "elm.icon.swipe.left"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1 { \ - to_x: "elm.padding.left"; \ - relative: 1 0; \ - } \ - rel2 { \ - to_x: "elm.padding.right"; \ - relative: 1 1; \ - } \ - align: 0 0.5; \ - fixed: 1 1; \ - min: 64 90; \ - max: 64 90; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 250 250 250 255; \ - } \ - description { state: "left_rollback" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "elm.text.swipe.left"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1 { \ - relative: 1 0; \ - to_x: "elm.icon.swipe.left"; \ - } \ - visible: 0; \ - } \ - description { state: "start_left" 0.0; \ - inherit: "default"; \ - visible: 1; \ - align: 0.5 0.5; \ - color: LIST_SWIPE_TEXT_COLOR; \ - text { \ - align: 0.5 0.5; \ - min: 0 1; \ - font: "Tizen:style=Regular"; \ - size: LIST_SWIPE_TEXT_SIZE; \ - text_class: "list_item"; \ - } \ - } \ - } \ - -#define PROGRAMS_LIST_SWIPE \ - program { name: "drag_up"; \ - signal: "mouse,up,1"; \ - source: "drag_part"; \ - script { \ - new x, y, w, h, ww, hh; \ - get_geometry(PART:"bg", x, y, ww, hh); \ - get_geometry(PART:"drag_part", x, y, w, h); \ - x = x + SWIPE_OVERLAP_SIZE; \ - if (get_int(_state) == 1) { \ - if (x >= (ww/2)) { \ - set_int(_state, 3); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - run_program(PROGRAM:"end_move_right"); \ - } else { \ - set_int(_state, 2); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - set_state(PART:"elm.text.swipe.right", "default", 0.0); \ - set_state(PART:"elm.text.swipe.left", "default", 0.0); \ - run_program(PROGRAM:"end_rollback_right"); \ - } \ - } else if (get_int(_state) == -1) { \ - if (-x >= (ww/2)) { \ - set_int(_state, -3); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - run_program(PROGRAM:"end_move_left"); \ - } else { \ - set_int(_state, -2); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - set_state(PART:"elm.text.swipe.right", "default", 0.0); \ - set_state(PART:"elm.text.swipe.left", "default", 0.0); \ - run_program(PROGRAM:"end_rollback_left"); \ - } \ - } else cleanup(); \ - } \ - } \ - program { name: "drag_down"; \ - signal: "mouse,down,1"; \ - source: "drag_part"; \ - script { \ - new x, y; \ - get_mouse(x, y); \ - set_int(_state, 0); \ - set_int(x1, x); \ - set_int(y1, y); \ - } \ - } \ - program { name: "drag"; \ - signal: "drag"; \ - source: "drag_part"; \ - script { \ - new x2, y2; \ - get_mouse(x2, y2); \ - if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ - ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ - return; \ - if (get_int(_state) == 0) { \ - if ((x2 - get_int(x1)) >= SWIPE_THRESH_X) { \ - emit("elm,swipe,start", ""); \ - set_int(_state, 1); \ - run_program(PROGRAM:"start_right"); \ - } else if ((x2 - get_int(x1)) <= -SWIPE_THRESH_X) { \ - emit("elm,swipe,start", ""); \ - set_int(_state, -1); \ - run_program(PROGRAM:"start_left"); \ - } \ - } else if (get_int(_state) == -1) { \ - if (x2 > get_int(x1)) { \ - set_int(_state, 1); \ - run_program(PROGRAM:"start_right"); \ - }\ - } else if (get_int(_state) == 1) { \ - if (x2 < get_int(x1)) { \ - set_int(_state, -1); \ - run_program(PROGRAM:"start_left"); \ - } \ - } \ - } \ - } \ - program { name: "start_right"; \ - action: STATE_SET "start_right" 0.0; \ - target: "elm.icon.swipe.right"; \ - target: "elm.icon.swipe.left"; \ - target: "elm.text.swipe.right"; \ - target: "elm.text.swipe.left"; \ - target: "drag_part"; \ - target: "drag_part_left"; \ - target: "drag_part_right"; \ - } \ - program { name: "start_left"; \ - action: STATE_SET "start_left" 0.0; \ - target: "elm.icon.swipe.right"; \ - target: "elm.icon.swipe.left"; \ - target: "elm.text.swipe.right"; \ - target: "elm.text.swipe.left"; \ - target: "drag_part"; \ - target: "drag_part_left"; \ - target: "drag_part_right"; \ - } \ - program { name: "end_move_right"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "right_end" 0.0; \ - target: "drag_part"; \ - after: "right_ender"; \ - } \ - program { name: "end_move_left"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "left_end" 0.0; \ - target: "drag_part"; \ - after: "left_ender"; \ - } \ - program { name: "end_rollback_right"; \ - action: STATE_SET "right_rollback" 0.0; \ - target: "elm.icon.swipe.right"; \ - target: "elm.icon.swipe.left"; \ - after: "end_rollback_right_transit"; \ - } \ - program { name: "end_rollback_right_transit"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "right_rollback" 0.0; \ - target: "drag_part"; \ - after: "rollback_ender"; \ - } \ - program { name: "end_rollback_left"; \ - action: STATE_SET "left_rollback" 0.0; \ - target: "elm.icon.swipe.right"; \ - target: "elm.icon.swipe.left"; \ - after: "end_rollback_left_transit"; \ - } \ - program { name: "end_rollback_left_transit"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "left_rollback" 0.0; \ - target: "drag_part"; \ - after: "rollback_ender"; \ - } \ - program { name: "right_ender"; \ - script { \ - emit("elm,swipe,stop,right", ""); \ - cleanup(); \ - } \ - } \ - program { name: "left_ender"; \ - script { \ - emit("elm,swipe,stop,left", ""); \ - cleanup(); \ - } \ - } \ - program { name: "rollback_ender"; \ - source: ""; \ - script { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - } \ - } \ - program { name: "swipe_revert"; \ - signal: "elm,swipe,revert"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - }\ - cleanup(); \ - } \ - } \ - program { name: "swipe_disable"; \ - signal: "elm,swipe,disabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "disable", 0.0); \ - } \ - } \ - program { name: "swipe_enable"; \ - signal: "elm,swipe,enabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "default", 0.0); \ - } \ - } \ - program { name: "swipe_default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_enable"); \ - } \ - } \ - program { name: "swipe_disable_state"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_disable"); \ - } \ - } \ - -#define PROGRAMS_LIST_SWIPE_RIGHT \ - program { name: "drag_up"; \ - signal: "mouse,up,1"; \ - source: "drag_part"; \ - script { \ - new x, y, w, h, ww, hh; \ - get_geometry(PART:"bg", x, y, ww, hh); \ - get_geometry(PART:"drag_part", x, y, w, h); \ - x = x + SWIPE_OVERLAP_SIZE; \ - if (get_int(_state) == 1) { \ - if (x >= (ww/2)) { \ - set_int(_state, 3); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - run_program(PROGRAM:"end_move_right"); \ - } else { \ - set_int(_state, 2); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - set_state(PART:"elm.text.swipe.right", "default", 0.0); \ - set_state(PART:"elm.text.swipe.left", "default", 0.0); \ - run_program(PROGRAM:"end_rollback_right"); \ - } \ - } else cleanup(); \ - } \ - } \ - program { name: "drag_down"; \ - signal: "mouse,down,1"; \ - source: "drag_part"; \ - script { \ - new x, y; \ - get_mouse(x, y); \ - set_int(_state, 0); \ - set_int(x1, x); \ - set_int(y1, y); \ - } \ - } \ - program { name: "drag"; \ - signal: "drag"; \ - source: "drag_part"; \ - script { \ - new x2, y2; \ - get_mouse(x2, y2); \ - if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ - ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ - return; \ - if (get_int(_state) == 0) { \ - if ((x2 - get_int(x1)) >= SWIPE_THRESH_X) { \ - emit("elm,swipe,start", ""); \ - set_int(_state, 1); \ - run_program(PROGRAM:"start_right"); \ - } \ - } \ - } \ - } \ - program { name: "start_right"; \ - action: STATE_SET "start_right" 0.0; \ - target: "elm.icon.swipe.right"; \ - target: "elm.text.swipe.right"; \ - target: "drag_part"; \ - target: "drag_part_left"; \ - target: "drag_part_right"; \ - } \ - program { name: "end_move_right"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "right_end" 0.0; \ - target: "drag_part"; \ - after: "right_ender"; \ - } \ - program { name: "end_rollback_right"; \ - action: STATE_SET "right_rollback" 0.0; \ - target: "elm.icon.swipe.right"; \ - after: "end_rollback_right_transit"; \ - } \ - program { name: "end_rollback_right_transit"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "right_rollback" 0.0; \ - target: "drag_part"; \ - after: "rollback_ender"; \ - } \ - program { name: "right_ender"; \ - script { \ - emit("elm,swipe,stop,right", ""); \ - cleanup(); \ - } \ - } \ - program { name: "rollback_ender"; \ - source: ""; \ - script { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - } \ - } \ - program { name: "swipe_revert"; \ - signal: "elm,swipe,revert"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - }\ - cleanup(); \ - } \ - } \ - program { name: "swipe_disable"; \ - signal: "elm,swipe,disabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "disable", 0.0); \ - } \ - } \ - program { name: "swipe_enable"; \ - signal: "elm,swipe,enabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "default", 0.0); \ - } \ - } \ - program { name: "swipe_default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_enable"); \ - } \ - } \ - program { name: "swipe_disable_state"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_disable"); \ - } \ - } \ - -#define PROGRAMS_LIST_SWIPE_LEFT \ - program { name: "drag_up"; \ - signal: "mouse,up,1"; \ - source: "drag_part"; \ - script { \ - new x, y, w, h, ww, hh; \ - get_geometry(PART:"bg", x, y, ww, hh); \ - get_geometry(PART:"drag_part", x, y, w, h); \ - x = x + SWIPE_OVERLAP_SIZE; \ - if (get_int(_state) == -1) { \ - if (-x >= (ww/2)) { \ - set_int(_state, -3); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - run_program(PROGRAM:"end_move_left"); \ - } else { \ - set_int(_state, -2); \ - set_state(PART:"swipe_temp_disabler", "enable", 0.0); \ - set_state(PART:"elm.text.swipe.left", "default", 0.0); \ - run_program(PROGRAM:"end_rollback_left"); \ - } \ - } else cleanup(); \ - } \ - } \ - program { name: "drag_down"; \ - signal: "mouse,down,1"; \ - source: "drag_part"; \ - script { \ - new x, y; \ - get_mouse(x, y); \ - set_int(_state, 0); \ - set_int(x1, x); \ - set_int(y1, y); \ - } \ - } \ - program { name: "drag"; \ - signal: "drag"; \ - source: "drag_part"; \ - script { \ - new x2, y2; \ - get_mouse(x2, y2); \ - if (((y2 - get_int(y1)) >= SWIPE_THRESH_Y) || \ - ((y2 - get_int(y1)) <= -SWIPE_THRESH_Y)) \ - return; \ - if (get_int(_state) == 0) { \ - if ((x2 - get_int(x1)) <= -SWIPE_THRESH_X) { \ - emit("elm,swipe,start", ""); \ - set_int(_state, -1); \ - run_program(PROGRAM:"start_left"); \ - } \ - } \ - } \ - } \ - program { name: "start_left"; \ - action: STATE_SET "start_left" 0.0; \ - target: "elm.icon.swipe.left"; \ - target: "elm.text.swipe.left"; \ - target: "drag_part"; \ - target: "drag_part_left"; \ - } \ - program { name: "end_move_left"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "left_end" 0.0; \ - target: "drag_part"; \ - after: "left_ender"; \ - } \ - program { name: "end_rollback_left"; \ - action: STATE_SET "left_rollback" 0.0; \ - target: "elm.icon.swipe.left"; \ - after: "end_rollback_left_transit"; \ - } \ - program { name: "end_rollback_left_transit"; \ - transition: SWIPE_TRANSIT; \ - action: STATE_SET "left_rollback" 0.0; \ - target: "drag_part"; \ - after: "rollback_ender"; \ - } \ - program { name: "left_ender"; \ - script { \ - emit("elm,swipe,stop,left", ""); \ - cleanup(); \ - } \ - } \ - program { name: "rollback_ender"; \ - source: ""; \ - script { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - } \ - } \ - program { name: "swipe_revert"; \ - signal: "elm,swipe,revert"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - }\ - cleanup(); \ - } \ - } \ - program { name: "swipe_disable"; \ - signal: "elm,swipe,disabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "disable", 0.0); \ - } \ - } \ - program { name: "swipe_enable"; \ - signal: "elm,swipe,enabled"; \ - source: ""; \ - script { \ - if (get_int(_state) != 0) { \ - emit("elm,swipe,stop", ""); \ - cleanup(); \ - }\ - set_state(PART:"drag_part", "default", 0.0); \ - } \ - } \ - program { name: "swipe_default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_enable"); \ - } \ - } \ - program { name: "swipe_disable_state"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"swipe_disable"); \ - } \ - } \ - - - -#define SCRIPTS_LIST_SWEEP \ - script { \ - public dir_right; \ - } - -#define PARTS_LIST_SWEEP \ - PART(RECT, "bg.sweep",\ - description { state: "default" 0.0;\ - color: LIST_SWEEP_BG_NORMAL_COLOR;\ - rel1.relative: -1.0 0.0;\ - rel2.relative: 0.0 1.0;\ - visible: 0;\ - }\ - description { state: "default_r" 0.0;\ - inherit: "default" 0.0;\ - rel1.relative: 1.0 0.0;\ - rel2.relative: 2.0 1.0;\ - visible: 0;\ - }\ - description { state: "visible" 0.0;\ - inherit: "default" 0.0;\ - rel1.relative: 0.0 0.0;\ - rel2.relative: 1.0 1.0;\ - visible: 1;\ - }\ - )\ - PART(TEXTBLOCK, "elm.text.sweep",\ - description { state: "default" 0.0;\ - rel1.to_x: "bg.sweep";\ - rel2.to_x: "elm.divider.sweep.left.padding";\ - rel2.relative: 0.0 1.0;\ - PARAM_TEXT("list_sweep_style",)\ - visible: 0;\ - }\ - description { state: "visible" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - )\ - PART(SPACER, "elm.divider.sweep.left.padding",\ - DESC_R("elm.divider.sweep",\ - min: LIST_DIVIDER_PADDING_SIZE 0;\ - max: LIST_DIVIDER_PADDING_SIZE -1;\ - )\ - )\ - PART(SWALLOW, "elm.icon.sweep",\ - DESC_FROM_R(\ - min: BUTTON_DIVIDER_BTN_SIZE 0;\ - max: BUTTON_DIVIDER_BTN_SIZE -1;\ - rel1.to: "bg.sweep";\ - rel2.to: "bg.sweep";\ - visible: 0;\ - )\ - description { state: "visible" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - )\ - PART(RECT, "elm.divider.sweep",\ - DESC_R("elm.icon.sweep",\ - visible: 0;\ - align: 0.0 0.5;\ - min: 1 LIST_DIVIDER_HEIGHT;\ - max: 1 LIST_DIVIDER_HEIGHT;\ - color: LIST_SWEEP_DIVIDER_COLOR;\ - )\ - description { state: "visible" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - }\ - ) - -// Calendar -// bg is made transparent so calendar app can set the provided bg image -#define PART_LIST_BG_CALENDAR \ - PART(RECT, "bg_clip", \ - mouse_events: 0; \ - description { state: "default" 0.0; } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "decorate_reorder" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - ) \ - PART(RECT, "bg", \ - clip_to: "bg_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - ) - -#define PROGRAMS_LIST_SWEEP \ - program { name: "sweep_default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0;\ - target: "bg.sweep";\ - target: "elm.icon.sweep";\ - target: "elm.text.sweep";\ - target: "elm.divider.sweep";\ - } \ - program { name: "sweep_right_show";\ - signal: "elm,state,sweep,right";\ - source: "";\ - script {\ - set_int(dir_right, 1);\ - set_state(PART:"bg.sweep", "default", 0.0);\ - run_program(PROGRAM:"sweep_show");\ - }\ - }\ - program { name: "sweep_left_show";\ - signal: "elm,state,sweep,left";\ - source: "";\ - script {\ - set_int(dir_right, 0);\ - set_state(PART:"bg.sweep", "default_r", 0.0);\ - run_program(PROGRAM:"sweep_show");\ - }\ - }\ - program { name: "sweep_show";\ - action: STATE_SET "visible" 0.0;\ - transition: DECELERATE 0.5;\ - target: "bg.sweep";\ - target: "elm.icon.sweep";\ - target: "elm.text.sweep";\ - target: "elm.divider.sweep";\ - }\ - program { name: "sweep_hide";\ - signal: "elm,state,sweep,hide";\ - source: "";\ - script {\ - if (get_int(dir_right)) {\ - run_program(PROGRAM:"sweep_left_hide");\ - } else {\ - run_program(PROGRAM:"sweep_right_hide");\ - }\ - }\ - }\ - program { name: "sweep_left_hide"; \ - action: STATE_SET "default" 0.0;\ - transition: DECELERATE 0.5;\ - target: "bg.sweep";\ - target: "elm.icon.sweep";\ - target: "elm.text.sweep";\ - target: "elm.divider.sweep";\ - }\ - program { name: "sweep_right_hide"; \ - action: STATE_SET "default_r" 0.0;\ - transition: DECELERATE 0.5;\ - target: "bg.sweep";\ - target: "elm.icon.sweep";\ - target: "elm.text.sweep";\ - target: "elm.divider.sweep";\ - } diff --git a/wearable/themes/widgets/index.edc b/wearable/themes/widgets/index.edc deleted file mode 100755 index 74a3ba8..0000000 --- a/wearable/themes/widgets/index.edc +++ /dev/null @@ -1,945 +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. - */ - - group { name: "elm/index/base/vertical/default"; - script { - public timer_id, timer_flag, timer_id_2, timer_flag_2; - public index_hide_timer(val) { - if (get_int(timer_flag) == 1) - run_program(PROGRAM:"index0.hide"); - return 0; - } - } - parts { - part { name: "clip"; - scale: 1; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "clip2"; - scale: 1; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.dragable.index.1"; - type: SPACER; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "elm.swallow.index.0"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: INDEX_SCROLL_DRAG_PART_SIZE; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.index.0"; - } - rel2 { - relative: 0.0 1.0; - to: "elm.swallow.index.0"; - } - } - } - part { name: "elm.swallow.index.1.padding.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - max:1 0; - visible: 0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.index.0"; - } - rel2 { - relative: 0.0 1.0; - to: "elm.swallow.index.0"; - } - } - description { state: "active" 0.0; - max:1 0; - visible: 1; - color: INDEX_SCROLL_PADDING_COLOR; - } - } - part { name: "elm.swallow.index.1"; - type: SWALLOW; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1.0 0.0; - rel1 { - to: "elm.dragable.index.1"; - offset: -1 0; - relative: 0.0 0.0; - } - rel2 { - to: "elm.dragable.index.1"; - offset: -1 0; - relative: 0.0 1.0; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "align_bottom" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1.0 1.0; - rel1 { - relative: 0.0 1.0; - to: "index.bottom.padding"; - } - rel2 { - relative: 0.0 1.0; - to: "index.bottom.padding"; - } - } - description { state: "align_top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - to: "index.top.padding"; - } - rel2 { - relative: 0.0 0.0; - to: "index.top.padding"; - } - } - } - part { name: "reference_rect"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 0; - visible: 0; - min: INDEX_SCROLL_REF_RECT_SIZE; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "index.top.padding"; - type: SPACER; - scale: 1; - description { - align: 0.5 0.0; - min: 0 INDEX_SCROLL_PADDING_SIZE; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.index.0"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.index.0"; - relative: 1.0 0.0; - } - } - } - part { name: "index.bottom.padding"; - type: SPACER; - scale: 1; - description { - align: 0.5 1.0; - min: 0 INDEX_SCROLL_PADDING_SIZE; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.index.0"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.index.0"; - relative: 1.0 1.0; - } - } - } - part { name: "bg_index.0"; - type: RECT; - clip_to: "clip"; - scale: 1; - description { state: "default" 0.0; - rel1.to: "index.top.padding"; - rel2.to: "index.bottom.padding"; - color: INDEX_SCROLL_BG_COLOR_INC; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - clip_to: "clip"; - scale: 1; - description { state: "default" 0.0; - visible: 1; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_y: "index.top.padding"; - relative: 1.0 1.0; - } - rel2 { - to_y: "index.bottom.padding"; - relative: 1.0 0.0; - } - color: 255 255 255 255; - } - } - part { name: "popup_bg"; - type: RECT; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - fixed: 1 1; - color: INDEX_SCROLL_POPUP_BG_COLOR; - min: INDEX_SCROLL_POPUP_SIZE; - max: INDEX_SCROLL_POPUP_SIZE; - } - } - part { - name: "elm.text.1"; - type: "TEXTBLOCK"; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - min: INDEX_SCROLL_TEXT1_DEFAULT_SIZE; - align: 1.0 0.5; - fixed: 1 1; - text.style: "Index_scroll_1depth_popup"; - text.min: 1 1; - rel1.to: "popup_bg"; - rel1.relative: 1.0 0.5; - rel2.to: "popup_bg"; - rel2.relative: 1.0 0.5; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - min: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; - text.style: "Index_scroll_1depth_popup_left_align"; - text.min: 1 1; - } - } - part { - name: "elm.text"; - type: "TEXTBLOCK"; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { - state: "default" 0.0; - fixed: 1 1; - text.style: "Index_scroll_bar_2depth_popup"; - text.min: 1 1; - visible: 0; - align: 1.0 0.5; - rel1 { - to: "popup_bg"; - relative: 0.0 0.5; - } - rel2 { - to_y: "popup_bg"; - to_x: "elm.text.1"; - relative: 0.0 0.5; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - max: INDEX_SCROLL_TEXT1_ACTIVE_SIZE; - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.index.0"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.index.0"; - } - } - } - part { name: "elm.swallow.event.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.index.1"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.index.1"; - } - } - } - part { - name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "elm.swallow.index.0"; - offset: -3 0; - } - rel2 { - to: "elm.swallow.index.0"; - } - color: 0 0 0 0; - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - run_program(PROGRAM:"initial.index0.active"); - } - } - program { name: "drag2"; - signal: "drag,set"; - source: "elm.dragable.index.1"; - script { - new Float:dx; - new Float:dy; - get_drag(PART:"elm.dragable.index.1", dx, dy); - custom_state(PART:"elm.dragable.index.1", "default", 0.0); - set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy); - } - } - program { name: "initial.index0.active"; - action: STATE_SET "active" 0.0; - target: "clip"; - after: "index0.inactive"; - } - program { name: "index0.active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "clip"; - after: "disable_timer"; - } - program { name: "index0.inactive"; - signal: "elm,state,inactive"; - source: "elm"; - script { - new v; - v = get_int(timer_id); - if (v > 0) cancel_timer(v); - run_program(PROGRAM:"enable_timer"); - v = timer(2.0, "index_hide_timer", 0); - set_int(timer_id, v); - } - } - program { name: "index1.inactive"; - signal: "elm,state,level,0"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.index.1"; - target: "elm.text.1"; - target: "elm.text"; - target: "elm.swallow.index.1.padding.right"; - } - program { name: "index1.active"; - signal: "elm,state,level,1"; - source: "elm"; - script { - new x1, x2, y1, y2, w1, w2, h1, h2; - new Float:dx; - new Float:dy; - get_drag(PART:"elm.dragable.index.1", dx, dy); - get_geometry(PART:"elm.swallow.index.1", x1, y1, w1, h1); - get_geometry(PART:"clip", x2, y2, w2, h2); - if ((y1+h1) > (y2+h2)) { - set_state(PART:"elm.swallow.index.1", "align_bottom", 0.0); - } - else if (dy < 0.1) { - set_state(PART:"elm.swallow.index.1", "align_top", 0.0); - } - else { - set_state(PART:"elm.swallow.index.1", "active", 0.0); - } - set_state(PART:"clip2", "active", 0.0); - set_state(PART:"elm.swallow.index.1.padding.right", "active", 0.0); - } - } - program { name: "index1.text"; - signal: "index1.text.enable"; - source: ""; - action: STATE_SET "active" 0.0; - target: "elm.text.1"; - target: "elm.text"; - } - program { name: "index0.hide"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "clip"; - } - program { name: "index.active"; - signal: "elm,indicator,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "clip2"; - } - program { name: "index.inactive"; - signal: "elm,indicator,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "clip2"; - } - program { name: "event.inactive"; - signal: "elm,priority,up"; - source: "elm"; - action: STATE_SET "inactive" 0.0; - target: "elm.swallow.event.0"; - } - program { name: "index.up"; - signal: "elm,priority,up"; - source: "elm"; - action: STATE_SET "up" 0.0; - target: "elm.swallow.index.0"; - after: "index.go.down"; - } - program { name: "index.go.down"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "elm.swallow.index.0"; - after: "event.active"; - } - program { name: "event.inactive2"; - signal: "elm,priority,down"; - source: "elm"; - action: STATE_SET "inactive" 0.0; - target: "elm.swallow.event.0"; - } - program { name: "index.down"; - signal: "elm,priority,down"; - source: "elm"; - action: STATE_SET "down" 0.0; - target: "elm.swallow.index.0"; - after: "index.go.up"; - } - program { name: "index.go.up"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "elm.swallow.index.0"; - after: "event.active"; - } - program { name: "event.active"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.event.0"; - } - program { - name: "access.active"; - signal: "elm,access,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "access"; - } - program { - name: "access.inactive"; - signal: "elm,access,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "access"; - } - program { name: "disable_timer"; - script { - set_int(timer_flag, 0); - } - } - program { name: "enable_timer"; - script { - set_int(timer_flag, 1); - } - } - program { name: "disable_timer_2"; - script { - set_int(timer_flag_2, 0); - } - } - program { name: "enable_timer_2"; - script { - set_int(timer_flag_2, 1); - } - } - } - } - - group { name: "elm/index/item1/vertical/default"; - alias: "elm/index/item1_odd/vertical/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: INDEX_SCROLL_HANDLE_ITEM_WIDTH INDEX_SCROLL_HANDLE_ITEM_HEIGHT; - color: INDEX_SCROLL_HANDLE_BG_NORMAL_COLOR; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: INDEX_SCROLL_HANDLE_BG_PRESSED_COLOR; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - align: 0.5 0.5; - state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - text.style: "Index_scroll_bar_unselect"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - text.style: "Index_scroll_bar_select"; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - target: "bg"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - target: "bg"; - } - } - } - - group { name: "elm/index/item2/vertical/default"; - alias: "elm/index/item2_odd/vertical/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: INDEX_SCROLL_HANDLE_ITEM_WIDTH INDEX_SCROLL_HANDLE_ITEM_HEIGHT; - color: INDEX_SCROLL_HANDLE_2DEPTH_BG_NORMAL_COLOR; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - align: 0.5 0.5; - state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - text.style: "Index_scroll_bar_unselect"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - text.style: "Index_scroll_bar_2depth_focus_bar"; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.0; - target: "elm.text"; - } - } - } - - group { - name: "elm/index/base/vertical/tab"; - alias: "elm/index/base/horizontal/tab"; - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "active" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - scale: 1; - clip_to: "clip"; - description { - state: "default" 0.0; - min: 0 INDEX_TAB_HEIGHT; - max: -1 INDEX_TAB_HEIGHT; - align: 0.5 0.0; - fixed: 0 1; - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 0.5; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - } - } - group { - name: "elm/index/item/vertical/tab"; - alias: "elm/index/item_odd/vertical/tab"; - alias: "elm/index/item/horizontal/tab"; - alias: "elm/index/item_odd/horizontal/tab"; - parts { - part { name:"bg"; - type : RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "indicator1"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: INDEX_TAB_COLR; - rel1 { - to_x: "left_padding"; - relative: 1 0; - } - rel2 { - to_x: "right_padding"; - relative: 0 1; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.offset: 1 0; - rel2.offset: -1 0; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0 0.5; - fixed: 1 0; - min: 1 0; - max: 1 -1; - rel2.relative: 0 1; - } - description { state: "first" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 -1; - } - description { state: "last" 0.0; - inherit: "default" 0.0; - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1 0.5; - fixed: 1 0; - min: 1 0; - max: 1 -1; - rel1.relative: 1 0; - } - description { state: "first" 0.0; - inherit: "default" 0.0; - } - description { state: "last" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: 0 -1; - } - } - part { name: "indicator2"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: INDEX_TAB_FOCUS_COLR; - visible: 0; - rel1 { - to_x: "left_padding"; - relative: 1 0; - } - rel2 { - to_x: "right_padding"; - relative: 0 1; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "indicator1"; - target: "indicator2"; - } - program { name: "first"; - signal: "elm,first,item"; - source: "elm"; - action: STATE_SET "first" 0.0; - target: "left_padding"; - target: "right_padding"; - } - program { name: "last"; - signal: "elm,last,item"; - source: "elm"; - action: STATE_SET "last" 0.0; - target: "left_padding"; - target: "right_padding"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "indicator1"; - target: "indicator2"; - } - } - } - - group { - name: "elm/index/base/vertical/thumbnail"; - alias: "elm/index/base/horizontal/thumbnail"; - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "active" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - scale: 1; - clip_to: "clip"; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0.5 1.0; - rel2.relative: 0.5 1.0; - fixed: 1 1; - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 0.5; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - } - } - group { - name: "elm/index/item/vertical/thumbnail"; - alias: "elm/index/item_odd/vertical/thumbnail"; - alias: "elm/index/item/horizontal/thumbnail"; - alias: "elm/index/item_odd/horizontal/thumbnail"; - images { - image: "b_home_screen_page_indicator_off.png" COMP; - image: "b_home_screen_page_indicator_on.png" COMP; - } - parts { - part { name:"bg"; - type : RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - min: INDEX_THUMBNAIL_BG_SIZE; - max: INDEX_THUMBNAIL_BG_SIZE; - visible: 0; - align: 0.5 0.5; - } - } - part { name: "indicator1"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - min: INDEX_THUMBNAIL_IND_SIZE; - max: INDEX_THUMBNAIL_IND_SIZE; - image { - normal: "b_home_screen_page_indicator_off.png"; - border: INDEX_THUMBNAIL_IMAGE_BORDER_SIZE; - border_scale: 1; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "indicator2"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - min: INDEX_THUMBNAIL_IND_SIZE; - max: INDEX_THUMBNAIL_IND_SIZE; - image { - normal: "b_home_screen_page_indicator_on.png"; - border: INDEX_THUMBNAIL_IMAGE_BORDER_SIZE; - border_scale: 1; - } - visible: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "indicator1"; - target: "indicator2"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "indicator1"; - target: "indicator2"; - } - } - } diff --git a/wearable/themes/widgets/label.edc b/wearable/themes/widgets/label.edc deleted file mode 100644 index 04569bd..0000000 --- a/wearable/themes/widgets/label.edc +++ /dev/null @@ -1,888 +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. - */ - -#define SLIDE_SPEED_WEIGHT 0.5 -#define SLIDE_TEXT_GAP 60 - - styles { - style { name: "textblock_style"; - base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - /* label doesn't use it */ - style { name: "textblock_charwrap_style"; -base: "font=Tizen:style=Regular font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - } - - group { name: "elm/label/base/default"; - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - } - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "charwrap_mode" 0.0; - text { - style: "textblock_charwrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "default_on"; - signal: "elm,state,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "charwrap_on"; - signal: "elm,state,charwrap"; - source: "elm"; - action: STATE_SET "charwrap_mode" 0.0; - target: "elm.text"; - } - } // end programs - } // end group - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap_ellipsis/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - // FIXME : fixed for multiline ellipsis. - // does it need to make another ellipsis style? - fixed: 0 1; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "charwrap_mode" 0.0; - // FIXME : fixed for multiline ellipsis. - // does it need to make another ellipsis style? - fixed: 0 1; - text { - style: "textblock_charwrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "default_on"; - signal: "elm,state,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "charwrap_on"; - signal: "elm,state,charwrap"; - source: "elm"; - action: STATE_SET "charwrap_mode" 0.0; - target: "elm.text"; - } - } // end programs - } // end group - - group { name: "elm/label/base/marker"; - styles { - style { name: "textblock_style2"; - base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ color=#ffff"; - tag: "b" "+ color=#ffff"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - text { - style: "textblock_style2"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - } - - /* default label doesn't use it */ - group { name: "elm/label/base_wrap/marker"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - multiline: 1; - description { state: "default" 0.0; - text { - style: "textblock_style2"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - } - - /* actionbar title textblock */ - group { name: "elm/label/base/actionbar_title"; - images { - image: "tw_action_text_fadeout_left_holo_dark.png" COMP; - image: "tw_action_text_fadeout_right_holo_dark.png" COMP; - } - script { - public g_mirrored = 0; //Mirrored on/off status - - public title_text_fade_out() { - new x, y, w, h, w2; - get_geometry(PART:"elm.text", x, y, w, h); - get_geometry(PART:"base", x, y, w2, h); - - if (w > w2) { - if (g_mirrored) - set_state(PART:"title_text_fade_out_effect_right", "show_mirrored", 0.0); - else - set_state(PART:"title_text_fade_out_effect_right", "show", 0.0); - } - else - set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); - } - } - parts { - part { name: "base"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - text { - style: "action_bar_title"; - } - rel1.to: "base"; - rel2.to: "base"; - } - } - part { name: "title_text_fade_out_effect_right"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - align: 1.0 0.5; - fixed: 1 0; - visible: 0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 0.0 1.0; to: "base"; } - color: ACTIONBAR_BG_COLOR; - image.normal: "tw_action_text_fadeout_right_holo_dark.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - visible: 1; - } - description { state: "show_mirrored" 0.0; - inherit: "default" 0.0; - min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - visible: 1; - image.normal: "tw_action_text_fadeout_left_holo_dark.png"; - } - } - } - programs { - program { - name: "mirrored_on"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(g_mirrored, 1); - title_text_fade_out(); - } - } - program { - name: "mirrored_off"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(g_mirrored, 0); - title_text_fade_out(); - } - } - } - } - - group { name: "elm/label/base/slide_long"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - if (id == 0) - set_float(g_duration, duration); - else - set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - group { name: "elm/label/base/slide_roll"; - script { - public g_duration = 0; - public g_stopslide = 0; - public g_timer_id = 0; - public g_anim_id = 0; - public g_tb_w = 0; - public g_tb_h = LABEL_FONT_SIZE_INC; - public org_text = 0; - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - if (id == 0) - set_float(g_duration, duration); - else - set_float(g_duration, duration / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); - } - } - public get_tb_width() { - new x, y, w, h; - set_state(PART:"elm.text", "no_ellipsis", 0.0); - get_geometry(PART:"elm.text", x, y, w, h); - set_int(g_tb_w, w); - set_int(g_tb_h, h); - set_state(PART:"text_clip", "default", 0.0); - get_geometry(PART:"text_clip", x, y, w, h); - set_int(org_text, w); - } - public slide_to_end_anim(val, Float:pos) { - if (get_int(g_stopslide)) return; - set_tween_state(PART:"elm.text.slide", pos, "slide_begin", 0.0, "slide_end", 0.0); - set_tween_state(PART:"elm.text.slide2", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - set_int(g_timer_id, timer(1.5, "start_slide", 0)); - } - } - public slide_to_end() { - if (get_int(g_stopslide)) return; - set_int(g_anim_id, anim(get_float(g_duration), "slide_to_end_anim", 0)); - } - public start_slide(val) { - new Float:len; - new buf[1024]; - set_int(g_stopslide, 0); - get_tb_width(); - if (!get_float(g_duration)) { - len = get_int(g_tb_w) + SLIDE_TEXT_GAP; - set_float(g_duration, len / get_int(g_tb_h) * SLIDE_SPEED_WEIGHT); - } - if(get_int(g_tb_w) > get_int(org_text)) { - set_state(PART:"elm.text.slide", "slide_begin", 0.0); - set_state(PART:"elm.text.slide2", "slide_begin", 0.0); - get_text(PART:"elm.text", buf, 1024); - set_text(PART:"elm.text.slide", buf); - set_text(PART:"elm.text.slide2", buf); - set_state(PART:"text_clip", "hide", 0.0); - set_state(PART:"slide_text_clip", "show", 0.0); - slide_to_end(); - } - } - public stop_slide() { - new slide_start_timer; - new slide_anim_id; - set_int(g_stopslide, 1); - slide_start_timer = get_int(g_timer_id); - if (slide_start_timer) { - cancel_timer(slide_start_timer); - set_int(g_timer_id, 0); - } - slide_anim_id = get_int(g_anim_id); - if (slide_anim_id) { - cancel_anim(slide_anim_id); - set_int(g_anim_id, 0); - } - set_text(PART:"elm.text.slide", ""); - set_text(PART:"elm.text.slide2", ""); - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"elm.text.slide", "default", 0.0); - set_state(PART:"elm.text.slide2", "default", 0.0); - set_state(PART:"text_clip", "default", 0.0); - set_state(PART:"slide_text_clip", "default", 0.0); - } - } - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "text_clip"; - description { state: "default" 0.0; - align: 0.0 0.5; - text { - style: "textblock_style"; - min: 0 1; - } - } - description { state: "no_ellipsis" 0.0; - inherit: "default" 0.0; - text.min: 1 1; - } - } - part { name: "slide_text_clip"; - type: RECT; - mouse_events: 0; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "slide_text_gap"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: SLIDE_TEXT_GAP 0; - max: SLIDE_TEXT_GAP -1; - align: 1.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.text.slide"; - type: TEXTBLOCK; - scale: 1; - clip_to: "slide_text_clip"; - description { state: "default" 0.0; - align: 0.0 0.5; - text { - style: "textblock_style"; - min: 0 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - text.min: 1 1; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - text.min: 1 1; - text.align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to: "slide_text_gap"; } - rel2 { relative: 0.0 1.0; to: "slide_text_gap"; } - } - } - part { name: "slide_text_gap2"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - min: SLIDE_TEXT_GAP 0; - max: SLIDE_TEXT_GAP -1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "elm.text"; } - rel2 { relative: 1.0 1.0; to: "elm.text"; } - } - } - part { name: "elm.text.slide2"; - type: TEXTBLOCK; - scale: 1; - clip_to: "slide_text_clip"; - description { state: "default" 0.0; - align: 0.0 0.5; - text { - style: "textblock_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; } - rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - run_program(PROGRAM:"stop_slide"); - set_int(g_timer_id, timer(1.5, "start_slide", 0)); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - group { name: "elm/label/base/slide_short"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - if (id == 0) - set_float(g_duration, duration); - else - set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } - - group { name: "elm/label/base/slide_bounce"; - script { - public g_duration = 0, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if (type == MSG_FLOAT_SET) { - new Float:duration; - duration = getfarg(2); - if (id == 0) - set_float(g_duration, duration); - else - set_float(g_duration, duration / LABEL_FONT_SIZE_INC * SLIDE_SPEED_WEIGHT); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - } - public slide_to_begin() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_begin_anim", 1); - set_int(g_anim_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script { - stop_slide(); - } - } - } - } diff --git a/wearable/themes/widgets/layout.edc b/wearable/themes/widgets/layout.edc deleted file mode 100755 index 6f9f354..0000000 --- a/wearable/themes/widgets/layout.edc +++ /dev/null @@ -1,1294 +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. - */ - - /*************************************************/ - /* elm_layout -> fundamental template style */ - /*************************************************/ - group { name: "elm/layout/application/default"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - } - } - - - /************************************************************/ - /* elm_layout -> fundamental template style with fastscroll */ - /************************************************************/ - group { name: "elm/layout/application/fastscroll"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "right.padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - rel1.relative: 1 0; - min: INDEX_SCROLL_HANDLE_ITEM_WIDTH 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2 { - to_x: "right.padding"; - relative: 0.0 1.0; - } - } - description { state: "hide" 0.0; - } - } - part { - name: "elm.swallow.fastscroll"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; } - description { state: "hide" 0.0; - visible: 0; - } - } - } - programs { - program { - name: "hide"; - signal: "elm,state,fastscroll,hide"; - source: ""; - action: STATE_SET "hide" 0.0; - target: "elm.swallow.content"; - target: "elm.swallow.fastscroll"; - } - program { - name: "show"; - signal: "elm,state,fastscroll,show"; - source: ""; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elm.swallow.fastscroll"; - } - } - } - - group { name: "elm/layout/nocontents/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - description { state: "default" 0.0; - fixed: 1 1; - text { - style: "nocontent_style"; - min: 0 1; - max: 0 1; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - } - } - - group { name: "elm/layout/nocontents/no_schedule"; - inherit: "elm/layout/nocontents/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - description { state: "default" 0.0; - text { - style: "nocontent_noschedule_style"; - min: 0 1; - max: 0 1; - } - } - } - } - } - -group { name: "elm/layout/nocontents_button/default"; - inherit: "elm/layout/nocontents/default"; - parts { - part { name: "elm.swallow.bg"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - description { state: "default" 0.0; - rel2.to_y: "elm.icon"; - rel2.relative: 1.0 0.0; - text { - style: "nocontent_style"; - min: 0 1; - max: 0 1; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2 { - to_y: "elm.icon"; - relative: 1 0; - } - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - } - } - } -} - -group { name: "elm/layout/body/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_PADDING_TOP_SIZE; - max: -1 BODY_NORMAL_PADDING_TOP_SIZE; - fixed: 0 1; - align: 0.5 0.0; - rel2.relative: 1.0 0.0; - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_PADDING_BOTTOM_SIZE; - max: -1 BODY_NORMAL_PADDING_BOTTOM_SIZE; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BODY_NORMAL_PADDING_LEFT_SIZE 0; - max: BODY_NORMAL_PADDING_LEFT_SIZE -1; - fixed: 1 0; - align: 0.0 0.5; - rel2.relative: 0.0 1.0; - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BODY_NORMAL_PADDING_RIGHT_SIZE 0; - max: BODY_NORMAL_PADDING_RIGHT_SIZE -1; - fixed: 1 0; - align: 1.0 0.5; - rel1.relative: 1.0 0.0; - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BODY_ICON_SIZE; - max: BODY_ICON_SIZE; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - to_y: "top_padding"; - relative: 0.0 1.0; - } - rel2 { - to_y: "top_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "icon_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_PADDING_MIDDLE_SIZE; - max: -1 BODY_NORMAL_PADDING_MIDDLE_SIZE; - fixed: 0 1; - align: 0.5 0.0; - rel1 - to_y: "elm.icon"; - relative: 0.0 1.0; - } - rel2 { - to_y: "elm.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_1LINE_TEXT_HEIGHT; - rel1 { - to_x: "left_padding"; - to_y: "icon_bottom_padding"; - relative: 1.0 1.0; - } - rel2 { - to_x: "right_padding"; - to_y: "bottom_padding"; - relative: 0.0 0.0; - } - text { - style: "body_normal_1line_style"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/layout/body_sub/default"; - inherit: "elm/layout/body/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_2LINE_TEXT_HEIGHT; - fixed: 0 1; - align: 0.5 0.0; - rel2 { - to_y: "icon_bottom_padding"; - relative: 0.0 1.0; - } - } - } - part { name: "text_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 4; - max: -1 4; - fixed: 0 1; - align: 0.5 0.0; - rel1 - to_y: "elm.text"; - relative: 0.0 1.0; - } - rel2 { - to_y: "elm.text"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.text.2"; - scale: 1; - type: TEXTBLOCK; - description { state: "default" 0.0; - min: 0 BODY_NORMAL_2LINE_TEXT_SUB_HEIGHT; - fixed: 0 1; - rel1 { - to_x: "left_padding"; - to_y: "text_bottom_padding"; - relative: 1.0 1.0; - } - rel2 { - to_x: "right_padding"; - to_y: "bottom_padding"; - relative: 0.0 0.0; - } - text { - style: "body_normal_2line_style"; - } - } - } - } -} - -group { name: "elm/layout/button_controller/default"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "lt_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_PADDING_LT_SIZE; - max: BUTTON_CONTROLLER_PADDING_LT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "rb_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_PADDING_RB_SIZE; - max: BUTTON_CONTROLLER_PADDING_RB_SIZE; - fixed: 1 1; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - } - } - part { name: "elm.icon.center"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_CENTER_SIZE; - max: BUTTON_CONTROLLER_ICON_CENTER_SIZE; - fixed: 1 1; - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_SIZE; - max: BUTTON_CONTROLLER_ICON_SIZE; - fixed: 1 1; - } - } - part { name: "elm.icon.left"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_SIZE; - max: BUTTON_CONTROLLER_ICON_SIZE; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - to_x: "lt_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.icon.center"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.icon.right"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_SIZE; - max: BUTTON_CONTROLLER_ICON_SIZE; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - to_x: "elm.icon.center"; - relative: 1.0 0.0; - } - rel2 { - to_x: "rb_padding"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.icon.top"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_SIZE; - max: BUTTON_CONTROLLER_ICON_SIZE; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - to_y: "lt_padding"; - relative: 0.0 1.0; - } - rel2 { - to_y: "elm.icon.center"; - relative: 1.0 0.0; - } - } - } - part { name: "elm.icon.bottom"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CONTROLLER_ICON_SIZE; - max: BUTTON_CONTROLLER_ICON_SIZE; - fixed: 1 1; - align: 0.5 0.5; - rel1 { - to_y: "elm.icon.center"; - relative: 1.0 1.0; - } - rel2 { - to_y: "rb_padding"; - relative: 0.0 0.0; - } - } - } - } -} - -group { name: "elm/layout/popup_button_controller/default"; - parts { - part { - name: "bg"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - min: POPUP_BUTTON_CONTROLLER_BG_SIZE; - max: POPUP_BUTTON_CONTROLLER_BG_SIZE; - } - } - part { - name: "elm.btn.left"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "bg"; - rel2 {to: "bg"; relative: 0.0 1.0;} - align: 0.0 0.5; - fixed: 1 0; - } - } - part { - name: "left_padding"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - min: POPUP_BUTTON_CONTROLLER_LR_PADDING_SIZE; - max: POPUP_BUTTON_CONTROLLER_LR_PADDING_SIZE; - rel1 {to: "elm.btn.left"; relative: 1.0 0.0;} - rel2 {to: "elm.btn.left"; relative: 1.0 1.0;} - align: 0.0 0.5; - fixed: 1 0; - } - } - part { - name: "content_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: POPUP_BUTTON_CONTROLLER_CONTENT_BG_COLOR; - min: POPUP_BUTTON_CONTROLLER_CONTENT_BG_SIZE; - max: POPUP_BUTTON_CONTROLLER_CONTENT_BG_SIZE; - rel1 {to: "left_padding"; relative: 1.0 0.0;} - rel2 {to: "left_padding"; relative: 1.0 1.0;} - align: 0.0 0.5; - fixed: 1 0; - } - } - part { - name: "center.image"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: POPUP_BUTTON_CONTROLLER_ICON_SIZE; - max: POPUP_BUTTON_CONTROLLER_ICON_SIZE; - rel1.to: "content_bg"; - rel2.to: "content_bg"; - } - } - part { - name: "center_padding"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - min: POPUP_BUTTON_CONTROLLER_LR_PADDING_SIZE; - max: POPUP_BUTTON_CONTROLLER_LR_PADDING_SIZE; - rel1 {to: "content_bg"; relative: 1.0 0.0;} - rel2 {to: "content_bg"; relative: 1.0 1.0;} - fixed: 1 0; - } - } - part { - name: "elm.btn.right"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "center_padding"; relative: 1.0 0.0;} - rel2.to: "center_padding"; - align: 0.0 0.5; - fixed: 1 0; - } - } - part { - name: "elm.btn.close"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg"; relative: 1.0 0.0;} - rel2.to: "bg"; - align: 1.0 0.5; - fixed: 1 0; - } - } - part { - name: "center.event"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "content_bg"; - rel2.to: "content_bg"; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "center_clicked"; - signal: "mouse,clicked,1"; - source: "center.event"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - } - } -} - -group { name: "elm/layout/AM_PM/default"; - images { - image: "tw_timepicker_num_dot_01.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 292 86; - max: 292 86; - fixed: 1 1; - visible: 0; - } - } - part { name: "top_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 6 6; - max: 6 6; - fixed: 1 1; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "bottom_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 6 6; - max: 6 6; - fixed: 1 1; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - } - } - part { name: "center_img"; - scale: 1; - description { state: "default" 0.0; - min: 24 34; - max: 24 34; - fixed: 1 1; - image.normal: "tw_timepicker_num_dot_01.png"; - } - } - part { name: "elm.icon.left"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 102 74; - max: 102 74; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - to: "top_left_padding"; - relative: 1.0 1.0; - } - rel2 { - to_x: "center_img"; - to_y: "bottom_right_padding"; - relative: 0.0 0.0; - } - } - } - part { name: "elm.icon.right"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 102 74; - max: 102 74; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - to_x: "center_img"; - to_y: "top_left_padding"; - relative: 1.0 1.0; - } - rel2 { - to: "bottom_right_padding"; - relative: 0.0 0.0; - } - } - } - } -} - -#define DRAG_THRESHOLD 20.0 // pixel - -group { name: "elm/layout/wheel_controller/default"; - images { - image: "tw_button_controller_bg_press.png" COMP; - image: "tw_timepicker_wheel_01.png" COMP; - image: "tw_timepicker_wheel_02.png" COMP; - image: "tw_timepicker_wheel_03.png" COMP; - image: "tw_timepicker_wheel_04.png" COMP; - image: "tw_timepicker_wheel_05.png" COMP; - image: "tw_timepicker_wheel_06.png" COMP; - } - script { - public wheel_state; - public px ; - public long_timer; - public acc_timer; - public acc_timeout; - public dir; - public change() { - if (get_int(wheel_state) == 0) - set_state(PART:"wheel", "default", 0.0); - else if (get_int(wheel_state) == 1) - set_state(PART:"wheel", "anim2", 0.0); - else if (get_int(wheel_state) == 2) - set_state(PART:"wheel", "anim3", 0.0); - else if (get_int(wheel_state) == 3) - set_state(PART:"wheel", "anim4", 0.0); - else if (get_int(wheel_state) == 4) - set_state(PART:"wheel", "anim5", 0.0); - else if (get_int(wheel_state) == 5) - set_state(PART:"wheel", "anim6", 0.0); - run_program(PROGRAM:"roller_snd"); - } - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 278 72; - max: 278 72; - fixed: 1 1; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 15; - fixed: 0 1; - align: 0.0 0.0; - rel1.to: bg; - rel2.relative: 1.0 0.0; - rel2.to: bg; - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 8; - fixed: 0 1; - align: 1.0 1.0; - rel1.relative: 0.0 1.0; - rel1.to: bg; - rel2.to: bg; - } - } - part { name: "center_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 4 0; - max: 4 -1; - fixed: 1 1; - rel1.to: bg; - rel2.to: bg; - } - } - part { name: "elm.icon.left"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 137 72; - max: 137 72; - fixed: 1 1; - align: 1.0 0.0; - rel1.to: "bg"; - rel2 { - to_x: "center_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.icon.right"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 137 72; - max: 137 72; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to_x: "center_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2.to: "bg"; - } - } - part { name: "wheel"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "tw_timepicker_wheel_01.png"; - } - rel1 { - to_x: "bg"; - to_y: "top_padding"; - relative: 0.0 1.0; - } - rel2 { - to_x: "bg"; - to_y: "bottom_padding"; - relative: 1.0 0.0; - } - align: 0.5 0.0; - min: 150 50; - max: 150 50; - fixed: 1 1; - } - description { state: "anim2" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_timepicker_wheel_02.png"; - } - } - description { state: "anim3" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_timepicker_wheel_03.png"; - } - } - description { state: "anim4" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_timepicker_wheel_04.png"; - } - } - description { state: "anim5" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_timepicker_wheel_05.png"; - } - } - description { state: "anim6" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_timepicker_wheel_06.png"; - } - } - } - part { name: "drag_part"; - type: RECT; - scale: 1; - repeat_events: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - } - description { state: "default" 0.0; - color: 0 0 0 0; - min: 147 46; - max: 147 46; - } - } - } - programs { - program { name: "drag_end"; - signal: "mouse,up,1"; - source: "drag_part"; - script { - set_drag(PART:"drag_part", 0, 0); - set_float(px, 0.0); - } - } - program { name: "drag"; - signal: "drag"; - source: "drag_part"; - script { - new Float:dx, Float:dy; - get_drag(PART:"drag_part", dx, dy); - if (dx > (get_float(px) + DRAG_THRESHOLD)) { - emit("elm,state,wheel,right", ""); - set_float(px, dx); - } else if (dx < (get_float(px) - DRAG_THRESHOLD)) { - emit("elm,state,wheel,left", ""); - set_float(px, dx); - } - } - } - program { name: "drag_right"; - signal: "elm,state,wheel,right"; - source: "*"; - script { - set_int(wheel_state, get_int(wheel_state)-1); - if (get_int(wheel_state) > 5) set_int(wheel_state, 0); - else if (get_int(wheel_state) < 0) set_int(wheel_state, 6); - change(); - } - } - program { name: "drag_left"; - signal: "elm,state,wheel,left"; - source: "*"; - script { - set_int(wheel_state, get_int(wheel_state)+1); - if (get_int(wheel_state) > 5) set_int(wheel_state, 0); - else if (get_int(wheel_state) < 0) set_int(wheel_state, 6); - change(); - } - } - program { name: "roller_snd"; - action: PLAY_SAMPLE "roller_sound" 1.0; - } - } -} - -group { name: "elm/layout/full_toggle/default"; - styles{ - style { name: "full_toggle_style"; - base: "font=Tizen:style=Regular font_size="38" align=center color=""#FFFFFF"" wrap=mixed ellipsis=1.0 text_class=tizen"; - tag: "br" "\n"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - } - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: -1 0; - fixed: 0 1; - align: 0.5 0.0; - rel2.relative: 1.0 0.0; - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 58; - max: -1 58; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 30 0; - max: 30 -1; - fixed: 1 0; - align: 0.0 0.5; - rel2.relative: 0.0 1.0; - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 30 0; - max: 30 -1; - fixed: 1 0; - align: 1.0 0.5; - rel1.relative: 1.0 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - min: 260 0; - max: 260 -1; - fixed: 1 0; - rel1 { - to_x: "left_padding"; - to_y: "top_padding"; - relative: 1.0 1.0; - } - rel2 { - to_x: "right_padding"; - to_y: "elm.icon"; - relative: 0.0 0.0; - } - text { - style: "full_toggle_style"; - min: 0 1; - } - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 168 74; - max: 168 74; - fixed: 1 1; - align: 0.5 1.0; - rel1 { - to_y: "bottom_padding"; - relative: 0.0 0.0; - } - rel2 { - to_y: "bottom_padding"; - relative: 1.0 0.0; - } - } - } - } -} - -group { name: "elm/layout/bottom_button/default"; - images { - image: "tw_timepicker_divider.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - min: 320 90; - max: 320 90; - fixed: 1 1; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 4; - max: -1 4; - fixed: 0 1; - align: 0.5 0.0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "h_divider"; - scale: 1; - description { state: "default" 0.0; - min: 0 2; - max: -1 2; - fixed: 0 1; - align: 0.5 0.0; - image.normal: "tw_timepicker_divider.png"; - rel1 { - to_y: "top_padding"; - relative: 0.0 1.0; - offset: 10 0; - } - rel2 { - to_y: "top_padding"; - relative: 1.0 1.0; - offset: -10 0; - } - } - } - part { name: "v_divider"; - scale: 1; - description { state: "default" 0.0; - min: 2 0; - max: 2 -1; - fixed: 1 0; - image.normal: "tw_timepicker_divider.png"; - rel1 { - relative: 0.5 0.0; - offset: 0 14; - } - rel2 { - relative: 0.5 1.0; - offset: 0 -10; - } - } - } - part { name: "elm.icon.left"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 158 84; - max: 158 84; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - to_y: "top_padding"; - relative: 0.0 1.0; - } - rel2 { - relative: 0.0 1.0; - } - } - } - part { name: "elm.icon.right"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 158 84; - max: 158 84; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - to_y: "top_padding"; - relative: 1.0 1.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - } -} - - -group { name: "elm/layout/body_thumbnail/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 320 320; - color: BODY_THUMBNAIL_BG_COLOR; - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: BODY_THUMBNAIL_SIZE; - max: BODY_THUMBNAIL_SIZE; - fixed: 1 1; - } - } - part { name: "left_line"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - min: BODY_THUMBNAIL_LINE_SIZE 0; - max: BODY_THUMBNAIL_LINE_SIZE -1; - color: INDEX_THUMBNAIL_LINE_FOCUS_COLOR; - rel1.to: "elm.icon"; - rel2.to: "elm.icon"; - rel2.relative: 0.0 1.0; - } - description { state: "unfocus" 0.0; - inherit: "default" 0.0; - color: INDEX_THUMBNAIL_LINE_UNFOCUS_COLOR; - } - } - part { name: "right_line"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - min: BODY_THUMBNAIL_LINE_SIZE 0; - max: BODY_THUMBNAIL_LINE_SIZE -1; - color: INDEX_THUMBNAIL_LINE_FOCUS_COLOR; - rel1.to: "elm.icon"; - rel1.relative: 1.0 0.0; - rel2.to: "elm.icon"; - } - description { state: "unfocus" 0.0; - inherit: "default" 0.0; - color: INDEX_THUMBNAIL_LINE_UNFOCUS_COLOR; - } - } - part { name: "top_line"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 BODY_THUMBNAIL_LINE_SIZE; - max: -1 BODY_THUMBNAIL_LINE_SIZE; - color: INDEX_THUMBNAIL_LINE_FOCUS_COLOR; - rel1.to: "left_line"; - rel1.relative: 1.0 0.0; - rel2.to: "right_line"; - rel2.relative: 0.0 0.0; - } - description { state: "unfocus" 0.0; - inherit: "default" 0.0; - color: INDEX_THUMBNAIL_LINE_UNFOCUS_COLOR; - } - } - part { name: "bottom_line"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - min: 0 BODY_THUMBNAIL_LINE_SIZE; - max: -1 BODY_THUMBNAIL_LINE_SIZE; - color: INDEX_THUMBNAIL_LINE_FOCUS_COLOR; - rel1.to: "left_line"; - rel1.relative: 1.0 1.0; - rel2.to: "right_line"; - rel2.relative: 0.0 1.0; - } - description { state: "unfocus" 0.0; - inherit: "default" 0.0; - color: INDEX_THUMBNAIL_LINE_UNFOCUS_COLOR; - } - } - } - programs { - program { - name: "focus"; - signal: "elm,state,thumbnail,focus"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "left_line"; - target: "right_line"; - target: "top_line"; - target: "bottom_line"; - } - program { - name: "unfocus"; - signal: "elm,state,thumbnail,unfocus"; - source: "*"; - action: STATE_SET "unfocus" 0.0; - target: "left_line"; - target: "right_line"; - target: "top_line"; - target: "bottom_line"; - } - } -} diff --git a/wearable/themes/widgets/naviframe.edc b/wearable/themes/widgets/naviframe.edc deleted file mode 100755 index f1f06c8..0000000 --- a/wearable/themes/widgets/naviframe.edc +++ /dev/null @@ -1,971 +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. - */ - -#define NAVIFRAME_VIEW_ZOOM_TRANS_TIME 0.25 //Zoom time for push and pop -#define NAVIFRAME_VIEW_SLIDE_TRANS_TIME 0.2 //Sliding time for push and pop -#define NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 0.05 //Sliding prepare time for pop -#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time -#define NAVIFRAME_HIDDEN_BTN_TRANS_TIME 0.5 //Hidden Button transition time - -group { name: "elm/naviframe/item/basic/default"; - data.item: "tizen_zoom" 1; - images { - image: "tw_action_text_fadeout_left_holo_dark.png" COMP; - image: "tw_action_text_fadeout_right_holo_dark.png" COMP; - } - script { - public g_mirrored = 0; //Mirrored on/off status - - public title_text_fade_out() { - new x, y, w, h, w2; - get_geometry(PART:"elm.text.title", x, y, w, h); - get_geometry(PART:"title_text_bg", x, y, w2, h); - - if (w > w2) { - if (get_int(g_mirrored)) - set_state(PART:"title_text_fade_out_effect_right", "show_mirrored", 0.0); - else - set_state(PART:"title_text_fade_out_effect_right", "show", 0.0); - } - else - set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); - } - } - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "down" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - visible: 0; - } - description { state: "down" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - } - part { name: "hidden_btn"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 320 76; - max: 320 76; - fixed: 1 1; - align: 0.5 1.0; - visible: 0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } - rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - align: 0.5 0.0; - visible: 1; - } - } - part { name: "title_clip"; - type: RECT; - clip_to: "clipper"; - description { state: "default" 0.0; - visible: 1; - rel1.to: "title_bg"; - rel2.to: "title_bg"; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "title_bg"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 320 ACTIONBAR_HEIGHT; - max: 320 ACTIONBAR_HEIGHT; - fixed: 1 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - color: ACTIONBAR_BG_COLOR; - } - description { state: "hide_trans" 0.0; - inherit: "default" 0.0; - align: 0.5 1.0; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 320 0; - max: 320 0; - } - } - part { name: "title_text_bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { relative: 1.0 0.0; to: "title_left_padding"; } - rel2 { relative: 0.0 1.0; to: "title_right_padding"; } - } - } - part { name: "title_text_clip"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale: 1; - clip_to: "title_text_clip"; - description { state: "default" 0.0; - text { - align: 0.0 0.5; - min: 1 1; - style: "action_bar_title"; - } - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ACTIONBAR_PADDING_SIZE 0; - max: ACTIONBAR_PADDING_SIZE -1; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 0.0 1.0; to: "title_bg"; } - } - } - part { name: "title_color_bar"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 7 0; - max: 7 -1; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 0.0 1.0; to: "title_bg"; } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - max: ACTIONBAR_ICON_SIZE; - fixed: 1 1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to: "left_padding"; } - rel2 { relative: 1.0 1.0; to: "left_padding"; } - } - } - part { name: "title_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } - rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon"; to_y: "title_bg"; } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: 10 0; - max: 10 -1; - } - } - part { name: "title_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 -1; - fixed: 1 0; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to_x: "elm.swallow.next_btn"; to_y: "title_bg"; } - rel2 { relative: 0.0 1.0; to_x: "elm.swallow.next_btn"; to_y: "title_bg"; } - } - } - part { name: "title_text_fade_out_effect_right"; - type: IMAGE; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 0 0; - max: 0 -1; - align: 1.0 0.5; - fixed: 1 0; - visible: 0; - rel1 { relative: 0.0 0.0; to: "title_right_padding"; } - rel2 { relative: 0.0 1.0; to: "title_right_padding"; } - color: ACTIONBAR_BG_COLOR; - image.normal: "tw_action_text_fadeout_right_holo_dark.png"; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - visible: 1; - } - description { state: "show_mirrored" 0.0; - inherit: "default" 0.0; - min: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - max: ACTIONBAR_FADE_WIDTH ACTIONBAR_HEIGHT; - visible: 1; - image.normal: "tw_action_text_fadeout_left_holo_dark.png"; - } - } - part { name: "title_bottom_line"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 0 1; - max: -1 1; - fixed: 0 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - color: ACTIONBAR_BOTTOM_LINE_COLOR;; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: -1 0; - } - } - part { name: "click_event_area"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { to: "title_bg"; } - rel2 { to: "title_bg"; } - color: 0 0 0 0; - } - } - part { name: "elm.swallow.next_btn"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 6 0; - max: ACTIONBAR_NEXT_BTN_SIZE; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "hidden_btn"; } - rel2 { relative: 1.0 1.0; to: "base"; } - } - } - /* - part { name: "dbg"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: ACTIONBAR_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "tizen"; - } - color: 255 0 0 255; - align: 1.0 0.0; - } - }*/ - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - visible: 0; - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 1.7; - after: "content_cur_popped2"; - } - program { name: "content_cur_popped2"; - action: STATE_SET "down" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - } - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "down" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - } - } - program { name: "show_finished"; - script { - emit("elm,action,show,finished", ""); - } - } - program { name: "pushed_finished"; - script { - emit("elm,action,pushed,finished", ""); - } - } - program { name: "popped_finished"; - script { - emit("elm,action,popped,finished", ""); - } - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - set_state(PART:"clipper", "default", 0.0); - title_text_fade_out(); - } - } - program { name: "invisible"; - signal: "elm,state,invisible"; - source: "elm"; - script { - set_state(PART:"clipper", "down", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - set_state(PART:"title_bottom_line", "hide", 0.0); - set_state(PART:"title_clip", "hide", 0.0); - } - } - program { name: "title_hide_trans"; - signal: "elm,action,title,hide"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title_bg", st, 32, vl); - if (!strcmp(st, "default")) { - run_program(PROGRAM:"title_hide_trans2"); - } - } - } - program { name: "title_hide_trans2"; - action: STATE_SET "hide_trans" 0.0; - target: "title_bg"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_hide_trans3"; - } - program { name: "title_hide_trans3"; - script { - run_program(PROGRAM:"title_hide"); - } - after: "title_trans_finished"; - } - program { name: "title_trans_finished"; - action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - set_state(PART:"title_bg", "default", 0.0); - set_state(PART:"title_bottom_line", "default", 0.0); - set_state(PART:"title_clip", "default", 0.0); - title_text_fade_out(); - } - } - program { name: "title_show_trans"; - signal: "elm,action,title,show"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title_bg", st, 32, vl); - if (!strcmp(st, "hide")) { - set_state(PART:"title_bg", "hide_trans", 0.0); - set_state(PART:"title_bottom_line", "default", 0.0); - set_state(PART:"title_clip", "default", 0.0); - run_program(PROGRAM:"title_show_trans2"); - } - } - } - program { name: "title_show_trans2"; - action: STATE_SET "default" 0.0; - target: "title_bg"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_trans_finished"; - } - program { name: "title_label_show"; - signal: "elm,state,title_label,show"; - source: "elm"; - script { - title_text_fade_out(); - } - } - program { name: "title_label_hide"; - signal: "elm,state,title_label,hide"; - source: "elm"; - script { - set_state(PART:"title_text_fade_out_effect_right", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,show"; - source: "elm"; - script { - set_state(PART:"title_left_padding", "show", 0.0); - title_text_fade_out(); - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hide"; - source: "elm"; - script { - set_state(PART:"title_left_padding", "default", 0.0); - title_text_fade_out(); - } - } - program { name: "next_btn_show"; - signal: "elm,state,next_btn,show"; - source: "elm"; - script { - title_text_fade_out(); - } - } - program { name: "next_btn_hide"; - signal: "elm,state,next_btn,hide"; - source: "elm"; - script { - title_text_fade_out(); - } - } - program { name: "hidden_btn_show"; - signal: "elm,state,hidden_btn,show"; - source: ""; - script { - set_state(PART:"hidden_btn", "show", 0.0); - } - } - program { name: "hidden_btn_hide"; - signal: "elm,state,hidden_btn,hide"; - source: ""; - script { - set_state(PART:"hidden_btn", "default", 0.0); - } - } - program { name: "hidden_btn_show_trans"; - signal: "elm,action,hidden_btn,show"; - source: ""; - action: STATE_SET "show" 0.0; - target: "hidden_btn"; - transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; - } - program { name: "hidden_btn_hide_trans"; - signal: "elm,action,hidden_btn,hide"; - source: ""; - action: STATE_SET "default" 0.0; - target: "hidden_btn"; - transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; - } - program { name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "click_event_area"; - action: SIGNAL_EMIT "elm,action,title,clicked" ""; - } - program { - name: "mirrored_on"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(g_mirrored, 1); - title_text_fade_out(); - } - } - program { - name: "mirrored_off"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(g_mirrored, 0); - title_text_fade_out(); - } - } - } -} - -group { name: "elm/naviframe/item/empty/default"; - data.item: "tizen_zoom" 1; - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "down" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - visible: 0; - } - description { state: "down" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - } - part { name: "hidden_btn"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 320 76; - max: 320 76; - fixed: 1 1; - align: 0.5 1.0; - visible: 0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } - rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - align: 0.5 0.0; - visible: 1; - } - } - part { name: "title_clip"; - type: RECT; - clip_to: "clipper"; - description { state: "default" 0.0; - visible: 1; - rel1.to: "title"; - rel2.to: "title"; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "title_bg"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - max: -1 0; - fixed: 0 1; - align: 0.5 0.0; - rel1.to: "title"; - rel2.to: "title"; - color: ACTIONBAR_BG_COLOR; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - max: -1 -1; - } - } - part { name: "title_bottom_line"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - max: -1 0; - fixed: 0 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - color: ACTIONBAR_BOTTOM_LINE_COLOR;; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 0 1; - max: -1 1; - } - } - part { name: "title"; - type: SWALLOW; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 0; - max: -1 0; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - } - description { state: "hide_trans" 0.0; - inherit: "default" 0.0; - visible: 1; - max: -1 -1; - align: 0.5 1.0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - max: -1 -1; - } - } - part { name: "elm.swallow.next_btn"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "hidden_btn"; } - rel2 { relative: 1.0 1.0; to: "base"; } - } - } - /* - part { name: "dbg"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { font: "Tizen:style=Bold"; - size: ACTIONBAR_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "tizen"; - } - color: 255 0 0 255; - align: 1.0 0.0; - } - }*/ - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - visible: 0; - } - } - } - programs { - program { name: "content_new_pushed"; - signal: "elm,state,new,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; - after: "show_finished"; - } - program { name: "content_cur_pushed"; - signal: "elm,state,cur,pushed,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; - after: "pushed_finished"; - } - program { name: "content_prev_popped"; - signal: "elm,state,prev,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_ZOOM_TRANS_TIME 1.7; - after: "show_finished"; - } - program { name: "content_cur_popped"; - signal: "elm,state,cur,popped,deferred"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_PREPARE_TIME 1.7; - after: "content_cur_popped2"; - } - program { name: "content_cur_popped2"; - action: STATE_SET "down" 0.0; - target: "base"; - transition: SIN_FAC NAVIFRAME_VIEW_SLIDE_TRANS_TIME 1.7; - after: "popped_finished"; - } - program { name: "cur_pushed"; - signal: "elm,state,cur,pushed"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - } - } - program { name: "new_pushed"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "down" 0.0; - target: "base"; - } - program { name: "prev_popped"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - target: "clipper"; - } - program { name: "cur_popped"; - signal: "elm,state,cur,popped"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - } - } - program { name: "show_finished"; - script { - emit("elm,action,show,finished", ""); - } - } - program { name: "pushed_finished"; - script { - emit("elm,action,pushed,finished", ""); - } - } - program { name: "popped_finished"; - script { - emit("elm,action,popped,finished", ""); - } - } - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - set_state(PART:"clipper", "default", 0.0); - } - } - program { name: "invisible"; - signal: "elm,state,invisible"; - source: "elm"; - script { - set_state(PART:"clipper", "down", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title", "default", 0.0); - set_state(PART:"title_bg", "default", 0.0); - set_state(PART:"title_bottom_line", "default", 0.0); - set_state(PART:"title_clip", "hide", 0.0); - } - } - program { name: "title_hide_trans"; - signal: "elm,action,title,hide"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title", st, 32, vl); - if (!strcmp(st, "show")) - run_program(PROGRAM:"title_hide_trans2"); - } - } - program { name: "title_hide_trans2"; - action: STATE_SET "hide_trans" 0.0; - target: "title"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_hide_trans3"; - } - program { name: "title_hide_trans3"; - script { - run_program(PROGRAM:"title_hide"); - } - after: "title_trans_finished"; - } - program { name: "title_trans_finished"; - action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - set_state(PART:"title", "show", 0.0); - set_state(PART:"title_bg", "show", 0.0); - set_state(PART:"title_bottom_line", "show", 0.0); - set_state(PART:"title_clip", "default", 0.0); - } - } - program { name: "title_show_trans"; - signal: "elm,action,title,show"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title", st, 32, vl); - if (!strcmp(st, "default")) { - set_state(PART:"title", "hide_trans", 0.0); - set_state(PART:"title_bg", "show", 0.0); - set_state(PART:"title_bottom_line", "show", 0.0); - set_state(PART:"title_clip", "default", 0.0); - run_program(PROGRAM:"title_show_trans2"); - } - } - } - program { name: "title_show_trans2"; - action: STATE_SET "show" 0.0; - target: "title"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_trans_finished"; - } - program { name: "hidden_btn_show"; - signal: "elm,state,hidden_btn,show"; - source: ""; - script { - set_state(PART:"hidden_btn", "show", 0.0); - } - } - program { name: "hidden_btn_hide"; - signal: "elm,state,hidden_btn,hide"; - source: ""; - script { - set_state(PART:"hidden_btn", "default", 0.0); - } - } - program { name: "hidden_btn_show_trans"; - signal: "elm,action,hidden_btn,show"; - source: ""; - action: STATE_SET "show" 0.0; - target: "hidden_btn"; - transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; - } - program { name: "hidden_btn_hide_trans"; - signal: "elm,action,hidden_btn,hide"; - source: ""; - action: STATE_SET "default" 0.0; - target: "hidden_btn"; - transition: SIN_FAC NAVIFRAME_HIDDEN_BTN_TRANS_TIME 1.7; - } - } -} diff --git a/wearable/themes/widgets/popup.edc b/wearable/themes/widgets/popup.edc deleted file mode 100755 index e5629f7..0000000 --- a/wearable/themes/widgets/popup.edc +++ /dev/null @@ -1,884 +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. - */ - -group { name: "elm/notify/center/popup"; - alias: "elm/notify/center/2finger"; - parts { - part { name: "base"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "persp"; - type: RECT; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - align: 0.5 0.5; - color: 0 0 0 0; - visible: 1; - perspective { - zplane: -200; - focal: 1000; - } - } - } - part { name: "persp1"; - type: RECT; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - align: 0.5 0.5; - visible: 1; - color: 0 0 0 0; - perspective { - zplane: 0; - focal: 1000; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: NOTIFY_SIZE; - max: NOTIFY_SIZE; - fixed: 1 1; - map { - on: 1; - perspective: "persp"; - smooth: 0; - color[0]: 1 1 1 1; - color[1]: 1 1 1 1; - color[2]: 1 1 1 1; - color[3]: 1 1 1 1; - } - } - description { state: "visible" 0.0; - min: NOTIFY_SIZE; - max: NOTIFY_SIZE; - fixed: 1 1; - map { - on: 1; - perspective: "persp1"; - smooth: 0; - } - } - description { state: "end" 0.0; - min: NOTIFY_SIZE; - max: NOTIFY_SIZE; - fixed: 1 1; - map { - on: 0; - perspective: "persp1"; - smooth: 0; - } - } - } - part { name: "block"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - fixed: 1 1; - visible: 1; - color: 0 0 0 0; - } - description { state: "end" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - action: STATE_SET "end" 0.0; - target: "elm.swallow.content"; - target: "block"; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "block"; - } - program { name: "show_1"; - signal: "show"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - after: "end"; - } - program { name: "end"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - transition: SIN_FAC 0.33 1.4; - after: "end2"; - } - program { name: "end2"; - action: STATE_SET "end" 0.0; - target: "elm.swallow.content"; - target: "block"; - after: "showfinished"; - } - program { name: "showfinished"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } -} - - -group { name: "elm/notify/bottom/popup"; - alias: "elm/notify/bottom/toast"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; } - } - } -} - -// FIXME: block events may be not used -group { name: "elm/notify/block_events/popup"; - parts { - part { name: "block_events_color"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "show" 0.0; - color: 0 0 0 255; - } - description { state: "clicked" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "block_events_color"; - } - program { name: "show1"; - signal: "show"; - action: STATE_SET "show" 0.0; - transition: SIN_FAC 0.33 0.5; - target: "block_events_color"; - } - program { name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events_color"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "deeper_block_color"; - } - program { - name: "deeper_block_color"; - action: STATE_SET "clicked" 0.0; - target: "block_events_color"; - transition: LINEAR 0.2; - after: "default_block_color"; - } - program { - name: "default_block_color"; - action: STATE_SET "show" 0.0; - target: "block_events_color"; - transition: LINEAR 0.2; - } - } -} - -group { name: "elm/label/base/popup/default"; - parts { - part { name: "top_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BODY_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; - max: POPUP_BODY_TEXT_PADDING_LEFT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel2 { - relative: 0.0 0.0; - } - } - } - part { name: "bottom_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BODY_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; - max: POPUP_BODY_TEXT_PADDING_RIGHT_SIZE POPUP_BODY_TEXT_PADDING_TOP_SIZE; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - to: "top_left_padding"; - relative: 1.0 1.0; - } - rel2 { - to: "bottom_right_padding"; - relative: 0.0 0.0; - } - text { - align: 0 0; - style: "popup_body_default_font_style"; - min: 0 1; - } - } - } - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } -} - -group { name: "elm/popup/buttons1/default"; - parts{ - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; } - } - } -} - -group { name: "elm/popup/buttons2/default"; - parts{ - part { name: "c_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_BUTTON_CENTER_PADDING_SIZE 0; - max: POPUP_BUTTON_CENTER_PADDING_SIZE -1; - fixed: 1 0; - align: 0.5 0.5; - } - } - part{ name:"actionbtn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel2 { - to_x: "c_padding"; - relative: 0.0 1.0; - } - } - } - part{ name:"actionbtn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "c_padding"; - relative: 1.0 0.0; - } - } - } - } -} - - -group { name: "elm/popup/content/default"; - alias: "elm/popup/content/2finger"; - parts{ - part { name:"elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - } - } - - } -} - -group { name: "elm/popup/base/default"; - - images { - image: "tw_popup_bg_holo_dark.png" COMP; - } - parts { - part { name: "base"; - type: SPACER; - description { state: "default" 0.0; - } - } - part { name: "lt_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_PADDING_LT_SIZE; - max: POPUP_PADDING_LT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "rb_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_PADDING_RB_SIZE; - max: POPUP_PADDING_RB_SIZE; - fixed: 1 1; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - } - } - part { name: "text_title_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_TEXT_PADDING_LEFT_SIZE 0; - max: POPUP_TEXT_PADDING_LEFT_SIZE -1; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "lt_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "lt_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "text_title_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_TEXT_PADDING_RIGHT_SIZE 0; - max: POPUP_TEXT_PADDING_RIGHT_SIZE -1; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - to_x: "rb_padding"; - relative: 0.0 0.0; - } - rel2 { - to_x: "rb_padding"; - relative: 0.0 1.0; - } - } - } - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "tw_popup_bg_holo_dark.png"; - border: POPUP_IMAGE_BORDER_SIZE; - border_scale: 1; - } - rel1 { - to: "lt_padding"; - relative: 1.0 1.0; - } - rel2 { - to: "rb_padding"; - relative: 0.0 0.0; - } - } - } - part { name: "elm.bg.title"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - min: 0 0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 POPUP_TITLE_HEIGHT; - max: -1 POPUP_TITLE_HEIGHT; - fixed: 0 1; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale:1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "text_title_left_padding"; - to_y: "elm.bg.title"; - offset: 0 POPUP_IMAGE_OFFSET_SIZE; - } - rel2 { - relative: 0.0 1.0; - to_x: "text_title_right_padding"; - to_y: "elm.bg.title"; - offset: 0 -1; - } - text { - style: "popup_title_style"; - align: 0.0 0.5; - min: 0 0; - } - } - } - part { name: "title_bottom_line"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - fixed: 1 1; - align: 0.5 1; - rel1.to: "elm.bg.title"; - rel2.to: "elm.bg.title"; - color: POPUP_TITLE_LINE_COLOR; - visible: 0; - rel1.offset: 0 -1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 308 1; - max: 308 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2 { - relative: 1.0 0.0; - to_x: "bg"; - to_y: "elm.bg.action_area"; - } - rel1.offset: POPUP_IMAGE_OFFSET_SIZE POPUP_IMAGE_OFFSET_SIZE; - rel2.offset: -POPUP_IMAGE_OFFSET_SIZE -POPUP_IMAGE_OFFSET_SIZE; - } - description { state: "below_title" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "bg"; - to_y: "elm.bg.title"; - } - rel2 { - relative: 1.0 0.0; - to_x: "bg"; - to_y: "elm.bg.action_area"; - } - rel1.offset: POPUP_IMAGE_OFFSET_SIZE 0; - } - description { state: "below_title_show_actionarea" 0.0; - inherit: "below_title" 0.0; - rel2.offset: -POPUP_IMAGE_OFFSET_SIZE 0; - } - description { state: "show_actionarea" 0.0; - inherit: "default" 0.0; - rel2.offset: -POPUP_IMAGE_OFFSET_SIZE 0; - } - } - part { name: "elm.bg.action_area"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - fixed : 1 1; - align: 0.5 1.0; - rel1 { - to: "bg"; - relative: 0.0 1.0; - } - rel2.to: "bg"; - min: 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 0 (POPUP_BUTTON_HEIGHT+POPUP_IMAGE_OFFSET_SIZE); - max: -1 (POPUP_BUTTON_HEIGHT+POPUP_IMAGE_OFFSET_SIZE); - fixed: 0 1; - } - } - part { name: "elm.swallow.action_area"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - rel1.to: "elm.bg.action_area"; - rel1.offset: POPUP_IMAGE_OFFSET_SIZE 0; - rel2.to: "elm.bg.action_area"; - rel2.offset: -POPUP_IMAGE_OFFSET_SIZE-1 -1; - } - } - } - programs { - program { name: show_title_area; - signal: "elm,state,title_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"elm.bg.title", "visible", 0.0); - set_state(PART:"title_bottom_line", "visible", 0.0); - get_state(PART:"elm.swallow.content", st, 30, vl); - set_state(PART:"elm.swallow.content", "below_title", 0.0); - if (!strcmp(st, "default")) { - set_state(PART:"elm.swallow.content", "below_title", 0.0); - } else { - set_state(PART:"elm.swallow.content", "below_title_show_actionarea", 0.0); - } - } - } - program { name: hide_title_area; - signal: "elm,state,title_area,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"elm.bg.title", "default", 0.0); - set_state(PART:"title_bottom_line", "default", 0.0); - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "below_title")) { - set_state(PART:"elm.swallow.content", "default", 0.0); - } else { - set_state(PART:"elm.swallow.content", "show_actionarea", 0.0); - } - } - } - program { name: show_action_area; - signal: "elm,state,action_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"elm.bg.action_area", "visible", 0.0); - get_state(PART:"elm.swallow.content", st, 30, vl); - // FIXME: duplicated state_set can make problem - /* - if (!strcmp(st, "default")) { - set_state(PART:"elm.swallow.content", "show_actionarea", 0.0); - } else { - set_state(PART:"elm.swallow.content", "below_title_show_actionarea", 0.0); - }*/ - } - } - program { name: hide_action_area; - signal: "elm,state,action_area,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new st[31]; - new Float:vl; - set_state(PART:"elm.bg.action_area", "default", 0.0); - get_state(PART:"elm.swallow.content", st, 30, vl); - // FIXME: duplicated state_set can make problem - /* - if (!strcmp(st, "show_actionarea")) { - set_state(PART:"elm.swallow.content", "default", 0.0); - } else { - set_state(PART:"elm.swallow.content", "below_title", 0.0); - }*/ - } - } - } -} - -// FIXME: currently popup cannot resize this edje by it's min size. -group { name: "elm/popup/base/toast"; - images { - image: "tw_popup_bg_holo_dark.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - repeat_events: 1; - description { state: "default" 0.0; - min: POPUP_TOAST_BG_WIDTH 0; - image { - normal: "tw_popup_bg_holo_dark.png"; - border: POPUP_IMAGE_BORDER_SIZE; - border_scale: 1; - } - rel1 { - relative: 0.0 0.0; - to_x: "title_left_padding"; - to_y: "title_top_padding"; - } - rel2 { - relative: 1.0 1.0; - to_x: "title_right_padding"; - to_y: "title_bottom_padding"; - } - } - } - part { name: "title_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - min: 0 POPUP_TOAST_PADDING_TOP_SIZE; - max: -1 POPUP_TOAST_PADDING_TOP_SIZE; - rel1 { - relative: 0.0 0.0; - to_y: "elm.text"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.text"; - } - } - } - part { name: "title_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE; - max: -1 POPUP_TOAST_TEXT_PADDING_BOTTOM_SIZE; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 0.0; - to_y: "bottom_padding"; - } - rel2 { - relative: 0.1 0.0; - to_y: "bottom_padding"; - } - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 POPUP_TOAST_PADDING_BOTTOM_SIZE; - max: -1 POPUP_TOAST_PADDING_BOTTOM_SIZE; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - } - } - } - part { name: "title_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_TOAST_PADDING_LEFT_SIZE 0; - max: POPUP_TOAST_PADDING_LEFT_SIZE -1; - fixed: 1 0; - align: 0.5 0.5; - rel2 { - relative: 0.0 1.0; - } - } - } - part { name: "title_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_TOAST_PADDING_RIGHT_SIZE 0; - max: POPUP_TOAST_PADDING_RIGHT_SIZE -1; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - relative: 1.0 0.0; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 1.0; - min: POPUP_TOAST_TEXT_WIDTH 0; - rel1 { - to_x: "title_left_padding"; - to_y: "title_bottom_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "title_right_padding"; - to_y: "title_bottom_padding"; - relative: 0.0 0.0; - } - text { - style: "popup_toast_style"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/popup/base/2finger"; - images { - image: "tw_popup_bg_holo_dark.png" COMP; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: POPUP_2FINGER_BG_MIN_SIZE; - image { - normal: "tw_popup_bg_holo_dark.png"; - border: POPUP_IMAGE_BORDER_SIZE; - border_scale: 1; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; } - } - } - } - -group { name: "elm/layout/2finger_popup/default"; - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default"; - min: POPUP_2FINGER_BG_MIN_SIZE; - } - } - part { name: "indicator_top_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_2FINGER_INDI_PADDING_SIZE POPUP_2FINGER_INDI_PADDING_SIZE; - max: POPUP_2FINGER_INDI_PADDING_SIZE POPUP_2FINGER_INDI_PADDING_SIZE; - fixed: 1 1; - align: 0.0 0.0; - rel2 { relative: 0.0 0.0; to: "bg"; } - } - } - part { name: "indicator_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_2FINGER_INDI_PADDING_SIZE 0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 0.0; to: "bg"; } - } - } - part { name: "indicator_area_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 POPUP_2FINGER_INDI_MIN_MAX_SIZE; - max: -1 POPUP_2FINGER_INDI_MIN_MAX_SIZE; - fixed: 0 1; - align: 0.0 0.0; - rel1 { relative: 1.0 1.0; to: "indicator_top_left_padding"; } - rel2 { relative: 0.0 1.0; to_x: "indicator_right_padding"; to_y: "indicator_top_left_padding"; } - color: 0 0 0 255; - } - } - part { name: "indicator_area"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "indicator_area_bg"; - rel2.to: "indicator_area_bg"; - } - } - part { name: "content_top_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_2FINGER_CONTENT_PADDING_WIDTH POPUP_2FINGER_CONTENT_PADDING_HEIGHT; - max: POPUP_2FINGER_CONTENT_PADDING_WIDTH POPUP_2FINGER_CONTENT_PADDING_HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 1.0; to: "indicator_area"; } - rel2 { relative: 0.0 1.0; to: "indicator_area"; } - } - } - part { name: "content_bottom_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: POPUP_2FINGER_CONTENT_PADDING_WIDTH POPUP_2FINGER_CONTENT_PADDING_HEIGHT; - max: POPUP_2FINGER_CONTENT_PADDING_WIDTH POPUP_2FINGER_CONTENT_PADDING_HEIGHT; - fixed: 1 1; - align: 1.0 1.0; - rel1 { relative: 1.0 1.0; to: "bg"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - to: "content_top_left_padding"; - relative: 1.0 1.0; - } - rel2 { - to: "content_bottom_right_padding"; - relative: 0.0 0.0; - } - } - } - } -} diff --git a/wearable/themes/widgets/progressbar.edc b/wearable/themes/widgets/progressbar.edc deleted file mode 100644 index e5ad90f..0000000 --- a/wearable/themes/widgets/progressbar.edc +++ /dev/null @@ -1,670 +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. - */ - -/////////////////////////////////////////////////////////////////////////////////////// - - group { name: "elm/progressbar/horizontal/default"; - images { - image: "tw_progress_bg_holo_dark.png" COMP; - image: "tw_progress_primary_holo_dark.png" COMP; - image: "tw_progress_secondary_holo_dark.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "background"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - image { - normal: "tw_progress_bg_holo_dark.png"; - border: PROGRESS_BG_BORDER_SIZE; - border_scale: 1; - } - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 1 PROGRESSBAR_HEIGHT; - max: -1 PROGRESSBAR_HEIGHT; - } - } - part { name: "drag.background"; - mouse_events: 0; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1.to: "elm.swallow.bar"; - rel2 { - to_x: "elm.cur.progressbar"; - to_y: "elm.swallow.bar"; - offset: -1 -1; - relative: 0.5 1.0; - } - image { - normal: "tw_progress_primary_holo_dark.png"; - border: PROGRESS_BAR_IMAGE_BORDER_SIZE; - border_scale: 1; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - } - rel2.to: "elm.swallow.bar"; - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 0.1 1.0; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_progress_secondary_holo_dark.png"; - } - } - part { name: "elm.cur.progressbar"; - mouse_events: 0; - scale: 1; - dragable { - confine: "drag.background"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - min: 0 10; - fixed: 1 1; - visible: 0; - rel1.to: "drag.background"; - rel2.to: "drag.background"; - } - } - part { name: "progress-rect"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - color: 0 0 0 0; - } - } - } - programs { - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "progressbar_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - program { name: "progressbar_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "background"; - } - } - } - - group { name: "elm/progressbar/horizontal/pending_list"; - images { - image: "tw_progressbar_indeterminate1_holo_dark.png" COMP; - image: "tw_progressbar_indeterminate2_holo_dark.png" COMP; - image: "tw_progressbar_indeterminate3_holo_dark.png" COMP; - image: "tw_progressbar_indeterminate4_holo_dark.png" COMP; - image: "tw_progressbar_indeterminate5_holo_dark.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "background"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: PROGRESSBAR_PENDING_SIZE; - max: PROGRESSBAR_PENDING_SIZE; - fixed: 1 1; - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - image { - normal: "tw_progressbar_indeterminate1_holo_dark.png"; - border: 0 0 0 0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - } - description { - state: "sliding1" 0.0; - inherit: "default" 0.0; - image.normal: "tw_progressbar_indeterminate2_holo_dark.png"; - } - description { - state: "sliding2" 0.0; - inherit: "default" 0.0; - image.normal: "tw_progressbar_indeterminate3_holo_dark.png"; - } - description { - state: "sliding3" 0.0; - inherit: "default" 0.0; - image.normal: "tw_progressbar_indeterminate4_holo_dark.png"; - } - description { - state: "state_end" 1.0; - inherit: "default" 0.0; - image.normal: "tw_progressbar_indeterminate5_holo_dark.png"; - } - } - } - script { - public state_end = 0; - } - programs { - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - in: 0.05 0.0; - script { - set_state(PART:"elm.progress.progressbar", "state_begin", 0.0); - set_int(state_end, 0); - } - after: "sliding1"; - } - program { name: "sliding1"; - in: 0.05 0.0; - script { - set_state(PART:"elm.progress.progressbar", "sliding1", 0.0); - set_int(state_end, 0); - } - after: "sliding2"; - } - program { name: "sliding2"; - in: 0.05 0.0; - script { - set_state(PART:"elm.progress.progressbar", "sliding2", 0.0); - set_int(state_end, 0); - } - after: "sliding3"; - } - program { name: "sliding3"; - in: 0.05 0.0; - script { - set_state(PART:"elm.progress.progressbar", "sliding3", 0.0); - set_int(state_end, 0); - } - after: "slide_to_end"; - } - program { name: "slide_to_end"; - in: 0.05 0.0; - script { - set_state(PART:"elm.progress.progressbar", "state_end", 0.0); - set_int(state_end, 1); - } - after: "slide_to_begin"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "sliding1"; - target: "sliding2"; - target: "sliding3"; - target: "slide_to_end"; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "progressbar_disable"; - signal: "elm,state,disabled"; - source: "elm"; - after: "stop_pulse"; - } - program { name: "progressbar_enable"; - signal: "elm,state,enabled"; - source: "elm"; - after: "start_pulse"; - } - } - } - - group { name: "elm/progressbar/horizontal/pending_popup"; - inherit: "elm/progressbar/horizontal/pending_list"; - images { - image: "tw_popup_progressbar_indeterminate1_holo_dark.png" COMP; - image: "tw_popup_progressbar_indeterminate2_holo_dark.png" COMP; - image: "tw_popup_progressbar_indeterminate3_holo_dark.png" COMP; - image: "tw_popup_progressbar_indeterminate4_holo_dark.png" COMP; - image: "tw_popup_progressbar_indeterminate5_holo_dark.png" COMP; - } - parts { - part { name: "elm.swallow.bar"; - mouse_events: 0; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: PROGRESSBAR_POPUP_PENDING_SIZE; - max: PROGRESSBAR_POPUP_PENDING_SIZE; - fixed: 1 1; - } - } - part { name: "elm.progress.progressbar"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 0; - fixed: 1 1; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - image { - normal: "tw_popup_progressbar_indeterminate1_holo_dark.png"; - border: 0 0 0 0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - } - description { - state: "sliding1" 0.0; - inherit: "default" 0.0; - image.normal: "tw_popup_progressbar_indeterminate2_holo_dark.png"; - } - description { - state: "sliding2" 0.0; - inherit: "default" 0.0; - image.normal: "tw_popup_progressbar_indeterminate3_holo_dark.png"; - } - description { - state: "sliding3" 0.0; - inherit: "default" 0.0; - image.normal: "tw_popup_progressbar_indeterminate4_holo_dark.png"; - } - description { - state: "state_end" 1.0; - inherit: "default" 0.0; - image.normal: "tw_popup_progressbar_indeterminate5_holo_dark.png"; - } - } - } - } - -// FIXME: Process image is not correct -#define PROGRESSING_DELAY 0.03 - - -#define PROGRESS_DESC(NUM) \ - description { state: "pulse" 0.#NUM; \ - inherit: "default" 0.0; \ - image { \ - normal: "tw_widget_popup_activity_"NUM".png"; \ - } \ - } - -#define PROCESS_IMAGES \ - images { \ - image: "tw_widget_popup_activity_01.png" COMP; \ - image: "tw_widget_popup_activity_02.png" COMP; \ - image: "tw_widget_popup_activity_03.png" COMP; \ - image: "tw_widget_popup_activity_04.png" COMP; \ - image: "tw_widget_popup_activity_05.png" COMP; \ - image: "tw_widget_popup_activity_06.png" COMP; \ - image: "tw_widget_popup_activity_07.png" COMP; \ - image: "tw_widget_popup_activity_08.png" COMP; \ - image: "tw_widget_popup_activity_09.png" COMP; \ - image: "tw_widget_popup_activity_10.png" COMP; \ - image: "tw_widget_popup_activity_11.png" COMP; \ - image: "tw_widget_popup_activity_12.png" COMP; \ - image: "tw_widget_popup_activity_13.png" COMP; \ - image: "tw_widget_popup_activity_14.png" COMP; \ - image: "tw_widget_popup_activity_15.png" COMP; \ - image: "tw_widget_popup_activity_16.png" COMP; \ - image: "tw_widget_popup_activity_17.png" COMP; \ - image: "tw_widget_popup_activity_18.png" COMP; \ - image: "tw_widget_popup_activity_19.png" COMP; \ - image: "tw_widget_popup_activity_20.png" COMP; \ - image: "tw_widget_popup_activity_21.png" COMP; \ - image: "tw_widget_popup_activity_22.png" COMP; \ - image: "tw_widget_popup_activity_23.png" COMP; \ - image: "tw_widget_popup_activity_24.png" COMP; \ - image: "tw_widget_popup_activity_25.png" COMP; \ - image: "tw_widget_popup_activity_26.png" COMP; \ - image: "tw_widget_popup_activity_27.png" COMP; \ - image: "tw_widget_popup_activity_28.png" COMP; \ - image: "tw_widget_popup_activity_29.png" COMP; \ - image: "tw_widget_popup_activity_30.png" COMP; \ - } - -group { name: "elm/progressbar/horizontal/process"; - PROCESS_IMAGES - parts { - part { name: "background"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: PROGRESSBAR_ACTIVITY_IMAGE_SIZE PROGRESSBAR_ACTIVITY_IMAGE_SIZE; - max: PROGRESSBAR_ACTIVITY_IMAGE_SIZE PROGRESSBAR_ACTIVITY_IMAGE_SIZE; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.tween: "tw_widget_popup_activity_01.png"; - image.tween: "tw_widget_popup_activity_02.png"; - image.tween: "tw_widget_popup_activity_03.png"; - image.tween: "tw_widget_popup_activity_04.png"; - image.tween: "tw_widget_popup_activity_05.png"; - image.tween: "tw_widget_popup_activity_06.png"; - image.tween: "tw_widget_popup_activity_07.png"; - image.tween: "tw_widget_popup_activity_08.png"; - image.tween: "tw_widget_popup_activity_09.png"; - image.tween: "tw_widget_popup_activity_10.png"; - image.tween: "tw_widget_popup_activity_11.png"; - image.tween: "tw_widget_popup_activity_12.png"; - image.tween: "tw_widget_popup_activity_13.png"; - image.tween: "tw_widget_popup_activity_14.png"; - image.tween: "tw_widget_popup_activity_15.png"; - image.tween: "tw_widget_popup_activity_16.png"; - image.tween: "tw_widget_popup_activity_17.png"; - image.tween: "tw_widget_popup_activity_18.png"; - image.tween: "tw_widget_popup_activity_19.png"; - image.tween: "tw_widget_popup_activity_20.png"; - image.tween: "tw_widget_popup_activity_21.png"; - image.tween: "tw_widget_popup_activity_22.png"; - image.tween: "tw_widget_popup_activity_23.png"; - image.tween: "tw_widget_popup_activity_24.png"; - image.tween: "tw_widget_popup_activity_25.png"; - image.tween: "tw_widget_popup_activity_26.png"; - image.tween: "tw_widget_popup_activity_27.png"; - image.tween: "tw_widget_popup_activity_28.png"; - image.tween: "tw_widget_popup_activity_29.png"; - image.normal: "tw_widget_popup_activity_30.png"; - } - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "background"; - transition: LINEAR 1.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } -} - -#define PROGRESS_DESC_SMALL(NUM) \ - description { state: "pulse" 0.#NUM; \ - inherit: "default" 0.0; \ - image { \ - normal: "tw_widget_actionbar_activity_"NUM".png"; \ - } \ - } - -#define PROCESS_SMALL_IMAGES \ - images { \ - image: "tw_widget_actionbar_activity_01.png" COMP; \ - image: "tw_widget_actionbar_activity_02.png" COMP; \ - image: "tw_widget_actionbar_activity_03.png" COMP; \ - image: "tw_widget_actionbar_activity_04.png" COMP; \ - image: "tw_widget_actionbar_activity_05.png" COMP; \ - image: "tw_widget_actionbar_activity_06.png" COMP; \ - image: "tw_widget_actionbar_activity_07.png" COMP; \ - image: "tw_widget_actionbar_activity_08.png" COMP; \ - image: "tw_widget_actionbar_activity_09.png" COMP; \ - image: "tw_widget_actionbar_activity_10.png" COMP; \ - image: "tw_widget_actionbar_activity_11.png" COMP; \ - image: "tw_widget_actionbar_activity_12.png" COMP; \ - image: "tw_widget_actionbar_activity_13.png" COMP; \ - image: "tw_widget_actionbar_activity_14.png" COMP; \ - image: "tw_widget_actionbar_activity_15.png" COMP; \ - image: "tw_widget_actionbar_activity_16.png" COMP; \ - image: "tw_widget_actionbar_activity_17.png" COMP; \ - image: "tw_widget_actionbar_activity_18.png" COMP; \ - image: "tw_widget_actionbar_activity_19.png" COMP; \ - image: "tw_widget_actionbar_activity_20.png" COMP; \ - image: "tw_widget_actionbar_activity_21.png" COMP; \ - image: "tw_widget_actionbar_activity_22.png" COMP; \ - image: "tw_widget_actionbar_activity_23.png" COMP; \ - image: "tw_widget_actionbar_activity_24.png" COMP; \ - image: "tw_widget_actionbar_activity_25.png" COMP; \ - image: "tw_widget_actionbar_activity_26.png" COMP; \ - image: "tw_widget_actionbar_activity_27.png" COMP; \ - image: "tw_widget_actionbar_activity_28.png" COMP; \ - image: "tw_widget_actionbar_activity_29.png" COMP; \ - image: "tw_widget_actionbar_activity_30.png" COMP; \ - } - -group { name: "elm/progressbar/horizontal/process/groupindex"; - PROCESS_SMALL_IMAGES - parts { - part { name: "background"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE; - max: PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE PROGRESSBAR_ACTIVITY_GROUPINDEX_IMAGE_SIZE; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.tween: "tw_widget_actionbar_activity_01.png"; - image.tween: "tw_widget_actionbar_activity_02.png"; - image.tween: "tw_widget_actionbar_activity_03.png"; - image.tween: "tw_widget_actionbar_activity_04.png"; - image.tween: "tw_widget_actionbar_activity_05.png"; - image.tween: "tw_widget_actionbar_activity_06.png"; - image.tween: "tw_widget_actionbar_activity_07.png"; - image.tween: "tw_widget_actionbar_activity_08.png"; - image.tween: "tw_widget_actionbar_activity_09.png"; - image.tween: "tw_widget_actionbar_activity_10.png"; - image.tween: "tw_widget_actionbar_activity_11.png"; - image.tween: "tw_widget_actionbar_activity_12.png"; - image.tween: "tw_widget_actionbar_activity_13.png"; - image.tween: "tw_widget_actionbar_activity_14.png"; - image.tween: "tw_widget_actionbar_activity_15.png"; - image.tween: "tw_widget_actionbar_activity_16.png"; - image.tween: "tw_widget_actionbar_activity_17.png"; - image.tween: "tw_widget_actionbar_activity_18.png"; - image.tween: "tw_widget_actionbar_activity_19.png"; - image.tween: "tw_widget_actionbar_activity_20.png"; - image.tween: "tw_widget_actionbar_activity_21.png"; - image.tween: "tw_widget_actionbar_activity_22.png"; - image.tween: "tw_widget_actionbar_activity_23.png"; - image.tween: "tw_widget_actionbar_activity_24.png"; - image.tween: "tw_widget_actionbar_activity_25.png"; - image.tween: "tw_widget_actionbar_activity_26.png"; - image.tween: "tw_widget_actionbar_activity_27.png"; - image.tween: "tw_widget_actionbar_activity_28.png"; - image.tween: "tw_widget_actionbar_activity_29.png"; - image.normal: "tw_widget_actionbar_activity_30.png"; - } - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "background"; - transition: LINEAR 1.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } -} diff --git a/wearable/themes/widgets/radio.edc b/wearable/themes/widgets/radio.edc deleted file mode 100644 index 5e5e8f8..0000000 --- a/wearable/themes/widgets/radio.edc +++ /dev/null @@ -1,664 +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. - */ - -group { name: "elm/radio/base/default"; - images { - image: "tw_btn_radio_normal_holo_dark.png" COMP; - image: "tw_btn_radio_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_disabled_holo_dark.png" COMP; - image: "tw_btn_radio_on_normal_holo_dark.png" COMP; - image: "tw_btn_radio_on_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_on_disable_holo_dark.png" COMP; - } - script { - public radio_state; - public radio_disabled; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - image.normal: "tw_btn_radio_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_disabled_holo_dark.png"; - } - } - part { name: "radio"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - visible: 0; - image.normal: "tw_btn_radio_on_normal_holo_dark.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_disable_holo_dark.png"; - } - } - part { name: "event"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "event"; - script { - if (get_int(radio_disabled) == 1) return; - emit("elm,action,radio,toggle", ""); - play_sample("touch_sound", 1.0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(radio_disabled) == 1) return; - set_state(PART:"bg", "default", 0.0); - if (get_int(radio_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(radio_disabled) == 1) return; - if (get_int(radio_state) == 1) - set_state(PART:"radio", "pressed", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "pressed", 0.0); - } - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) - { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"radio", "disabled", 0.0); - } - else - { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "on", 0.0); - } - set_int(radio_state, 1); - } - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) - set_state(PART:"bg", "disabled", 0.0); - else - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "default", 0.0); - set_int(radio_state, 0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) - set_state(PART:"radio", "disabled", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "disabled", 0.0); - set_int(radio_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_int(radio_disabled, 0); - } - } - } - } - -group { name: "elm/radio/base/datetime/style1"; - alias: "elm/radio/base/datetime"; - alias: "elm/radio/base/datetime/style3"; - images { - image: "tw_timepicker_num_bg_normal.png" COMP; - image: "tw_timepicker_num_bg_focused.png" COMP; - } - script { - public radio_state; - public radio_disabled; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - image { - normal: "tw_timepicker_num_bg_normal.png"; - border: 4 4 4 4; - border_scale: 1; - } - } - description { state: "on" 0.0; - inherit: "default" 0.0; - image.normal: "tw_timepicker_num_bg_focused.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - text { - font: "Tizen:style=Bold"; - size: RADIO_TIME_PICKER_DAY_TEXT_SIZE; - align: 0.5 0.5; - text_class: "tizen"; - fit: 1 1; - min: 1 1; - } - color: RADIO_DATETIME_TEXT_NORMAL_COLOR; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - color: RADIO_DATETIME_TEXT_FOCUSED_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: RADIO_DATETIME_TEXT_DISABLED_COLOR; - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "bg"; - script { - if (get_int(radio_disabled) == 1) return; - emit("elm,action,radio,toggle", ""); - play_sample("touch_sound", 1.0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "bg"; - script { - if (get_int(radio_state) == 1 && get_int(radio_disabled) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else if (get_int(radio_state) == 1 && get_int(radio_disabled) == 0) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } else if (get_int(radio_state) == 0 && get_int(radio_disabled) == 1) { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else if (get_int(radio_state) == 0 && get_int(radio_disabled) == 0) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "bg"; - script { - if (get_int(radio_disabled) == 1) return; - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } else { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } else { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } - set_int(radio_state, 1); - } - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - set_int(radio_state, 0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } - set_int(radio_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } else { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - set_int(radio_disabled, 0); - } - } - } - } - -group { name: "elm/radio/base/datetime/style2"; - inherit: "elm/radio/base/datetime/style1"; - parts { - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - text { - font: "Tizen:style=Bold"; - size: RADIO_TIME_PICKER_DATE_TEXT_SIZE; - align: 0.5 0.5; - text_class: "tizen"; - } - color: RADIO_DATETIME_TEXT_NORMAL_COLOR; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - color: RADIO_DATETIME_TEXT_FOCUSED_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: RADIO_DATETIME_TEXT_DISABLED_COLOR; - } - } - } -} - -group { name: "elm/radio/base/PM"; - images { - image: "tw_timepicker_time_bg.png" COMP; - } - styles{ - style { name: "am_pm_normal_style"; - base: "font=Tizen:style=Bold font_size="RADIO_TIME_PICKER_AM_PM_TEXT_SIZE" align=center color="RADIO_DATETIME_AM_PM_TEXT_NORMAL_COLOR" ellipsis=1.0 text_class=button"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "am_pm_seleted_style"; - base: "font=Tizen:style=Bold font_size="RADIO_TIME_PICKER_AM_PM_TEXT_SIZE" align=center color="RADIO_DATETIME_AM_PM_TEXT_SELECTED_COLOR" ellipsis=1.0 text_class=button"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - script { - public radio_state; - public radio_disabled; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: RADIO_TIME_PICKER_AM_PM_MIN_SIZE; - max: RADIO_TIME_PICKER_AM_PM_MIN_SIZE; - visible: 0; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "tw_timepicker_time_bg.png"; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - text { - min: 0 1; - style: "am_pm_normal_style"; - } - } - description { state: "on" 0.0; - text { - style: "am_pm_seleted_style"; - } - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "elm.text"; - script { - if (get_int(radio_disabled) == 1) return; - emit("elm,action,radio,toggle", ""); - play_sample("touch_sound", 1.0); - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "elm.text"; - script { - if (get_int(radio_state) == 1 && get_int(radio_disabled) == 1) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else if (get_int(radio_state) == 1 && get_int(radio_disabled) == 0) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } else if (get_int(radio_state) == 0 && get_int(radio_disabled) == 1) { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else if (get_int(radio_state) == 0 && get_int(radio_disabled) == 0) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "elm.text"; - script { - if (get_int(radio_disabled) == 1) return; - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } else { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } - } - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) { - set_state(PART:"elm.text", "default", 0.0); - } else { - set_state(PART:"elm.text", "on", 0.0); - } - set_int(radio_state, 1); - } - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) { - set_state(PART:"elm.text", "disabled", 0.0); - } else { - set_state(PART:"elm.text", "default", 0.0); - } - set_int(radio_state, 0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } else { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } - set_int(radio_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) { - set_state(PART:"bg", "on", 0.0); - set_state(PART:"elm.text", "on", 0.0); - } else { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - set_int(radio_disabled, 0); - } - } - } - } - -group { name: "elm/radio/base/AM"; - inherit: "elm/radio/base/PM"; -} - - -// List Radio Style - -group { name: "elm/radio/base/list"; - images { - image: "tw_btn_radio_normal_holo_dark.png" COMP; - image: "tw_btn_radio_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_disabled_holo_dark.png" COMP; - image: "tw_btn_radio_on_normal_holo_dark.png" COMP; - image: "tw_btn_radio_on_pressed_holo_dark.png" COMP; - image: "tw_btn_radio_on_disable_holo_dark.png" COMP; - } - script { - public radio_state; - public radio_disabled; - } - parts { - part { name: "bg"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - image.normal: "tw_btn_radio_normal_holo_dark.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_btn_radio_disabled_holo_dark.png"; - } - } - part { name: "radio"; - scale: 1; - description { state: "default" 0.0; - min: 50 50; - max: 50 50; - fixed: 1 1; - visible: 0; - image.normal: "tw_btn_radio_on_normal_holo_dark.png"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_pressed_holo_dark.png"; - } - description { state: "disabled" 0.0; - inherit: "on" 0.0; - image.normal: "tw_btn_radio_on_disable_holo_dark.png"; - } - } - part { name: "event"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(radio_disabled) == 1) return; - set_state(PART:"bg", "default", 0.0); - if (get_int(radio_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(radio_disabled) == 1) return; - if (get_int(radio_state) == 1) - set_state(PART:"radio", "pressed", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "pressed", 0.0); - } - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) - { - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"radio", "disabled", 0.0); - } - else - { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "on", 0.0); - } - set_int(radio_state, 1); - } - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - script { - if (get_int(radio_disabled) == 1) - set_state(PART:"bg", "disabled", 0.0); - else - set_state(PART:"bg", "default", 0.0); - set_state(PART:"radio", "default", 0.0); - set_int(radio_state, 0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) - set_state(PART:"radio", "disabled", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "disabled", 0.0); - set_int(radio_disabled, 1); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(radio_state) == 1) - set_state(PART:"radio", "on", 0.0); - else - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - set_int(radio_disabled, 0); - } - } - } - } diff --git a/wearable/themes/widgets/scroller.edc b/wearable/themes/widgets/scroller.edc deleted file mode 100755 index a0a36d4..0000000 --- a/wearable/themes/widgets/scroller.edc +++ /dev/null @@ -1,1374 +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. - */ - -/* - * vim:ts=3 -*/ -#define OVERSCROLL_EFFECT_IMAGES\ - image: "bouncing_top_00.png" COMP;\ - image: "bouncing_top_01.png" COMP;\ - image: "bouncing_top_02.png" COMP;\ - image: "bouncing_top_03.png" COMP;\ - image: "bouncing_top_04.png" COMP;\ - image: "bouncing_top_05.png" COMP;\ - image: "bouncing_top_06.png" COMP;\ - image: "bouncing_top_07.png" COMP;\ - image: "bouncing_top_08.png" COMP;\ - image: "bouncing_top_09.png" COMP;\ - image: "bouncing_top_10.png" COMP;\ - image: "bouncing_top_11.png" COMP;\ - image: "bouncing_top_12.png" COMP;\ - image: "bouncing_top_13.png" COMP;\ - image: "bouncing_top_14.png" COMP;\ - image: "bouncing_top_15.png" COMP;\ - image: "bouncing_top_16.png" COMP;\ - image: "bouncing_top_17.png" COMP;\ - image: "bouncing_top_18.png" COMP;\ - image: "bouncing_top_19.png" COMP;\ - image: "bouncing_bottom_00.png" COMP;\ - image: "bouncing_bottom_01.png" COMP;\ - image: "bouncing_bottom_02.png" COMP;\ - image: "bouncing_bottom_03.png" COMP;\ - image: "bouncing_bottom_04.png" COMP;\ - image: "bouncing_bottom_05.png" COMP;\ - image: "bouncing_bottom_06.png" COMP;\ - image: "bouncing_bottom_07.png" COMP;\ - image: "bouncing_bottom_08.png" COMP;\ - image: "bouncing_bottom_09.png" COMP;\ - image: "bouncing_bottom_10.png" COMP;\ - image: "bouncing_bottom_11.png" COMP;\ - image: "bouncing_bottom_12.png" COMP;\ - image: "bouncing_bottom_13.png" COMP;\ - image: "bouncing_bottom_14.png" COMP;\ - image: "bouncing_bottom_15.png" COMP;\ - image: "bouncing_bottom_16.png" COMP;\ - image: "bouncing_bottom_17.png" COMP;\ - image: "bouncing_bottom_18.png" COMP;\ - image: "bouncing_bottom_19.png" COMP;\ - image: "bouncing_left_00.png" COMP;\ - image: "bouncing_left_01.png" COMP;\ - image: "bouncing_left_02.png" COMP;\ - image: "bouncing_left_03.png" COMP;\ - image: "bouncing_left_04.png" COMP;\ - image: "bouncing_left_05.png" COMP;\ - image: "bouncing_left_06.png" COMP;\ - image: "bouncing_left_07.png" COMP;\ - image: "bouncing_left_08.png" COMP;\ - image: "bouncing_left_09.png" COMP;\ - image: "bouncing_left_10.png" COMP;\ - image: "bouncing_left_11.png" COMP;\ - image: "bouncing_left_12.png" COMP;\ - image: "bouncing_left_13.png" COMP;\ - image: "bouncing_left_14.png" COMP;\ - image: "bouncing_left_15.png" COMP;\ - image: "bouncing_left_16.png" COMP;\ - image: "bouncing_left_17.png" COMP;\ - image: "bouncing_left_18.png" COMP;\ - image: "bouncing_left_19.png" COMP;\ - image: "bouncing_right_00.png" COMP;\ - image: "bouncing_right_01.png" COMP;\ - image: "bouncing_right_02.png" COMP;\ - image: "bouncing_right_03.png" COMP;\ - image: "bouncing_right_04.png" COMP;\ - image: "bouncing_right_05.png" COMP;\ - image: "bouncing_right_06.png" COMP;\ - image: "bouncing_right_07.png" COMP;\ - image: "bouncing_right_08.png" COMP;\ - image: "bouncing_right_09.png" COMP;\ - image: "bouncing_right_10.png" COMP;\ - image: "bouncing_right_11.png" COMP;\ - image: "bouncing_right_12.png" COMP;\ - image: "bouncing_right_13.png" COMP;\ - image: "bouncing_right_14.png" COMP;\ - image: "bouncing_right_15.png" COMP;\ - image: "bouncing_right_16.png" COMP;\ - image: "bouncing_right_17.png" COMP;\ - image: "bouncing_right_18.png" COMP;\ - image: "bouncing_right_19.png" COMP; - -#define OVERSCROLL_EFFECT_DESCRIPTIONS(NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(00, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(01, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(02, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(03, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(04, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(05, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(06, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(07, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(08, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(09, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(10, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(11, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(12, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(13, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(14, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(15, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(16, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(17, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(18, NAME)\ - OVERSCROLL_EFFECT_DESCRIPTION(19, NAME) - -#define OVERSCROLL_EFFECT_DESCRIPTION(NUMBER, NAME)\ - description { state: "show_effect" "0."NUMBER"";\ - inherit: "default" 0.0;\ - visible: 1;\ - image {\ - normal: "bouncing_"NAME"_"NUMBER".png";\ - }\ - } - -#define OVERSCROLL_EFFECT_FUNCTION_TOP(NAME, SRC)\ - program { name: "content_move_"NAME;\ - signal: "elm,action,scroll";\ - source: "elm";\ - script {\ - new st[31];\ - new Float:state;\ - new id;\ - get_state(PART:SRC, st, 30, state);\ - if (!strcmp(st, "show_effect"))\ - {\ - set_int(effect_top, 0);\ - set_state(PART:SRC, "hidden", 0.0);\ - id = get_int(anim1_top);\ - cancel_anim(id);\ - set_int(anim1_top, 0);\ - id = get_int(anim2_top);\ - cancel_anim(id);\ - set_int(anim2_top, 0);\ - }\ - }\ - }\ - program { name: "edge_"NAME;\ - signal: "elm,edge,"NAME;\ - source: "elm";\ - script {\ - if (!get_int(effect_top)) {\ - set_int(effect_top, 1);\ - if (get_int(mouse_down))\ - set_int(effect_hold, 1);\ - if (!get_int(anim1_top) && !get_int(anim2_top))\ - set_int(anim1_top, anim(0.33, "effect_anim_top", 1));\ - }\ - }\ - }\ - program { name: "content_unpress_"NAME;\ - signal: "elm,state,mouse,up";\ - source: "elm";\ - script {\ - set_int(mouse_down, 0);\ - set_int(effect_hold, 0);\ - if (!get_int(anim1_top) && !get_int(anim2_top) && get_int(effect_top))\ - set_int(anim2_top, anim(0.33, "effect_anim2_top", 1));\ - }\ - } -#define OVERSCROLL_EFFECT_FUNCTION_BOTTOM(NAME, SRC)\ - program { name: "content_move_"NAME;\ - signal: "elm,action,scroll";\ - source: "elm";\ - script {\ - new st[31];\ - new Float:state;\ - new id;\ - get_state(PART:SRC, st, 30, state);\ - if (!strcmp(st, "show_effect"))\ - {\ - set_int(effect_bottom, 0);\ - set_state(PART:SRC, "hidden", 0.0);\ - id = get_int(anim1_bottom);\ - cancel_anim(id);\ - set_int(anim1_bottom, 0);\ - id = get_int(anim2_bottom);\ - cancel_anim(id);\ - set_int(anim2_bottom, 0);\ - }\ - }\ - }\ - program { name: "edge_"NAME;\ - signal: "elm,edge,"NAME;\ - source: "elm";\ - script {\ - if (!get_int(effect_bottom)) {\ - set_int(effect_bottom, 1);\ - if (get_int(mouse_down))\ - set_int(effect_hold, 1);\ - if (!get_int(anim1_bottom) && !get_int(anim2_bottom))\ - set_int(anim1_bottom, anim(0.33, "effect_anim_bottom", 1));\ - }\ - }\ - }\ - program { name: "content_unpress_"NAME;\ - signal: "elm,state,mouse,up";\ - source: "elm";\ - script {\ - set_int(mouse_down, 0);\ - set_int(effect_hold, 0);\ - if (!get_int(anim1_bottom) && !get_int(anim2_bottom) && get_int(effect_bottom))\ - set_int(anim2_bottom, anim(0.33, "effect_anim2_bottom", 1));\ - }\ - } -#define OVERSCROLL_EFFECT_FUNCTION_LEFT(NAME, SRC)\ - program { name: "content_move_"NAME;\ - signal: "elm,action,scroll";\ - source: "elm";\ - script {\ - new st[31];\ - new Float:state;\ - new id;\ - get_state(PART:SRC, st, 30, state);\ - if (!strcmp(st, "show_effect"))\ - {\ - set_int(effect_left, 0);\ - set_state(PART:SRC, "hidden", 0.0);\ - id = get_int(anim1_left);\ - cancel_anim(id);\ - set_int(anim1_left, 0);\ - id = get_int(anim2_left);\ - cancel_anim(id);\ - set_int(anim2_left, 0);\ - }\ - }\ - }\ - program { name: "edge_"NAME;\ - signal: "elm,edge,"NAME;\ - source: "elm";\ - script {\ - if (!get_int(effect_left)) {\ - set_int(effect_left, 1);\ - if (get_int(mouse_down))\ - set_int(effect_hold, 1);\ - if (!get_int(anim1_left) && !get_int(anim2_left))\ - set_int(anim1_left, anim(0.33, "effect_anim_left", 1));\ - }\ - }\ - }\ - program { name: "content_unpress_"NAME;\ - signal: "elm,state,mouse,up";\ - source: "elm";\ - script {\ - set_int(mouse_down, 0);\ - set_int(effect_hold, 0);\ - if (!get_int(anim1_left) && !get_int(anim2_left) && get_int(effect_left))\ - set_int(anim2_left, anim(0.33, "effect_anim2_left", 1));\ - }\ - } -#define OVERSCROLL_EFFECT_FUNCTION_RIGHT(NAME, SRC)\ - program { name: "content_move_"NAME;\ - signal: "elm,action,scroll";\ - source: "elm";\ - script {\ - new st[31];\ - new Float:state;\ - new id;\ - get_state(PART:SRC, st, 30, state);\ - if (!strcmp(st, "show_effect"))\ - {\ - set_int(effect_right, 0);\ - set_state(PART:SRC, "hidden", 0.0);\ - id = get_int(anim1_right);\ - cancel_anim(id);\ - set_int(anim1_right, 0);\ - id = get_int(anim2_right);\ - cancel_anim(id);\ - set_int(anim2_right, 0);\ - }\ - }\ - }\ - program { name: "edge_"NAME;\ - signal: "elm,edge,"NAME;\ - source: "elm";\ - script {\ - if (!get_int(effect_right)) {\ - set_int(effect_right, 1);\ - if (get_int(mouse_down))\ - set_int(effect_hold, 1);\ - if (!get_int(anim1_right) && !get_int(anim2_right))\ - set_int(anim1_right, anim(0.33, "effect_anim_right", 1));\ - }\ - }\ - }\ - program { name: "content_unpress_"NAME;\ - signal: "elm,state,mouse,up";\ - source: "elm";\ - script {\ - set_int(mouse_down, 0);\ - set_int(effect_hold, 0);\ - if (!get_int(anim1_right) && !get_int(anim2_right) && get_int(effect_right))\ - set_int(anim2_right, anim(0.33, "effect_anim2_right", 1));\ - }\ - } - -group { name: "elm/scroller/base/default"; - alias: "elm/gengrid/base/no_effect"; - - data { - item: "focus_highlight" "on"; - } - - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public sh_v, sh_h; - public effect_top, effect_bottom, effect_left, effect_right, effect_hold, mouse_down; - public anim1_top, anim2_top, anim1_bottom, anim2_bottom; - public anim1_left, anim2_left, anim1_right, anim2_right; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - public effect_anim_top(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_top", "show_effect", 0.0); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_top", "show_effect", 0.01); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_top", "show_effect", 0.02); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_top", "show_effect", 0.03); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_top", "show_effect", 0.04); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_top", "show_effect", 0.05); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_top", "show_effect", 0.06); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_top", "show_effect", 0.07); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_top", "show_effect", 0.08); - else if (pos >= 0.9 && pos < 1.0) - set_state(PART:"shadow_top", "show_effect", 0.09); - else - { - set_state(PART:"shadow_top", "show_effect", 0.09); - if (!get_int(effect_hold)) - set_int(anim2_top, anim(0.33, "effect_anim2_top", 1)); - set_int(anim1_top, 0); - } - } - public effect_anim2_top(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_top", "show_effect", 0.10); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_top", "show_effect", 0.11); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_top", "show_effect", 0.12); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_top", "show_effect", 0.13); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_top", "show_effect", 0.14); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_top", "show_effect", 0.15); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_top", "show_effect", 0.16); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_top", "show_effect", 0.17); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_top", "show_effect", 0.18); - else if (pos >= 0.9 && pos <= 1.0) - { - set_state(PART:"shadow_top", "hidden", 0.0); - set_int(effect_top, 0); - set_int(anim2_top, 0); - } - } - public effect_anim_bottom(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_bottom", "show_effect", 0.0); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_bottom", "show_effect", 0.01); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_bottom", "show_effect", 0.02); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_bottom", "show_effect", 0.03); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_bottom", "show_effect", 0.04); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_bottom", "show_effect", 0.05); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_bottom", "show_effect", 0.06); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_bottom", "show_effect", 0.07); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_bottom", "show_effect", 0.08); - else if (pos >= 0.9 && pos < 1.0) - set_state(PART:"shadow_bottom", "show_effect", 0.09); - else - { - set_state(PART:"shadow_bottom", "show_effect", 0.09); - if (!get_int(effect_hold)) - set_int(anim2_bottom, anim(0.33, "effect_anim2_bottom", 1)); - set_int(anim1_bottom, 0); - } - } - public effect_anim2_bottom(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_bottom", "show_effect", 0.10); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_bottom", "show_effect", 0.11); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_bottom", "show_effect", 0.12); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_bottom", "show_effect", 0.13); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_bottom", "show_effect", 0.14); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_bottom", "show_effect", 0.15); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_bottom", "show_effect", 0.16); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_bottom", "show_effect", 0.17); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_bottom", "show_effect", 0.18); - else if (pos >= 0.9 && pos <= 1.0) - { - set_state(PART:"shadow_bottom", "hidden", 0.0); - set_int(effect_bottom, 0); - set_int(anim2_bottom, 0); - } - } - public effect_anim_left(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_left", "show_effect", 0.0); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_left", "show_effect", 0.01); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_left", "show_effect", 0.02); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_left", "show_effect", 0.03); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_left", "show_effect", 0.04); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_left", "show_effect", 0.05); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_left", "show_effect", 0.06); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_left", "show_effect", 0.07); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_left", "show_effect", 0.08); - else if (pos >= 0.9 && pos < 1.0) - set_state(PART:"shadow_left", "show_effect", 0.09); - else - { - set_state(PART:"shadow_left", "show_effect", 0.09); - if (!get_int(effect_hold)) - set_int(anim2_left, anim(0.33, "effect_anim2_left", 1)); - set_int(anim1_left, 0); - } - } - public effect_anim2_left(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_left", "show_effect", 0.10); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_left", "show_effect", 0.11); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_left", "show_effect", 0.12); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_left", "show_effect", 0.13); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_left", "show_effect", 0.14); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_left", "show_effect", 0.15); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_left", "show_effect", 0.16); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_left", "show_effect", 0.17); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_left", "show_effect", 0.18); - else if (pos >= 0.9 && pos <= 1.0) - { - set_state(PART:"shadow_left", "hidden", 0.0); - set_int(effect_left, 0); - set_int(anim2_left, 0); - } - } - public effect_anim_right(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_right", "show_effect", 0.0); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_right", "show_effect", 0.01); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_right", "show_effect", 0.02); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_right", "show_effect", 0.03); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_right", "show_effect", 0.04); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_right", "show_effect", 0.05); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_right", "show_effect", 0.06); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_right", "show_effect", 0.07); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_right", "show_effect", 0.08); - else if (pos >= 0.9 && pos < 1.0) - set_state(PART:"shadow_right", "show_effect", 0.09); - else - { - set_state(PART:"shadow_right", "show_effect", 0.09); - if (!get_int(effect_hold)) - set_int(anim2_right, anim(0.33, "effect_anim2_right", 1)); - set_int(anim1_right, 0); - } - } - public effect_anim2_right(val, Float:pos) { - if (pos >= 0.0 && pos < 0.1) - set_state(PART:"shadow_right", "show_effect", 0.10); - else if (pos >= 0.1 && pos < 0.2) - set_state(PART:"shadow_right", "show_effect", 0.11); - else if (pos >= 0.2 && pos < 0.3) - set_state(PART:"shadow_right", "show_effect", 0.12); - else if (pos >= 0.3 && pos < 0.4) - set_state(PART:"shadow_right", "show_effect", 0.13); - else if (pos >= 0.4 && pos < 0.5) - set_state(PART:"shadow_right", "show_effect", 0.14); - else if (pos >= 0.5 && pos < 0.6) - set_state(PART:"shadow_right", "show_effect", 0.15); - else if (pos >= 0.6 && pos < 0.7) - set_state(PART:"shadow_right", "show_effect", 0.16); - else if (pos >= 0.7 && pos < 0.8) - set_state(PART:"shadow_right", "show_effect", 0.17); - else if (pos >= 0.8 && pos < 0.9) - set_state(PART:"shadow_right", "show_effect", 0.18); - else if (pos >= 0.9 && pos <= 1.0) - { - set_state(PART:"shadow_right", "hidden", 0.0); - set_int(effect_right, 0); - set_int(anim2_right, 0); - } - } - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "shadow_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "shadow_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "shadow_left"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "shadow_right"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_VBAR_PADDING_RIGHT_SIZE 0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - fixed: 1 0; - align: 1.0 0.0; - } - } - part { name: "sb_vbar_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SCROLLER_VBAR_PADDING_TOP_SIZE; - max: 0 SCROLLER_VBAR_PADDING_TOP_SIZE; - rel2 { - relative: 0.0 0.0; - to: "sb_vbar_right_padding"; - } - fixed: 1 1; - align: 1.0 0.0; - } - } - part { name: "sb_vbar_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SCROLLER_VBAR_PADDING_BOTTOM_SIZE; - max: 0 SCROLLER_VBAR_PADDING_BOTTOM_SIZE; - rel2 { - relative: 0.0 1.0; - to: "sb_vbar_right_padding"; - } - fixed: 1 1; - align: 1.0 1.0; - } - } - part { name: "sb_vbar_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_VBAR_PADDING_LEFT_SIZE 0; - rel1 { - relative: 0.0 0.0; - to: "sb_vbar"; - } - rel2 { - relative: 0.0 1.0; - to: "sb_vbar"; - } - fixed: 1 0; - align: 1.0 0.0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_VBAR_MIN_SIZE; - align: 1.0 0.0; - rel1 { - relative: 0.0 1.0; - to: "sb_vbar_top_padding"; - } - rel2 { - relative: 1.0 0.0; - to: "sb_vbar_bottom_padding"; - } - } - } - part { name: "elm.dragable.vbar"; - type: RECT; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_VBAR_MIN_SIZE; - max: SCROLLER_VBAR_MAX_SIZE; - rel1 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - color : SCROLLER_BAR_COLOR; - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SCROLLER_HBAR_PADDING_BOTTOM_SIZE; - rel1 { - relative: 0.0 1.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - fixed: 1 1; - align: 0.0 1.0; - } - } - part { name: "sb_hbar_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_HBAR_PADDING_LEFT_SIZE 0; - max: SCROLLER_HBAR_PADDING_LEFT_SIZE 0; - rel2 { - relative: 0.0 0.0; - to: "sb_hbar_bottom_padding"; - } - fixed: 1 1; - align: 0.0 1.0; - } - } - part { name: "sb_hbar_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_HBAR_PADDING_RIGHT_SIZE 0; - max: SCROLLER_HBAR_PADDING_RIGHT_SIZE 0; - rel2 { - relative: 1.0 0.0; - to: "sb_hbar_bottom_padding"; - } - fixed: 1 1; - align: 1.0 1.0; - } - } - part { name: "sb_hbar_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 SCROLLER_HBAR_PADDING_TOP_SIZE; - rel1 { - relative: 0.0 0.0; - to: "sb_hbar"; - } - rel2 { - relative: 1.0 0.0; - to: "sb_hbar"; - } - fixed: 0 1; - align: 0.0 1.0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_HBAR_MIN_SIZE; - align: 0.0 1.0; - rel1 { - relative: 1.0 0.0; - to: "sb_hbar_left_padding"; - } - rel2 { - relative: 0.0 1.0; - to: "sb_hbar_right_padding"; - } - } - } - part { name: "elm.dragable.hbar"; - type: RECT; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_HBAR_MIN_SIZE; - max: SCROLLER_HBAR_MAX_SIZE; - rel1 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - color: SCROLLER_BAR_COLOR; - } - } - part { name: "disabler"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 128 128 128 128; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - v = get_int(sbvis_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - v = get_int(sbvis_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - program { name: "show"; - signal: "show"; - source: ""; - script { - new v; - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - v = get_int(sbalways_v); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - v = get_int(sbalways_h); - if (!v) { - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -} - -group { name: "elm/scroller/base/effect"; - alias: "elm/gengrid/base/default"; - inherit: "elm/scroller/base/default"; - - images { - OVERSCROLL_EFFECT_IMAGES - } - - parts { - part { name: "shadow_top"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 56; - fixed: 1 1; - align: 0.5 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - visible: 0; - image { - normal: "bouncing_top_00.png"; - } - } - OVERSCROLL_EFFECT_DESCRIPTIONS("top") - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "shadow_bottom"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 56; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -2; - visible: 0; - image { - normal: "bouncing_bottom_00.png"; - } - } - OVERSCROLL_EFFECT_DESCRIPTIONS("bottom") - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "shadow_left"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 56 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - visible: 0; - image { - normal: "bouncing_left_00.png"; - } - } - OVERSCROLL_EFFECT_DESCRIPTIONS("left") - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "shadow_right"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 56 0; - fixed: 1 1; - align: 1.0 0.5; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 0 0; - rel2.offset: -1 -1; - visible: 0; - image { - normal: "bouncing_right_00.png"; - } - } - OVERSCROLL_EFFECT_DESCRIPTIONS("right") - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - } - programs { - program { name: "load"; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "hidden", 0.0); - set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - set_int(sh_v, 0); - emit("reload", "elm"); - } - } - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1, "timer0", 0); - set_int(sbvis_timer, v); - } - } - OVERSCROLL_EFFECT_FUNCTION_TOP("top", "shadow_top") - OVERSCROLL_EFFECT_FUNCTION_BOTTOM("bottom", "shadow_bottom") - OVERSCROLL_EFFECT_FUNCTION_LEFT("left", "shadow_left") - OVERSCROLL_EFFECT_FUNCTION_RIGHT("right", "shadow_right") - program { name: "content_move"; - signal: "elm,state,mouse,move"; - source: "elm"; - script { - set_int(mouse_down, 1); - } - } - program { name: "content_press"; - signal: "elm,state,mouse,down"; - source: "elm"; - script { - set_int(mouse_down, 1); - } - } - } -} - -group { name: "elm/scroller/contents/default"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content_r"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "elm.swallow.content_b"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.0 0.0; - rel1 { - relative: 0.0 1.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "elm.swallow.content_rb"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - } -} - -group { name: "elm/genlist/base/no_effect"; - alias: "elm/list/base/no_effect"; - inherit: "elm/scroller/base/default"; - - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: LIST_BG_NORMAL_COLOR; - } - } - } -} - -group { name: "elm/genlist/base/default"; - alias: "elm/list/base/default"; - inherit: "elm/scroller/base/effect"; - - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: LIST_BG_NORMAL_COLOR; - } - } - } -} - - -group { name: "elm/genlist/base/transparent"; - alias: "elm/genlist/base/popup"; - alias: "elm/list/base/transparent"; - alias: "elm/list/base/popup"; - inherit: "elm/genlist/base/default"; - - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } -} diff --git a/wearable/themes/widgets/slider.edc b/wearable/themes/widgets/slider.edc deleted file mode 100644 index c0a5b91..0000000 --- a/wearable/themes/widgets/slider.edc +++ /dev/null @@ -1,344 +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. - */ - -group { name: "elm/slider/horizontal/indicator/default"; - alias: "elm/slider/horizontal/indicator/disabled"; - alias: "elm/slider/horizontal/indicator/tap_to_drag"; - alias: "elm/slider/horizontal/indicator/textstyle"; - alias: "elm/slider/horizontal/indicator/numberstyle"; - images { - image: "tw_scrubber_control_holo_dark.png" COMP; - image: "tw_scrubber_control_disabled_holo_dark.png" COMP; - image: "tw_scrubber_control_pressed_holo_dark.png" COMP; - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "button_events"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 2*SLIDER_IND_WIDTH 1.5*SLIDER_IND_HEIGHT; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "button0"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; - max: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; - image { - normal: "tw_scrubber_control_holo_dark.png"; - } - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_scrubber_control_pressed_holo_dark.png"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "tw_scrubber_control_disabled_holo_dark.png"; - } - } - } - } - programs { - program { name: "slider_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button0"; - target: "button_events"; - } - program { name: "slider_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button0"; - target: "button_events"; - } - program { name: "mouse_down"; - signal: "mouse,down,*"; - source: "button_events"; - action: STATE_SET "pressed" 0.0; - target: "button0"; - } - program { name: "mouse_up"; - signal: "mouse,up,*"; - source: "button_events"; - action: STATE_SET "default" 0.0; - target: "button0"; - } - } - } - - group { name: "elm/slider/horizontal/default"; - alias: "elm/slider/horizontal/disabled"; - images { - image: "tw_progress_bg_holo_dark.png" COMP; - image: "tw_progress_primary_holo_dark.png" COMP; - } - script { - public invert_on = 0; - public set_invert_on() { - set_state(PART:"level", "inverted", 0.0); - set_int(invert_on, 1); - } - public set_invert_off() { - set_state(PART:"level", "default", 0.0); - set_int(invert_on, 0); - } - public thumb_down() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "pressed", 0.0); - } - public thumb_up() { - if(get_int(invert_on) == 0) - set_state(PART:"level", "default", 0.0); - } - } - parts { - part { name: "access"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { - name: "bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: 0 PROGRESSBAR_HEIGHT; - max: -1 PROGRESSBAR_HEIGHT; - image { - normal: "tw_progress_bg_holo_dark.png"; - border: PROGRESS_BG_BORDER_SIZE; - border_scale: 1; - } - rel1 { - to_x: "left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "right_padding"; - relative: 0.0 1.0; - } - } - } - part { - name: "left_padding"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - min: SLIDER_PADDING_LEFT 0 ; - max: SLIDER_PADDING_LEFT -1; - fixed: 1 0; - align: 0.0 0.5; - rel2 { - relative: 0.0 1.0; - } - } - } - part { - name: "right_padding"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - min: SLIDER_PADDING_RIGHT 0 ; - max: SLIDER_PADDING_RIGHT -1; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - } - } - } - part { name: "level"; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 0 1; - rel1 { - to_x: "left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.dragable.slider"; - relative: 0.5 1.0; - } - image.normal: "tw_progress_primary_holo_dark.png"; - image.border: PROGRESS_BAR_IMAGE_BORDER_SIZE; - image.border_scale: 1; - min: 0 PROGRESSBAR_HEIGHT; - max: -1 PROGRESSBAR_HEIGHT; - fixed: 0 1; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel1.offset: -20 0; // FIXME: slider image has transparent area - rel2.to: "elm.swallow.bar"; - rel2.offset: 10 0; // FIXME: slider image has transparent area - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 SLIDER_IND_HEIGHT; - max: -1 SLIDER_IND_HEIGHT; - align: 1.0 0.5; - rel1 { - to_x: "left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "right_padding"; - relative: 0.5 1.0; - } - } - } - part { name: "elm.dragable.slider"; - type: GROUP; - source: "elm/slider/horizontal/indicator/default"; - mouse_events: 1; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "base"; - } - description { state: "default" 0.0; - min: SLIDER_IND_WIDTH SLIDER_IND_HEIGHT; - fixed: 1 1; - align: 0.5 0.5; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - mouse_events: 1; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 102; - } - } - } - programs { - program { name: "invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - script { - set_invert_on(); - } - } - program { name: "invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - script { - set_invert_off(); - } - } - program { name: "val_show"; - signal: "mouse,down,*"; - source: "elm.dragable.slider"; - script { - thumb_down(); - } - } - program { name: "val_hide"; - signal: "mouse,up,*"; - source: "elm.dragable.slider"; - script { - thumb_up(); - } - } - program { name: "slider_disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "clipper"; - } - program { name: "slider_enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - } - } \ No newline at end of file diff --git a/wearable/themes/widgets/spinner.edc b/wearable/themes/widgets/spinner.edc deleted file mode 100644 index 6994b74..0000000 --- a/wearable/themes/widgets/spinner.edc +++ /dev/null @@ -1,1494 +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. - */ - -group { name: "elm/spinner/base/volumestyle"; - alias: "elm/spinner/base/volume"; - images { - image: "tw_controller_module_plus.png" COMP; - image: "tw_controller_module_minus.png" COMP; - image: "tw_number_controller_icon_ringtone_sound.png" COMP; - image: "tw_number_controller_icon_ringtone_mute.png" COMP; - image: "tw_number_controller_icon_ringtone_vibrate.png" COMP; - } - script { - public plus_press_timer; - public minus_press_timer; - public plus_pressed; - public minus_pressed; - - public plus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(plus_pressed); - get_state(PART:"right.event", st, 30, vl); - if (pressed) { - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - } else if (strcmp(st, "disabled")) { - set_state(PART:"right.image.plus", "default", 0.0); - set_state(PART:"right.bg", "default", 0.0); - } - } - - public minus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(minus_pressed); - get_state(PART:"left.event", st, 30, vl); - if (pressed) { - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - } else if(strcmp(st, "disabled")) { - set_state(PART:"left.image.minus", "default", 0.0); - set_state(PART:"left.bg", "default", 0.0); - } - } - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; - max: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; - color: 0 0 0 255; - } - } - part { name: "left.bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "left.image.minus"; - rel2.to: "left.image.minus"; - color: SPINNER_MINUS_PLUS_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_DIM_COLOR; - } - } - part { name: "left.image.minus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - min: SPINNER_ICON_LEFT_RIGHT_SIZE; - max: SPINNER_ICON_LEFT_RIGHT_SIZE; - image.normal: "tw_controller_module_minus.png"; - color: SPINNER_MINUS_PLUS_IMAGE_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_DISABLE_COLOR; - } - } - part { name: "image_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "left.image.minus"; - relative: 1.0 0.0; - } - rel2.to: "left.image.minus"; - align: 0.0 0.5; - min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; - fixed: 1 0; - } - } - part { name: "content_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: SPINNER_CONTENT_BG_COLOR; - min: SPINNER_CONTENT_BG_SIZE; - max: SPINNER_CONTENT_BG_SIZE; - rel1 {to: "image_left_padding"; relative: 1.0 0.0;} - rel2 {to: "image_right_padding"; relative: 0.0 1.0;} - } - } - part { name: "fake_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1.to: "content_bg"; - rel2 {to: "content_bg"; relative: 0.0 1.0;} - min: SPINNER_CENTER_IMAGE_SIZE; - max: SPINNER_CENTER_IMAGE_SIZE; - align: 0.0 0.5; - fixed: 1 1; - } - } - part { name: "text_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 {to: "fake_padding"; relative: 1.0 0.0;} - rel2 {to_x: "content_bg"; to_y: "fake_padding"; relative: 1.0 0.0;} - min: 0 SPINNER_TEXT_TOP_PADDING_HEIGHT; - fixed: 1 1; - } - } - part { name: "elm.text"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1 {to_x: "fake_padding"; to_y: "text_top_padding"; relative: 1.0 1.0;} - rel2 {to: "bottom_padding"; relative: 1.0 0.0;} - color: SPINNER_TEXT_NORMAL_COLOR; - text { - font: "Tizen:style=Regular"; - size: SPINNER_TEXT_SIZE; - min: 0 1; - max: 1 1; - text_class: "tizen"; - } - fixed: 1 1; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - color: SPINNER_TEXT_FULL_COLOR; - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 {to: "content_bg"; relative: 0.0 1.0;} - rel2.to: "content_bg"; - align: 0.5 1.0; - min: SPINNER_BOTTOM_PADDING_SIZE; - max: SPINNER_BOTTOM_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "center.image"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2 {to: "elm.text"; relative: 0.0 1.0;} - align: 1.0 0.5; - color: SPINNER_CENTER_IMAGE_NORMAL_COLOR; - min: SPINNER_CENTER_IMAGE_SIZE; - max: SPINNER_CENTER_IMAGE_SIZE; - image.normal: "tw_number_controller_icon_ringtone_sound.png"; - fixed: 1 1; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - color: SPINNER_CENTER_IMAGE_FULL_COLOR; - } - description { state: "zero" 0.0; - inherit: "default" 0.0; - image.normal: "tw_number_controller_icon_ringtone_mute.png"; - color: SPINNER_CENTER_IMAGE_MUTE_COLOR; - } - description { state: "vibrate" 0.0; - inherit: "default" 0.0; - image.normal: "tw_number_controller_icon_ringtone_vibrate.png"; - color: SPINNER_CENTER_IMAGE_VIBRATE_COLOR; - } - } - part { name: "image_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2 {to: "right.image.plus"; relative: 0.0 1.0;} - align: 0.0 0.5; - min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; - fixed: 1 0; - } - } - part { name: "right.bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2.to: "right.image.plus"; - color: SPINNER_MINUS_PLUS_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_DIM_COLOR; - } - } - part { name: "right.image.plus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2.to: "bg"; - align: 1.0 0.5; - min: SPINNER_ICON_LEFT_RIGHT_SIZE; - max: SPINNER_ICON_LEFT_RIGHT_SIZE; - image.normal: "tw_controller_module_plus.png"; - color: SPINNER_MINUS_PLUS_IMAGE_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_DISABLE_COLOR; - } - } - part { name: "left.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "left.image.minus"; - rel2.to: "left.image.minus"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "center.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "content_bg"; - rel2.to: "content_bg"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "right.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2.to: "right.image.plus"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - visible: 1; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { name: "dec_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "right.event"; - script { - new right_timer; - new st[31]; - new Float:vl; - - get_state(PART:"right.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"right.image.plus", "pressed", 0.0); - set_state(PART:"right.bg", "pressed", 0.0); - right_timer = get_int(plus_press_timer); - if (right_timer) { - cancel_timer(right_timer); - set_int(plus_press_timer, 0); - } - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - set_int(plus_pressed, 1); - run_program(PROGRAM:"inc_start_signal_emit"); - } - } - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "right.event"; - script { - set_int(plus_pressed, 0); - } - after: "inc_stop_signal_emit"; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "left.event"; - script { - new left_timer; - new st[31]; - new Float:vl; - - get_state(PART:"left.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"left.image.minus", "pressed", 0.0); - set_state(PART:"left.bg", "pressed", 0.0); - left_timer = get_int(minus_press_timer); - if (left_timer) { - cancel_timer(left_timer); - set_int(minus_press_timer, 0); - } - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - set_int(minus_pressed, 1); - run_program(PROGRAM:"dec_start_signal_emit"); - } - } - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "left.event"; - script { - set_int(minus_pressed, 0); - } - after: "dec_stop_signal_emit"; - } - program { name: "inc_cancel"; - signal: "elm,spinner,inc,cancel"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"center.image", st, 30, vl); - if (!strcmp(st, "full")) { - set_state(PART:"right.bg", "disabled", 0.0); - set_state(PART:"right.image.plus", "disabled", 0.0); - set_state(PART:"right.event", "disabled", 0.0); - } - else { - set_state(PART:"right.bg", "default", 0.0); - set_state(PART:"right.image.plus", "default", 0.0); - set_state(PART:"right.event", "default", 0.0); - } - } - } - program { name: "dec_cancel"; - signal: "elm,spinner,dec,cancel"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"center.image", st, 30, vl); - if (!strcmp(st, "zero")) { - set_state(PART:"left.bg", "disabled", 0.0); - set_state(PART:"left.image.minus", "disabled", 0.0); - set_state(PART:"left.event", "disabled", 0.0); - } - else { - set_state(PART:"left.bg", "default", 0.0); - set_state(PART:"left.image.minus", "default", 0.0); - set_state(PART:"left.event", "default", 0.0); - } - } - } - program { name: "rightbtn_enable"; - signal: "elm,spinner,rightbtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "right.image.plus"; - target: "right.bg"; - target: "right.event"; - } - program { name: "rightbtn_disable"; - signal: "elm,spinner,rightbtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "right.image.plus"; - target: "right.bg"; - target: "right.event"; - } - program { name: "leftbtn_enable"; - signal: "elm,spinner,leftbtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "left.image.minus"; - target: "left.bg"; - target: "left.event"; - } - program { name: "leftbtn_disable"; - signal: "elm,spinner,leftbtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "left.image.minus"; - target: "left.bg"; - target: "left.event"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"disabler", "default", 0.0); - run_program(PROGRAM:"rightbtn_enable"); - run_program(PROGRAM:"leftbtn_enable"); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"disabler", "disabled", 0.0); - run_program(PROGRAM:"rightbtn_disable"); - run_program(PROGRAM:"leftbtn_disable"); - } - } - program { name: "full"; - signal: "elm,spinner,full"; - source: "elm"; - script { - run_program(PROGRAM:"leftbtn_enable"); - set_state(PART:"center.image", "full", 0.0); - set_state(PART:"elm.text", "full", 0.0); - run_program(PROGRAM:"rightbtn_disable"); - } - } - program { name: "middle"; - signal: "elm,spinner,default"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"right.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"rightbtn_enable"); - } - get_state(PART:"left.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"leftbtn_enable"); - } - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"center.image", "default", 0.0); - } - } - program { name: "min"; - signal: "elm,spinner,min"; - source: "elm"; - script { - run_program(PROGRAM:"rightbtn_enable"); - set_state(PART:"center.image", "zero", 0.0); - set_state(PART:"elm.text", "default", 0.0); - run_program(PROGRAM:"leftbtn_disable"); - } - } - program { name: "vibrate"; - signal: "elm,spinner,vibrate"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"center.image", st, 30, vl); - run_program(PROGRAM:"rightbtn_enable"); - if (strcmp(st, "vibrate")) { - run_program(PROGRAM:"leftbtn_disable"); - set_state(PART:"center.image", "vibrate", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - } - program { name: "center_clicked"; - signal: "mouse,clicked,1"; - source: "center.event"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - } - } -} - -group { name: "elm/spinner/base/brightnessstyle"; - alias: "elm/spinner/base/brightness"; - images { - image: "tw_controller_module_plus.png" COMP; - image: "tw_controller_module_minus.png" COMP; - image: "tw_number_controller_icon_brightness.png" COMP; - image: "tw_number_controller_icon_outdoor.png" COMP; - } - script { - public plus_press_timer; - public minus_press_timer; - public plus_pressed; - public minus_pressed; - - public plus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(plus_pressed); - get_state(PART:"right.image.plus", st, 30, vl); - if (pressed) { - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - } else if (strcmp(st, "disabled")) { - set_state(PART:"right.image.plus", "default", 0.0); - set_state(PART:"right.bg", "default", 0.0); - } - } - - public minus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(minus_pressed); - get_state(PART:"left.image.minus", st, 30, vl); - if (pressed) { - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - } else if(strcmp(st, "disabled")) { - set_state(PART:"left.image.minus", "default", 0.0); - set_state(PART:"left.bg", "default", 0.0); - } - } - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; - max: SPINNER_HORIZONTAL_DEFAULT_BG_SIZE; - color: 0 0 0 255; - } - } - part { name: "left.bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "left.image.minus"; - rel2.to: "left.image.minus"; - color: SPINNER_MINUS_PLUS_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_DIM_COLOR; - } - } - part { name: "left.image.minus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - align: 0.0 0.5; - min: SPINNER_ICON_LEFT_RIGHT_SIZE; - max: SPINNER_ICON_LEFT_RIGHT_SIZE; - image.normal: "tw_controller_module_minus.png"; - color: SPINNER_MINUS_PLUS_IMAGE_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_DISABLE_COLOR; - } - } - part { name: "image_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "left.image.minus"; - relative: 1.0 0.0; - } - rel2.to: "left.image.minus"; - align: 0.0 0.5; - min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; - fixed: 1 0; - } - } - part { name: "content_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: SPINNER_CONTENT_BG_COLOR; - min: SPINNER_CONTENT_BG_SIZE; - max: SPINNER_CONTENT_BG_SIZE; - rel1 {to: "image_left_padding"; relative: 1.0 0.0;} - rel2 {to: "image_right_padding"; relative: 0.0 1.0;} - } - } - part { name: "fake_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1.to: "content_bg"; - rel2 {to: "content_bg"; relative: 0.0 1.0;} - min: SPINNER_CENTER_IMAGE_SIZE; - max: SPINNER_CENTER_IMAGE_SIZE; - align: 0.0 0.5; - fixed: 1 1; - } - } - part { name: "text_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 {to: "fake_padding"; relative: 1.0 0.0;} - rel2 {to_x: "content_bg"; to_y: "fake_padding"; relative: 1.0 0.0;} - min: 0 SPINNER_TEXT_TOP_PADDING_HEIGHT; - fixed: 1 1; - } - } - part { name: "elm.text"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1 {to_x: "fake_padding"; to_y: "text_top_padding"; relative: 1.0 1.0;} - rel2 {to: "bottom_padding"; relative: 1.0 0.0;} - color: SPINNER_TEXT_NORMAL_COLOR; - text { - font: "Tizen:style=Regular"; - size: SPINNER_TEXT_SIZE; - min: 0 1; - max: 1 1; - text_class: "tizen"; - } - fixed: 1 1; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 {to: "content_bg"; relative: 0.0 1.0;} - rel2.to: "content_bg"; - align: 0.5 1.0; - min: SPINNER_BOTTOM_PADDING_SIZE; - max: SPINNER_BOTTOM_PADDING_SIZE; - fixed: 1 1; - } - } - part { name: "center.image"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2 {to: "elm.text"; relative: 0.0 1.0;} - align: 1.0 0.5; - color: SPINNER_CENTER_IMAGE_NORMAL_COLOR; - min: SPINNER_CENTER_IMAGE_SIZE; - max: SPINNER_CENTER_IMAGE_SIZE; - image.normal: "tw_number_controller_icon_brightness.png"; - fixed: 1 1; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - image.normal: "tw_number_controller_icon_outdoor.png"; - } - description { state: "zero" 0.0; - inherit: "default" 0.0; - } - } - part { name: "image_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2 {to: "right.image.plus"; relative: 0.0 1.0;} - align: 0.0 0.5; - min: SPINNER_IMAGE_LEFT_RIGHT_PADDING_SIZE; - fixed: 1 0; - } - } - part { name: "right.bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2.to: "right.image.plus"; - color: SPINNER_MINUS_PLUS_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_DIM_COLOR; - } - } - part { name: "right.image.plus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2.to: "bg"; - align: 1.0 0.5; - min: SPINNER_ICON_LEFT_RIGHT_SIZE; - max: SPINNER_ICON_LEFT_RIGHT_SIZE; - image.normal: "tw_controller_module_plus.png"; - color: SPINNER_MINUS_PLUS_IMAGE_NORMAL_COLOR; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_PRESS_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_MINUS_PLUS_IMAGE_DISABLE_COLOR; - } - } - part { name: "left.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "left.image.minus"; - rel2.to: "left.image.minus"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "center.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "content_bg"; - rel2.to: "content_bg"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "right.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "right.image.plus"; - rel2.to: "right.image.plus"; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - visible: 1; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { name: "dec_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "right.event"; - script { - new right_timer; - new st[31]; - new Float:vl; - - get_state(PART:"right.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"right.image.plus", "pressed", 0.0); - set_state(PART:"right.bg", "pressed", 0.0); - right_timer = get_int(plus_press_timer); - if (right_timer) { - cancel_timer(right_timer); - set_int(plus_press_timer, 0); - } - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - set_int(plus_pressed, 1); - run_program(PROGRAM:"inc_start_signal_emit"); - play_sample("touch_sound", 1.0); - } - } - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "right.event"; - script { - set_int(plus_pressed, 0); - } - after: "inc_stop_signal_emit"; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "left.event"; - script { - new left_timer; - new st[31]; - new Float:vl; - - get_state(PART:"left.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"left.image.minus", "pressed", 0.0); - set_state(PART:"left.bg", "pressed", 0.0); - left_timer = get_int(minus_press_timer); - if (left_timer) { - cancel_timer(left_timer); - set_int(minus_press_timer, 0); - } - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - set_int(minus_pressed, 1); - run_program(PROGRAM:"dec_start_signal_emit"); - play_sample("touch_sound", 1.0); - } - } - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "left.event"; - script { - set_int(minus_pressed, 0); - } - after: "dec_stop_signal_emit"; - } - program { name: "inc_cancel"; - signal: "elm,spinner,inc,cancel"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"center.image", st, 30, vl); - if (!strcmp(st, "full")) { - set_state(PART:"right.bg", "disabled", 0.0); - set_state(PART:"right.image.plus", "disabled", 0.0); - set_state(PART:"right.event", "disabled", 0.0); - } - else { - set_state(PART:"right.bg", "default", 0.0); - set_state(PART:"right.image.plus", "default", 0.0); - set_state(PART:"right.event", "default", 0.0); - } - } - } - program { name: "dec_cancel"; - signal: "elm,spinner,dec,cancel"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"center.image", st, 30, vl); - if (!strcmp(st, "zero")) { - set_state(PART:"left.bg", "disabled", 0.0); - set_state(PART:"left.image.minus", "disabled", 0.0); - set_state(PART:"left.event", "disabled", 0.0); - } - else { - set_state(PART:"left.bg", "default", 0.0); - set_state(PART:"left.image.minus", "default", 0.0); - set_state(PART:"left.event", "default", 0.0); - } - } - } - program { name: "rightbtn_enable"; - signal: "elm,spinner,rightbtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "right.image.plus"; - target: "right.bg"; - target: "right.event"; - } - program { name: "rightbtn_disable"; - signal: "elm,spinner,rightbtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "right.image.plus"; - target: "right.bg"; - target: "right.event"; - } - program { name: "leftbtn_enable"; - signal: "elm,spinner,leftbtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "left.image.minus"; - target: "left.bg"; - target: "left.event"; - } - program { name: "leftbtn_disable"; - signal: "elm,spinner,leftbtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "left.image.minus"; - target: "left.bg"; - target: "left.event"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"disabler", "default", 0.0); - run_program(PROGRAM:"rightbtn_enable"); - run_program(PROGRAM:"leftbtn_enable"); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"disabler", "disabled", 0.0); - run_program(PROGRAM:"rightbtn_disable"); - run_program(PROGRAM:"leftbtn_disable"); - } - } - program { name: "full"; - signal: "elm,spinner,full"; - source: "elm"; - script { - run_program(PROGRAM:"leftbtn_enable"); - set_state(PART:"center.image", "full", 0.0); - set_state(PART:"elm.text", "full", 0.0); - run_program(PROGRAM:"rightbtn_disable"); - } - } - program { name: "middle"; - signal: "elm,spinner,default"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"right.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"rightbtn_enable"); - } - get_state(PART:"left.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"leftbtn_enable"); - } - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"center.image", "default", 0.0); - } - } - program { name: "min"; - signal: "elm,spinner,min"; - source: "elm"; - script { - run_program(PROGRAM:"rightbtn_enable"); - set_state(PART:"center.image", "zero", 0.0); - set_state(PART:"elm.text", "default", 0.0); - run_program(PROGRAM:"leftbtn_disable"); - } - } - program { name: "center_clicked"; - signal: "mouse,clicked,1"; - source: "center.event"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - } - } -} - -group { name: "elm/spinner/base/verticalstyle"; - alias: "elm/spinner/base/volume/vertical"; - images { - image: "tw_button_controller_bg_100.png" COMP; - image: "tw_button_controller_bg.png" COMP; - image: "tw_button_controller_icon_mute.png" COMP; - image: "tw_controller_btn_minus_normal.png" COMP; - image: "tw_controller_btn_plus_normal.png" COMP; - image: "tw_controller_btn_minus_pressed.png" COMP; - image: "tw_controller_btn_plus_pressed.png" COMP; - image: "tw_controller_btn_plus_dim.png" COMP; - image: "tw_controller_btn_minus_dim.png" COMP; - } - script { - public plus_press_timer; - public minus_press_timer; - public plus_pressed; - public minus_pressed; - - public plus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(plus_pressed); - get_state(PART:"top.image.plus", st, 30, vl); - if (pressed) { - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - } else if (strcmp(st, "disabled")) { - set_state(PART:"top.image.plus", "default", 0.0); - } - } - - public minus_press_timer_cb(val) { - new pressed; - new st[31]; - new Float:vl; - - pressed = get_int(minus_pressed); - get_state(PART:"bottom.image.minus", st, 30, vl); - if (pressed) { - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - } else if(strcmp(st, "disabled")) { - set_state(PART:"bottom.image.minus", "default", 0.0); - } - } - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: SPINNER_VERTICAL_DEFAULT_BG_SIZE; - } - } - part { name: "top.image.plus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2 {to: "bg"; relative: 1.0 0.0;} - align: 0.5 0.0; - min: SPINNER_ICON_TOP_BOTTOM_SIZE; - max: SPINNER_ICON_TOP_BOTTOM_SIZE; - image.normal: "tw_controller_btn_plus_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_plus_pressed.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_plus_dim.png"; - } - } - part { name: "bottom.image.minus"; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 1.0; - to: "bg"; - } - rel2.to: "bg"; - align: 0.5 1.0; - min: SPINNER_ICON_TOP_BOTTOM_SIZE; - max: SPINNER_ICON_TOP_BOTTOM_SIZE; - image.normal: "tw_controller_btn_minus_normal.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_minus_pressed.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tw_controller_btn_minus_dim.png"; - } - } - part { name: "center.image.bg"; - scale: 1; - description { state: "default" 0.0; - min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_button_controller_bg.png"; - } - } - part { name: "center.image2"; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - rel1.to: "bg"; - rel2.to: "bg"; - image.normal: "tw_button_controller_bg_100.png"; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "center.image.bg"; - rel2.to: "center.image.bg"; - color: SPINNER_MUSIC_CONTROLLER_TEXT_COLOR; - text { - font: "Tizen:style=Regular"; - size: SPINNER_MUSIC_CONTROLLER_TEXT_SIZE; - min: 0 0; - text_class: "tizen"; - } - } - description { state: "zero" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "center.icon"; - scale: 1; - description { state: "default" 0.0; - min: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - max: SPINNER_BUTTON_CONTROLLER_IMAGE_SIZE; - fixed: 1 1; - rel1.to: "center.image.bg"; - rel2.to: "center.image.bg"; - image.normal: "tw_button_controller_icon_mute.png"; - visible: 0; - } - description { state: "zero" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.dragable.slider"; - type: RECT; - dragable { - x: 0 0 0; - y: 1 1 0; - } - description { state: "default" 0.0; - visible: 0; - fixed: 0 1; - min: SPINNER_DRAGABLE_PART_MIN_SIZE; - rel1 { - to: "center.image.bg"; - relative: 0.0 1.0; - } - rel2 { - to: "center.image.bg"; - relative: 1.0 1.0; - } - align: 1.0 0.0; - } - } - part { name: "block.drag.events"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - } - part { name: "clipper"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - } - part { name: "top.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "top.image.plus"; - rel2.to: "top.image.plus"; - color: SPINNER_EVENT_RECT_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "bottom.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bottom.image.minus"; - rel2.to: "bottom.image.minus"; - color: SPINNER_EVENT_RECT_COLOR; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "center.event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "center.image.bg"; - rel2.to: "center.image.bg"; - color: SPINNER_EVENT_RECT_COLOR; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: SPINNER_DISABLED_COLOR; - visible: 1; - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { name: "dec_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc_start_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc_stop_signal_emit"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "top.event"; - script { - new plus_timer; - new st[31]; - new Float:vl; - get_state(PART:"top.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"top.image.plus", "pressed", 0.0); - - plus_timer = get_int(plus_press_timer); - if (plus_timer) { - cancel_timer(plus_timer); - set_int(plus_press_timer, 0); - } - set_int(plus_press_timer, timer(PRESS_TIMER_VAL, "plus_press_timer_cb", 0)); - set_int(plus_pressed, 1); - run_program(PROGRAM:"inc_start_signal_emit"); - } - } - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "top.event"; - script { - set_int(plus_pressed, 0); - } - after: "inc_stop_signal_emit"; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "bottom.event"; - script { - new minus_timer; - new st[31]; - new Float:vl; - get_state(PART:"bottom.event", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bottom.image.minus", "pressed", 0.0); - minus_timer = get_int(minus_press_timer); - if (minus_timer) { - cancel_timer(minus_timer); - set_int(minus_press_timer, 0); - } - set_int(minus_press_timer, timer(PRESS_TIMER_VAL, "minus_press_timer_cb", 0)); - set_int(minus_pressed, 1); - run_program(PROGRAM:"dec_start_signal_emit"); - } - } - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "bottom.event"; - script { - set_int(minus_pressed, 0); - } - after: "dec_stop_signal_emit"; - } - program { name: "topbtn_enable"; - signal: "elm,spinner,topbtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "top.image.plus"; - target: "top.event"; - } - program { name: "topbtn_disable"; - signal: "elm,spinner,topbtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "top.image.plus"; - target: "top.event"; - } - program { name: "bottombtn_enable"; - signal: "elm,spinner,bottombtn,enabled"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "bottom.image.minus"; - target: "bottom.event"; - } - program { name: "bottombtn_disable"; - signal: "elm,spinner,bottombtn,disabled"; - source: "*"; - action: STATE_SET "disabled" 0.0; - target: "bottom.image.minus"; - target: "bottom.event"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_state(PART:"disabler", "default", 0.0); - run_program(PROGRAM:"topbtn_enable"); - run_program(PROGRAM:"bottombtn_enable"); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_state(PART:"disabler", "disabled", 0.0); - run_program(PROGRAM:"topbtn_disable"); - run_program(PROGRAM:"bottombtn_disable"); - } - } - program { name: "full"; - signal: "elm,spinner,full"; - source: "elm"; - script { - run_program(PROGRAM:"bottombtn_enable"); - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"center.icon", "default", 0.0); - run_program(PROGRAM:"topbtn_disable"); - } - } - program { name: "min"; - signal: "elm,spinner,min"; - source: "elm"; - script { - run_program(PROGRAM:"topbtn_enable"); - set_state(PART:"elm.text", "zero", 0.0); - set_state(PART:"center.icon", "zero", 0.0); - run_program(PROGRAM:"bottombtn_disable"); - } - } - program { name: "middle"; - signal: "elm,spinner,default"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"top.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"topbtn_enable"); - } - get_state(PART:"bottom.event", st, 30, vl); - if(!strcmp(st, "disabled")) { - run_program(PROGRAM:"bottombtn_enable"); - } - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"center.icon", "default", 0.0); - } - } - program { name: "center_clicked"; - signal: "mouse,clicked,1"; - source: "center.event"; - action: SIGNAL_EMIT "elm,action,clicked" ""; - } - } -} - -